Commit cc9b9494 by lmf

增加papay模板文件

parent 472ff0e0
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div data-pp-message data-bind="attr: {
'class': getAttribute('class'),
'data-pp-amount': amount,
'data-pp-placement': getAttribute('data-pp-placement'),
'data-pp-style-layout': getAttribute('data-pp-style-layout'),
'data-pp-style-logo-type': getAttribute('data-pp-style-logo-type'),
'data-pp-style-logo-position': getAttribute('data-pp-style-logo-position'),
'data-pp-style-text-color': getAttribute('data-pp-style-text-color'),
'data-pp-style-text-size': getAttribute('data-pp-style-text-size'),
'data-pp-style-color': getAttribute('data-pp-style-color'),
'data-pp-style-ratio': getAttribute('data-pp-style-ratio'),
}" ></div>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<!-- ko if: getBillingAgreementCode() -->
<input type="checkbox"
data-bind='
attr: {id: getBillingAgreementCode(), name: "payment[" + getBillingAgreementCode() + "]"},
checked: billingAgreement
enable: isActive($parent) && getBillingAgreementCode(),
click: selectPaymentMethod'
value="1" class="checkbox">
<label
data-bind='
attr: {for: getBillingAgreementCode()}'
class="label">
<span><!-- ko i18n: 'Sign a billing agreement to streamline further purchases with PayPal.' --><!-- /ko --></span>
</label>
<!-- /ko -->
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div class="payment-method" data-bind="css: {'_active': (getCode() == isChecked())}">
<div class="payment-method-title field choice">
<input type="radio"
name="payment[method]"
class="radio"
data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />
<label data-bind="attr: {'for': getCode()}" class="label">
<!-- PayPal Logo -->
<img src="https://www.paypalobjects.com/webstatic/en_US/i/buttons/ppc-acceptance-medium.png"
data-bind="attr: {alt: $t('Acceptance Mark')}"
class="payment-icon"/>
<!-- PayPal Logo -->
<span data-bind="text: getTitle()"></span>
<a href="https://www.securecheckout.billmelater.com/paycapture-content/fetch?hash=AU826TU8&content=/bmlweb/ppwpsiw.html"
data-bind="click: showAcceptanceWindow"
class="action action-help">
<!-- ko i18n: 'See terms' --><!-- /ko -->
</a>
</label>
</div>
<div class="payment-method-content">
<!-- ko foreach: getRegion('messages') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<fieldset class="fieldset" data-bind='attr: {id: "payment_form_" + getCode()}'>
<div class="payment-method-note">
<!-- ko i18n: 'You will be redirected to the PayPal website when you place an order.' --><!-- /ko -->
</div>
</fieldset>
<div class="checkout-agreements-block">
<!-- ko foreach: $parent.getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
<div class="payment-method-extra-content">
<each args="$parent.getRegion('paypal-method-extra-content')" render=""/>
</div>
<div class="actions-toolbar">
<div class="primary">2222
<button class="action primary checkout"
type="submit"
data-bind="click: continueToPayPal, enable: (getCode() == isChecked())"
disabled>
<span data-bind="i18n: 'Continue to PayPal'"></span>
</button>
</div>
</div>
</div>
</div>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div class="payment-method" data-bind="css: {'_active': (getCode() == isChecked())}">
<div class="payment-method-title field choice">
<input type="radio"
name="payment[method]"
class="radio"
data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />
<label data-bind="attr: {'for': getCode()}" class="label">
<!-- PayPal Logo -->
<img data-bind="attr: {src: getPaymentAcceptanceMarkSrc(), alt: $t('Acceptance Mark')}" class="payment-icon"/>
<!-- PayPal Logo -->
<span data-bind="text: getTitle()"></span>
<a data-bind="attr: {href: getPaymentAcceptanceMarkHref()}, click: showAcceptanceWindow"
class="action action-help">
<!-- ko i18n: 'What is PayPal?' --><!-- /ko -->
</a>
</label>
</div>
<div class="payment-method-content">
<!-- ko foreach: getRegion('messages') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<fieldset class="fieldset" data-bind='attr: {id: "payment_form_" + getCode()}'>
<div class="payment-method-note">
<!-- ko i18n: 'You will be redirected to the PayPal website.' --><!-- /ko -->
</div>
</fieldset>
<div class="checkout-agreements-block">
<!-- ko foreach: $parent.getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
<div class="payment-method-extra-content">
<each args="$parent.getRegion('paypal-method-extra-content')" render=""/>
</div>
<div class="actions-toolbar">
<div class="primary">111111
<button class="action primary checkout"
type="submit"
data-bind="click: continueToPayPal, enable: (getCode() == isChecked())"
disabled>
<span data-bind="i18n: 'Continue to PayPal'"></span>
</button>
</div>
</div>
</div>
</div>
<!--
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
-->
<div class="payment-method" data-bind="css: {'_active': (getCode() == isChecked())}">
<div class="payment-method-title field choice">
<input type="radio"
name="payment[method]"
class="radio"
data-bind="attr: {'id': getCode()}, value: getCode(), checked: isChecked, click: selectPaymentMethod, visible: isRadioButtonVisible()" />
<label data-bind="attr: {'for': getCode()}" class="label">
<!-- PayPal Logo -->
<img data-bind="attr: {src: getPaymentAcceptanceMarkSrc(), alt: $t('Acceptance Mark')}"
class="payment-icon"/>
<!-- PayPal Logo -->
<span data-bind="text: getTitle()"></span>
<a data-bind="attr: {href: getPaymentAcceptanceMarkHref()}, click: showAcceptanceWindow" class="action action-help">
<!-- ko i18n: 'What is PayPal?' --><!-- /ko -->
</a>
</label>
</div>
<div class="payment-method-content">
<!-- ko foreach: getRegion('messages') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
<fieldset class="fieldset" data-bind='attr: {id: "payment_form_" + getCode()}'>
<div class="payment-method-note">
<!-- ko i18n: 'You will be redirected to the PayPal website.' --><!-- /ko -->
</div>
<!-- ko template: 'Magento_Paypal/payment/express/billing-agreement' --><!-- /ko -->
</fieldset>
<div class="checkout-agreements-block">
<!-- ko foreach: $parent.getRegion('before-place-order') -->
<!-- ko template: getTemplate() --><!-- /ko -->
<!--/ko-->
</div>
<div class="payment-method-extra-content">
<each args="$parent.getRegion('paypal-method-extra-content')" render=""/>
</div>
<div class="actions-toolbar">
<div class="primary">3333333
<button class="action primary checkout"
type="submit"
data-bind="click: continueToPayPal, enable: (getCode() == isChecked())"
disabled>
<span data-bind="i18n: 'Continue to PayPal'"></span>
</button>
</div>
</div>
</div>
</div>
...@@ -2373,8 +2373,8 @@ span.qty-wrapper { ...@@ -2373,8 +2373,8 @@ span.qty-wrapper {
font-size: 12px; font-size: 12px;
} }
.checkout-container .action.primary, .checkout-container action.secondary{ .checkout-container .action.primary, .checkout-container action.secondary{
background-color: #ffa800; background-color: #ffa800 !important;
font-size: 20px; font-size: 20px !important;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment