pages-order-payment-method~pages-order-payment-result.84d54d1e.js 23.4 KB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-payment-method~pages-order-payment-result"],{"26db":function(a,t,e){"use strict";var n=e("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("96cf");var i=n(e("1da1")),r=n(e("5530")),o=n(e("4f45")),d=e("2f62"),f={name:"shoproLoginModal",components:{},data:function(){return{screenShot:uni.getStorageSync("screenShot")}},props:{value:{},modalType:{type:String,default:""}},computed:(0,r.default)((0,r.default)({},(0,d.mapState)({showLoginTip:function(a){return a.user.showLoginTip},forceOauth:function(a){return a.user.forceOauth}})),{},{showLogin:{get:function(){return this.showLoginTip},set:function(a){this.$store.commit("LOGIN_TIP",a)}}}),methods:(0,r.default)((0,r.default)({},(0,d.mapActions)(["setTokenAndBack"])),{},{hideModal:function(){this.showLogin=!1},onLogin:function(){this.showLogin=!1,uni.setStorageSync("fromLogin",this.$Route),this.$Router.push({path:"/pages/public/login"})},getuserinfo:function(a){var t=this;return(0,i.default)(regeneratorRuntime.mark((function e(){var n,i;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return n=new o.default,e.next=3,n.wxMiniProgramLogin(a);case 3:i=e.sent,t.$store.commit("FORCE_OAUTH",!1),t.$store.commit("LOGIN_TIP",!1),uni.setStorageSync("fromLogin",t.$Route),t.setTokenAndBack(i);case 8:case"end":return e.stop()}}),e)})))()},closeAuth:function(){this.$store.commit("FORCE_OAUTH",!1),this.$store.commit("LOGIN_TIP",!1)}})};t.default=f},"31e7":function(a,t,e){"use strict";(function(a){var n=e("4ea4");e("99af"),e("d3b7"),e("4d63"),e("ac1f"),e("25f0"),e("466d"),e("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,e("96cf");var i=n(e("1da1")),r=n(e("d4ec")),o=n(e("bee2")),d=n(e("8566")),f=(n(e("8640")),n(e("6e87"))),l=n(e("4df0")),p=n(e("4f45")),b=n(e("0a2b")),c=function(){function t(a,e){(0,r.default)(this,t),this.payment=a,this.order=e,this.platform=uni.getStorageSync("platform");var n=this.getPayMethod();n()}return(0,o.default)(t,[{key:"getPayMethod",value:function(){var a=this,t={wxOfficialAccount:{wechat:function(){a.wxOfficialAccountPay()},alipay:function(){a.copyPayLink()},wallet:function(){a.walletPay()}},wxMiniProgram:{wechat:function(){a.wxMiniProgramPay()},alipay:function(){a.copyPayLink()},wallet:function(){a.walletPay()}},App:{wechat:function(){a.wechatPay()},alipay:function(){a.aliPay()},wallet:function(){a.walletPay()}},H5:{wechat:function(){a.wechatWapPay()},alipay:function(){a.goToPayLink()},wallet:function(){a.walletPay()}}};return t[this.platform][this.payment]}},{key:"prepay",value:function(){var t=this;return uni.showLoading({title:"支付中",mask:!0}),new Promise((function(e,n){var i=t,r={order_sn:i.order.order_sn,payment:i.payment};uni.getStorageSync("openid")&&(r.openid=uni.getStorageSync("openid")),(0,d.default)("pay.prepay",r).then((function(t){1===t.code?"no_openid"===t.data?uni.showModal({title:"微信支付",content:"点击确定后请再次使用微信支付",success:function(t){if(t.confirm){var e=new p.default;e.wxOfficialAccountBaseLogin()}else t.cancel&&a.log("用户点击取消")},fail:function(a){uni.hideLoading()}}):(uni.hideLoading(),e(t)):(uni.hideLoading(),uni.showToast({title:t.msg,icon:"none"}))}))}))}},{key:"wxOfficialAccountPay",value:function(){var a=(0,i.default)(regeneratorRuntime.mark((function a(){var t,e;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t=this,a.next=3,this.prepay();case 3:e=a.sent,l.default.wxpay(e.data.pay_data,(function(a){"chooseWXPay:ok"==a.errMsg?b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:1}}):"chooseWXPay:cancel"===a.errMsg||b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:0}})}));case 5:case"end":return a.stop()}}),a,this)})));function t(){return a.apply(this,arguments)}return t}()},{key:"wechatWapPay",value:function(){var a=(0,i.default)(regeneratorRuntime.mark((function a(){var t,e,n,i,r,o,d;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t=this,a.next=3,this.prepay();case 3:e=a.sent,1===e.code&&(n=e.data.pay_data.match(/url\=\'(\S*)\'/),i=new RegExp("&","g"),r=n[1].replace(i,"&"),o=uni.getStorageSync("sysInfo").domain,d=encodeURIComponent("".concat(o,"/pages/order/payment/result?orderSn=").concat(t.order.order_sn,"&type=").concat(t.payment,"&pay=1")),window.location.href=r+"&redirect_url="+d);case 5:case"end":return a.stop()}}),a,this)})));function t(){return a.apply(this,arguments)}return t}()},{key:"wxMiniProgramPay",value:function(){var a=(0,i.default)(regeneratorRuntime.mark((function a(){var t,e,n;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t=this,a.next=3,this.prepay();case 3:e=a.sent,n=e.data.pay_data,uni.requestPayment({provider:"wxpay",timeStamp:n.timeStamp,nonceStr:n.nonceStr,package:n.package,signType:n.signType,paySign:n.paySign,success:function(a){b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:1}})},fail:function(a){"requestPayment:fail cancel"!==a.errMsg&&b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:0}})}});case 6:case"end":return a.stop()}}),a,this)})));function t(){return a.apply(this,arguments)}return t}()},{key:"walletPay",value:function(){var a=(0,i.default)(regeneratorRuntime.mark((function a(){var t,e;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t=this,a.next=3,this.prepay();case 3:e=a.sent,1===e.code&&b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:1}});case 5:case"end":return a.stop()}}),a,this)})));function t(){return a.apply(this,arguments)}return t}()},{key:"copyPayLink",value:function(){var a=(0,i.default)(regeneratorRuntime.mark((function a(){var t;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return this,a.next=3,this.prepay();case 3:t=a.sent,1===t.code&&uni.showModal({title:"支付宝支付",content:"复制链接到外部浏览器",confirmText:"复制链接",success:function(a){a.confirm?uni.setClipboardData({data:t.data.pay_data,success:function(a){f.default.toast("已复制到剪切板")},fail:function(a){},complete:function(a){}}):a.cancel}});case 5:case"end":return a.stop()}}),a,this)})));function t(){return a.apply(this,arguments)}return t}()},{key:"goToPayLink",value:function(){var a=(0,i.default)(regeneratorRuntime.mark((function a(){var t;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return this,a.next=3,this.prepay();case 3:t=a.sent,1===t.code&&(window.location=t.data.pay_data);case 5:case"end":return a.stop()}}),a,this)})));function t(){return a.apply(this,arguments)}return t}()},{key:"aliPay",value:function(){var a=(0,i.default)(regeneratorRuntime.mark((function a(){var t,e;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t=this,a.next=3,this.prepay();case 3:e=a.sent,1===e.code&&uni.requestPayment({provider:"alipay",orderInfo:e.data.pay_data,success:function(a){b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:1}})},fail:function(a){"requestPayment:fail cancel"!==a.errMsg&&b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:0}})}});case 5:case"end":return a.stop()}}),a,this)})));function t(){return a.apply(this,arguments)}return t}()},{key:"wechatPay",value:function(){var a=(0,i.default)(regeneratorRuntime.mark((function a(){var t,e;return regeneratorRuntime.wrap((function(a){while(1)switch(a.prev=a.next){case 0:return t=this,a.next=3,this.prepay();case 3:e=a.sent,1===e.code&&uni.requestPayment({provider:"wxpay",orderInfo:JSON.parse(e.data.pay_data),success:function(a){b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:1}})},fail:function(a){"requestPayment:fail cancel"!==a.errMsg&&b.default.replace({path:"/pages/order/payment/result",query:{orderSn:t.order.order_sn,type:t.payment,pay:0}})}});case 5:case"end":return a.stop()}}),a,this)})));function t(){return a.apply(this,arguments)}return t}()}]),t}();t.default=c}).call(this,e("5a52")["default"])},4061:function(a,t,e){"use strict";e.r(t);var n=e("d6a4"),i=e("659b");for(var r in i)"default"!==r&&function(a){e.d(t,a,(function(){return i[a]}))}(r);e("acd7");var o,d=e("f0c5"),f=Object(d["a"])(i["default"],n["b"],n["c"],!1,null,"42ba1f13",null,!1,n["a"],o);t["default"]=f.exports},"659b":function(a,t,e){"use strict";e.r(t);var n=e("26db"),i=e.n(n);for(var r in n)"default"!==r&&function(a){e.d(t,a,(function(){return n[a]}))}(r);t["default"]=i.a},"78c2":function(a,t,e){var n=e("9ced");"string"===typeof n&&(n=[[a.i,n,""]]),n.locals&&(a.exports=n.locals);var i=e("4f06").default;i("020bd821",n,!0,{sourceMap:!1,shadowMode:!1})},"9ced":function(a,t,e){var n=e("24fb");t=n(!1),t.push([a.i,'@charset "UTF-8";\r\n/* ==================\r\n      uni-app的变量\r\n防止插件市场用到这些,就保留了\r\n ==================== */\r\n/* 页面左右间距 */\r\n/* 文字尺寸 */\r\n/*文字颜色*/\r\n/* 边框颜色 */\r\n/* 图片加载中颜色 */\r\n/* 行为相关颜色 */\r\n/* ==================\r\n       theme   \r\n ==================== */\r\n/*主题色*/\r\n/*文字色*/\r\n/*背景色*/\r\n/* ==================\r\n       自定义变量   \r\n ==================== */\r\n/*utils 工具*/\r\n/* 颜色 */.bg-red[data-v-42ba1f13]{background-color:#f33!important}.bg-purple[data-v-42ba1f13]{background-color:#ff33a9!important}.bg-orange[data-v-42ba1f13]{background-color:#f83!important}.bg-blue[data-v-42ba1f13]{background-color:#37f!important}.color-red[data-v-42ba1f13]{color:#f33!important}.color-purple[data-v-42ba1f13]{color:#ff33a9!important}.color-orange[data-v-42ba1f13]{color:#f83!important}.color-blue[data-v-42ba1f13]{color:#37f!important}.text-black[data-v-42ba1f13]{color:#000}.text-dark[data-v-42ba1f13]{color:#333}.text-deep[data-v-42ba1f13]{color:#555}.text-weak[data-v-42ba1f13]{color:#b3b3b3}.text-white[data-v-42ba1f13]{color:#fff}\r\n/*字体*/.f10[data-v-42ba1f13]{font-size:10px}.f12[data-v-42ba1f13]{font-size:12px}.f14[data-v-42ba1f13]{font-size:14px}.f15[data-v-42ba1f13]{font-size:15px}.f17[data-v-42ba1f13]{font-size:17px}.f20[data-v-42ba1f13]{font-size:20px}.f24[data-v-42ba1f13]{font-size:24px}\r\n/* 文字对齐*/.tl[data-v-42ba1f13]{text-align:left}.tc[data-v-42ba1f13]{text-align:center}.tr[data-v-42ba1f13]{text-align:right}\r\n/*浮动与清除浮动*/.fl[data-v-42ba1f13]{float:left}.fr[data-v-42ba1f13]{float:right}\n.fix[data-v-42ba1f13]{zoom:1}.fix[data-v-42ba1f13]:after{display:table;content:"";clear:both}\r\n\r\n/*显示*/.dn[data-v-42ba1f13]{display:none}.di[data-v-42ba1f13]{display:inline}.db[data-v-42ba1f13]{display:block}.dib[data-v-42ba1f13]{display:inline-block}.dt[data-v-42ba1f13]{display:table}\ndiv.dib[data-v-42ba1f13]{display:inline;zoom:1}\n.vm[data-v-42ba1f13]{vertical-align:middle}.vib[data-v-42ba1f13]{display:inline-block;vertical-align:middle}\r\n/*定位*/.pr[data-v-42ba1f13]{position:relative}.pa[data-v-42ba1f13]{position:absolute}.pf[data-v-42ba1f13]{position:fixed}\r\n/*盒子模型*/.mt2[data-v-42ba1f13]{margin-top:%?2?%}.mr2[data-v-42ba1f13]{margin-right:%?2?%}.mb2[data-v-42ba1f13]{margin-bottom:%?2?%}.ml2[data-v-42ba1f13]{margin-left:%?2?%}.mx2[data-v-42ba1f13]{margin-left:%?2?%;margin-right:%?2?%}.my2[data-v-42ba1f13]{margin-top:%?2?%;margin-bottom:%?2?%}.ma2[data-v-42ba1f13]{margin:%?2?%}.mt4[data-v-42ba1f13]{margin-top:%?4?%}.mr4[data-v-42ba1f13]{margin-right:%?4?%}.mb4[data-v-42ba1f13]{margin-bottom:%?4?%}.ml4[data-v-42ba1f13]{margin-left:%?4?%}.mx4[data-v-42ba1f13]{margin-left:%?4?%;margin-right:%?4?%}.my4[data-v-42ba1f13]{margin-top:%?4?%;margin-bottom:%?4?%}.ma4[data-v-42ba1f13]{margin:%?4?%}.mt8[data-v-42ba1f13]{margin-top:%?8?%}.mr8[data-v-42ba1f13]{margin-right:%?8?%}.mb8[data-v-42ba1f13]{margin-bottom:%?8?%}.ml8[data-v-42ba1f13]{margin-left:%?8?%}.mx8[data-v-42ba1f13]{margin-left:%?8?%;margin-right:%?8?%}.my8[data-v-42ba1f13]{margin-top:%?8?%;margin-bottom:%?8?%}.ma8[data-v-42ba1f13]{margin:%?8?%}.mt10[data-v-42ba1f13]{margin-top:%?10?%}.mr10[data-v-42ba1f13]{margin-right:%?10?%}.mb10[data-v-42ba1f13]{margin-bottom:%?10?%}.ml10[data-v-42ba1f13]{margin-left:%?10?%}.mx10[data-v-42ba1f13]{margin-left:%?10?%;margin-right:%?10?%}.my10[data-v-42ba1f13]{margin-top:%?10?%;margin-bottom:%?10?%}.ma10[data-v-42ba1f13]{margin:%?10?%}.mt15[data-v-42ba1f13]{margin-top:%?15?%}.mr15[data-v-42ba1f13]{margin-right:%?15?%}.mb15[data-v-42ba1f13]{margin-bottom:%?15?%}.ml15[data-v-42ba1f13]{margin-left:%?15?%}.mx15[data-v-42ba1f13]{margin-left:%?15?%;margin-right:%?15?%}.my15[data-v-42ba1f13]{margin-top:%?15?%;margin-bottom:%?15?%}.ma15[data-v-42ba1f13]{margin:%?15?%}.mt20[data-v-42ba1f13]{margin-top:%?20?%}.mr20[data-v-42ba1f13]{margin-right:%?20?%}.mb20[data-v-42ba1f13]{margin-bottom:%?20?%}.ml20[data-v-42ba1f13]{margin-left:%?20?%}.mx20[data-v-42ba1f13]{margin-left:%?20?%;margin-right:%?20?%}.my20[data-v-42ba1f13]{margin-top:%?20?%;margin-bottom:%?20?%}.ma20[data-v-42ba1f13]{margin:%?20?%}.mt24[data-v-42ba1f13]{margin-top:%?24?%}.mr24[data-v-42ba1f13]{margin-right:%?24?%}.mb24[data-v-42ba1f13]{margin-bottom:%?24?%}.ml24[data-v-42ba1f13]{margin-left:%?24?%}.mx24[data-v-42ba1f13]{margin-left:%?24?%;margin-right:%?24?%}.my24[data-v-42ba1f13]{margin-top:%?24?%;margin-bottom:%?24?%}.ma24[data-v-42ba1f13]{margin:%?24?%}.mt30[data-v-42ba1f13]{margin-top:%?30?%}.mr30[data-v-42ba1f13]{margin-right:%?30?%}.mb30[data-v-42ba1f13]{margin-bottom:%?30?%}.ml30[data-v-42ba1f13]{margin-left:%?30?%}.mx30[data-v-42ba1f13]{margin-left:%?30?%;margin-right:%?30?%}.my30[data-v-42ba1f13]{margin-top:%?30?%;margin-bottom:%?30?%}.ma30[data-v-42ba1f13]{margin:%?30?%}.pt2[data-v-42ba1f13]{padding-top:%?2?%}.pr2[data-v-42ba1f13]{padding-right:%?2?%}.pb2[data-v-42ba1f13]{padding-bottom:%?2?%}.pl2[data-v-42ba1f13]{padding-left:%?2?%}.px2[data-v-42ba1f13]{padding-left:%?2?%;padding-right:%?2?%}.py2[data-v-42ba1f13]{padding-top:%?2?%;padding-bottom:%?2?%}.pa2[data-v-42ba1f13]{padding:%?2?%}.pt4[data-v-42ba1f13]{padding-top:%?4?%}.pr4[data-v-42ba1f13]{padding-right:%?4?%}.pb4[data-v-42ba1f13]{padding-bottom:%?4?%}.pl4[data-v-42ba1f13]{padding-left:%?4?%}.px4[data-v-42ba1f13]{padding-left:%?4?%;padding-right:%?4?%}.py4[data-v-42ba1f13]{padding-top:%?4?%;padding-bottom:%?4?%}.pa4[data-v-42ba1f13]{padding:%?4?%}.pt8[data-v-42ba1f13]{padding-top:%?8?%}.pr8[data-v-42ba1f13]{padding-right:%?8?%}.pb8[data-v-42ba1f13]{padding-bottom:%?8?%}.pl8[data-v-42ba1f13]{padding-left:%?8?%}.px8[data-v-42ba1f13]{padding-left:%?8?%;padding-right:%?8?%}.py8[data-v-42ba1f13]{padding-top:%?8?%;padding-bottom:%?8?%}.pa8[data-v-42ba1f13]{padding:%?8?%}.pt10[data-v-42ba1f13]{padding-top:%?10?%}.pr10[data-v-42ba1f13]{padding-right:%?10?%}.pb10[data-v-42ba1f13]{padding-bottom:%?10?%}.pl10[data-v-42ba1f13]{padding-left:%?10?%}.px10[data-v-42ba1f13]{padding-left:%?10?%;padding-right:%?10?%}.py10[data-v-42ba1f13]{padding-top:%?10?%;padding-bottom:%?10?%}.pa10[data-v-42ba1f13]{padding:%?10?%}.pt15[data-v-42ba1f13]{padding-top:%?15?%}.pr15[data-v-42ba1f13]{padding-right:%?15?%}.pb15[data-v-42ba1f13]{padding-bottom:%?15?%}.pl15[data-v-42ba1f13]{padding-left:%?15?%}.px15[data-v-42ba1f13]{padding-left:%?15?%;padding-right:%?15?%}.py15[data-v-42ba1f13]{padding-top:%?15?%;padding-bottom:%?15?%}.pa15[data-v-42ba1f13]{padding:%?15?%}.pt20[data-v-42ba1f13]{padding-top:%?20?%}.pr20[data-v-42ba1f13]{padding-right:%?20?%}.pb20[data-v-42ba1f13]{padding-bottom:%?20?%}.pl20[data-v-42ba1f13]{padding-left:%?20?%}.px20[data-v-42ba1f13]{padding-left:%?20?%;padding-right:%?20?%}.py20[data-v-42ba1f13]{padding-top:%?20?%;padding-bottom:%?20?%}.pa20[data-v-42ba1f13]{padding:%?20?%}.pt24[data-v-42ba1f13]{padding-top:%?24?%}.pr24[data-v-42ba1f13]{padding-right:%?24?%}.pb24[data-v-42ba1f13]{padding-bottom:%?24?%}.pl24[data-v-42ba1f13]{padding-left:%?24?%}.px24[data-v-42ba1f13]{padding-left:%?24?%;padding-right:%?24?%}.py24[data-v-42ba1f13]{padding-top:%?24?%;padding-bottom:%?24?%}.pa24[data-v-42ba1f13]{padding:%?24?%}.pt30[data-v-42ba1f13]{padding-top:%?30?%}.pr30[data-v-42ba1f13]{padding-right:%?30?%}.pb30[data-v-42ba1f13]{padding-bottom:%?30?%}.pl30[data-v-42ba1f13]{padding-left:%?30?%}.px30[data-v-42ba1f13]{padding-left:%?30?%;padding-right:%?30?%}.py30[data-v-42ba1f13]{padding-top:%?30?%;padding-bottom:%?30?%}.pa30[data-v-42ba1f13]{padding:%?30?%}\r\n/*按钮禁用*/.disabled[data-v-42ba1f13]{outline:0 none;cursor:default!important;opacity:.4;filter:alpha(opacity=40);-ms-pointer-events:none;pointer-events:none}\r\n/**\r\n * \r\n * 自定义class工具\r\n * \r\n*/.pad[data-v-42ba1f13]{padding:0 %?30?%}.page_box[data-v-42ba1f13]{height:100%;width:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;overflow-x:hidden;background:#fff}.scroll-box[data-v-42ba1f13]{-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;position:relative}.content_box[data-v-42ba1f13]{-webkit-box-flex:1;-webkit-flex:1;flex:1;overflow-y:auto}\r\n/*单行文本溢出省略号*/.one-t[data-v-42ba1f13]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/*多行文本溢出省略号*/.more-t[data-v-42ba1f13]{overflow:hidden;text-overflow:ellipsis;word-break:break-all;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;-webkit-transition:all linear .2s;transition:all linear .2s}\r\n/* ==================\r\n          flex布局(colorui里面也有相关基础样式)\r\n ==================== */\r\n/* x水平排列*/.x-f[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x两端且水平居中*/.x-bc[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x平分且水平居中*/.x-ac[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-justify-content:space-around;justify-content:space-around;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*x水平靠上对齐*/.x-start[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*x水平靠下对齐*/.x-end[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*上下左右居中*/.x-c[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center}\r\n/*y竖直靠左*/.y-start[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:start;-webkit-align-items:flex-start;align-items:flex-start}\r\n/*y竖直靠右*/.y-end[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}\r\n/*y竖直居中*/.y-f[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center}.y-b[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/*y竖直两端居中*/.y-bc[data-v-42ba1f13]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between}\r\n/* ==================\r\n     flex布局  \r\n ==================== */\r\n/* ==================\r\n      渐变色 \r\n ==================== */\r\n/**\r\n* 溢出省略号\r\n* @param {Number} 行数\r\n*/\r\n/* shopro主题颜色 */\r\n/* 深黑 */#dark-theme[data-v-42ba1f13]{background:#000}#dark-theme .bColor[data-v-42ba1f13]{background:#fff;color:#999}#dark-theme .borderColor[data-v-42ba1f13]{border-color:#fff}\r\n/* 粉红 */#red-theme[data-v-42ba1f13]{background:#f9e5ee}#red-theme .bColor[data-v-42ba1f13]{background:#f9e5ee;color:#8e5a54}#red-theme .borderColor[data-v-42ba1f13]{border-color:#8e5a54}\r\n/* 橘黄 */#yellow-theme[data-v-42ba1f13]{background:#f6e1c9}#yellow-theme .bColor[data-v-42ba1f13]{background:#f6e1c9;color:#8c6031}#yellow-theme .borderColor[data-v-42ba1f13]{border-color:#8c6031}.modal-box[data-v-42ba1f13]{width:%?610?%;border-radius:%?20?%;background:#fff;position:relative;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);padding-bottom:%?30?%}.modal-box .head-bg[data-v-42ba1f13]{width:100%;height:%?210?%}.modal-box .detail .title1[data-v-42ba1f13]{color:#46351b;font-size:%?35?%;font-weight:700}.modal-box .detail .title2[data-v-42ba1f13]{font-size:%?28?%;color:#999;padding-top:%?20?%}.modal-box .btn-box[data-v-42ba1f13]{margin-top:%?80?%}.modal-box .btn-box .login-btn[data-v-42ba1f13]{width:%?492?%;height:%?70?%;background:-webkit-linear-gradient(left,#e9b461,#eecc89);background:linear-gradient(90deg,#e9b461,#eecc89);box-shadow:0 %?7?% %?6?% 0 rgba(229,138,0,.22);border-radius:%?35?%;font-size:%?28?%;color:hsla(0,0%,100%,.9)}.modal-box .btn-box .close-btn[data-v-42ba1f13]{width:%?492?%;height:%?70?%;color:#e9b766;font-size:%?26?%;margin-top:%?20?%;background:none}',""]),a.exports=t},acd7:function(a,t,e){"use strict";var n=e("78c2"),i=e.n(n);i.a},d6a4:function(a,t,e){"use strict";var n;e.d(t,"b",(function(){return i})),e.d(t,"c",(function(){return r})),e.d(t,"a",(function(){return n}));var i=function(){var a=this,t=a.$createElement,e=a._self._c||t;return a.showLogin&&!a.screenShot?e("v-uni-view",{staticClass:"cu-modal",class:[{show:a.showLogin},a.modalType],attrs:{cathctouchmove:!0},on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.hideModal.apply(void 0,arguments)}}},[e("v-uni-view",{staticClass:"cu-dialog",staticStyle:{background:"none",overflow:"visible"},on:{click:function(t){t.stopPropagation(),arguments[0]=t=a.$handleEvent(t)}}},[e("v-uni-view",{staticClass:"modal-box"},[e("v-uni-image",{staticClass:"head-bg",attrs:{src:"http://shopro.7wpp.com/imgs/nologin_bg.png",mode:""}}),e("v-uni-view",{staticClass:"detail"},[e("v-uni-view",{staticClass:"title1"},[a._v("您还没有登录")]),e("v-uni-view",{staticClass:"title2"},[a._v("登录即刻开启品质生活")])],1),e("v-uni-view",{staticClass:"btn-box y-f"},[e("v-uni-button",{staticClass:"cu-btn login-btn",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.onLogin.apply(void 0,arguments)}}},[a._v("立即登录")]),e("v-uni-button",{staticClass:"cu-btn close-btn",on:{click:function(t){arguments[0]=t=a.$handleEvent(t),a.hideModal.apply(void 0,arguments)}}},[a._v("取消")])],1)],1)],1)],1):a._e()},r=[]}}]);