上线优化后的移动端操作
parent
a8278d0e3b
commit
740aab8985
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -0,0 +1 @@
|
||||
webpackJsonp([2],{414:function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var l,o,c=n(19),s=(n.n(c),n(20)),u=n.n(s),p=n(10),h=(n.n(p),n(12)),f=n.n(h),y=n(21),m=(n.n(y),n(22)),b=n.n(m),g=n(59),d=(n.n(g),n(60)),E=n.n(d),k=n(27),v=(n.n(k),n(28)),w=n.n(v),j=n(0),O=n.n(j),P=n(9),_=n(7),R=n(13),C=n(17),S=n(29),x=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),T=(l=Object(P.b)("store"))(o=Object(P.c)(o=function(e){function t(e){a(this,t);var n=r(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.store=n.props.store,n.intlStore=n.props.store.intlStore,n}return i(t,e),x(t,[{key:"renderPayResult",value:function(){var e=this.intlStore.submitResult,t=e.ipaylinks_url,n=e.paypal_url,a=this.intlStore.orderPrice;return O.a.createElement("div",null,O.a.createElement(E.a,{img:O.a.createElement(w.a,{type:"check-circle",className:"icon",style:{fill:"#a31022",height:"64px",width:"64px"}}),title:"Booking was sent successfully",message:"Please choose to Pay with Credit Card or PayPal. We will purchase your tickets after receiving the payment"}),O.a.createElement(f.a,null,O.a.createElement(E.a,{message:"Total price\uff0ctransaction fee and service fee inclusive $"+a.totalPrice}),O.a.createElement(b.a,{justify:"center"},O.a.createElement("a",{href:n,target:"_blank"},O.a.createElement("img",{src:"https://data.chinahighlights.com/pic/biz-paybtn-paypal.jpg ",alt:"paypal",width:"100%"}))),O.a.createElement(b.a,{justify:"center"},O.a.createElement("span",null,"Or")),O.a.createElement(b.a,{justify:"center"},O.a.createElement("a",{href:t,target:"_blank"},O.a.createElement("img",{src:"https://data.chinahighlights.com/pic/biz-paybtn-creditcard.jpg",alt:"ipaylink",width:"100%"})))))}},{key:"renderResult",value:function(){var e=this.intlStore.submitResult;return Object(C.f)(e)?O.a.createElement(E.a,{img:S.n,message:"Loading..."}):e.canPayOnline?this.renderPayResult():O.a.createElement("div",null,O.a.createElement(E.a,{img:O.a.createElement(w.a,{type:"check-circle",className:"icon",style:{fill:"#a31022",height:"64px",width:"64px"}}),title:"Booking was sent successfully",message:"We have received your booking, and we will process your booking in 24 hours"}))}},{key:"render",value:function(){var e=this;return O.a.createElement(R.b,{title:"Thank you for booking with us"},this.renderResult(),O.a.createElement(E.a,{message:"If you have any questions, please email: ethel@chinahighlights.com or call +86-2885311/2885339."}),O.a.createElement(u.a,{type:"primary",style:{borderRadius:"0",border:"0"},onClick:function(){return e.store.pushAction(_.y)}},"Continue to make another booking"))}}]),t}(j.Component))||o)||o;t.default=T}});
|
@ -0,0 +1 @@
|
||||
webpackJsonp([3],{413:function(e,t,r){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}Object.defineProperty(t,"__esModule",{value:!0});var i,s,c=r(19),l=(r.n(c),r(20)),u=r.n(l),h=r(10),p=(r.n(h),r(12)),f=r.n(p),m=r(21),y=(r.n(m),r(22)),d=r.n(y),b=r(59),g=(r.n(b),r(60)),v=r.n(g),E=r(27),w=(r.n(E),r(28)),k=r.n(w),P=r(0),O=r.n(P),S=r(9),_=r(13),j=function(){function e(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,r,a){return r&&e(t.prototype,r),a&&e(t,a),t}}(),C=(i=Object(S.b)("store"))(s=Object(S.c)(s=function(e){function t(e){a(this,t);var r=n(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return r.store=r.props.store,r.orderStore=r.props.store.orderStore,r.trainStore=r.props.store.trainStore,r}return o(t,e),j(t,[{key:"canPayOnline",value:function(){var e=parseInt(this.orderStore.selectedSeatClass.SeatInventory,10),t=this.trainStore.calcDepartDate(this.orderStore.selectedTrain),r=Date.now(),a=t.getTime()-r>648e5;return!(!(e>4)||!a)}},{key:"renderPayResult",value:function(){var e=this.orderStore.submitResult.paypal_url,t=this.orderStore.orderPrice;return O.a.createElement("div",null,O.a.createElement(v.a,{img:O.a.createElement(k.a,{type:"check-circle",className:"icon",style:{fill:"#a31022",height:"64px",width:"64px"}}),title:"Booking was sent successfully",message:"Please choose to Pay with Credit Card or PayPal. We will purchase your tickets after receiving the payment"}),O.a.createElement(f.a,null,O.a.createElement(v.a,{message:"Total price\uff0ctransaction fee and service fee inclusive $"+t}),O.a.createElement(d.a,{justify:"center"},O.a.createElement("a",{href:e,target:"_blank"},O.a.createElement("img",{src:"https://data.chinahighlights.com/pic/biz-paybtn-paypal.jpg",alt:"paypal",width:"100%"})))))}},{key:"renderResult",value:function(){return this.canPayOnline()?this.renderPayResult():O.a.createElement("div",null,O.a.createElement(v.a,{img:O.a.createElement(k.a,{type:"check-circle",className:"icon",style:{fill:"#a31022",height:"64px",width:"64px"}}),title:"Booking was sent successfully",message:"We have received your booking, and we will process your booking in 24 hours"}))}},{key:"render",value:function(){var e=this;return O.a.createElement(_.b,{title:"Thank you for booking with us"},this.renderResult(),O.a.createElement("div",{class:"am-result"},O.a.createElement("div",{class:"am-result-message"},"Besides the train service, we offer excellent transfer, ",O.a.createElement("a",{href:"https://www.chinahighlights.com/daytrip/coach-tours/"},"coach tour")," and tailor-made tour services in China. Please feel free to contact us if any interest."),O.a.createElement("div",{class:"am-result-message"},"Contact:E: sharon@chinahighlights.com"),O.a.createElement("div",{class:"am-result-message"},"T: 86-773-2838787, M: 86-13097735982")),O.a.createElement(d.a,null,O.a.createElement(d.a.Item,null,O.a.createElement(u.a,{type:"primary",style:{borderRadius:"0",border:"0"},onClick:function(){return e.store.pushAction("/")}},"Search")),O.a.createElement(d.a.Item,null,O.a.createElement(u.a,{type:"primary",style:{borderRadius:"0",border:"0"},onClick:function(){return e.store.pushAction("/sign-in")}},"Account"))))}}]),t}(P.Component))||s)||s;t.default=C}});
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue