shop-php/public/static/js/pages-payment-get_payment.0d08ddfc.js
2024-03-02 14:25:42 +08:00

1 line
34 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-payment-get_payment"],{"104c":function(t,e,n){"use strict";n.r(e);var a=n("64fb"),i=n("5bfe");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("495d");var r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"2e785e93",null,!1,a["a"],void 0);e["default"]=u.exports},"122d":function(t,e,n){var a=n("1f32");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("1e0dea70",a,!0,{sourceMap:!1,shadowMode:!1})},"136f":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.Popup[data-v-2e785e93]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-2e785e93]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-2e785e93]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-2e785e93]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-2e785e93]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-2e785e93]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-2e785e93]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-2e785e93]{width:%?500?%}.flex[data-v-2e785e93]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-2e785e93]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-2e785e93]{font-size:%?28?%;color:#fff}.mask[data-v-2e785e93]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=e},"1f2d":function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("c5e0")),o={name:"u-navbar",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],data:function(){return{}},methods:{leftClick:function(){this.$emit("leftClick"),this.autoBack&&uni.navigateBack()},rightClick:function(){this.$emit("rightClick")}}};e.default=o},"1f32":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-ab43af1a]{background-color:#fcdfad}body.?%PAGE?%[data-v-ab43af1a]{background-color:#fcdfad}.empty[data-v-ab43af1a]{margin:%?130?% 0 %?150?%;text-align:center}.empty uni-image[data-v-ab43af1a],\r\n.empty uni-image[data-v-ab43af1a]{display:inline-block;width:%?414?%;height:%?305?%}.empty uni-text[data-v-ab43af1a]{display:block;color:#666;font-size:%?26?%}.container[data-v-ab43af1a]{position:relative;height:100vh;background-image:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/def/c582c202402291601584806.webp);background-size:100% auto;background-repeat:no-repeat;padding-top:0}.container .v-desc[data-v-ab43af1a]{position:absolute;top:%?196?%;z-index:10;display:flex;justify-content:space-between;align-items:center;width:100%;padding:0 %?20?%;background:transparent}.container .v-desc .v-desc-main[data-v-ab43af1a]{margin-bottom:%?30?%;font-weight:600;font-size:%?42?%;color:#fff}.container .v-desc .v-desc-sub[data-v-ab43af1a]{font-weight:500;font-size:%?24?%;color:#fff}.container .v-con[data-v-ab43af1a]{position:absolute;top:%?436?%;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);width:%?710?%;height:%?680?%;background:linear-gradient(180deg,#feb992,#fff 31%,#fff);border-radius:%?20?%;margin:0 auto;box-shadow:0 %?-4?% 0 0 #fff;padding:%?53?% %?30?% 0 %?30?%;box-sizing:border-box}.container .v-con .v-con-text[data-v-ab43af1a]{margin-bottom:%?60?%;font-weight:400;font-size:%?32?%;color:#2e2e2e;line-height:%?16?%}.container .v-con .v-con-input[data-v-ab43af1a]{display:flex;align-items:center;margin-bottom:%?83?%;padding:0 0 %?40?% %?12?%;border-bottom:%?1?% solid #d6d6d6}.container .v-con .v-wrap[data-v-ab43af1a]{position:relative;width:%?666?%;height:%?210?%;background-image:url(https://lihai001.oss-cn-chengdu.aliyuncs.com/def/2f9c2202402291652415355.webp);background-size:100% 100%;background-repeat:no-repeat}.container .v-con .v-wrap .v-wrap-money[data-v-ab43af1a]{position:absolute;top:%?70?%;left:%?36?%;color:#ff5e0c}.container .v-con .v-wrap .v-wrap-money .icon[data-v-ab43af1a]{font-size:%?28?%}.container .v-con .v-wrap .v-wrap-money .num[data-v-ab43af1a]{font-size:%?46?%;display:inline-block;overflow:auto;width:%?160?%}.container .v-con .v-wrap .v-wrap-desc[data-v-ab43af1a]{position:absolute;top:%?67?%;left:%?230?%}.container .v-con .v-wrap .v-wrap-desc .v-wrap-desc-main[data-v-ab43af1a]{margin-bottom:%?16?%;font-weight:600;font-size:%?32?%;color:#2e2e2e}.container .v-con .v-wrap .v-wrap-desc .v-wrap-desc-sub[data-v-ab43af1a]{font-weight:400;font-size:%?24?%;color:#2e2e2e}.container .v-btn-wrap[data-v-ab43af1a]{position:fixed;z-index:11;bottom:0;left:0;display:flex;justify-content:center;align-items:center;width:100%;height:%?240?%;background-color:#fdd6a6}.container .v-btn-wrap .v-btn[data-v-ab43af1a]{width:%?650?%;height:%?100?%;line-height:%?100?%;background:#ff8056;box-shadow:%?0?% %?3?% %?3?% %?1?% rgba(255,94,12,.4);border-radius:%?55?% %?55?% %?55?% %?55?%;border:%?1?% solid #ff8056;font-weight:600;font-size:%?32?%;color:#fff;text-align:center}.container .v-btn-wrap .v-btn[data-v-ab43af1a]:active{opacity:.8}',""]),t.exports=e},"1f38":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-5302c461], uni-scroll-view[data-v-5302c461], uni-swiper-item[data-v-5302c461]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-navbar--fixed[data-v-5302c461]{position:fixed;left:0;right:0;top:0;z-index:11}.u-navbar__content[data-v-5302c461]{display:flex;flex-direction:row;align-items:center;height:44px;background-color:#9acafc;position:relative;justify-content:center}.u-navbar__content__left[data-v-5302c461], .u-navbar__content__right[data-v-5302c461]{padding:0 13px;position:absolute;top:0;bottom:0;display:flex;flex-direction:row;align-items:center}.u-navbar__content__left[data-v-5302c461]{left:0}.u-navbar__content__left--hover[data-v-5302c461]{opacity:.7}.u-navbar__content__left__text[data-v-5302c461]{font-size:15px;margin-left:3px}.u-navbar__content__title[data-v-5302c461]{text-align:center;font-size:16px;color:#303133}.u-navbar__content__right[data-v-5302c461]{right:0}.u-navbar__content__right__text[data-v-5302c461]{font-size:15px;margin-left:3px}',""]),t.exports=e},"22c7":function(t,e,n){"use strict";n.r(e);var a=n("d4e3"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"22fe":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"u-status-bar",style:[this.style]},[this._t("default")],2)},i=[]},2919:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("14d9");var i=a(n("5530")),o=n("4073"),r=a(n("a040")),u=n("26cb"),s=a(n("104c")),c={components:{authorize:s.default},computed:(0,i.default)({},(0,u.mapGetters)(["isLogin"])),data:function(){return{isEmpty:!1,cartForm:{product_id:"",product_attr_unique:"",cart_num:1,is_new:1,product_type:0,source:999,total_amount:""},merchantInfo:"",checkForm:{address_id:"",cart_id:[],consumption_id:"",product_type:0,source:999,takes:[],use_coupon:{},use_integral:!1},isAuto:!1,isShowAuth:!1,mer_id:"",tips:"暂未登陆~"}},onLoad:function(t){this.mer_id=t.mer_id},onShow:function(){this.isLogin?this.getProductInfoByMerid(this.mer_id):(r.default.set("login_back_url",getCurrentPages()[0].route+"?mer_id="+this.mer_id),this.isAuto=!0,this.isShowAuth=!0)},methods:{leftClick:function(t){uni.switchTab({url:"/pages/index/index"})},authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.getProductInfoByMerid(this.mer_id),this.isShowAuth=!1},submitOrder:function(){var t=this;if(!this.cartForm.total_amount)return this.$util.Tips({title:"请输入付款金额!"});this.cartForm.product_id=this.merchantInfo.product_id,this.cartForm.product_type=this.merchantInfo.product_type,this.cartForm.product_attr_unique=this.merchantInfo.sku[""].unique;var e=this;(0,o.addCart)(this.cartForm).then((function(n){e.checkForm.cart_id.push(n.data.cart_id),e.$util.Tips({title:"操作成功!"},(function(){(0,o.orderCheck)(e.checkForm).then((function(e){uni.navigateTo({url:"/pages/payment/settlement?cartId="+t.checkForm.cart_id+"&money="+t.cartForm.total_amount+"&merName="+t.merchantInfo.merchant.mer_name})}))}))})).catch((function(e){t.$util.Tips({title:e.message||e.msg||e})}))},getProductInfoByMerid:function(t){var e=this,n=this;(0,o.getProductInfo)({mer_id:t}).then((function(t){e.merchantInfo=t.data})).catch((function(t){e.tips=t.message||t.smg||t,e.$util.Tips({title:t.message||t.msg||t}),n.isEmpty=!0}))},handleSavePic:function(){var t=this.qrcodeUrl,e=document.createElement("a");e.download=t,e.href=t,document.body.appendChild(e),e.click(),e.remove()}}};e.default=c},"2b48":function(t,e,n){"use strict";var a=n("71d8"),i=n.n(a);i.a},"2bda":function(t,e,n){"use strict";var a=n("fb9b"),i=n.n(a);i.a},4073:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addCart=function(t){return i.default.post("user/cart/create",t)},e.getProductInfo=function(t){return i.default.get("scanPay/product",t)},e.orderCheck=function(t){return i.default.post("v2/order/check",t)},e.orderPay=function(t){return i.default.post("v2/order/create",t)},e.qrcode=function(t){return i.default.get("scanPay/qrcode",t)};var i=a(n("6860"))},"495d":function(t,e,n){"use strict";var a=n("4a59"),i=n.n(a);i.a},"4a59":function(t,e,n){var a=n("136f");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("6b12986a",a,!0,{sourceMap:!1,shadowMode:!1})},"5bfe":function(t,e,n){"use strict";n.r(e);var a=n("e40c"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},"5ea9":function(t,e,n){var a=n("1f38");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("0e43378e",a,!0,{sourceMap:!1,shadowMode:!1})},6033:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("d272")),o={name:"u-status-bar",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],data:function(){return{}},computed:{style:function(){var t={};return t.height=uni.$u.addUnit(uni.$u.sys().statusBarHeight,"px"),t.backgroundColor=this.bgColor,uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}}};e.default=o},"609d":function(t,e,n){"use strict";n.r(e);var a=n("aecb"),i=n("a7eb");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);var r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=u.exports},"64fb":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"mask",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}}):t._e(),t.isShowAuth&&t.code?n("v-uni-view",{staticClass:"Popup",style:"top:"+t.top+"px;"},[t.isWeixin?n("v-uni-text",{staticClass:"title"},[t._v("授权提醒")]):n("v-uni-text",{staticClass:"title"},[t._v(t._s(t.title))]),t.isWeixin?n("v-uni-text",{staticClass:"tip"},[t._v("请授权头像等信息,以便为您提供更好的服务!")]):n("v-uni-text",{staticClass:"tip"},[t._v(t._s(t.info))]),n("v-uni-view",{staticClass:"bottom flex"},[n("v-uni-text",{staticClass:"item",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}},[t._v("随便逛逛")]),n("v-uni-button",{staticClass:"item grant",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toWecahtAuth.apply(void 0,arguments)}}},[t.isWeixin?n("v-uni-text",{staticClass:"text"},[t._v("去授权")]):n("v-uni-text",{staticClass:"text"},[t._v("去登录")])],1)],1)],1):t._e()],1)},i=[]},"65c2":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-view[data-v-1428a719], uni-scroll-view[data-v-1428a719], uni-swiper-item[data-v-1428a719]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-image[data-v-1428a719]{position:relative;transition:opacity .5s ease-in-out}.u-image__image[data-v-1428a719]{width:100%;height:100%}.u-image__loading[data-v-1428a719], .u-image__error[data-v-1428a719]{position:absolute;top:0;left:0;width:100%;height:100%;display:flex;flex-direction:row;align-items:center;justify-content:center;background-color:#f3f4f6;color:#909193;font-size:%?46?%}',""]),t.exports=e},"712d":function(t,e,n){"use strict";n.r(e);var a=n("84e5"),i=n("22c7");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("2bda");var r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"1428a719",null,!1,a["a"],void 0);e["default"]=u.exports},"71d8":function(t,e,n){var a=n("8977");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("6ac7a9b1",a,!0,{sourceMap:!1,shadowMode:!1})},8007:function(t,e,n){"use strict";n.r(e);var a=n("22fe"),i=n("d0ce");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("2b48");var r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"186edb96",null,!1,a["a"],void 0);e["default"]=u.exports},"84e5":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uTransition:n("1488").default,uIcon:n("f8c8").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("u-transition",{attrs:{mode:"fade",show:t.show,duration:t.fade?1e3:0}},[n("v-uni-view",{staticClass:"u-image",style:[t.wrapStyle,t.backgroundStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[t.isError?t._e():n("v-uni-image",{staticClass:"u-image__image",style:{borderRadius:"circle"==t.shape?"10000px":t.$u.addUnit(t.radius),width:t.$u.addUnit(t.width),height:t.$u.addUnit(t.height)},attrs:{src:t.src,mode:t.mode,"show-menu-by-longpress":t.showMenuByLongpress,"lazy-load":t.lazyLoad},on:{error:function(e){arguments[0]=e=t.$handleEvent(e),t.onErrorHandler.apply(void 0,arguments)},load:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadHandler.apply(void 0,arguments)}}}),t.showLoading&&t.loading?n("v-uni-view",{staticClass:"u-image__loading",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.radius),backgroundColor:this.bgColor,width:t.$u.addUnit(t.width),height:t.$u.addUnit(t.height)}},[t._t("loading",[n("u-icon",{attrs:{name:t.loadingIcon,width:t.width,height:t.height}})])],2):t._e(),t.showError&&t.isError&&!t.loading?n("v-uni-view",{staticClass:"u-image__error",style:{borderRadius:"circle"==t.shape?"50%":t.$u.addUnit(t.radius),width:t.$u.addUnit(t.width),height:t.$u.addUnit(t.height)}},[t._t("error",[n("u-icon",{attrs:{name:t.errorIcon,width:t.width,height:t.height}})])],2):t._e()],1)],1)},o=[]},"87bb":function(t,e,n){"use strict";n.r(e);var a=n("2919"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},8977:function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.u-status-bar[data-v-186edb96]{width:100%}',""]),t.exports=e},a7eb:function(t,e,n){"use strict";n.r(e);var a=n("fabb"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},aecb:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("uvInput",{attrs:{value:t.value,type:t.type,fixed:t.fixed,disabled:t.disabled,disabledColor:t.disabledColor,clearable:t.clearable,password:t.password,maxlength:t.maxlength,placeholder:t.placeholder,placeholderClass:t.placeholderClass,placeholderStyle:t.placeholderStyle,showWordLimit:t.showWordLimit,confirmType:t.confirmType,confirmHold:t.confirmHold,holdKeyboard:t.holdKeyboard,focus:t.focus,autoBlur:t.autoBlur,disableDefaultPadding:t.disableDefaultPadding,cursor:t.cursor,cursorSpacing:t.cursorSpacing,selectionStart:t.selectionStart,selectionEnd:t.selectionEnd,adjustPosition:t.adjustPosition,inputAlign:t.inputAlign,fontSize:t.fontSize,color:t.color,prefixIcon:t.prefixIcon,suffixIcon:t.suffixIcon,suffixIconStyle:t.suffixIconStyle,prefixIconStyle:t.prefixIconStyle,border:t.border,readonly:t.readonly,shape:t.shape,customStyle:t.customStyle,formatter:t.formatter,ignoreCompositionEvent:t.ignoreCompositionEvent},on:{focus:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("focus")},blur:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.$emit("blur",e)}.apply(void 0,arguments)},keyboardheightchange:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("keyboardheightchange")},change:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.$emit("change",e)}.apply(void 0,arguments)},input:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.$emit("input",e)}.apply(void 0,arguments)},confirm:function(e){arguments[0]=e=t.$handleEvent(e),function(e){return t.$emit("confirm",e)}.apply(void 0,arguments)},clear:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("clear")},click:function(e){arguments[0]=e=t.$handleEvent(e),t.$emit("click")}}},[t._t("prefix",null,{slot:"prefix"}),t._t("suffix",null,{slot:"suffix"})],2)},i=[]},c5e0:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var a={props:{safeAreaInsetTop:{type:Boolean,default:uni.$u.props.navbar.safeAreaInsetTop},placeholder:{type:Boolean,default:uni.$u.props.navbar.placeholder},fixed:{type:Boolean,default:uni.$u.props.navbar.fixed},border:{type:Boolean,default:uni.$u.props.navbar.border},leftIcon:{type:String,default:uni.$u.props.navbar.leftIcon},leftText:{type:String,default:uni.$u.props.navbar.leftText},rightText:{type:String,default:uni.$u.props.navbar.rightText},rightIcon:{type:String,default:uni.$u.props.navbar.rightIcon},title:{type:[String,Number],default:uni.$u.props.navbar.title},bgColor:{type:String,default:uni.$u.props.navbar.bgColor},titleWidth:{type:[String,Number],default:uni.$u.props.navbar.titleWidth},height:{type:[String,Number],default:uni.$u.props.navbar.height},leftIconSize:{type:[String,Number],default:uni.$u.props.navbar.leftIconSize},leftIconColor:{type:String,default:uni.$u.props.navbar.leftIconColor},autoBack:{type:Boolean,default:uni.$u.props.navbar.autoBack},titleStyle:{type:[String,Object],default:uni.$u.props.navbar.titleStyle}}};e.default=a},c754:function(t,e,n){"use strict";var a=n("5ea9"),i=n.n(a);i.a},ca78:function(t,e,n){"use strict";n.r(e);var a=n("ea64"),i=n("e663");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("c754");var r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"5302c461",null,!1,a["a"],void 0);e["default"]=u.exports},ce72:function(t,e,n){"use strict";var a=n("122d"),i=n.n(a);i.a},d0ce:function(t,e,n){"use strict";n.r(e);var a=n("6033"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},d272:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{bgColor:{type:String,default:uni.$u.props.statusBar.bgColor}}};e.default=a},d4e3:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("f4d6")),o={name:"u-image",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],data:function(){return{isError:!1,loading:!0,opacity:1,durationTime:this.duration,backgroundStyle:{},show:!1}},watch:{src:{immediate:!0,handler:function(t){t?(this.isError=!1,this.loading=!0):this.isError=!0}}},computed:{wrapStyle:function(){var t={};return t.width=this.$u.addUnit(this.width),t.height=this.$u.addUnit(this.height),t.borderRadius="circle"==this.shape?"10000px":uni.$u.addUnit(this.radius),t.overflow=this.borderRadius>0?"hidden":"visible",uni.$u.deepMerge(t,uni.$u.addStyle(this.customStyle))}},mounted:function(){this.show=!0},methods:{onClick:function(){this.$emit("click")},onErrorHandler:function(t){this.loading=!1,this.isError=!0,this.$emit("error",t)},onLoadHandler:function(t){this.loading=!1,this.isError=!1,this.$emit("load",t),this.removeBgColor()},removeBgColor:function(){this.backgroundStyle={backgroundColor:"transparent"}}}};e.default=o},d593:function(t,e,n){"use strict";n.r(e);var a=n("ddd1"),i=n("87bb");for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);n("ce72");var r=n("f0c5"),u=Object(r["a"])(i["default"],a["b"],a["c"],!1,null,"ab43af1a",null,!1,a["a"],void 0);e["default"]=u.exports},ddd1:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uNavbar:n("ca78").default,uImage:n("712d").default,"u-Input":n("609d").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"container"},[n("v-uni-view",{staticClass:"v-navbar"},[n("u-navbar",{attrs:{title:"面对面收款",safeAreaInsetTop:!1,fixed:!1,bgColor:"transparent",leftIconColor:"#fff",titleStyle:{color:"#fff",fontWeight:"bold",fontSize:"32rpx"}},on:{leftClick:function(e){arguments[0]=e=t.$handleEvent(e),t.leftClick.apply(void 0,arguments)}}})],1),t.merchantInfo&&!t.isEmpty?n("v-uni-view",[n("v-uni-view",{staticClass:"v-desc"},[n("v-uni-view",[n("v-uni-view",{staticClass:"v-desc-main"},[t._v("付款给商家")]),n("v-uni-view",{staticClass:"v-desc-sub"},[t._v(t._s(t.merchantInfo.merchant.mer_name))])],1),n("u-image",{attrs:{showLoading:!0,src:t.merchantInfo.merchant.mer_avatar,width:"182rpx",height:"182rpx",radius:10}})],1),n("v-uni-view",{staticClass:"v-con"},[n("v-uni-view",{staticClass:"v-con-text"},[t._v("付款金额")]),n("v-uni-view",{staticClass:"v-con-input",staticStyle:{"margin-right":"10px"}},[n("v-uni-text",{staticStyle:{color:"#303133","font-size":"46rpx"}},[t._v("¥")]),n("u--input",{attrs:{type:"digit",maxlength:"5",fontSize:"23",placeholder:"请输入金额",border:"none",placeholderStyle:"color:#999;font-size:30rpx"},model:{value:t.cartForm.total_amount,callback:function(e){t.$set(t.cartForm,"total_amount",e)},expression:"cartForm.total_amount"}})],1),t.cartForm.total_amount?n("v-uni-view",{staticClass:"v-wrap"},[n("v-uni-view",{staticClass:"v-wrap-money"},[n("v-uni-text",{staticClass:"icon"},[t._v("¥")]),n("v-uni-text",{staticClass:"num"},[t._v(t._s(t.cartForm.total_amount))])],1),n("v-uni-view",{staticClass:"v-wrap-desc"},[n("v-uni-view",{staticClass:"v-wrap-desc-main"},[t._v("实物提货券")]),n("v-uni-view",{staticClass:"v-wrap-desc-sub"},[t._v("即买即用")])],1)],1):t._e()],1),n("v-uni-view",{staticClass:"v-btn-wrap"},[n("v-uni-view",{staticClass:"v-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.submitOrder.apply(void 0,arguments)}}},[t._v("提交订单")])],1),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)},onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)}}})],1):n("v-uni-view",{staticClass:"empty"},[n("v-uni-image",{attrs:{src:"/static/images/no_thing.png"}}),n("v-uni-text",{staticStyle:{"margin-top":"60rpx"}},[t._v(t._s(t.tips))]),n("authorize",{attrs:{isAuto:t.isAuto,isShowAuth:t.isShowAuth},on:{authColse:function(e){arguments[0]=e=t.$handleEvent(e),t.authColse.apply(void 0,arguments)},onLoadFun:function(e){arguments[0]=e=t.$handleEvent(e),t.onLoadFun.apply(void 0,arguments)}}})],1)],1)},o=[]},e40c:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5530")),o=(a(n("a040")),n("cc48"),n("8a31"),n("26cb")),r=(a(n("8afb")),n("5315")),u=(a(n("1ba1")),n("5eb1")),s=(getApp(),{name:"Authorize",props:{isAuto:{type:Boolean,default:!0},isGoIndex:{type:Boolean,default:!0},isShowAuth:{type:Boolean,default:!1}},components:{},data:function(){return{title:"用户登录",info:"请登录,将为您提供更好的服务!",isWeixin:this.$wechat.isWeixin(),canUseGetUserProfile:!1,code:null,top:0,mp_is_new:this.$Cache.get("MP_VERSION_ISNEW")||!1,editModal:!1}},computed:(0,i.default)((0,i.default)({},(0,o.mapGetters)(["isLogin","userInfo","viewColor"])),(0,r.configMap)(["routine_logo"])),watch:{isLogin:function(t){!0===t&&this.$emit("onLoadFun",this.userInfo)},isShowAuth:function(t){this.getCode(this.isShowAuth)}},created:function(){this.top=uni.getSystemInfoSync().windowHeight/2-70,wx.getUserProfile&&(this.canUseGetUserProfile=!0),this.setAuthStatus(),this.getCode(this.isShowAuth)},methods:{setAuthStatus:function(){},getCode:function(t){t&&(this.code=1)},toWecahtAuth:function(){(0,u.toLogin)(!0)},getUserProfile:function(){(0,u.toLogin)(!0),uni.navigateTo({url:"/pages/users/login/login_copy"})},close:function(){var t=getCurrentPages();t[t.length-1];this.$emit("authColse",!1),this.isGoIndex?uni.switchTab({url:"/pages/index/index"}):this.$emit("authColse",!1)}}});e.default=s},e663:function(t,e,n){"use strict";n.r(e);var a=n("1f2d"),i=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=i.a},ea64:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return a}));var a={uStatusBar:n("8007").default,uIcon:n("f8c8").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"u-navbar"},[t.fixed&&t.placeholder?n("v-uni-view",{staticClass:"u-navbar__placeholder",style:{height:t.$u.addUnit(t.$u.getPx(t.height)+t.$u.sys().statusBarHeight,"px")}}):t._e(),n("v-uni-view",{class:[t.fixed&&"u-navbar--fixed"]},[t.safeAreaInsetTop?n("u-status-bar",{attrs:{bgColor:t.bgColor}}):t._e(),n("v-uni-view",{staticClass:"u-navbar__content",class:[t.border&&"u-border-bottom"],style:{height:t.$u.addUnit(t.height),backgroundColor:t.bgColor}},[n("v-uni-view",{staticClass:"u-navbar__content__left",attrs:{"hover-class":"u-navbar__content__left--hover","hover-start-time":"150"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.leftClick.apply(void 0,arguments)}}},[t._t("left",[t.leftIcon?n("u-icon",{attrs:{name:t.leftIcon,size:t.leftIconSize,color:t.leftIconColor}}):t._e(),t.leftText?n("v-uni-text",{staticClass:"u-navbar__content__left__text",style:{color:t.leftIconColor}},[t._v(t._s(t.leftText))]):t._e()])],2),t._t("center",[n("v-uni-text",{staticClass:"u-line-1 u-navbar__content__title",style:[{width:t.$u.addUnit(t.titleWidth)},t.$u.addStyle(t.titleStyle)]},[t._v(t._s(t.title))])]),t.$slots.right||t.rightIcon||t.rightText?n("v-uni-view",{staticClass:"u-navbar__content__right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.rightClick.apply(void 0,arguments)}}},[t._t("right",[t.rightIcon?n("u-icon",{attrs:{name:t.rightIcon,size:"20"}}):t._e(),t.rightText?n("v-uni-text",{staticClass:"u-navbar__content__right__text"},[t._v(t._s(t.rightText))]):t._e()])],2):t._e()],2)],1)],1)},o=[]},f4d6:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("a9e3");var a={props:{src:{type:String,default:uni.$u.props.image.src},mode:{type:String,default:uni.$u.props.image.mode},width:{type:[String,Number],default:uni.$u.props.image.width},height:{type:[String,Number],default:uni.$u.props.image.height},shape:{type:String,default:uni.$u.props.image.shape},radius:{type:[String,Number],default:uni.$u.props.image.radius},lazyLoad:{type:Boolean,default:uni.$u.props.image.lazyLoad},showMenuByLongpress:{type:Boolean,default:uni.$u.props.image.showMenuByLongpress},loadingIcon:{type:String,default:uni.$u.props.image.loadingIcon},errorIcon:{type:String,default:uni.$u.props.image.errorIcon},showLoading:{type:Boolean,default:uni.$u.props.image.showLoading},showError:{type:Boolean,default:uni.$u.props.image.showError},fade:{type:Boolean,default:uni.$u.props.image.fade},webp:{type:Boolean,default:uni.$u.props.image.webp},duration:{type:[String,Number],default:uni.$u.props.image.duration},bgColor:{type:String,default:uni.$u.props.image.bgColor}}};e.default=a},fabb:function(t,e,n){"use strict";n("7a82");var a=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("1b08")),o=a(n("a3b5")),r={name:"u--input",mixins:[uni.$u.mpMixin,o.default,uni.$u.mixin],components:{uvInput:i.default}};e.default=r},fb9b:function(t,e,n){var a=n("65c2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("19348162",a,!0,{sourceMap:!1,shadowMode:!1})}}]);