pages-member-pointsbuy-step1.c8e9c0c3.js 38 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-member-pointsbuy-step1"],{"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")),r=i("26cb"),o=i("de79"),s={name:"MemberBase",data:function(){return{page:"",cartNumber:0}},props:{show:{type:Boolean,default:!0}},computed:(0,n.default)((0,n.default)({},(0,r.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,o.cartQuantity)().then((function(e){e&&(t.cartNumber=e.result.cart_count)}))}}};e.default=s},"0f49":function(t,e,i){var a=i("1b65");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("170dcbe9",a,!0,{sourceMap:!1,shadowMode:!1})},"104e":function(t,e,i){"use strict";var a=i("0f49"),n=i.n(a);n.a},"1b65":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-4550a743]{width:5rem;font-size:.7rem;color:#333}.subtitle[data-v-4550a743]{flex:1;margin-left:1rem;color:#333;font-size:.75rem;text-align:right}.subtitle.discount[data-v-4550a743]{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})},"265e":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.cartUpdate=e.cartQuantity=e.cartGet=e.cartDelete=e.cartAdd=e.buyStep2=e.buyStep1=void 0;var a=i("887c");e.cartGet=function(){return(0,a.requestApi)("/Pointcart/cart_list","POST",{},"member")};e.cartDelete=function(t){return(0,a.requestApi)("/Pointcart/cart_del","POST",{pcart_id:t},"member")};e.cartUpdate=function(t,e){return(0,a.requestApi)("/Pointcart/cart_edit_quantity","POST",{pcart_id:t,quantity:e},"member")};e.cartAdd=function(t,e){return(0,a.requestApi)("/Pointcart/add","POST",{pgid:t,quantity:e},"member")};e.cartQuantity=function(){return(0,a.requestApi)("/Pointcart/cart_count","POST",{},"member")};e.buyStep1=function(t,e){return(0,a.requestApi)("/Pointcart/step1","POST",{cart_id:t,ifcart:e},"member")};e.buyStep2=function(t,e,i,n){return(0,a.requestApi)("/Pointcart/step2","POST",{cart_id:t,ifcart:e,address_options:i,pcart_message:n},"member")}},"2ad4":function(t,e,i){"use strict";var a=i("6b5b"),n=i.n(a);n.a},"2e32":function(t,e,i){"use strict";i.r(e);var a=i("c877"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},3369: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("5c56")),r=a(i("f522")),o={name:"CheckoutStore",data:function(){return{message:""}},components:{CheckoutDesc:n.default,flexLine:r.default},props:["storeCartList","totalAmount"],created:function(){},methods:{changeMessage:function(t){this.$emit("changeMessage",this.message)}}};e.default=o},"367c":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=[]},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")),r=i("37dc"),o=a(i("6789")),s=(0,r.initVueI18n)(o.default),c=s.t,d={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=d},4570: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/* 文章场景相关 */.container[data-v-060759dc]{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;background-color:#fff}.line[data-v-060759dc]{display:flex}.line .line-content[data-v-060759dc]{flex:1}.top-wrapper[data-v-060759dc]{flex:1;display:flex;flex-direction:row;justify-content:flex-start;align-items:center;background-color:#fff}.title-wrapper[data-v-060759dc]{height:1rem;display:flex;flex-direction:row;justify-content:flex-start;align-items:center}.icon[data-v-060759dc]{font-size:.9rem;margin-right:.2rem;color:#fb2630}.default[data-v-060759dc]{width:1.4rem;margin-left:.5rem;margin-right:.5rem;border:1px solid #fb2630;color:#fb2630;font-size:.5rem;text-align:center;border-radius:.1rem}.desc[data-v-060759dc]{color:#a2a6ad}.address-text[data-v-060759dc]{margin-top:.3rem;font-weight:400}.selected-wrapper[data-v-060759dc]{padding:1rem 0}.unselected-wrapper[data-v-060759dc]{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center}.indicator[data-v-060759dc]{height:.6rem;margin-left:.5rem;margin-right:.6rem}.line-wrapper[data-v-060759dc]{background:#eee;left:0;right:0;bottom:0;width:100%;height:.1rem}',""]),t.exports=e},"4db1":function(t,e,i){var a=i("d360");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("4f32b7a2",a,!0,{sourceMap:!1,shadowMode:!1})},5413: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/* 文章场景相关 */.container[data-v-21d6335c]{background:#fff;padding:0 .6rem}.store[data-v-21d6335c]{position:relative;z-index:1;display:block;height:.9rem;padding:.5rem;font-size:.7rem;line-height:.9rem;border-bottom:solid .05rem #eee}.store .i[data-v-21d6335c]{display:inline-block;width:.8rem;height:.9rem;margin-right:.2rem;vertical-align:middle}.cart-item[data-v-21d6335c]{background-color:#fff}.buy-item[data-v-21d6335c]{display:block;position:relative;z-index:1;margin:.5rem 0;box-shadow:0 4px 4px #f7f7f7}.buy-item .goods-pic[data-v-21d6335c]{display:block;width:3rem;height:3rem;position:absolute;z-index:1;top:0;left:0}.buy-item .goods-pic .img[data-v-21d6335c]{width:100%;height:100%;border-radius:.2rem}.buy-item .goods-info[data-v-21d6335c]{display:block;vertical-align:top;height:3.1rem;margin-left:4rem;position:relative;z-index:1}.buy-item .goods-info .goods-name[data-v-21d6335c]{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-21d6335c]{vertical-align:top}.buy-item .goods-info .goods-type[data-v-21d6335c]{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-subtotal[data-v-21d6335c]{display:block;height:1rem;margin:0 .5rem 0 0;line-height:1rem;font-size:.7rem;position:relative;z-index:1}.buy-item .goods-info .goods-subtotal .goods-price[data-v-21d6335c]{color:#db4453;font-size:.7rem;font-weight:600}.buy-item .goods-info .goods-subtotal .goods-count[data-v-21d6335c]{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-21d6335c]{position:relative;z-index:1;height:1rem;padding:.4rem 0 0;font-size:0}.cart-subtotal .dt[data-v-21d6335c]{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-21d6335c]{height:1rem;margin:0 .5rem 0 50%;text-align:right;font-size:.6rem;line-height:1rem}.cart-subtotal .message[data-v-21d6335c]{position:relative;z-index:1;display:block;border-bottom:1px dashed #eee}.cart-subtotal .message .order-message[data-v-21d6335c]{background:#fbfbfb;margin:.5rem 0;font-size:.6rem;padding:.5rem;height:4rem;border:0;box-sizing:border-box;width:100%}.desc-item[data-v-21d6335c]{height:1.5rem}.common-voucher[data-v-21d6335c]{margin:.5rem auto}.field-line-right .field-input[data-v-21d6335c]{text-align:left!important}',""]),t.exports=e},"5c56":function(t,e,i){"use strict";i.r(e);var a=i("367c"),n=i("f64f");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("104e");var o=i("f0c5"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"4550a743",null,!1,a["a"],void 0);e["default"]=s.exports},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")),r=a(i("be7d")),o=a(i("bbf3")),s={en:n.default,"zh-Hans":r.default,"zh-Hant":o.default};e.default=s},"69f5":function(t,e,i){"use strict";i.r(e);var a=i("0868"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},"6b5b":function(t,e,i){var a=i("4570");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("57663680",a,!0,{sourceMap:!1,shadowMode:!1})},"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},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 r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("dacb");var o=i("f0c5"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"3e6c03f6",null,!1,a["a"],void 0);e["default"]=s.exports},"7c29":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"),r=a(i("cce0")),o=a(i("7b4a")),s=i("265e"),c=a(i("c632")),d=a(i("d0e0")),u={name:"Step1",components:{TitleHeader:r.default,MemberBase:o.default,CheckoutAddress:c.default,CheckoutStore:d.default},mounted:function(){},computed:{fontSize:function(){return(0,n.getFontSize)()}},data:function(){return{addAddress:!1,navHeight:0,dialog:{},buy_now:0,cart_id:"",store_final_total_list:null,message:""}},onLoad:function(t){this.buy_now=t.buy_now,this.cart_id=t.cart_id?t.cart_id:""},onShow:function(){this.getBuyInfo()},methods:{closeDialog:function(){},confirmDialog:function(t){},getBuyInfo:function(){var t=this;(0,s.buyStep1)(this.cart_id,this.buy_now?0:1).then((function(e){1e4===e.code&&(t.store_final_total_list=e.result,t.addAddress=!0)})).catch((function(t){uni.showToast({icon:"none",title:t.message})}))},goBack:function(){uni.navigateBack({delta:1})},goAddress:function(){this.store_final_total_list.address_info?uni.navigateTo({url:"/pages/member/address/AddressList"}):(this.addAddress=!1,uni.navigateTo({url:"/pages/member/address/AddressForm?"+(0,n.urlencode)({action:"add",isFromCheckout:!0,goBackLevel:2})}))},changeMessage:function(t){this.message=t},checkout:function(){var t=this.buy_now?0:1,e=this.cart_id,i=this.store_final_total_list.address_info?this.store_final_total_list.address_info.address_id:0,a=this.message;if(!i)return this.dialog={content:"您需要先去添加收货地址"},void this.$refs.confirm.open();(0,s.buyStep2)(e,t,i,a).then((function(t){uni.redirectTo({url:"/pages/member/pointsorder/OrderList"})})).catch((function(t){uni.showToast({icon:"none",title:t.message})}))}}};e.default=u},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},"95fc":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:"div container",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onclick.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"div top-wrapper"},[t.hasAddress?i("flex-line",{staticClass:"selected-wrapper",attrs:{"show-border":!0}},[i("v-uni-view",{staticClass:"div line"},[i("v-uni-text",{staticClass:"i icon iconfont"},[t._v("")]),i("v-uni-view",{staticClass:"div line-content"},[i("v-uni-view",{staticClass:"div title-wrapper"},[i("v-uni-label",{staticClass:"title"},[t._v(t._s(t.item.address_realname))]),i("v-uni-label",{staticClass:"title",staticStyle:{"margin-left":"1rem"}},[t._v(t._s(t.item.address_mob_phone))]),t.isDefault?i("v-uni-label",{staticClass:"default"},[t._v("默认")]):t._e()],1),i("v-uni-view",{staticClass:"div desc address-text"},[t._v(t._s(t.item.area_info)+t._s(t.item.address_detail))])],1)],1)],1):i("v-uni-view",{staticClass:"div unselected-wrapper"},[i("v-uni-label",{staticClass:"desc"},[t._v("您还没有收货地址,点击这里添加。")])],1)],1)],1)},n=[]},"9a3a":function(t,e,i){"use strict";var a=i("1d0f"),n=i.n(a);n.a},"9a6a":function(t,e,i){"use strict";var a=i("d6fc"),n=i.n(a);n.a},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},ad3f:function(t,e,i){"use strict";var a=i("4db1"),n=i.n(a);n.a},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 r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("b0cc");var o=i("f0c5"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"426fce18",null,!1,a["a"],void 0);e["default"]=s.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":"分享到"}')},c632:function(t,e,i){"use strict";i.r(e);var a=i("95fc"),n=i("2e32");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("2ad4");var o=i("f0c5"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"060759dc",null,!1,a["a"],void 0);e["default"]=s.exports},c877: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")),r={props:["item"],created:function(){},components:{flexLine:n.default},computed:{hasAddress:function(){return!!this.item||(this.onclick(),!1)},isDefault:function(){return!(!this.item||!this.item.is_default)}},methods:{onclick:function(){this.$emit("onclick")}}};e.default=r},ce63:function(t,e,i){"use strict";i.r(e);var a=i("7c29"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},d0e0:function(t,e,i){"use strict";i.r(e);var a=i("dcd7"),n=i("e7f4");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("9a6a");var o=i("f0c5"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"21d6335c",null,!1,a["a"],void 0);e["default"]=s.exports},d360: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-137ac7b7]{background:#fff;padding:0 .6rem}.container[data-v-137ac7b7]{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch}.header[data-v-137ac7b7]{height:2.2rem;color:#48505d;font-size:.9rem;background-color:#fff;padding:.1rem 0;border-bottom:1px solid #e8eaed}.body[data-v-137ac7b7]{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;margin-bottom:4rem}.goods[data-v-137ac7b7]{height:4.5rem}.item[data-v-137ac7b7]{height:2.5rem}.section-header[data-v-137ac7b7]{margin-top:.4rem}.section-footer[data-v-137ac7b7]{margin-bottom:.4rem}.comment[data-v-137ac7b7]{height:7rem}.desc[data-v-137ac7b7]{background-color:#fff;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;padding-top:.5rem;padding-bottom:.5rem}.desc-item[data-v-137ac7b7]{height:1.5rem}.bottom-wrapper[data-v-137ac7b7]{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-137ac7b7]{flex:1;background-color:#fff;margin:0 .6rem}.amount[data-v-137ac7b7]{flex:1;font-size:.8rem;color:#fb2630;text-align:right;padding-right:.75rem}.submit[data-v-137ac7b7]{width:7.5rem;height:2.5rem;border-radius:0}',""]),t.exports=e},d513:function(t,e,i){"use strict";i.r(e);var a=i("ea43"),n=i("ce63");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("ad3f");var o=i("f0c5"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"137ac7b7",null,!1,a["a"],void 0);e["default"]=s.exports},d6b8:function(t,e,i){"use strict";i.r(e);var a=i("4305"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},d6fc:function(t,e,i){var a=i("5413");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("4f06").default;n("76d72d2b",a,!0,{sourceMap:!1,shadowMode:!1})},dacb:function(t,e,i){"use strict";var a=i("f6c0"),n=i.n(a);n.a},dcd7: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:"div container"},[i("v-uni-view",{staticClass:"div"},[i("v-uni-view",{staticClass:"div cart-item"},t._l(t.storeCartList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"div buy-item"},[i("v-uni-view",{staticClass:"div goods-pic"},[i("v-uni-image",{staticClass:"img",attrs:{mode:"aspectFit",src:e.pgoods_image}})],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(e.pgoods_name))]),i("v-uni-view",{staticClass:"dd goods-subtotal"},[i("v-uni-text",{staticClass:"span goods-price"},[t._v(t._s(e.pgoods_points)+"积分")]),i("v-uni-text",{staticClass:"span goods-count"},[t._v("×"+t._s(e.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:"订单留言:"},model:{value:t.message,callback:function(e){t.message=e},expression:"message"}})],1)],1),i("checkout-desc",{staticClass:"desc-item",attrs:{title:"本店合计",subtitle:t.totalAmount}})],1)],1)],1)},n=[]},e4f8:function(t,e,i){"use strict";i.r(e);var a=i("80c6"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},e7f4:function(t,e,i){"use strict";i.r(e);var a=i("3369"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);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},ea43:function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return r})),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"},[i("v-uni-view",{staticClass:"div block-wrapper"},[t.addAddress?i("checkout-address",{staticClass:"address",attrs:{item:t.store_final_total_list.address_info},on:{onclick:function(e){arguments[0]=e=t.$handleEvent(e),t.goAddress.apply(void 0,arguments)}}}):t._e()],1),i("checkout-store",{staticClass:"section-header",attrs:{totalAmount:t.store_final_total_list.pointprod_arr.pgoods_pointall,storeCartList:t.store_final_total_list.pointprod_arr.pointprod_list},on:{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)},r=[]},f522:function(t,e,i){"use strict";i.r(e);var a=i("76f2"),n=i("e4f8");for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);i("9a3a");var o=i("f0c5"),s=Object(o["a"])(n["default"],a["b"],a["c"],!1,null,"c08b8c2a",null,!1,a["a"],void 0);e["default"]=s.exports},f64f:function(t,e,i){"use strict";i.r(e);var a=i("fbb8"),n=i.n(a);for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);e["default"]=n.a},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})},fbb8: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")),r={props:{title:{},subtitle:{},discount:{default:!1}},components:{flexLine:n.default}};e.default=r}}]);