Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
joshine
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
joshine
Commits
cc9b9494
Commit
cc9b9494
authored
Nov 08, 2022
by
lmf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加papay模板文件
parent
472ff0e0
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
202 additions
and
2 deletions
+202
-2
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/paylater.html
+19
-0
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/payment/express/billing-agreement.html
+21
-0
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/payment/payflow-express-bml.html
+55
-0
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/payment/payflow-express.html
+52
-0
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/payment/paypal-express.html
+53
-0
app/design/frontend/Joshine/breeze/web/css/_custom.less
+2
-2
No files found.
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/paylater.html
0 → 100644
View file @
cc9b9494
<!--
/**
* 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>
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/payment/express/billing-agreement.html
0 → 100644
View file @
cc9b9494
<!--
/**
* 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 -->
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/payment/payflow-express-bml.html
0 → 100644
View file @
cc9b9494
<!--
/**
* 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>
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/payment/payflow-express.html
0 → 100644
View file @
cc9b9494
<!--
/**
* 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>
app/design/frontend/Joshine/breeze/Magento_Paypal/web/template/payment/paypal-express.html
0 → 100644
View file @
cc9b9494
<!--
/**
* 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>
app/design/frontend/Joshine/breeze/web/css/_custom.less
View file @
cc9b9494
...
@@ -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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment