(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-create"],{4416:function(e,t,i){"use strict";i.r(t);var a=i("f198"),s=i("6678");for(var o in s)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return s[e]}))}(o);i("f9f5");var n=i("828b"),c=Object(n["a"])(s["default"],a["b"],a["c"],!1,null,"0d6ae21e",null,!1,a["a"],void 0);t["default"]=c.exports},6678:function(e,t,i){"use strict";i.r(t);var a=i("e90f"),s=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(e){i.d(t,e,(function(){return a[e]}))}(o);t["default"]=s.a},c5c7:function(e,t,i){var a=i("de4b");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var s=i("967d").default;s("df22ab7e",a,!0,{sourceMap:!1,shadowMode:!1})},de4b:function(e,t,i){var a=i("c86c");t=a(!1),t.push([e.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/* 图片加载中颜色 */\n/* 行为相关颜色 */uni-page-body[data-v-0d6ae21e]{background:#f8f8f8;padding-bottom:%?100?%}body.?%PAGE?%[data-v-0d6ae21e]{background:#f8f8f8}.address-section[data-v-0d6ae21e]{padding:%?30?% 0;background:#fff;position:relative}.address-section .order-content[data-v-0d6ae21e]{display:flex;align-items:center}.address-section .icon-shouhuodizhi[data-v-0d6ae21e]{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:%?90?%;color:#888;font-size:%?44?%}.address-section .cen[data-v-0d6ae21e]{display:flex;flex-direction:column;flex:1;font-size:%?28?%;color:#303133}.address-section .name[data-v-0d6ae21e]{font-size:%?34?%;margin-right:%?24?%}.address-section .address[data-v-0d6ae21e]{margin-top:%?16?%;margin-right:%?20?%;color:#909399}.address-section .icon-you[data-v-0d6ae21e]{font-size:%?32?%;color:#909399;margin-right:%?30?%}.address-section .a-bg[data-v-0d6ae21e]{position:absolute;left:0;bottom:0;display:block;width:100%;height:%?5?%}.goods-section[data-v-0d6ae21e]{margin-top:%?16?%;background:#fff;padding-bottom:1px}.goods-section .g-header[data-v-0d6ae21e]{display:flex;align-items:center;height:%?84?%;padding:0 %?30?%;position:relative}.goods-section .logo[data-v-0d6ae21e]{display:block;width:%?50?%;height:%?50?%;border-radius:100px}.goods-section .name[data-v-0d6ae21e]{font-size:%?30?%;color:#606266;margin-left:%?24?%}.goods-section .g-item[data-v-0d6ae21e]{display:flex;margin:%?20?% %?30?%}.goods-section .g-item uni-image[data-v-0d6ae21e]{flex-shrink:0;display:block;width:%?140?%;height:%?140?%;border-radius:%?4?%}.goods-section .g-item .right[data-v-0d6ae21e]{flex:1;padding-left:%?24?%;overflow:hidden}.goods-section .g-item .title[data-v-0d6ae21e]{font-size:%?30?%;color:#303133}.goods-section .g-item .spec[data-v-0d6ae21e]{font-size:%?26?%;color:#909399}.goods-section .g-item .price-box[data-v-0d6ae21e]{display:flex;align-items:center;font-size:%?32?%;color:#303133;padding-top:%?10?%}.goods-section .g-item .price-box .price[data-v-0d6ae21e]{margin-bottom:%?4?%}.goods-section .g-item .price-box .number[data-v-0d6ae21e]{font-size:%?26?%;color:#606266;margin-left:%?20?%}.goods-section .g-item .step-box[data-v-0d6ae21e]{position:relative}.yt-list[data-v-0d6ae21e]{margin-top:%?16?%;background:#fff}.yt-list-cell[data-v-0d6ae21e]{display:flex;align-items:center;padding:%?10?% %?30?% %?10?% %?40?%;line-height:%?70?%;position:relative}.yt-list-cell.cell-hover[data-v-0d6ae21e]{background:#fafafa}.yt-list-cell.b-b[data-v-0d6ae21e]:after{left:%?30?%}.yt-list-cell .cell-icon[data-v-0d6ae21e]{height:%?32?%;width:%?32?%;font-size:%?22?%;color:#fff;text-align:center;line-height:%?32?%;background:#f85e52;border-radius:%?4?%;margin-right:%?12?%}.yt-list-cell .cell-icon.hb[data-v-0d6ae21e]{background:#ffaa0e}.yt-list-cell .cell-icon.lpk[data-v-0d6ae21e]{background:#3ab54a}.yt-list-cell .cell-more[data-v-0d6ae21e]{align-self:center;font-size:%?24?%;color:#909399;margin-left:%?8?%;margin-right:%?-10?%}.yt-list-cell .cell-tit[data-v-0d6ae21e]{flex:1;font-size:%?26?%;color:#909399;margin-right:%?10?%}.yt-list-cell .cell-tip[data-v-0d6ae21e]{font-size:%?26?%;color:#303133}.yt-list-cell .cell-tip.disabled[data-v-0d6ae21e]{color:#909399}.yt-list-cell .cell-tip.active[data-v-0d6ae21e]{color:#fa436a}.yt-list-cell .cell-tip.red[data-v-0d6ae21e]{color:#fa436a}.yt-list-cell.desc-cell .cell-tit[data-v-0d6ae21e]{max-width:%?90?%}.yt-list-cell .desc[data-v-0d6ae21e]{flex:1;font-size:%?28?%;color:#303133}\n/* 支付列表 */.pay-list[data-v-0d6ae21e]{padding-left:%?40?%;margin-top:%?16?%;background:#fff}.pay-list .pay-item[data-v-0d6ae21e]{display:flex;align-items:center;padding-right:%?20?%;line-height:1;height:%?110?%;position:relative}.pay-list .icon-weixinzhifu[data-v-0d6ae21e]{width:%?80?%;font-size:%?40?%;color:#6bcc03}.pay-list .icon-alipay[data-v-0d6ae21e]{width:%?80?%;font-size:%?40?%;color:#06b4fd}.pay-list .icon-xuanzhong2[data-v-0d6ae21e]{display:flex;align-items:center;justify-content:center;width:%?60?%;height:%?60?%;font-size:%?40?%;color:#fa436a}.pay-list .tit[data-v-0d6ae21e]{font-size:%?32?%;color:#303133;flex:1}.footer[data-v-0d6ae21e]{position:fixed;left:0;bottom:calc(env(safe-area-inset-bottom) / 2);z-index:995;display:flex;align-items:center;width:100%;height:%?90?%;justify-content:space-between;font-size:%?30?%;background-color:#fff;z-index:998;color:#606266;box-shadow:0 -1px 5px rgba(0,0,0,.1)}.footer .price-content[data-v-0d6ae21e]{padding-left:%?30?%}.footer .price-tip[data-v-0d6ae21e]{color:#fa436a;margin-left:%?8?%}.footer .price[data-v-0d6ae21e]{font-size:%?36?%;color:#fa436a}.footer .submit[data-v-0d6ae21e]{display:flex;align-items:center;justify-content:center;width:%?280?%;height:100%;color:#fff;font-size:%?32?%;background-color:#fa436a}\n/* 优惠券面板 */.mask[data-v-0d6ae21e]{display:flex;align-items:flex-end;position:fixed;left:0;top:var(--window-top);bottom:0;width:100%;background:transparent;z-index:9995;transition:.3s}.mask .mask-content[data-v-0d6ae21e]{width:100%;min-height:30vh;max-height:70vh;background:#f3f3f3;-webkit-transform:translateY(100%);transform:translateY(100%);transition:.3s;overflow-y:scroll}.mask.none[data-v-0d6ae21e]{display:none}.mask.show[data-v-0d6ae21e]{background:rgba(0,0,0,.4)}.mask.show .mask-content[data-v-0d6ae21e]{-webkit-transform:translateY(0);transform:translateY(0)}\n/* 优惠券列表 */.coupon-item[data-v-0d6ae21e]{display:flex;flex-direction:column;margin:%?20?% %?24?%;background:#fff}.coupon-item .con[data-v-0d6ae21e]{display:flex;align-items:center;position:relative;height:%?120?%;padding:0 %?30?%}.coupon-item .con[data-v-0d6ae21e]:after{position:absolute;left:0;bottom:0;content:"";width:100%;height:0;border-bottom:1px dashed #f3f3f3;-webkit-transform:scaleY(50%);transform:scaleY(50%)}.coupon-item .left[data-v-0d6ae21e]{display:flex;flex-direction:column;justify-content:center;flex:1;overflow:hidden;height:%?100?%}.coupon-item .title[data-v-0d6ae21e]{font-size:%?32?%;color:#303133;margin-bottom:%?10?%}.coupon-item .time[data-v-0d6ae21e]{font-size:%?24?%;color:#909399}.coupon-item .right[data-v-0d6ae21e]{display:flex;flex-direction:column;justify-content:center;align-items:center;font-size:%?26?%;color:#606266;height:%?100?%}.coupon-item .price[data-v-0d6ae21e]{font-size:%?44?%;color:#fa436a}.coupon-item .price[data-v-0d6ae21e]:before{content:"¥";font-size:%?34?%}.coupon-item .tips[data-v-0d6ae21e]{font-size:%?24?%;color:#909399;line-height:%?60?%;padding-left:%?30?%}.coupon-item .circle[data-v-0d6ae21e]{position:absolute;left:%?-6?%;bottom:%?-10?%;z-index:10;width:%?20?%;height:%?20?%;background:#f3f3f3;border-radius:100px}.coupon-item .circle.r[data-v-0d6ae21e]{left:auto;right:%?-6?%}',""]),e.exports=t},e90f:function(e,t,i){"use strict";i("6a54"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("bf0f"),i("2797"),i("d4b5");var a={data:function(){return{style:this.$api.style,orderReqeust:{skuList:[],totalOriginalPrice:0,totalPrice:0,coupon:void 0,mono:"",takeWay:"",freightPrice:0,addressId:void 0},skuCategoryPriceMap:{},maskState:0,couponList:[],isVip:!1,addressData:{consignee:"",phone:"",province:"",city:"",county:"",address:"",defaultAddress:!1},submiting:!1}},onShow:function(){this.isVip=this.$api.isVip()},onLoad:function(e){var t=this;t.isVip=t.$api.isVip(),e.takeway&&(t.orderReqeust.takeWay=e.takeway),t.orderReqeust.skuList=t.$api.globalData.skuList;var i=0,a=0,s={};t.orderReqeust.skuList.forEach((function(e){i+=e.originalPrice*e.num,a+=t.isVip?e.vipPrice*e.num:e.price*e.num,e.categoryIdList.forEach((function(i){s[i]?s[i]+=t.isVip?e.vipPrice*e.num:e.price*e.num:s[i]=t.isVip?e.vipPrice*e.num:e.price*e.num}))})),t.skuCategoryPriceMap=s,t.orderReqeust.totalOriginalPrice=i,t.orderReqeust.totalPrice=a,t.$api.request("coupon","getUserCoupons").then((function(e){t.couponList=e.data})),t.$api.request("address","getDefAddress").then((function(e){t.addressData=e.data,t.calcFreightPrice()})),1===t.orderReqeust.skuList.length&&t.orderReqeust.skuList[0].groupShopId&&(t.orderReqeust.groupShopId=t.orderReqeust.skuList[0].groupShopId)},methods:{toggleMask:function(e){var t=this,i="show"===e?10:300,a="show"===e?1:0;this.maskState=2,setTimeout((function(){t.maskState=a}),i)},calcFreightPrice:function(){var e=this;e.addressData&&(e.orderReqeust.addressId=e.addressData.id),e.$api.request("order","previewFreight",{orderRequest:JSON.stringify(e.orderReqeust)}).then((function(t){e.orderReqeust.freightPrice=t.data}))},numberChange:function(e){this.number=e.number},submit:function(){var e=this;e.submiting||e.$api.request("user","checkLogin").then((function(t){e.submiting=!0,e.addressData.id&&(e.orderReqeust.addressId=e.addressData.id);var i=e.orderReqeust,a=i.totalPrice-(i.coupon?i.coupon.discount:0)+i.freightPrice;e.orderReqeust.exceptPrice=a,e.$api.request("order","takeOrder",{orderRequest:JSON.stringify(e.orderReqeust),channel:uni.getSystemInfoSync().platform},(function(t){e.submiting=!1,e.$api.msg(t.errmsg)})).then((function(t){uni.redirectTo({url:"/pages/pay/pay?parentorderno="+t.data+"&price="+(e.orderReqeust.totalPrice-(e.orderReqeust.coupon?e.orderReqeust.coupon.discount:0)+e.orderReqeust.freightPrice)})}))}))},selectCoupon:function(e){this.orderReqeust.couponId=e.id,this.orderReqeust.coupon=e,this.maskState=0,this.calcFreightPrice()},stopPrevent:function(){}}};t.default=a},f198:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return s})),i.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",[i("v-uni-navigator",{staticClass:"address-section",attrs:{url:"/pages/address/list?source=1"}},[i("v-uni-view",{staticClass:"order-content"},[i("v-uni-text",{staticClass:"yticon icon-shouhuodizhi"}),i("v-uni-view",{staticClass:"cen"},[i("v-uni-view",{staticClass:"top"},[i("v-uni-text",{staticClass:"name"},[e._v(e._s(e.addressData.consignee))]),i("v-uni-text",{staticClass:"mobile"},[e._v(e._s(e.addressData.phone))])],1),i("v-uni-text",{staticClass:"address"},[e._v(e._s(e.addressData.province)+" "+e._s(e.addressData.city)+" "+e._s(e.addressData.county)+" "+e._s(e.addressData.address))])],1),i("v-uni-text",{staticClass:"yticon icon-you"})],1),i("v-uni-image",{staticClass:"a-bg",attrs:{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAu4AAAAFCAYAAAAaAWmiAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZ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/urhswjdsQ2jf/kVJRI1xHdPrh1lltzTWUxXai5H07N74P7KettnPDQyjWtf/ohglyJfl7jz/drP+vDrzgYsLZdtP2PRnz6B/u4t9I+U9cYCH81hddoFuBG4bxNq7v9xSfh+G/H9wKkIwF5JkR38fF3VLb73dDXhpsYS8P0Vxve7MZ14E04EkX2SumDj40Lkjz2LS9x1nZVqcK1rh1L/GaiZDB1GYwGPRi9+sA4r63odGEjAoKTZS0mTwUtoS2sTPioc1jd64KJqNZXRP9EtLFrLT5KQOd6H1JtvQ/SUQ1CUC1Z/tjp5MgXn51bAfc1VpAUVb6pqi+bsqRlrOB0ITSI0kUa1IvF7JcribPbxZnt9BYIeBZm0ap1BO2yHLMOIxjH111chmDocXg9XzZFR4fD74e5cA9GtQEulbLGbfaNMvv4+BfG3hiet9wxlUeDGdDPn68uqXVgVKKezbiBN/HHYoTnrqlORkDx0BHr/ABzVVbknbZysZ3wnRVyda6HU1UIjvpt28p2C+T+GEtYeeEh3jqcdKjl2BcWY65q9UAQb+c6+k3iePnaS+P5Pq8spOJ38fJ09RVI1OFuWo6xtJXSD+J6xh++OHN8PEt8HxtNY4pbAczC+m2Rnh8V3J9Q0Fa4LeG97YQdehj4aoSL9NZiZNMTKStp6g5/x5NsW37vWQaS1WXzPHvjihzYS/lgshbeJ75WySHm7wNXXk8SbK/xutOX4ntHtYRxE0eJn6uARaGf6ie++7GPNxVkf/78AAwCn1+RYqusbZQAAAABJRU5ErkJggg=="}})],1),i("v-uni-view",{staticClass:"goods-section"},e._l(e.orderReqeust.skuList,(function(t,a){return i("v-uni-view",{key:a,staticClass:"g-item"},[i("v-uni-image",{attrs:{src:(t.skuImg?t.skuImg:t.spuImg)+e.style(200)}}),i("v-uni-view",{staticClass:"right"},[i("v-uni-text",{staticClass:"title clamp"},[e._v(e._s((t.groupShopId?"[团购]":"")+t.title))]),i("v-uni-text",{staticClass:"spec"},[e._v(e._s(t.skuTitle))]),i("v-uni-view",{staticClass:"price-box"},[i("v-uni-text",{staticClass:"price"},[(e.isVip?t.vipPrice:t.price)0?i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-text",{staticClass:"cell-tit clamp"},[e._v("折扣金额")]),i("v-uni-text",{staticClass:"cell-tip red"},[e._v("-¥"+e._s((e.orderReqeust.totalOriginalPrice-e.orderReqeust.totalPrice)/100))])],1):e._e(),e.orderReqeust.coupon?i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-text",{staticClass:"cell-tit clamp"},[e._v("优惠券立减")]),i("v-uni-text",{staticClass:"cell-tip red"},[e._v("-¥"+e._s(e.orderReqeust.coupon.discount/100))])],1):e._e(),0===e.orderReqeust.freightPrice?i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-text",{staticClass:"cell-tit clamp"},[e._v("运费")]),i("v-uni-text",{staticClass:"cell-tip"},[e._v("免运费")])],1):e._e(),e.orderReqeust.freightPrice>0?i("v-uni-view",{staticClass:"yt-list-cell b-b"},[i("v-uni-text",{staticClass:"cell-tit clamp"},[e._v("运费")]),i("v-uni-text",{staticClass:"cell-tip"},[e._v("¥ "+e._s(e.orderReqeust.freightPrice/100))])],1):e._e(),i("v-uni-view",{staticClass:"yt-list-cell desc-cell"},[i("v-uni-text",{staticClass:"cell-tit clamp"},[e._v("备注")]),i("v-uni-input",{staticClass:"desc",attrs:{type:"text",placeholder:"请填写备注信息","placeholder-class":"placeholder"},model:{value:e.orderReqeust.mono,callback:function(t){e.$set(e.orderReqeust,"mono",t)},expression:"orderReqeust.mono"}})],1)],1),i("v-uni-view",{staticClass:"footer"},[i("v-uni-view",{staticClass:"price-content"},[i("v-uni-text",[e._v("实付款")]),i("v-uni-text",{staticClass:"price-tip"},[e._v("¥")]),i("v-uni-text",{staticClass:"price"},[e._v(e._s((e.orderReqeust.totalPrice-(e.orderReqeust.coupon?e.orderReqeust.coupon.discount:0)+e.orderReqeust.freightPrice)/100))])],1),i("v-uni-text",{staticClass:"submit",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("提交订单")])],1),i("v-uni-view",{staticClass:"mask",class:0===e.maskState?"none":1===e.maskState?"show":"",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.toggleMask.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"mask-content",on:{click:function(t){t.stopPropagation(),t.preventDefault(),arguments[0]=t=e.$handleEvent(t),e.stopPrevent.apply(void 0,arguments)}}},e._l(e.couponList,(function(t,a){return i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:!t.categoryId&&e.orderReqeust.totalPrice>=t.min||t.categoryId&&e.skuCategoryPriceMap[t.categoryId]&&e.skuCategoryPriceMap[t.categoryId]>t.min,expression:"(!item.categoryId && orderReqeust.totalPrice >= item.min) || (item.categoryId && skuCategoryPriceMap[item.categoryId] && skuCategoryPriceMap[item.categoryId] > item.min)"}],key:a,staticClass:"coupon-item",on:{click:function(i){arguments[0]=i=e.$handleEvent(i),e.selectCoupon(t)}}},[i("v-uni-view",{staticClass:"con"},[i("v-uni-view",{staticClass:"left"},[i("v-uni-text",{staticClass:"title"},[e._v(e._s(t.title))]),i("v-uni-text",{staticClass:"time"},[e._v("有效期至"+e._s(e._f("dateFormat")(t.gmtEnd)))])],1),i("v-uni-view",{staticClass:"right"},[i("v-uni-text",{staticClass:"price"},[e._v(e._s(t.discount/100))]),i("v-uni-text",[e._v("满"+e._s(t.min/100)+"可用")])],1),i("v-uni-view",{staticClass:"circle l"}),i("v-uni-view",{staticClass:"circle r"})],1),i("v-uni-text",{staticClass:"tips"},[e._v(e._s(t.categoryTitle?"限"+t.categoryTitle+"可用":"全品类可用"))])],1)})),1)],1)],1)},s=[]},f9f5:function(e,t,i){"use strict";var a=i("c5c7"),s=i.n(a);s.a}}]);