File manager - Edit - /home/c14075/dragmet-ural.ru/www/bitrix/js/sale/payment-pay/mixins/payment-system/src/pay-system-info.js
Back
import {BitrixVue} from 'ui.vue'; export default { props: { paySystems: { type: Array, default: [], required: false, }, }, data() { return { selectedPaySystem: null, }; }, computed: { selectedName() { return this.selectedPaySystem ? this.selectedPaySystem.NAME : ''; }, selectedDescription() { return this.selectedPaySystem ? BX.util.htmlspecialchars(this.selectedPaySystem.DESCRIPTION) : ''; } }, methods: { showInfo(paySystem) { this.selectedPaySystem = paySystem; }, logoStyle(paySystem) { const defaultLogo = '/bitrix/js/salescenter/payment-pay/payment-method/images/default_logo.png'; const src = paySystem.LOGOTIP || defaultLogo; return `background-image: url("${BX.util.htmlspecialchars(src)}")`; }, } };
| ver. 1.4 |
Github
|
.
| PHP 7.4.33 | Generation time: 0.27 |
proxy
|
phpinfo
|
Settings