| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286 |
- <!DOCTYPE html>
- <html class="" lang="zh-cmn-Hans">
- <head>
- <meta charset="utf-8">
- <meta name="keywords" content="">
- <meta name="description" content="">
- <meta name="HandheldFriendly" content="True">
- <meta name="MobileOptimized" content="320">
- <meta name="format-detection" content="telephone=no">
- <meta http-equiv="cleartype" content="on">
- <meta name="referrer" content="always">
- <title>您正在向【<?= $this->context->merchant['merchantName'] ?>】付款</title>
- <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
- <style>
- @charset "UTF-8";
- a,body {
- color: #333
- }
- .clearfix,.container .content {
- zoom: 1
- }
- a,abbr,acronym,address,applet,article,aside,audio,b,big,blockquote,body,canvas,caption,center,cite,code,dd,del,details,dfn,div,dl,dt,em,embed,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,header,hgroup,html,i,iframe,img,ins,kbd,label,legend,li,mark,menu,nav,object,ol,output,p,pre,q,ruby,s,samp,section,small,span,strike,strong,sub,summary,sup,table,tbody,td,tfoot,th,thead,time,tr,tt,u,ul,var,video
- {
- margin: 0;
- padding: 0;
- border: 0;
- font: inherit;
- font-size: 100%;
- vertical-align: baseline
- }
- html {
- line-height: 1;
- -ms-text-size-adjust: 100%;
- -webkit-text-size-adjust: 100%;
- font-family: Helvetica, "STHeiti STXihei", "Microsoft YaHei", Tohoma,
- Arial
- }
- ol,ul {
- list-style: none
- }
- table {
- border-collapse: collapse;
- border-spacing: 0
- }
- caption,td,th {
- font-weight: 400;
- vertical-align: middle
- }
- blockquote,q {
- quotes: none
- }
- blockquote:after,blockquote:before,q:after,q:before {
- content: "";
- content: none
- }
- .arrow-right::after,.clearfix:after,.container .content:after {
- content: ''
- }
- a img {
- border: none
- }
- article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section,summary
- {
- display: block
- }
- body {
- background-color: #eee;
- -webkit-backface-visibility: hidden
- }
- body.body-fixed-bottom {
- padding-bottom: 50px
- }
- .container {
- background-color: #f8f8f8
- }
- strong {
- font-weight: 700
- }
- a {
- background: 0 0;
- text-decoration: none;
- -webkit-tap-highlight-color: transparent
- }
- h1 {
- font-size: 2em;
- margin: .67em 0
- }
- h2 {
- font-size: 18px;
- line-height: 22px
- }
- h3 {
- font-size: 15px;
- line-height: 18px
- }
- button,input[type=number],input[type=text],input[type=password],input[type=email],input[type=search],select,textarea
- {
- font-family: inherit;
- font-size: 100%;
- margin: 0;
- -webkit-tap-highlight-color: transparent;
- -webkit-appearance: none;
- -moz-appearance: none
- }
- .c-orange {
- color: #f60 !important
- }
- .c-orange-dark {
- color: #f15a0c !important
- }
- .c-green {
- color: #06bf04 !important
- }
- .c-wx-green {
- color: #4b0 !important
- }
- .c-red {
- color: #ed5050 !important
- }
- .c-pink {
- color: #ee614b !important
- }
- .c-white {
- color: #fff !important
- }
- .c-gray-light {
- color: #e5e5e5 !important
- }
- .c-gray {
- color: #c9c9c9 !important
- }
- .c-gray-dark {
- color: #999 !important
- }
- .c-gray-darker {
- color: #666 !important
- }
- .c-black {
- color: #333 !important
- }
- .c-yellow {
- color: #f09000 !important
- }
- .c-light-yellow {
- color: #fcff00 !important
- }
- .c-blue {
- color: #38f !important
- }
- hr {
- margin: 10px 0;
- border: 0;
- border-top: 2px solid #e5e5e5
- }
- @media only screen and (-webkit-min-device-pixel-ratio:1.5) , only screen and
- (min--moz-device-pixel-ratio:1.5) , only screen and
- (min-device-pixel-ratio:1.5) {
- hr {
- border-top-width: 1px
- }
- }
- hr.margin-0 {
- margin: 0
- }
- hr.left-10 {
- margin-left: 10px
- }
- .relative {
- position: relative
- }
- .font-size-12 {
- font-size: 12px !important
- }
- .font-size-14 {
- font-size: 14px !important
- }
- .font-size-16 {
- font-size: 16px !important
- }
- .font-size-18 {
- font-size: 18px !important
- }
- .font-size-20 {
- font-size: 20px !important
- }
- .font-size-22 {
- font-size: 22px !important
- }
- .font-size-24 {
- font-size: 24px !important
- }
- .font-size-26 {
- font-size: 26px !important
- }
- .font-size-28 {
- font-size: 28px !important
- }
- .ellipsis {
- white-space: nowrap;
- overflow: hidden;
- text-overflow: ellipsis
- }
- .border-bottom-none {
- border-bottom: 0 !important
- }
- .border-top-none {
- border-top: 0 !important
- }
- .link,.link:active,.link:hover,.link:link,.link:visited {
- color: #07d
- }
- .clearfix:after {
- display: table;
- clear: both
- }
- .pull-left {
- float: left
- }
- .pull-right {
- float: right
- }
- .show {
- display: block
- }
- .hide {
- display: none !important;
- visibility: hidden
- }
- .center,.text-center {
- text-align: center
- }
- .text-left {
- text-align: left
- }
- .text-right {
- text-align: right
- }
- #right-icon .icon-txt,.btn,.btn-block,.copyright,.footer,.fullscreen-guide
- {
- text-align: center
- }
- .loading {
- background-repeat: no-repeat !important;
- background-position: center center !important;
- background-size: 16px 16px
- }
- .with-bs-bottom,.with-bs-top {
- background-size: 100% 1px
- }
- .with-bs-bottom {
- background-position: left bottom
- }
- .arrow-right::after {
- position: absolute;
- width: 7px;
- height: 7px;
- border-top: 2px solid #cbc9cc;
- border-right: 2px solid #cbc9cc;
- -webkit-transform: rotate(45deg);
- -moz-transform: rotate(45deg);
- -ms-transform: rotate(45deg);
- transform: rotate(45deg);
- top: 50%;
- right: 3px;
- margin-top: -5px
- }
- .content,.wrapper {
- margin: 0 auto
- }
- .wrapper {
- width: 320px
- }
- .container .content:after {
- display: table;
- clear: both
- }
- .copyright {
- background-color: #f8f8f8;
- color: #999;
- font-size: 12px;
- line-height: 16px
- }
- .copyright .ft-links {
- padding: 15px
- }
- .copyright .ft-links>a {
- margin: 0 6px;
- color: #333
- }
- .copyright .ft-links ~.ft-copyright {
- border-top: 2px solid #e5e5e5
- }
- @media only screen and (-webkit-min-device-pixel-ratio:1.5) , only screen and
- (min--moz-device-pixel-ratio:1.5) , only screen and
- (min-device-pixel-ratio:1.5) {
- .copyright .ft-links ~.ft-copyright {
- border-top-width: 1px
- }
- }
- .copyright .ft-copyright {
- padding: 0 0 20px;
- margin: 0 15px;
- font-size: 12px;
- }
- .copyright .ft-copyright>a {
- padding-top: 45px;
- color: #ccc
- }
- .copyright .ft-copyright .yz-logo {
- padding-left: 14px;
- position: relative
- }
- .copyright .ft-copyright .yz-logo::before {
- content: '';
- background:
- url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAkCAMAAACpD3pbAAAAb1BMVEUAAADLy8vKysrLy8vLy8vLy8vLy8vLy8vMzMzOzs7Ly8vLy8vMzMzQ0NDLy8vLy8vLy8vLy8vLy8vMzMzOzs7Pz8/S0tLLy8vKysrLy8vKysrLy8vLy8vLy8vMzMzNzc3Nzc3R0dHLy8vMzMzKysrwyZpuAAAAJHRSTlMAoqm+ZfvtjEA4z65xCebgxJmGUjMdGPPm2tW0p5OQSSkQdl8nEAN1AAAAwUlEQVQ4y6XQyRaDIAyF4bQgivNsnbXN+z9jj7CoUsLGf/udLHLhWj2kTAJZj4jeRmmDRxPFgeKQYq54oHhWzCjOFUeEJp3iguAaVSXBseaYYKb5Y9fdO18nm2yNr3XCX6JQHPPyM4do9jIWpTkxjo39fIMuAyWlRfW8TbXCA21lIJlAfMDTygIyRJpzQBe/3SzdXLu5usNe6+QRnOzf4sDFKQc7i7yI1wbgj1M286CFX57mKRt9LncwW7o+KgMg+gJYeFH82wegJQAAAABJRU5ErkJggg==)
- no-repeat;
- background-size: 10px 12px;
- width: 10px;
- height: 12px;
- position: absolute;
- bottom: 1px;
- left: 0
- }
- .copyright .pf-copyright {
- display: block;
- background-size: 73px 24px
- }
- .footer {
- margin: 0;
- padding: 0;
- min-height: 1px;
- line-height: 16px;
- background-color: #f8f8f8
- }
- .footer .link-icon {
- display: inline-block;
- width: 16px;
- height: 16px;
- margin-bottom: -3px;
- margin-right: 10px;
- background-image:
- url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAWJQAAFiUBSVIk8AAAABx0RVh0U29mdHdhcmUAQWRvYmUgRmlyZXdvcmtzIENTNui8sowAAAAVdEVYdENyZWF0aW9uIFRpbWUAMS8yOC8xM4B+MooAAAZqSURBVFiFrZdPTFN7Fse/5/6hVan9R+vjWag1JUYSbSel9BplKLogExOsitZJlFa6cWPGdDZuVIwaXTiViSZuRoWVk7gYx817uxEX72pGYgsmT5GEEmHyNLVAWmXa3vbOgt5rW/DlAXOSbn733N/59PzO73zPJaxgTqdz244dOwa0Wm2AiPTKuiRJibm5ucGRkZGhld5bi1Htgt/vDzc0NDxgGAYMw1Q9k2UZpVIJhUIh8fr168Dk5GTy/wrQ1dUVtlgsD1iWBcuyYBgGRKQGl2UZxWIRpVIJkiQtTExM+MfGxuLrAWArg1ut1gc8z4PjOPVXCaP8iAhEpDWZTH/kOO7HDx8+/LIugH379gUaGxsfchwHnufVoD09PQgGgzh16hRsNhsymQzm5uaqIIxG47ogWADw+Xw/8jxvUIJv2rQJ58+fh8/ng16/VIONjY3Yu3cvUqkUZmdn1aMhIq1er9/z6dOnv3/+/Pm/qwVgOjs7AzzP25V0ExFCoRDsdjsAXAbwO1qKdhjASH9/PwRBAMMw6jFpNBpXW1vbubVkgNm8ebNbSTkRYevWrfB4PAvlwANEFC//08dE5AcwHIlE4HK5VAiWZaHT6frXBLB9+/bfK0UGAC0tLQAQVgJXmiAIfiIKAxg+ePDg0gYMA5ZlwXFc086dO7etGqCpqYmpvGqpVCpNRI8rnaxWqyEQCMRtNtu/jh49Gnc4HOccDsc/S6VSFYTFYlk9gNls3lgJMDY2tslmsxkqnXw+32BdXZ2rfEtc7e3tT0VR/IsgCCoAEaG9vf27VQN4PJ6fZFkGABARJEnSeL3ewUqnjRs31vE8D6VH8DzvunPnzu0TJ05AEATIsgwiwsmTJ7OrBti1a1dyz549KgDDMNiwYUOop6dnSHG6ffs2HA4HKiFYlnUNDAykg8EgBEFAS0sLXC7XqgFIluVtmUxm6urVq0in00qvR6FQwJcvX4afPHkSlmV5KJPJhGKxGGZmZlAqlVAqlSDLMsxmc3pgYMCUzWZx48YN15s3b/ZrNBo/wzAGAMjlcvHZ2dmh8fHxFVs2AYAsy0NTU1OhW7duYXFxEcViEYVCAcViEcVicZrjuB+OHDnS093d/X0sFsP79++rIIxGY/rChQs/RyKRlxqN5k/KkZT3hizLyOfzI6IoBj5+/Di/EoABQDyZTNpjsZgKIUkSisXi0lkxDLxeb7q/v99UC1H2+bm3t/eEKIp/m5mZ8VYCKD7FYnGZgKlqKMuyG8DTZDKpVyCUF5UiBYC2trb06dOnqyDKm8NoNKauXbvW8PDhQ7x48WIlAEiStPD27VsVokqOFYhsNqu/e/cuJiYm1BQq6QaAjo6OVDAYbKiFUGri8uXLJlEUkU6nEY/HkUqlVB9JklAoFFSIZQOJAgFAPz09jXg8roJotVoYDIZ/LywsHDt8+PAPBoNh50o1oRSmTqcDANy/fx+iKCpzBCRJQj6fn3727Jl7GUBFTTwG0LnScwB/7evrO+DxeL6PRCLLaqJUKkGn0/3n4sWLT6xW6x8A2O/du4fnz59XQWSz2eEVAWqyEQDgLy/NA3h68+bNf7x69SrJsiy8Xu83ayKXyw0/evQoLMvyEIBQLUQ+nwf3awBlQVp2fzs7O/02mw0AMDo6agKQjkajKkQZHjzP15X3CcuyjOPHj4cSiQQWFxcVAQNTu/lvsebm5npFgIgIo6Ojpvr6+kQ0GoXNZgMRobm5GYODXzs6EYV1Ot2w0+kE8FXA1gRw4MCB7yrnQwA4e/bs2fr6+sSlS5cQjUZx5coVWCyWfM2r53iez5eBllr/WgBCodBkQ0MDKkf3VCr1ZyzVSqK1tRUAEgCqpiQimp+cnFysFL81AQCYrxUwjuMO9fb2DhKRG0AXEbmJqKrtdnd3h1OplL5y7VeL8FtGRPH5+fn34+PjTcqAyjAMNBpN6NChQyhPTVUmCILfaDQOKkcGACaT6et3wWrt+vXrervd7n/58qWqFwDAMIzb6XR2mc3m+Vwu90tra6uwe/fu8JYtWx7wPK/lOE49tjNnziz/NPutVm5WT6emplyVKqo0GaU1K9lhWVb95iAi9PX1oaOjY3rNAGWIZQKmNCGlI1YC1AQHgK51AXwLolK81Ou2NGnh2LFjSvDTRDS0boBaiHfv3kEURbUjAoDZbIbb7cb+/fthtVrV4ADwP3+yVfhMKQFgAAAAAElFTkSuQmCC);
- background-repeat: no-repeat;
- background-size: 16px
- }
- .footer .link-title {
- font-size: 16px
- }
- .full-screen .footer {
- margin-top: 0
- }
- .btn {
- display: inline-block;
- border-radius: 3px;
- padding: 5px 4px;
- margin: 0;
- font-size: 12px;
- cursor: pointer;
- line-height: 1.5;
- -webkit-appearance: none;
- background-color: #fff;
- border: 1px solid #e5e5e5;
- color: #999
- }
- .fullscreen-guide.hide,.motify {
- display: none
- }
- .btn-disabled,.btn[disabled] {
- background-color: #c9c9c9 !important;
- background-image: none !important;
- border: 1px solid transparent !important;
- color: #fff !important
- }
- .btn-disabled:active,.btn[disabled]:active {
- background-color: #c9c9c9 !important;
- background-image: none !important;
- border: 1px solid #bcbcbc !important
- }
- .btn-default {
- color: #999;
- background-color: #fff;
- border: 1px solid #e5e5e5
- }
- .btn-action-secondary {
- color: #fff;
- background-color: #f85;
- border-color: #f85
- }
- .btn-action-primary {
- color: #fff;
- background-color: #f44;
- border-color: #f44
- }
- .btn-blue {
- color: #fff;
- background-color: #38f;
- border-color: #38f
- }
- .btn-gray-dark {
- color: #333;
- background-color: #999;
- border-color: #999
- }
- .btn-green {
- color: #fff;
- background-color: #06bf04;
- border-color: #03b401
- }
- .btn-wx-green {
- color: #fff;
- background-color: #4b0;
- border-color: #4b0
- }
- .btn-red {
- color: #fff;
- background-color: #ed5050;
- border-color: #ed5050
- }
- .btn-pink {
- color: #fff;
- background-color: #ee614b;
- border-color: #ee614b
- }
- .btn-white {
- color: #333;
- background-color: #fff;
- border-color: #e5e5e5
- }
- .btn-yellow {
- color: #fff;
- background-color: #f09000;
- border-color: #f09000
- }
- .btn-grayeee {
- color: #999;
- background-color: #eee;
- border-color: 1px solid #ebebeb
- }
- .btn-orange {
- color: #fff;
- border-color: #f60;
- background-color: #f60
- }
- .btn-orange-dark {
- color: #fff;
- border-color: #f15a0c;
- background-color: #f15a0c
- }
- .btn-block {
- width: 100%;
- padding: 11px 10px;
- font-size: 16px;
- line-height: 16px;
- border-radius: 4px;
- -webkit-box-sizing: border-box;
- -moz-box-sizing: border-box;
- box-sizing: border-box
- }
- .btn-xsmall,.btn-xxsmall {
- line-height: 14px;
- width: auto;
- font-size: 12px
- }
- .btn-xsmall {
- padding: 8px 10px
- }
- .btn-xxsmall {
- padding: 4px 10px
- }
- .btn-l,.motify {
- font-size: 14px
- }
- .btn-l {
- padding: 9px 4px
- }
- .btn-opt {
- min-width: 50px
- }
- .motify {
- position: fixed;
- top: 35%;
- left: 50%;
- width: 220px;
- padding: 0;
- margin: 0 0 0 -110px;
- z-index: 9999;
- background: rgba(0, 0, 0, .8);
- color: #fff;
- line-height: 1.5em;
- border-radius: 6px;
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
- box-shadow: 0 1px 2px rgba(0, 0, 0, .2)
- }
- .motify .motify-inner {
- padding: 10px;
- text-align: center;
- word-wrap: break-word
- }
- .motify p {
- margin: 0 0 5px
- }
- .motify p:last-of-type {
- margin-bottom: 0
- }
- .fullscreen-guide {
- z-index: 2000;
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 100%;
- background-color: rgba(0, 0, 0, .9)
- }
- .fullscreen-guide .guide-close {
- position: absolute;
- top: 0;
- left: 10px;
- font-size: 40px;
- color: #fff;
- cursor: pointer
- }
- .fullscreen-guide .guide-arrow {
- position: absolute;
- top: 2px;
- right: 15px;
- width: 47px;
- height: 44px
- }
- .fullscreen-guide .guide-inner {
- padding-top: 48px;
- width: 320px;
- margin: 0 auto
- }
- .fullscreen-guide .step {
- width: 260px;
- display: inline-block;
- text-align: left;
- margin-bottom: 15px
- }
- .follow-guide .guide-inner-title {
- color: #fff;
- border-bottom: 1px solid #666;
- margin: 10px;
- padding-bottom: 20px;
- font-size: 18px;
- font-weight: 400
- }
- .follow-guide .wxid {
- display: inline-block;
- text-align: left;
- margin-bottom: 20px;
- font-size: 18px
- }
- .follow-guide .wxid .hasno-mp-weixin {
- width: 200px;
- height: 200px;
- margin-top: 20px;
- background-size: cover
- }
- .follow-guide .wxid strong {
- padding: 1px 5px;
- background-color: #fff;
- color: #000;
- border-radius: 4px
- }
- .follow-guide .guide-text {
- color: #fff;
- font-size: 16px;
- padding-bottom: 20px;
- border-bottom: 1px solid #666
- }
- .follow-guide .guide-text-title {
- color: #fff;
- margin: 20px 0;
- font-size: 20px
- }
- .follow-guide .guide-text-step {
- text-align: left;
- padding-left: 56px;
- color: #fff;
- margin-bottom: 15px;
- font-size: 16px
- }
- .follow-guide .step-1,.follow-guide .step-2,.follow-guide .step-3 {
- -webkit-user-select: none;
- -moz-user-select: none;
- -ms-user-select: none;
- user-select: none
- }
- .follow-guide .step-1 {
- height: 29px
- }
- .follow-guide .step-2 {
- margin-bottom: 10px;
- height: 64px;
- }
- .follow-guide .step-3 {
- margin-top: 10px;
- height: 68px;
- }
- .follow-guide .quick-subscribe {
- margin: 140px 15px 0;
- padding: 10px;
- background: #fff;
- border: 2px solid #f2f2f2;
- border-radius: 10px
- }
- .follow-guide .quick-subscribe h2 {
- font-size: 14px;
- border-bottom: 1px solid #f2f2f2;
- padding-bottom: 20px;
- margin: 12px 0
- }
- .follow-guide .quick-subscribe .btn {
- font-size: 14px;
- background: #4b0;
- color: #fff;
- display: inline-block;
- line-height: 38px;
- padding: 0 26px;
- border-radius: 4px
- }
- #right-icon,.fixed-icon {
- border-radius: 26px;
- position: fixed;
- right: 6px;
- z-index: 10;
- width: 50px
- }
- a#global-cart {
- z-index: 10
- }
- a#global-cart .icon-img {
- background:
- url(/images/pay/icons_sprite_29025c38a6.png)
- -202px -4px no-repeat;
- background-size: 300px 150px
- }
- a#global-cart.hide {
- display: none
- }
- a#global-cart.new .icon-img {
- background-position: -250px -4px
- }
- .no-text a#global-cart {
- background:
- url(/images/pay/icons_sprite_29025c38a6.png)
- no-repeat;
- background-size: 300px 150px
- }
- .no-text a#global-cart.s0 {
- background-position: -200px -100px
- }
- .no-text a#global-cart.s1 {
- background-position: -150px -100px
- }
- .no-text a#global-cart.s2 {
- background-position: -100px -100px
- }
- .no-text a#global-cart.s3 {
- background-position: -50px -100px
- }
- @media only screen and (-webkit-min-device-pixel-ratio:1.5) , only screen and
- (min--moz-device-pixel-ratio:1.5) , only screen and
- (min-device-pixel-ratio:1.5) {
- .no-text a#global-cart,a#global-cart .icon-img {
- background-image:
- url(/images/pay/icons_sprite@2x_29025c38a6.png)
- }
- a#global-cart .icon-img {
- background-position: -200px -7px
- }
- a#global-cart.new .icon-img {
- background-position: -250px -7px
- }
- }
- .fixed-icon {
- height: 50px;
- bottom: 52px;
- cursor: pointer
- }
- .ds-btn {
- bottom: 115px
- }
- .ds-btn .icon-img {
- height: 100%;
- background-repeat: no-repeat;
- background-size: 300px 150px;
- background-position: -250px -100px
- }
- a#global-wish {
- z-index: 10;
- display: block
- }
- #right-icon.no-text .icon-img,#right-icon.no-text .icon-txt,a#global-wish.hide
- {
- display: none
- }
- a#global-wish .icon-img {
- background:
- url(/images/pay/icons_sprite_29025c38a6.png)
- -2px -4px no-repeat;
- background-size: 300px 150px
- }
- a#global-wish.new .icon-img {
- background-position: -45px -7px
- }
- .no-text a#global-wish {
- background:
- url(/images/pay/icons_sprite_29025c38a6.png)
- -150px -50px;
- background-size: 300px 150px
- }
- .no-text a#global-wish.new {
- background-position: -200px -50px
- }
- @media only screen and (-webkit-min-device-pixel-ratio:1.5) , only screen and
- (min--moz-device-pixel-ratio:1.5) , only screen and
- (min-device-pixel-ratio:1.5) {
- .no-text a#global-wish,a#global-wish .icon-img {
- background-image:
- url(/images/pay/icons_sprite@2x_29025c38a6.png)
- }
- a#global-wish .icon-img {
- background-position: 3px -7px
- }
- }
- #right-icon {
- height: 50px;
- border: 1px solid #e1e1e1;
- bottom: 52px;
- overflow: hidden;
- -webkit-transition: width ease-in-out .3s;
- -moz-transition: width ease-in-out .3s;
- transition: width ease-in-out .3s;
- background-color: #fff;
- background-clip: padding-box
- }
- #right-icon .right-icon-container {
- position: absolute;
- height: 50px;
- right: 0;
- top: 0
- }
- #right-icon .icon {
- float: left;
- width: 50px;
- height: 50px
- }
- #right-icon .show-more-btn {
- background-image:
- url(/images/pay/icons_sprite_29025c38a6.png);
- background-repeat: no-repeat;
- background-size: 300px 150px;
- background-position: 1px -50px
- }
- #right-icon .show-more-btn.new {
- background-position: -99px -50px
- }
- #right-icon .icon-img {
- height: 32px
- }
- #right-icon .icon-txt {
- line-height: 18px;
- font-size: 12px;
- color: #9f9f9f
- }
- #right-icon.show {
- padding-left: 12px
- }
- #right-icon.show .show-more-btn {
- background-position: -49px -50px
- }
- #right-icon.no-text {
- border: 0;
- background-color: transparent
- }
- @media only screen and (-webkit-min-device-pixel-ratio:1.5) , only screen and
- (min--moz-device-pixel-ratio:1.5) , only screen and
- (min-device-pixel-ratio:1.5) {
- #right-icon .show-more-btn {
- background-image:
- url(/images/pay/icons_sprite@2x_29025c38a6.png)
- }
- }
- </style>
- <link rel="stylesheet" href="/css/pay/cashier.css?version=<?= $this->context->version ?>">
- <link type="text/css" rel="stylesheet" href="/css/wapmain.css?version=<?= $this->context->version ?>">
- </head>
- <body style="background:#f8f8f8;">
- <div name="payMask" style="position:fixed;left:0;top:0;width:100%;height:100%;z-index:990;background-color:gray;filter:alpha(opacity=10);opacity:0.8;display:none;"><img style="float:right;width:60%;" src="/images/pay/alipay.png" /></div>
- <div name="entireSiteBeCenterMask" class="xhMask"></div>
- <div name="xhCenterModal" class="xhCenterModal"></div>
- <div class="container " style="min-height: 441px;">
- <div class="content free-cash ">
- <div class="cashier-info-container center">
- <div class="avatar cashier-avatar" style="height:auto;">
- <a href="/user/logout?account=<?= $this->context->merchant['id'] ?>">
- <img class="circular" style="width:60px;height:60px;" src="<?= Yii::$app->params['imgUrl'].$this->context->merchant['logo'] ?>" alt="<?= $this->context->merchant['merchantName'] ?>">
- </a>
- </div>
- <div class="js-cashier-form block cashier-form text-left">
- <label for="cashier-price" class="font-size-12 cashier-label">金额(元)</label>
- <p class="cashier-field">
- <i class="money-text">¥</i>
- <span type="text" id="cashier-price" class="cashier-text"></span>
- <i id="js-cashier-cursor" class="cursor"></i>
- </p>
- </div>
- <?php if(!empty($coupon)){ ?>
- <div style="padding-top:6px;color:#815f5f;">代金劵:
- <select name="couponSelect" style="background:white;border:1px solid #e5e5e5;border-radius:4px;padding:0 0 4px 2px;color:#815f5f">
- <option value="0">请选择</option>
- <?php foreach($coupon as $key => $val){ ?>
- <option value="<?= $val['id'] ?>" meetamount="<?= $val['meetAmount'] ?>"><?= $val['amount'] ?>元(消费满<?= $val['meetAmount'] ?>元)</option>
- <?php } ?>
- </select>
- </div>
- <?php } ?>
- </div>
- </div>
- <div class="action-container" id="js-cashier-action">
- <?php if($this->context->isWeixin){ ?>
- <div style="margin-bottom: 13px;"><button type="button" pay-way="weixin" name="toPay" class="btn-pay btn btn-block btn-large btn-wxwappay btn-green">微信支付</button></div>
- <div style="margin-bottom: 13px;"><button type="button" pay-way="alipay" name="aliPayInWeixin" class="btn-pay btn btn-block btn-large btn-aliwap btn-blue">支付宝支付</button></div>
- <?php }else{ ?>
- <div style="margin-bottom: 13px;"><button type="button" pay-way="alipay" name="toPay" class="btn-pay btn btn-block btn-large btn-aliwap btn-blue">支付宝支付</button></div>
- <?php } ?>
- <?php if(isset($userAsset['balance']) && $userAsset['balance'] > 0){ ?>
- <div style="margin-bottom: 13px;"><button type="button" pay-way="balance" name="toPay" class="btn-pay btn btn-block btn-large btn-aliwap btn-blue">余额支付</button></div>
- <?php } ?>
- <?php if(isset($userAsset['balance']) && $userAsset['balance'] > 0){ ?>
- <div style="font-size:14px;color:#999;text-align:center;">余额:<?= $userAsset['balance'] ?>元</div>
- <?php } ?>
- </div>
- <div style="" name="wxPayKeyboard">
- <div class="ui-keyboard js-keyboard on">
- <ul class="ui-keyboard-numbers js-num" name="keyboardNum">
- <li>1</li>
- <li>2</li>
- <li>3</li>
- <li>4</li>
- <li>5</li>
- <li>6</li>
- <li>7</li>
- <li>8</li>
- <li>9</li>
- <li class="zero">0</li>
- <li>.</li>
- </ul>
- <ul class="ui-keyboard-buttons">
- <li class="btn-del js-del" name="numDel"><</li>
- <li class="btn-ok js-ok" name="fillOk">完成</li>
- </ul>
- </div>
- </div>
- </div>
- <div class="footer" style="min-height: 86px;">
- <div class="copyright">
- <div class="ft-copyright ">
- </div>
- </div>
- </div>
-
- <?php if(!empty($userInfo)){ ?>
- <div name="payBeCenter" class="xhBeCenterBox">
- <div class="lay-body" id="J_MainBody" style="padding-top:0px;">
- <div class="reg">
- <div style="padding-top:5px;margin-bottom:5px;"><span name="directPaymentClose" style="display:block;float:right;margin-right:10px;color:white;font-size:25px;">×</span></div>
- <div class="reg-form">
- <div class="m-form reg-phone">
- <input type="password" name="directPaymentPassword" class="m-full-txt reg-phone-number J_Phone" placeholder="请输入支付密码">
- <input type="hidden" name="balancePayOrderId" value="" />
- </div>
- <div style="margin:0 5%;font-size:12px;color:red;" name="payMention"></div>
- <div class="login-btn clearfix">
- <button type="button" name="makeSureToPay">支付</button>
- <div style="font-size:12px;padding-top:4px;padding-bottom:4px;margin-top:12px;">
- <?php if(!empty($userInfo['payPassword'])){ ?>
- <a style="font-size:12px;color:red;" href="javascript:void(0)" name="directPayMention"></a>
- <?php }else{ ?>
- 您还未设置支付密码哦~<a style="font-size:12px;color:blue;" href="/center/password?account=<?= $_GET['account'] ?>">点此设置</a>
- <?php } ?>
- </div>
- </div>
- </div>
- </div>
- </div>
- </div>
- <?php } ?>
- </body>
- <script type="text/javascript" src="/js/jquery-1.10.2.min.js?version=<?= $this->context->version ?>"></script>
- <script type="text/javascript" src="/js/util.js?version=<?= $this->context->version ?>"></script>
- <script type="text/javascript" src="/js/jweixin-1.0.0.js?version=<?= $this->context->version ?>"></script>
- <script>
- var payBeCenter = $("div[name=payBeCenter]");
- var entireSiteBeCenterMask = $("div[name=entireSiteBeCenterMask]");
- var payHeight = payBeCenter.outerHeight();//取div标签的高宽
- var payWidth = payBeCenter.outerWidth();
- var wWidth = $(window).width();//取浏览器高宽
- var wHeight = $(window).height();
- var scrollHeight = $(document).scrollTop();//获取当前窗口距离页面顶部高度
- var lH = (wHeight - payHeight) / 2 + scrollHeight;
- var lW = (wWidth - payWidth) /2;
- payBeCenter.css({"z-index":998,"position":"absolute","left":lW,"top":lH,});
- $("span[name=directPaymentClose]").click(function(){
- entireSiteBeCenterMask.css("display","none");
- payBeCenter.css("display","none");
- });
- $("li[name=fillOk]").click(function(){
- $("div[name=wxPayKeyboard]").css('display','none');
- $("#js-cashier-cursor").css("display","none");
- });
- $("ul[name=keyboardNum] li").click(function(){
- var preNum = $("#cashier-price").text();
- var num = $(this).text();
- $("#cashier-price").text(preNum+num);
- });
- $(".cashier-field").click(function(){
- $("#js-cashier-cursor").css("display","inline-block");
- $("div[name=wxPayKeyboard]").fadeIn();
- });
- $("li[name=numDel]").click(function(){
- var preNum = $("#cashier-price").text();
- var preLen = preNum.length;
- newNum = preNum.substring(0,preLen-1);
- $("#cashier-price").text(newNum);
- });
- var appId,nonceStr,package,paySign,signType,timeStamp,orderId;
- //调用微信JS api 支付
- function jsApiCall()
- {
- WeixinJSBridge.invoke(
- 'getBrandWCPayRequest', {
- "appId": appId, //公众号名称,由商户传入
- "timeStamp": timeStamp, //时间戳,自1970年以来的秒数
- "nonceStr" : nonceStr, //随机串
- "package" : package,
- "signType" : signType, //微信签名方式:
- "paySign" : paySign //微信签名
- },
- function(res){
- WeixinJSBridge.log(res.err_msg);
- //alert(res.err_code+'|'+res.err_desc+'|'+res.err_msg);
- if(res.err_msg == 'get_brand_wcpay_request:ok'){
- window.location.href='/pay/success?account=<?= $this->context->merchant['id'] ?>&orderId='+orderId;
- }
- }
- );
- }
- $("button[name=makeSureToPay]").click(function(){
- var directPaymentPassword = $("input[name=directPaymentPassword]").val();
- var balancePayOrderId = $("input[name=balancePayOrderId]").val();
- if(directPaymentPassword.length <= 0){
- $('a[name=directPayMention]').html('请填写密码');
- return;
- }
- var couponId = 0;
- var couponSelect = $("select[name=couponSelect]");
- if(couponSelect.length > 0){
- couponId = couponSelect.find("option:selected").val();
- }
- var data = 'orderId='+balancePayOrderId+'&payPassword='+directPaymentPassword+'&_csrf=<?= Yii::$app->request->csrfToken ?>&couponId='+couponId;
- $.ajax({
- type:"POST",
- url:'/pay/balance-pay?account=<?= $this->context->merchant['id'] ?>',
- data:data,
- dataType:'json',
- async:false,
- success:function(data){
- xhPopMsg(data.msg,1800);
- if(data.code == 'A0001'){
- var orderId = data.data.orderId;
- setTimeout(function(){
- window.location.href='/pay/success?account=<?= $this->context->merchant['id'] ?>&orderId='+orderId;
- },1000);
- }
- }
- });
- });
- $("input[name=directPaymentPassword]").focus(function(){
- $('a[name=directPayMention]').html('');
- });
- $("button[name=toPay]").click(function(){
- var amount = $("#cashier-price").text();
- if(isNaN(amount) || amount.length <= 0){
- xhPopMsg('请填写金额',1800);
- return;
- }
- var payWay = $(this).attr('pay-way');
- var couponId = 0;
- var couponSelect = $("select[name=couponSelect]");
- if(couponSelect.length > 0){
- couponId = couponSelect.find("option:selected").val();
- }
- var data = 'prePrice='+amount+'&_csrf=<?= Yii::$app->request->csrfToken ?>&couponId='+couponId+'&payWay='+payWay+'&userId=<?= $userId ?>';
- $.ajax({
- type:"POST",
- url:'/pay/get-params?account=<?= $this->context->merchant['id'] ?>',
- data:data,
- dataType:'json',
- async:false,
- success:function(data){
- if(data.code == 'A0001'){
- orderId = data.data.orderId;//获取orderId
- if(payWay == 'weixin'){//微信支付
- appId = data.data.appId;
- nonceStr = data.data.nonceStr;
- package = data.data.package;
- paySign = data.data.paySign;
- signType = data.data.signType;
- timeStamp = data.data.timeStamp;
- if (typeof WeixinJSBridge == "undefined"){
- if( document.addEventListener ){
- document.addEventListener('WeixinJSBridgeReady', jsApiCall, false);
- }else if (document.attachEvent){
- document.attachEvent('WeixinJSBridgeReady', jsApiCall);
- document.attachEvent('onWeixinJSBridgeReady', jsApiCall);
- }
- }else{
- jsApiCall();
- }
- }else if(payWay == 'alipay'){//支付宝支付
- window.location.href="/pay/exec-alipay?couponId="+couponId+"&orderId="+orderId+"&account=<?= $this->context->merchant['id'] ?>";
- }else{//余额支付
- entireSiteBeCenterMask.css("display","block");
- payBeCenter.css("display","block");
- $('html').addClass('noscroll');//有浮层不允许底部滚动
- $("div[name=wxPayKeyboard]").css('display','none');
- <?php if(!empty($userInfo['payPassword'])){ ?>
- $("input[name=directPaymentPassword]").val('').focus();
- <?php }else{ ?>
- $("input[name=directPaymentPassword]").val('');//没有设置支付密码不自动获得焦点
- <?php } ?>
- $("input[name=balancePayOrderId]").val(orderId);
- }
- }else{
- xhPopMsg(data.msg,1800);
- }
- }
- });
- });
- //微信里的支付宝支付提示
- $("button[name=aliPayInWeixin]").click(function(){
- $("div[name=payMask]").css("display","block");
- });
- $("div[name=payMask]").click(function(){
- $(this).css("display","none");
- });
- <?php if($this->context->isWeixin){ ?>
- //微信分享
- var shareTitle = '您正在向【<?= $this->context->merchant['merchantName'] ?>】付款';
- var descContent = '支持微信支付与支付宝支付';
- var lineLink = '<?= Yii::$app->params['frontUrl'] ?>/pay/index?account=<?= $this->context->merchant['id'] ?>';
- var imgUrl = '<?= Yii::$app->params['frontUrl'] ?>/images/pay/pay.jpg';
- wx.config({
- debug:false,
- appId: '<?= $this->context->signPackage['appId'] ?>',
- timestamp: <?= $this->context->signPackage['timestamp'] ?>,
- nonceStr: '<?= $this->context->signPackage['nonceStr'] ?>',
- signature: '<?= $this->context->signPackage['signature'] ?>',
- jsApiList: [
- 'checkJsApi',
- 'onMenuShareTimeline',
- 'onMenuShareAppMessage',
- 'onMenuShareQQ',
- 'onMenuShareWeibo',
- ]
- });
- wx.ready(function () {
- var shareData = {
- title: shareTitle,
- link: lineLink,
- imgUrl: imgUrl,
- desc:descContent,
- };
- wx.onMenuShareAppMessage(shareData);
- wx.onMenuShareTimeline({
- title: shareTitle,
- link: lineLink,
- imgUrl: imgUrl,
- desc:descContent,
- success: function () {
- //分享成功后的操作
- },
- cancel: function () {
- // 用户取消分享后执行的回调函数
- }
- });
- wx.onMenuShareQQ({
- title: shareTitle,
- link: lineLink,
- imgUrl: imgUrl,
- desc:descContent,
- success: function () {
- //分享成功后的操作
- },
- cancel: function () {
- // 用户取消分享后执行的回调函数
- }
- });
- wx.onMenuShareWeibo(shareData);
- });
- <?php } ?>
- </script>
- </html>
|