1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member-vrbuy-step1"],{"0607":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.getVrOrderpayInfo=e.buyStep2=e.buyStep1=void 0;var a=i("887c");e.buyStep1=function(t,e){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return(0,a.requestApi)("/membervrbuy/buy_step1","POST",Object.assign({goods_id:t,quantity:e},i),"member")};e.buyStep2=function(t,e,i,n){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{};return(0,a.requestApi)("/membervrbuy/buy_step2","POST",Object.assign({goods_id:t,quantity:e,buyer_phone:i,buyer_msg:n},o),"member")};e.getVrOrderpayInfo=function(t){return(0,a.requestApi)("/membervrbuy/pay","POST",{pay_sn:t},"member")}},"07d0":function(t,e,i){var a=i("6d69");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("8da7eac6",a,!0,{sourceMap:!1,shadowMode:!1})},"0868":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("5530")),o=i("26cb"),s=i("de79"),r={name:"MemberBase",data:function(){return{page:"",cartNumber:0}},props:{show:{type:Boolean,default:!0}},computed:(0,n.default)((0,n.default)({},(0,o.mapState)({user:function(t){return t.member.info},isOnline:function(t){return t.member.isOnline}})),{},{getCarCount:function(){return this.cartNumber>0&&this.cartNumber<100?this.cartNumber:this.cartNumber>=100?"99+":void 0}}),mounted:function(){var t=getCurrentPages(),e=t[t.length-1];this.page={route:e.route,options:e.options},this.user||uni.navigateTo({url:"/pages/home/memberlogin/Login?clear=1"}),this.getCartCount()},methods:{getCartCount:function(){var t=this;this.isOnline&&(0,s.cartQuantity)().then((function(e){e&&(t.cartNumber=e.result.cart_count)}))}}};e.default=r},"0b6b":function(t,e,i){"use strict";i.r(e);var a=i("6e83"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"112a":function(t,e,i){"use strict";i.r(e);var a=i("d8c9"),n=i("3d23");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("6613");var s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"72098033",null,!1,a["a"],void 0);e["default"]=r.exports},1291:function(t,e,i){var a=i("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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.title[data-v-72098033]{width:5rem;font-size:.7rem;color:#333}.subtitle[data-v-72098033]{flex:1;margin-left:1rem;color:#333;font-size:.75rem;text-align:right}.subtitle.discount[data-v-72098033]{color:#fb2630}',""]),t.exports=e},"1d0f":function(t,e,i){var a=i("ab61");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("5e92d202",a,!0,{sourceMap:!1,shadowMode:!1})},"20f4":function(t,e,i){var a=i("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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.common-header .btn[data-v-42cf3bda]{background:#000;color:#fff;box-shadow:0 2px 4px #d2d2d2}.container[data-v-42cf3bda]{background:#fff;padding:0 .6rem}.store[data-v-42cf3bda]{position:relative;z-index:1;display:block;height:.9rem;padding:.4rem 0;font-size:.7rem;line-height:.9rem;background:#fff;font-weight:700}.store .i[data-v-42cf3bda]{font-size:.8rem;margin-right:.2rem;color:#fb2630}.cart-item[data-v-42cf3bda]{background-color:#fff;border-bottom:solid .05rem #eee}.buy-item[data-v-42cf3bda]{display:block;position:relative;z-index:1;margin:.5rem 0;box-shadow:0 4px 4px #f7f7f7}.buy-item .goods-pic[data-v-42cf3bda]{display:block;width:3rem;height:3rem;position:absolute;z-index:1;top:0;left:0}.buy-item .goods-pic .img[data-v-42cf3bda]{width:100%;height:100%;border-radius:.2rem}.buy-item .goods-info[data-v-42cf3bda]{display:block;vertical-align:top;height:3.1rem;margin-left:4rem;position:relative;z-index:1}.buy-item .goods-info .goods-name[data-v-42cf3bda]{height:1.6rem;font-size:.7rem;line-height:.8rem;overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;line-clamp:2;box-orient:vertical;margin-bottom:.5rem;font-weight:400}.buy-item .goods-info .goods-name .tag-icon[data-v-42cf3bda]{vertical-align:top}.buy-item .goods-info .goods-type[data-v-42cf3bda]{overflow:hidden;white-space:nowrap;width:70%;height:.9rem;font-size:.5rem;line-height:.9rem;color:#999;text-overflow:ellipsis}.buy-item .goods-info .goods-original-price[data-v-42cf3bda]{text-decoration:line-through;font-size:.6rem;color:#a2a6ad;font-weight:400}.buy-item .goods-info .goods-subtotal[data-v-42cf3bda]{display:block;height:1rem;margin:0 .4rem 0 0;line-height:1rem;font-size:.7rem;position:relative;z-index:1}.buy-item .goods-info .goods-subtotal .goods-price[data-v-42cf3bda]{color:#db4453;font-size:.7rem;font-weight:600}.buy-item .goods-info .goods-subtotal .goods-count[data-v-42cf3bda]{font-size:.7rem;line-height:1rem;position:absolute;z-index:1;top:0;right:0;font-weight:400;color:#a2a6ad}.cart-subtotal .dl[data-v-42cf3bda]{position:relative;z-index:1;height:1rem;padding:.4rem 0 0;font-size:0}.cart-subtotal .dt[data-v-42cf3bda]{position:absolute;z-index:1;top:.4rem;left:.4rem;display:block;width:50%;height:1rem;font-size:.6rem;line-height:1rem}.cart-subtotal .dd[data-v-42cf3bda]{height:1rem;margin:0 .4rem 0 50%;text-align:right;font-size:.6rem;line-height:1rem}.cart-subtotal .message[data-v-42cf3bda]{position:relative;z-index:1;display:block;border-bottom:1px dashed #eee}.cart-subtotal .message .order-message[data-v-42cf3bda]{background:#fbfbfb;margin:.5rem 0;font-size:.6rem;padding:.5rem;height:4rem;border:0;box-sizing:border-box;width:100%}.desc-item[data-v-42cf3bda]{height:1.5rem}.common-voucher[data-v-42cf3bda]{margin:.5rem auto}.left-icon[data-v-42cf3bda]{float:left;font-size:.9rem;margin-right:.2rem}.field-line-right .field-input[data-v-42cf3bda]{text-align:left!important}',""]),t.exports=e},2155:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("0b9f"),o=a(i("cce0")),s=a(i("7b4a")),r=i("0607"),c=a(i("f5e6")),u=a(i("f522")),l={name:"Step1",components:{TitleHeader:o.default,MemberBase:s.default,flexLine:u.default,CheckoutStore:c.default},mounted:function(){},computed:{fontSize:function(){return(0,n.getFontSize)()}},data:function(){return{navHeight:0,dialog:{},pintuan_id:0,pintuangroup_id:0,goods_id:"",quantity:"",buyer_phone:"",store_final_total_list:null,message:""}},onLoad:function(t){this.goods_id=t.goods_id?t.goods_id:"",this.quantity=t.quantity?t.quantity:"",this.pintuan_id=t.pintuan_id,this.pintuangroup_id=t.pintuangroup_id,this.getBuyInfo()},methods:{closeDialog:function(){},confirmDialog:function(t){},getBuyInfo:function(){var t=this,e={};this.pintuan_id&&(e["pintuan_id"]=this.pintuan_id,e["pintuangroup_id"]=this.pintuangroup_id),(0,r.buyStep1)(this.goods_id,this.quantity,e).then((function(e){1e4===e.code&&(t.store_final_total_list=e.result)})).catch((function(t){uni.showToast({icon:"none",title:t.message})}))},goBack:function(){uni.navigateBack({delta:1})},selectVoucher:function(t){this.store_final_total_list.goods_info.store_voucher_info=t},goAddress:function(){this.store_final_total_list.address_info?uni.navigateTo({url:"/pages/member/address/AddressList"}):uni.navigateTo({url:"/pages/member/address/AddressForm?"+(0,n.urlencode)({action:"add",isFromCheckout:!0,goBackLevel:1})})},changeMessage:function(t,e){this.message=t},checkout:function(){var t=this.goods_id,e=this.quantity,i=this.buyer_phone,a=this.message;if(0==this.store_final_total_list.goods_info.virtual_type&&!i)return this.dialog={content:"您需要先去填写手机号"},void this.$refs.confirm.open();var o={};this.pintuan_id&&(o["pintuan_id"]=this.pintuan_id,o["pintuangroup_id"]=this.pintuangroup_id);var s=this.store_final_total_list.goods_info.store_voucher_info.vouchertemplate_id+"|"+this.store_final_total_list.goods_info.store_id+"|"+this.store_final_total_list.goods_info.store_voucher_info.voucher_price;o["voucher"]=s,(0,r.buyStep2)(t,e,i,a,o).then((function(t){var e=t.result.order_sn;uni.redirectTo({url:"/pages/member/buy/pay?"+(0,n.urlencode)({pay_sn:e,pay_type:"vr_pay_new"})})})).catch((function(t){uni.showToast({icon:"none",title:t.message})}))}}};e.default=l},3056:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("f522")),o={props:{title:{},subtitle:{},discount:{default:!1}},components:{flexLine:n.default}};e.default=o},"3d23":function(t,e,i){"use strict";i.r(e);var a=i("3056"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},4305:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("a9e3");var n=a(i("e8e6")),o=i("37dc"),s=a(i("6789")),r=(0,o.initVueI18n)(s.default),c=r.t,u={name:"uniPopupDialog",mixins:[n.default],emits:["confirm","close"],props:{value:{type:[String,Number],default:""},placeholder:{type:[String,Number],default:""},type:{type:String,default:"error"},mode:{type:String,default:"base"},title:{type:String,default:""},content:{type:String,default:""},beforeClose:{type:Boolean,default:!1}},data:function(){return{dialogType:"error",focus:!1,val:""}},computed:{okText:function(){return c("uni-popup.ok")},cancelText:function(){return c("uni-popup.cancel")},placeholderText:function(){return this.placeholder||c("uni-popup.placeholder")},titleText:function(){return this.title||c("uni-popup.title")}},watch:{type:function(t){this.dialogType=t},mode:function(t){"input"===t&&(this.dialogType="info")},value:function(t){this.val=t}},created:function(){this.popup.disableMask(),"input"===this.mode?(this.dialogType="info",this.val=this.value):this.dialogType=this.type},mounted:function(){this.focus=!0},methods:{onOk:function(){"input"===this.mode?this.$emit("confirm",this.val):this.$emit("confirm"),this.beforeClose||this.popup.close()},closeDialog:function(){this.$emit("close"),this.beforeClose||this.popup.close()},close:function(){this.popup.close()}}};e.default=u},6613:function(t,e,i){"use strict";var a=i("7230"),n=i.n(a);n.a},6789:function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("7310")),o=a(i("be7d")),s=a(i("bbf3")),r={en:n.default,"zh-Hans":o.default,"zh-Hant":s.default};e.default=r},"69f5":function(t,e,i){"use strict";i.r(e);var a=i("0868"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"6d69":function(t,e,i){var a=i("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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.uni-popup-dialog[data-v-426fce18]{width:300px;border-radius:15px;background-color:#fff}.uni-dialog-title[data-v-426fce18]{display:flex;flex-direction:row;justify-content:center;padding-top:15px;padding-bottom:5px}.uni-dialog-title-text[data-v-426fce18]{font-size:16px;font-weight:500}.uni-dialog-content[data-v-426fce18]{display:flex;flex-direction:row;justify-content:center;align-items:center;padding:5px 15px 15px 15px}.uni-dialog-content-text[data-v-426fce18]{font-size:14px;color:#6e6e6e}.uni-dialog-button-group[data-v-426fce18]{display:flex;flex-direction:row;border-top-color:#f5f5f5;border-top-style:solid;border-top-width:1px}.uni-dialog-button[data-v-426fce18]{display:flex;flex:1;flex-direction:row;justify-content:center;align-items:center;height:45px}.uni-border-left[data-v-426fce18]{border-left-color:#f0f0f0;border-left-style:solid;border-left-width:1px}.uni-dialog-button-text[data-v-426fce18]{font-size:14px}.uni-button-color[data-v-426fce18]{color:#007aff}.uni-dialog-input[data-v-426fce18]{flex:1;font-size:14px;border:1px #eee solid;height:40px;padding:0 10px;border-radius:5px;color:#555}.uni-popup__success[data-v-426fce18]{color:#4cd964}.uni-popup__warn[data-v-426fce18]{color:#f0ad4e}.uni-popup__error[data-v-426fce18]{color:#dd524d}.uni-popup__info[data-v-426fce18]{color:#909399}',""]),t.exports=e},"6e83":function(t,e,i){"use strict";i("7a82");var a=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("acd8");var n=a(i("cce0")),o=a(i("112a")),s=a(i("f522")),r={name:"CheckoutStore",data:function(){return{navHeight:0,screenWidth:0,totalAmount:"",message:"",myVoucher:""}},components:{TitleHeader:n.default,flexLine:s.default,CheckoutDesc:o.default},props:["storeCartList"],created:function(){this.calcOrder()},mounted:function(){this.screenWidth=uni.getSystemInfoSync().screenWidth},methods:{showPopup:function(t){this.$refs[t].open()},hidePopup:function(t){this.$refs[t].close()},changeMessage:function(){this.$emit("changeMessage",this.message)},selectVoucher:function(t){this.hidePopup("voucherVisible"),this.$emit("selectVoucher",t),this.storeCartList.store_voucher_info=t,this.calcOrder()},calcOrder:function(){var t=parseFloat(this.storeCartList.goods_total);this.storeCartList.store_voucher_list.length&&(this.storeCartList.store_voucher_info?(t-=parseFloat(this.storeCartList.store_voucher_info.voucher_price),this.myVoucher=this.storeCartList.store_voucher_info.voucher_price+"元"):this.myVoucher="不使用"),t<0&&(t=0),this.totalAmount=t}}};e.default=r},7230:function(t,e,i){var a=i("1291");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("5360632d",a,!0,{sourceMap:!1,shadowMode:!1})},7310:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"cancel","uni-popup.ok":"ok","uni-popup.placeholder":"pleace enter","uni-popup.title":"Hint","uni-popup.shareTitle":"Share to"}')},"76f2":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"div flex-line",class:{border:this.showBorder}},[e("v-uni-view",{staticClass:"div left"},[this._t("default")],2),e("v-uni-view",{staticClass:"div right"},[this._t("right"),this.isLink?e("v-uni-text",{staticClass:"span iconfont arrow"},[this._v("")]):this._e()],2)],1)},n=[]},"7b4a":function(t,e,i){"use strict";i.r(e);var a=i("8034"),n=i("69f5");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("dacb");var s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"3e6c03f6",null,!1,a["a"],void 0);e["default"]=r.exports},8034:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"div member-base"},[a("v-uni-view",{staticClass:"status-holder"}),a("v-uni-view",{staticClass:"content"},[t._t("default")],2),t.show?a("v-uni-view",{staticClass:"div common-footer-wrap"},[a("v-uni-view",{staticClass:"common-footer"},[a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/index/Index"==t.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/index/Index","open-type":"reLaunch"}},["pages/home/index/Index"==t.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("0207")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("241a")}}),a("v-uni-text",{staticClass:"span text"},[t._v("首页")])],1)],1),a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/goodsclass/Goodsclass"==t.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/goodsclass/Goodsclass"}},["pages/home/goodsclass/Goodsclass"==t.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("79bf")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("d86e")}}),a("v-uni-text",{staticClass:"span text"},[t._v("分类")])],1)],1),a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/home/search/Search"==t.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/home/search/Search"}},["pages/home/search/Search"==t.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("492b")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("1702")}}),a("v-uni-text",{staticClass:"span text"},[t._v("搜索")])],1)],1),a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/member/cart/Cart"==t.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/member/cart/Cart"}},["pages/member/cart/Cart"==t.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("62a8")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("8559")}}),a("v-uni-text",{staticClass:"span text"},[t._v("购物车")]),t.cartNumber>0?a("v-uni-text",{staticClass:"span icon"},[t._v(t._s(t.getCarCount))]):t._e()],1)],1),a("v-uni-view",{staticClass:"item-wrap",class:{active:"pages/member/index/Index"==t.page.route}},[a("v-uni-navigator",{staticClass:"item",attrs:{url:"/pages/member/index/Index","open-type":"reLaunch"}},["pages/member/index/Index"==t.page.route?a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("857e")}}):a("v-uni-image",{staticClass:"img image",attrs:{mode:"aspectFit",src:i("e31d")}}),a("v-uni-text",{staticClass:"span text"},[t._v("我的")])],1)],1)],1)],1):t._e()],1)},n=[]},"80c6":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={name:"flexLine",data:function(){return{}},props:{isLink:{type:Boolean,default:!1},showBorder:{type:Boolean,default:!1}},methods:{}};e.default=a},"8a0c":function(t,e,i){var a=i("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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.status-holder[data-v-3e6c03f6]{background-color:#fff}.member-base[data-v-3e6c03f6]{display:flex;flex-direction:column}.content[data-v-3e6c03f6]{flex:1}.item-wrap[data-v-3e6c03f6]{position:relative}.image[data-v-3e6c03f6]{width:1rem;height:1rem;display:block;margin-left:auto;margin-right:auto;margin-top:.2rem;margin-bottom:.2rem}.icon[data-v-3e6c03f6]{position:absolute;right:.8rem;top:.2rem;font-size:.5rem;line-height:.7rem;width:.9rem;height:.7rem;background:#ef3338;border-radius:1rem;text-align:center;color:#fff}',""]),t.exports=e},9391:function(t,e,i){"use strict";var a=i("f0f9"),n=i.n(a);n.a},"9a3a":function(t,e,i){"use strict";var a=i("1d0f"),n=i.n(a);n.a},"9db6":function(t,e,i){"use strict";i.r(e);var a=i("eb4b"),n=i("be848");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9391");var s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"baa0c756",null,!1,a["a"],void 0);e["default"]=r.exports},ab61:function(t,e,i){var a=i("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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.flex-line[data-v-c08b8c2a]{display:flex;flex:1;align-items:center;min-height:2.5rem;background:#fff}.flex-line.border[data-v-c08b8c2a]{border-bottom:1px dashed #eee}.flex-line .left[data-v-c08b8c2a]{display:flex;align-items:center;flex:1;font-size:.7rem;color:#333;font-weight:700}.flex-line .right[data-v-c08b8c2a]{display:flex;align-items:center;font-size:.7rem;color:#a2a6ad}.flex-line .right .arrow[data-v-c08b8c2a]{font-size:.7rem}',""]),t.exports=e},ac8e:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={uniPopup:i("3ae3").default,uniNavBar:i("7bfb").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"div container"},[i("v-uni-view",{staticClass:"div cart-item"},[i("v-uni-view",{staticClass:"div"},[i("v-uni-view",{staticClass:"div store"},[i("v-uni-text",{staticClass:"i iconfont"},[t._v("")]),i("v-uni-text",{staticClass:"span"},[t._v(t._s(t.storeCartList.store_name))])],1),i("v-uni-view",{staticClass:"div buy-item"},[i("v-uni-view",{staticClass:"div goods-pic"},[i("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:t.storeCartList.goods_image_url}})],1),i("v-uni-view",{staticClass:"div goods-info"},[i("v-uni-view",{staticClass:"dl"},[i("v-uni-view",{staticClass:"dt goods-name"},[t._v(t._s(t.storeCartList.goods_name))]),i("v-uni-view",{staticClass:"dd goods-subtotal"},[i("v-uni-text",{staticClass:"span goods-price"},[t._v("¥"+t._s(t.storeCartList.goods_price))]),t.storeCartList.goods_price<t.storeCartList.goods_original_price?i("v-uni-text",{staticClass:"span ml-5 goods-original-price"},[t._v(t._s(t.storeCartList.goods_original_price))]):t._e(),i("v-uni-text",{staticClass:"span goods-count"},[t._v("×"+t._s(t.storeCartList.quantity))])],1)],1)],1)],1)],1),i("v-uni-view",{staticClass:"div cart-subtotal"},[i("v-uni-view",{staticClass:"div message"},[i("v-uni-view",{staticClass:"div field-line-right"},[i("v-uni-textarea",{staticClass:"order-message field-input",attrs:{placeholder:"店铺订单留言:"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeMessage()}},model:{value:t.message,callback:function(e){t.message=e},expression:"message"}})],1)],1),t.storeCartList.store_voucher_list.length?i("v-uni-view",{staticClass:"div",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showPopup("voucherVisible")}}},[i("flex-line",{staticClass:"menu-item",attrs:{"is-link":!0,"show-border":!0}},[i("v-uni-view",{staticClass:"div"},[i("v-uni-text",{staticClass:"span left-icon iconfont"},[t._v("")]),i("v-uni-text",{staticClass:"span"},[t._v("代金券")])],1),i("v-uni-text",{staticClass:"span",attrs:{slot:"right"},slot:"right"},[t._v(t._s(t.myVoucher))])],1)],1):t._e(),t.storeCartList.goods_discount_total>0?i("checkout-desc",{staticClass:"desc-item mt-5",attrs:{title:"商品金额",subtitle:t.storeCartList.goods_original_total}}):t._e(),t.storeCartList.goods_discount_total>0?i("checkout-desc",{staticClass:"desc-item",attrs:{title:"优惠",subtitle:t.storeCartList.goods_discount_total,discount:!0}}):t._e(),i("checkout-desc",{staticClass:"desc-item",attrs:{title:"本店合计",subtitle:t.totalAmount}})],1),i("uni-popup",{ref:"voucherVisible",attrs:{"background-color":"#fff",type:"right"}},[i("v-uni-view",{staticClass:"common-popup-wrapper",style:"width:"+t.screenWidth+"px"},[i("v-uni-view",{staticClass:"div common-header-wrap"},[i("v-uni-view",{style:"height:"+t.navHeight+"px"}),i("v-uni-view",{staticClass:"common-header-holder"}),i("v-uni-view",{staticClass:"common-header-fixed"},[i("title-header"),i("uni-nav-bar",{staticClass:"common-header",attrs:{title:"代金券","left-icon":"back"},on:{clickLeft:function(e){arguments[0]=e=t.$handleEvent(e),t.hidePopup("voucherVisible")}}},[i("v-uni-view",{staticClass:"div common-btn btn",attrs:{slot:"right"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.selectVoucher("")}},slot:"right"},[t._v("不使用")])],1)],1)],1),i("v-uni-view",{staticClass:"div common-popup-content"},[i("v-uni-scroll-view",{staticStyle:{position:"absolute",top:"0",right:"0",left:"0",bottom:"0"},attrs:{"scroll-y":"true"}},t._l(t.storeCartList.store_voucher_list,(function(e,a){return i("v-uni-view",{key:e.voucher_id,staticClass:"div common-voucher common-voucher02",class:1!=e.voucher_state?"disable":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.selectVoucher(e)}}},[i("v-uni-view",{staticClass:"div par"},[i("v-uni-view",{staticClass:"p"},[t._v("订单满"+t._s(e.voucher_limit)+"元")]),i("v-uni-text",{staticClass:"sub sign"},[t._v("¥")]),i("v-uni-text",{staticClass:"span"},[t._v(t._s(e.voucher_price))])],1),i("v-uni-view",{staticClass:"div copy"},[t._v("有效期至"),i("v-uni-view",{staticClass:"p"},[i("br"),t._v(t._s(t.$moment.unix(e.voucher_enddate).format("YYYY.MM.DD")))])],1),i("v-uni-text",{staticClass:"i"})],1)})),1)],1)],1)],1)],1)],1)},o=[]},ae75:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"uni-popup-dialog"},[i("v-uni-view",{staticClass:"uni-dialog-title"},[i("v-uni-text",{staticClass:"uni-dialog-title-text",class:["uni-popup__"+t.dialogType]},[t._v(t._s(t.titleText))])],1),"base"===t.mode?i("v-uni-view",{staticClass:"uni-dialog-content"},[t._t("default",[i("v-uni-text",{staticClass:"uni-dialog-content-text"},[t._v(t._s(t.content))])])],2):i("v-uni-view",{staticClass:"uni-dialog-content"},[t._t("default",[i("v-uni-input",{staticClass:"uni-dialog-input",attrs:{type:"text",placeholder:t.placeholderText,focus:t.focus},model:{value:t.val,callback:function(e){t.val=e},expression:"val"}})])],2),i("v-uni-view",{staticClass:"uni-dialog-button-group"},[i("v-uni-view",{staticClass:"uni-dialog-button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeDialog.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"uni-dialog-button-text"},[t._v(t._s(t.cancelText))])],1),i("v-uni-view",{staticClass:"uni-dialog-button uni-border-left",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onOk.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"uni-dialog-button-text uni-button-color"},[t._v(t._s(t.okText))])],1)],1)],1)},n=[]},b0cc:function(t,e,i){"use strict";var a=i("07d0"),n=i.n(a);n.a},b44c:function(t,e,i){"use strict";i.r(e);var a=i("ae75"),n=i("d6b8");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("b0cc");var s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"426fce18",null,!1,a["a"],void 0);e["default"]=r.exports},bbf3:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"確定","uni-popup.placeholder":"請輸入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},be7d:function(t){t.exports=JSON.parse('{"uni-popup.cancel":"取消","uni-popup.ok":"确定","uni-popup.placeholder":"请输入","uni-popup.title":"提示","uni-popup.shareTitle":"分享到"}')},be848:function(t,e,i){"use strict";i.r(e);var a=i("2155"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},d6b8:function(t,e,i){"use strict";i.r(e);var a=i("4305"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},d8c9:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("flex-line",{attrs:{"show-border":!0}},[i("v-uni-label",{staticClass:"title"},[t._v(t._s(t.title))]),i("v-uni-view",{staticClass:"div",attrs:{slot:"right"},slot:"right"},[t.discount?i("v-uni-label",{staticClass:"subtitle discount"},[t._v("-¥"+t._s(t.subtitle))]):i("v-uni-label",{staticClass:"subtitle"},[t._v("¥"+t._s(t.subtitle))])],1)],1)},n=[]},dacb:function(t,e,i){"use strict";var a=i("f6c0"),n=i.n(a);n.a},de42:function(t,e,i){var a=i("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/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.block-wrapper[data-v-baa0c756]{background:#fff;padding:0 .6rem}.container[data-v-baa0c756]{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}.header[data-v-baa0c756]{height:2.2rem;color:#48505d;font-size:.9rem;background-color:#fff;padding:.1rem 0;border-bottom:1px solid #e8eaed}.body[data-v-baa0c756]{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;margin-bottom:4rem}.address[data-v-baa0c756]{height:5rem}.goods[data-v-baa0c756]{height:4.5rem}.item[data-v-baa0c756]{height:2.5rem}.section-header[data-v-baa0c756]{margin-top:.4rem}.section-footer[data-v-baa0c756]{margin-bottom:.4rem}.comment[data-v-baa0c756]{height:7.25rem}.desc[data-v-baa0c756]{background-color:#fff;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;padding-top:.4rem;padding-bottom:.4rem}.desc-item[data-v-baa0c756]{height:1.5rem}.bottom-wrapper[data-v-baa0c756]{z-index:1;background:#fff;position:fixed;left:0;right:0;bottom:0;padding:.5rem 0;display:flex;flex-direction:row;justify-content:flex-start;align-items:stretch}.amount-wrapper[data-v-baa0c756]{flex:1;background-color:#fff;margin:0 .6rem}.amount[data-v-baa0c756]{flex:1;font-size:.8rem;color:#fb2630;text-align:right;padding-right:.75rem}.submit[data-v-baa0c756]{width:7.5rem;height:2.5rem;border-radius:0}',""]),t.exports=e},e4f8:function(t,e,i){"use strict";i.r(e);var a=i("80c6"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},e8e6:function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={data:function(){return{}},created:function(){this.popup=this.getParent()},methods:{getParent:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"uniPopup",e=this.$parent,i=e.$options.name;while(i!==t){if(e=e.$parent,!e)return!1;i=e.$options.name}return e}}};e.default=a},eb4b:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){return a}));var a={pageMeta:i("6d42").default,uniNavBar:i("7bfb").default,uniPopup:i("3ae3").default,uniPopupDialog:i("b44c").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("page-meta",{attrs:{"root-font-size":t.fontSize+"px"}}),i("member-base",{attrs:{show:!1}},[i("v-uni-view",{staticClass:"div container"},[i("v-uni-view",{staticClass:"div common-header-wrap"},[i("v-uni-view",{style:"height:"+t.navHeight+"px"}),i("v-uni-view",{staticClass:"common-header-holder"}),i("v-uni-view",{staticClass:"common-header-fixed"},[i("title-header"),i("uni-nav-bar",{staticClass:"common-header",attrs:{title:"确认订单","left-icon":"back"},on:{clickLeft:function(e){arguments[0]=e=t.$handleEvent(e),t.goBack()}}})],1)],1),t.store_final_total_list?i("v-uni-view",{staticClass:"div body"},[0==t.store_final_total_list.goods_info.virtual_type?i("v-uni-view",{staticClass:"div block-wrapper"},[i("flex-line",{staticClass:"field-line",attrs:{"show-border":!0}},[i("v-uni-text",{staticClass:"span field-name"},[t._v("手机号")]),i("v-uni-view",{staticClass:"div field-line-right",attrs:{slot:"right"},slot:"right"},[i("v-uni-input",{staticClass:"field-input",attrs:{placeholder:"请填写手机号"},model:{value:t.buyer_phone,callback:function(e){t.buyer_phone=e},expression:"buyer_phone"}})],1)],1)],1):t._e(),i("checkout-store",{staticClass:"section-header",attrs:{storeCartList:t.store_final_total_list.goods_info},on:{selectVoucher:function(e){arguments[0]=e=t.$handleEvent(e),t.selectVoucher.apply(void 0,arguments)},changeMessage:function(e){arguments[0]=e=t.$handleEvent(e),t.changeMessage.apply(void 0,arguments)}}})],1):t._e(),t.store_final_total_list?i("v-uni-view",{staticClass:"div bottom-wrapper"},[i("v-uni-view",{staticClass:"div amount-wrapper"},[i("v-uni-view",{staticClass:"div common-btn ds-button-large",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.checkout.apply(void 0,arguments)}}},[t._v("提交订单")])],1)],1):t._e()],1),i("uni-popup",{ref:"confirm",attrs:{"background-color":"#fff",type:"dialog"}},[i("uni-popup-dialog",{attrs:{mode:t.dialog.mode,title:t.dialog.title,content:t.dialog.content,placeholder:t.dialog.content},on:{confirm:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmDialog.apply(void 0,arguments)},close:function(e){arguments[0]=e=t.$handleEvent(e),t.closeDialog.apply(void 0,arguments)}}})],1)],1)],1)},o=[]},ecb0:function(t,e,i){var a=i("20f4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("e264b978",a,!0,{sourceMap:!1,shadowMode:!1})},f0f9:function(t,e,i){var a=i("de42");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("4c576a30",a,!0,{sourceMap:!1,shadowMode:!1})},f522:function(t,e,i){"use strict";i.r(e);var a=i("76f2"),n=i("e4f8");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("9a3a");var s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"c08b8c2a",null,!1,a["a"],void 0);e["default"]=r.exports},f5e6:function(t,e,i){"use strict";i.r(e);var a=i("ac8e"),n=i("0b6b");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("fdd0");var s=i("f0c5"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"42cf3bda",null,!1,a["a"],void 0);e["default"]=r.exports},f6c0:function(t,e,i){var a=i("8a0c");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("11f8896b",a,!0,{sourceMap:!1,shadowMode:!1})},fdd0:function(t,e,i){"use strict";var a=i("ecb0"),n=i.n(a);n.a}}]);
|