zx/public/static/js/pages-users-order_confirm-i...

1 line
108 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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-users-order_confirm-index"],{"082e":function(t,e,i){"use strict";i.r(e);var a=i("247f"),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},"0919":function(t,e,i){var a=i("7417");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("f53a9504",a,!0,{sourceMap:!1,shadowMode:!1})},"0b2c":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",{style:t.viewColor},[i("v-uni-view",{staticClass:"coupon-list-window animated",class:1==t.coupon.status?"slideInUp":""},[i("v-uni-view",{staticClass:"title"},[i("v-uni-view",{staticClass:"item"},[t._v(t._s(t.couponTitle)),i("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)],1),t.couponArr.length?[i("v-uni-view",{staticClass:"coupon-list"},t._l(t.couponArr,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item acea-row row-center-wrapper",class:e.disabled?"disabled":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.getCouponUser(a,e)}}},[5==e.coupon.send_type?i("v-uni-view",{staticClass:"money acea-row row-column row-center-wrapper vip-coupon"},[i("v-uni-view",[t._v("¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.coupon_price))])],1),i("v-uni-view",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])],1):i("v-uni-view",{staticClass:"money acea-row row-column row-center-wrapper",style:{"background-image":"url("+t.domain+"/static/diy/couponBg"+t.keyColor+".png)"}},[i("v-uni-view",[t._v("¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(e.coupon_price))])],1),i("v-uni-view",{staticClass:"pic-num"},[t._v("满"+t._s(e.use_min_price)+"元可用")])],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"condition line1"},[0===e.coupon.type?i("span",{staticClass:"line-title"},[t._v("店铺券")]):1===e.coupon.type?i("span",{staticClass:"line-title"},[t._v("商品券")]):t._e(),i("span",[t._v(t._s(e.coupon_title))])]),i("v-uni-view",{staticClass:"data acea-row row-between-wrapper"},[i("v-uni-view",[t._v(t._s(t._f("timeYMD")(e.start_time))+" ~ "+t._s(t._f("timeYMD")(e.end_time)))]),e.checked?i("v-uni-view",{staticClass:"iconfont icon-xuanzhong1"}):i("v-uni-view",{staticClass:"iconfont icon-weixuanzhong"})],1)],1)],1)})),1),i("v-uni-view",{staticClass:"foot-box"},[i("v-uni-view",{staticClass:"left"},[t._v("已选择"+t._s(t.coupon_number)+"张,可优惠"),i("v-uni-text",[t._v("¥"+t._s(t.coupon_amount))])],1)],1)]:i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/noCoupon.png"}})],1)],2),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.coupon.status},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)},n=[]},"0bf3":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("aa9c");for(var a=[],n=0;n<=59;n++)n<10&&(n="0"+n),a.push(n);for(var o=[],s=0;s<=23;s++)s<10&&(s="0"+s),o.push(s);var r={props:{isShow:{type:Boolean,default:!1},time:{type:Array,default:function(){return[]}}},watch:{time:function(){this.value=this.time}},created:function(){},data:function(){return{value:this.time,hoursList:o,minutes:a}},methods:{confirm:function(){var t=this.value[0]+":"+this.value[1]+" - "+this.value[3]+":"+this.value[4];if(!(this.value[3]>this.value[0]||this.value[3]==this.value[0]&&this.value[4]>=this.value[1]))return this.$util.Tips({title:"开始时间必须小于结束时间"});this.$emit("confrim",{time:t,val:this.value})},cancel:function(){var t=this.value[0]+":"+this.value[1]+" - "+this.value[3]+":"+this.value[4];this.$emit("cancel",{time:t})},getime:function(t){var e=t.detail.value;this.value[0]=this.hoursList[e[0]],this.value[1]=this.minutes[e[1]],this.value[2]=e[2],this.value[3]=this.hoursList[e[3]],this.value[4]=this.minutes[e[4]]}}};e.default=r},"0d43":function(module,exports,__webpack_require__){"use strict";__webpack_require__("6a54");var _interopRequireDefault=__webpack_require__("f5bd").default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _createForOfIteratorHelper2=_interopRequireDefault(__webpack_require__("3471"));__webpack_require__("5ef2"),__webpack_require__("4626"),__webpack_require__("5ac7"),__webpack_require__("5c47"),__webpack_require__("2c10"),__webpack_require__("a1c1"),__webpack_require__("e838"),__webpack_require__("c223"),__webpack_require__("aa9c");var rpx=uni.getSystemInfoSync().screenWidth/750,cfg=__webpack_require__("dc04"),_default={name:"parser",data:function(){return{uid:this._uid,scaleAm:"",showAm:"",imgs:[],nodes:[]}},props:{html:null,autopause:{type:Boolean,default:!0},autosetTitle:{type:Boolean,default:!0},domain:String,gestureZoom:Boolean,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html:function(t){this.setContent(t)}},mounted:function(){this.imgList=[],this.imgList.each=function(t){for(var e=0,i=this.length;e<i;e++)this.setItem(e,t(this[e],e,this))},this.imgList.setItem=function(t,e){if(void 0!=t&&e){if(0==e.indexOf("http")&&this.includes(e)){for(var i,a="",n=0;i=e[n];n++){if("/"==i&&"/"!=e[n-1]&&"/"!=e[n+1])break;a+=Math.random()>.5?i.toUpperCase():i}return a+=e.substr(n),this[t]=a}if(this[t]=e,e.includes("data:image")){var o=e.match(/data:image\/(\S+?);(\S+?),(.+)/);if(!o)return}}},this.html&&this.setContent(this.html)},beforeDestroy:function(){this._observer&&this._observer.disconnect(),this.imgList.each((function(t){})),clearInterval(this._timer)},methods:{_Dom2Str:function(t){var e,i="",a=(0,_createForOfIteratorHelper2.default)(t);try{for(a.s();!(e=a.n()).done;){var n=e.value;if("text"==n.type)i+=n.text;else{for(var o in i+="<"+n.name,n.attrs||{})i+=" "+o+'="'+n.attrs[o]+'"';n.children&&n.children.length?i+=">"+this._Dom2Str(n.children)+"</"+n.name+">":i+=">"}}}catch(s){a.e(s)}finally{a.f()}return i},_handleHtml:function(t,e){if("string"!=typeof t&&(t=this._Dom2Str(t.nodes||t)),t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*rpx+"px"}))),!e){var i="<style scoped>@keyframes show{0%{opacity:0}100%{opacity:1}}";for(var a in cfg.userAgentStyles)i+="".concat(a,"{").concat(cfg.userAgentStyles[a],"}");for(a in this.tagStyle)i+="".concat(a,"{").concat(this.tagStyle[a],"}");i+="</style>",t=i+t}return t},setContent:function(t,e){var i=this;if(t){var a=document.createElement("div");e?this.rtf?this.rtf.appendChild(a):this.rtf=a:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=a),a.innerHTML=this._handleHtml(t,e);for(var n,o=this.rtf.getElementsByTagName("style"),s=0;n=o[s++];)n.innerHTML=n.innerHTML.replace(/body/g,"#rtf"+this._uid),n.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,a=0;e=t[a++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),i._observer.unobserve(e.target))}),{rootMargin:"900px 0px 900px 0px"}));var r=this,c=this.rtf.getElementsByTagName("title");c.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:c[0].innerText}),this.imgList.length=0;for(var d,u=this.rtf.getElementsByTagName("img"),l=0,v=0;d=u[l];l++){d.style.maxWidth="100%";var f=d.getAttribute("src");this.domain&&f&&("/"==f[0]?"/"==f[1]?d.src=(this.domain.includes("://")?this.domain.split("://")[0]:"")+":"+f:d.src=this.domain+f:f.includes("://")||(d.src=this.domain+"/"+f)),d.hasAttribute("ignore")||"A"==d.parentElement.nodeName||(d.i=v++,r.imgList.push(d.src||d.getAttribute("data-src")),d.onclick=function(){var t=!0;this.ignore=function(){return t=!1},r.$emit("imgtap",this),t&&uni.previewImage({current:this.i,urls:r.imgList})}),d.onerror=function(){r.$emit("error",{source:"img",target:this})},r.lazyLoad&&this._observer&&d.src&&0!=d.i&&(d.setAttribute("data-src",d.src),d.removeAttribute("src"),this._observer.observe(d))}var p,h=this.rtf.getElementsByTagName("a"),m=(0,_createForOfIteratorHelper2.default)(h);try{for(m.s();!(p=m.n()).done;){var _=p.value;_.onclick=function(){var t=!0,e=this.getAttribute("href");if(r.$emit("linkpress",{href:e,ignore:function(){return t=!1}}),t&&e)if("#"==e[0])r.useAnchor&&r.navigateTo({id:e.substr(1)});else{if(0==e.indexOf("http")||0==e.indexOf("//"))return!0;uni.navigateTo({url:e})}return!1}}}catch($){m.e($)}finally{m.f()}var g=this.rtf.getElementsByTagName("video");r.videoContexts=g;for(var w,b=0;w=g[b++];)w.style.maxWidth="100%",w.style.width="100%",w.onerror=function(){r.$emit("error",{source:"video",target:this})},w.onplay=function(){if(r.autopause)for(var t,e=0;t=r.videoContexts[e++];)t!=this&&t.pause()};var x,y,C=this.rtf.getElementsByTagName("audios"),k=(0,_createForOfIteratorHelper2.default)(C);try{for(k.s();!(x=k.n()).done;){var I=x.value;I.onerror=function(){r.$emit("error",{source:"audio",target:this})}}}catch($){k.e($)}finally{k.f()}this.document=this.rtf,e||document.getElementById("rtf"+this._uid).appendChild(this.rtf),this.$nextTick((function(){i.nodes=[1],i.$emit("load")})),setTimeout((function(){return i.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){var t=[i.rtf.getBoundingClientRect()];i.width=t[0].width,t[0].height==y&&(i.$emit("ready",t[0]),clearInterval(i._timer)),y=t[0].height}),350),this.showWithAnimation&&!e&&(this.showAm="animation:show .5s")}else this.rtf&&!e&&this.rtf.parentNode.removeChild(this.rtf)},getText:function(){arguments.length>0&&void 0!==arguments[0]||this.nodes;return this.rtf.innerText},navigateTo:function(t){if(!this.useAnchor)return t.fail&&t.fail({errMsg:"Anchor is disabled"});if(!t.id)return window.scrollTo(0,this.rtf.offsetTop),t.success&&t.success({errMsg:"pageScrollTo:ok"});var e=document.getElementById(t.id);if(!e)return t.fail&&t.fail({errMsg:"Label not found"});t.scrollTop=this.rtf.offsetTop+e.offsetTop,uni.pageScrollTo(t)},getVideoContext:function(t){if(!t)return this.videoContexts;for(var e=this.videoContexts.length;e--;)if(this.videoContexts[e].id==t)return this.videoContexts[e]},preLoad:function preLoad(html,num){html.constructor==Array&&(html=this._Dom2Str(html));var script="var contain=document.createElement('div');contain.innerHTML='"+html.replace(/'/g,"\\'")+"';for(var imgs=contain.querySelectorAll('img'),i=imgs.length-1;i>="+num+";i--)imgs[i].removeAttribute('src');";eval(script)},_tap:function(t){if(this.gestureZoom&&t.timeStamp-this._lastT<300){var e=t.touches[0].pageY-t.currentTarget.offsetTop;if(this._zoom)this._scaleAm.translateX(0).scale(1).step(),uni.pageScrollTo({scrollTop:(e+this._initY)/2-t.touches[0].clientY,duration:400});else{var i=t.touches[0].pageX-t.currentTarget.offsetLeft;this._initY=e,this._scaleAm=uni.createAnimation({transformOrigin:"".concat(i,"px ").concat(this._initY,"px 0"),timingFunction:"ease-in-out"}),this._scaleAm.scale(2).step(),this._tMax=i/2,this._tMin=(i-this.width)/2,this._tX=0}this._zoom=!this._zoom,this.scaleAm=this._scaleAm.export()}this._lastT=t.timeStamp},_touchstart:function(t){1==t.touches.length&&(this._initX=this._lastX=t.touches[0].pageX)},_touchmove:function(t){var e=t.touches[0].pageX-this._lastX;if(this._zoom&&1==t.touches.length&&Math.abs(e)>20){if(this._lastX=t.touches[0].pageX,this._tX<=this._tMin&&e<0||this._tX>=this._tMax&&e>0)return;this._tX+=e*Math.abs(this._lastX-this._initX)*.05,this._tX<this._tMin&&(this._tX=this._tMin),this._tX>this._tMax&&(this._tX=this._tMax),this._scaleAm.translateX(this._tX).step(),this.scaleAm=this._scaleAm.export()}}}};exports.default=_default},"0f6c":function(t,e,i){var a=i("afab");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("5c329e65",a,!0,{sourceMap:!1,shadowMode:!1})},1670:function(t,e,i){"use strict";i.r(e);var a=i("60f9"),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},"1a50":function(t,e,i){"use strict";var a=i("59ad"),n=i.n(a);n.a},"1dda":function(t,e,i){"use strict";i.r(e);var a=i("ca54"),n=i("d33a");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("210d");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"d1f828c8",null,!1,a["a"],void 0);e["default"]=r.exports},"1f78":function(t,e,i){"use strict";i.r(e);var a=i("93e9"),n=i("082e");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("8d76");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"7405a93b",null,!1,a["a"],void 0);e["default"]=r.exports},"210d":function(t,e,i){"use strict";var a=i("6b9f"),n=i.n(a);n.a},"247f":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("8f59"),n={name:"Discount",props:{isShowDiscount:{type:Boolean,default:!1},couponData:{type:Object,default:function(){return{}}}},computed:(0,a.mapGetters)(["viewColor"]),data:function(){return{}},created:function(){},methods:{closeShowBox:function(){this.$emit("close")}}};e.default=n},"279d":function(t,e,i){"use strict";i.r(e);var a=i("fbd8"),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},"2c03":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("672a"),n=i("8f59"),o=i("aa10"),s={props:{pagesUrl:{type:String,default:""},address:{type:Object,default:function(){return{address:!0,addressId:0}}},isLog:{type:Boolean,default:!1}},computed:(0,n.mapGetters)(["viewColor"]),data:function(){return{domain:o.HTTP_REQUEST_URL,active:0,addressList:[],is_loading:!0}},methods:{tapAddress:function(t,e){this.active=t,this.$emit("OnChangeAddress",e)},close:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus")},goAddressPages:function(){this.$emit("changeClose"),this.$emit("changeTextareaStatus"),uni.navigateTo({url:this.pagesUrl})},getAddressList:function(){var t=this;(0,a.getAddressList)({page:1,limit:5}).then((function(e){for(var i=e.data.list,a=0;a<e.data.list.length;a++)i[a].address_id==t.address.addressId&&(t.active=a);t.$set(t,"addressList",i),t.is_loading=!1}))}}};e.default=s},3471:function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var i="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!i){if(Array.isArray(t)||(i=(0,a.default)(t))||e&&t&&"number"===typeof t.length){i&&(t=i);var n=0,o=function(){};return{s:o,n:function(){return n>=t.length?{done:!0}:{done:!1,value:t[n++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,r=!0,c=!1;return{s:function(){i=i.call(t)},n:function(){var t=i.next();return r=t.done,t},e:function(t){c=!0,s=t},f:function(){try{r||null==i["return"]||i["return"]()}finally{if(c)throw s}}}},i("01a2"),i("e39c"),i("bf0f"),i("844d"),i("18f7"),i("de6c"),i("7a76"),i("c9b5");var a=function(t){return t&&t.__esModule?t:{default:t}}(i("5d6b"))},34874:function(t,e,i){"use strict";var a=i("0f6c"),n=i.n(a);n.a},"44eb":function(t,e,i){"use strict";i.r(e);var a=i("2c03"),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},4963:function(t,e,i){"use strict";i.r(e);var a=i("90e8"),n=i("524c");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("1a50");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"ebf617bc",null,!1,a["a"],void 0);e["default"]=r.exports},"4ceb":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("d4b5");var a=i("8f59"),n={name:"checkDelivery",props:{isShowBox:{type:Boolean,default:!1},activeObj:{type:Object,default:function(){return{}}},deliveryName:{type:String,default:"快递配送"},radioList:{type:Array,default:[{title:"快递配送",check:!0},{title:"到店核销",check:!1}]}},computed:(0,a.mapGetters)(["viewColor"]),data:function(){return{radioIndex:0,oldRadioIndex:"",newData:{}}},created:function(){this.newData=JSON.parse(JSON.stringify(this.activeObj))},methods:{closeShowBox:function(){this.$emit("close")},bindCheck:function(t,e){this.newData.order.isTake=e},confirmBtn:function(){this.$emit("confirmBtn",this.newData)}}};e.default=n},"4e70":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",{style:t.viewColor},[i("v-uni-view",{staticClass:"address-window",class:1==t.address.address?"on":""},[i("v-uni-view",{staticClass:"title"},[t._v("选择地址"),i("v-uni-text",{staticClass:"iconfont icon-guanbi",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1),i("v-uni-scroll-view",{staticClass:"list",attrs:{"scroll-y":"true"}},t._l(t.addressList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper",class:t.active==a?"t-color":"",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.tapAddress(a,e.address_id)}}},[i("v-uni-text",{staticClass:"iconfont icon-ditu",class:t.active==a?"t-color":""}),i("v-uni-view",{staticClass:"address"},[i("v-uni-view",{staticClass:"name",class:t.active==a?"t-color":""},[t._v(t._s(e.real_name)),i("v-uni-text",{staticClass:"phone"},[t._v(t._s(e.phone))])],1),i("v-uni-view",{staticClass:"line1"},[t._v(t._s(e.province)+t._s(e.city)+t._s(e.district)+t._s(e.street||"")+t._s(e.detail))])],1),i("v-uni-text",{staticClass:"iconfont icon-complete",class:t.active==a?"t-color":""})],1)})),1),t.is_loading||t.addressList.length?t._e():i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/noAddress.png"}}),i("v-uni-view",[t._v("暂无地址")])],1),i("v-uni-view",{staticClass:"addressBnt",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goAddressPages.apply(void 0,arguments)}}},[t._v("添加新地址")])],1),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.address.address},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.close.apply(void 0,arguments)}}})],1)},n=[]},"524c":function(t,e,i){"use strict";i.r(e);var a=i("0bf3"),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},5676:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.applyInvoiceApi=function(t,e){return n.default.post("order/receipt/".concat(t),e)},e.cartDel=function(t){return n.default.post("user/cart/delete",t)},e.cartProductAttr=function(t){return n.default.get("store/product/get_attr_value/".concat(t))},e.changeCartNum=function(t,e){return n.default.post("user/cart/change/"+t,e)},e.createOrder=function(t){return n.default.post("v2/order/create",t,{noAuth:!0})},e.develiveryDetail=function(t){return n.default.get("order/delivery/".concat(t))},e.express=function(t){return n.default.post("order/express/"+t)},e.expressList=function(){return n.default.get("common/express")},e.getCallBackUrlApi=function(t){return n.default.get("common/pay_key/"+t,{},{noAuth:!0})},e.getCartCounts=function(){return n.default.get("user/cart/count")},e.getCartList=function(){return n.default.get("user/cart/lst")},e.getCouponsOrderPrice=function(t,e){return n.default.get("coupons/order/"+t,e)},e.getOrderConfirm=function(t){return n.default.post("v2/order/check",t)},e.getOrderDetail=function(t){return n.default.get("order/detail/"+t)},e.getOrderList=function(t){return n.default.get("order/list",t)},e.getPayOrder=function(t){return n.default.get("order/status/"+t)},e.getReceiptOrder=function(t){return n.default.get("user/receipt/order/"+t)},e.groupOrderDetail=function(t){return n.default.get("order/group_order_detail/"+t)},e.groupOrderList=function(t){return n.default.get("order/group_order_list",t,{noAuth:!0})},e.integralOrderPay=function(t,e){return n.default.post("order/points/pay/"+t,e)},e.ordeRefundReason=function(){return n.default.get("order/refund/reason")},e.orderAgain=function(t){return n.default.post("user/cart/again",t)},e.orderComment=function(t,e){return n.default.post("reply/"+t,e)},e.orderConfirm=function(t){return n.default.post("order/check",t)},e.orderCreate=function(t){return n.default.post("order/create",t,{noAuth:!0})},e.orderData=function(){return n.default.get("order/number")},e.orderDel=function(t){return n.default.post("order/del/"+t)},e.orderPay=function(t,e){return n.default.post("order/pay/"+t,e)},e.orderProduct=function(t){return n.default.get("reply/product/"+t)},e.orderRefundVerify=function(t){return n.default.post("order/refund/verify",t)},e.orderTake=function(t){return n.default.post("order/take/"+t)},e.postOrderComputed=function(t,e){return n.default.post("/order/computed/"+t,e)},e.presellOrderPay=function(t,e){return n.default.post("presell/pay/"+t,e)},e.receiptOrder=function(t){return n.default.get("user/receipt/order",t)},e.refundApply=function(t,e){return n.default.post("refund/apply/"+t,e,{noAuth:!0})},e.refundBackGoods=function(t,e){return n.default.post("refund/back_goods/"+t,e,{noAuth:!0})},e.refundBatch=function(t){return n.default.get("refund/batch_product/"+t,{noAuth:!0})},e.refundCancelApi=function(t){return n.default.post("refund/cancel/".concat(t))},e.refundDel=function(t){return n.default.post("refund/del/"+t,{noAuth:!0})},e.refundDetail=function(t){return n.default.get("refund/detail/"+t,{noAuth:!0})},e.refundExpress=function(t){return n.default.get("refund/express/"+t,{noAuth:!0})},e.refundList=function(t){return n.default.get("refund/list",t,{noAuth:!0})},e.refundMessage=function(){return n.default.get("common/refund_message",{noAuth:!0})},e.refundOrderExpress=function(t,e){return n.default.get("server/".concat(t,"/refund/express/").concat(e))},e.refundProduct=function(t,e){return n.default.get("refund/product/"+t,e,{noAuth:!0})},e.unOrderCancel=function(t){return n.default.post("order/cancel/"+t)},e.verifyCode=function(t){return n.default.get("order/verify_code/"+t)},i("c223");var n=a(i("fea3"))},"596c":function(t,e,i){"use strict";var a=i("a024"),n=i.n(a);n.a},"59ad":function(t,e,i){var a=i("76e3");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("1193bef2",a,!0,{sourceMap:!1,shadowMode:!1})},"60f9":function(t,e,i){"use strict";i("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("64aa"),i("5c47"),i("d4b5");i("02aa");var a=i("8f59"),n=i("aa10"),o={props:{openType:{type:Number,default:0},coupon:{type:Object,default:function(){return{}}},coupon_amount:{type:Number},coupon_number:{type:Number},couponTitle:{type:String,default:"优惠券"}},filters:{timeYMD:function(t){if(t){var e=/\d{4}-(\d{1,2}\d{1,2}-\d{1,2}\d{1,2})/g.exec(t);return(null===e||void 0===e?void 0:e[0])||""}}},computed:(0,a.mapGetters)(["viewColor","keyColor"]),data:function(){return{domain:n.HTTP_REQUEST_URL,couponArr:[],couponData:{},active:{},allNum:0,allCouponNum:0,use_store_coupon:0,pay_price:0,goodsOrder:"",moneyBg:"/static/images/couponBg"}},watch:{coupon:{handler:function(t,e){this.couponArr=JSON.parse(JSON.stringify(t.coupon))},immediate:!0,deep:!0}},mounted:function(){this.couponData=this.coupon,this.couponArr=JSON.parse(JSON.stringify(this.coupon.coupon));var t=this.active[this.couponData.mer_id]={};t.product=[],t.store=""},methods:{close:function(){this.$emit("ChangCouponsClose")},getCouponUser:function(t,e){this.$emit("getCoupon",e)}}};e.default=o},"6b9f":function(t,e,i){var a=i("70aa");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("ea6e3770",a,!0,{sourceMap:!1,shadowMode:!1})},"70aa":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.mask-box .bg[data-v-d1f828c8]{z-index:30;position:fixed;left:0;bottom:0;width:100%;height:100%;background:rgba(0,0,0,.5)}.mask-box .mask-content[data-v-d1f828c8]{z-index:40;position:fixed;left:0;bottom:0;width:100%;background-color:#fff;border-radius:%?16?% %?16?% 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.mask-box .mask-content .title-bar[data-v-d1f828c8]{position:relative;text-align:center;padding:%?30?% 0;margin-bottom:%?20?%;font-size:%?32?%;color:#282828}.mask-box .mask-content .title-bar .close[data-v-d1f828c8]{position:absolute;right:%?30?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mask-box .mask-content .title-bar .close .iconfont[data-v-d1f828c8]{color:#8a8a8a}.mask-box .mask-content .box[data-v-d1f828c8]{padding:0 %?30?%}.mask-box .mask-content .box .check-item[data-v-d1f828c8]{display:flex;align-items:center;justify-content:space-between;height:%?40?%;margin-bottom:%?50?%;font-size:%?28?%}.mask-box .mask-content .box .check-item .iconfont[data-v-d1f828c8]{font-size:%?38?%;color:#ccc}.mask-box .mask-content .box .check-item .iconfont.icon-xuanzhong1[data-v-d1f828c8]{color:var(--view-theme)}.mask-box .mask-content .foot[data-v-d1f828c8]{padding:%?20?% %?30?%;padding-bottom:calc(20rpx+ constant(safe-area-inset-bottom));padding-bottom:calc(%?20?% + env(safe-area-inset-bottom));border-top:1px solid #f5f5f5}.mask-box .mask-content .foot .btn[data-v-d1f828c8]{width:100%;height:%?70?%;line-height:%?70?%;text-align:center;border-radius:%?35?%;color:#fff;font-size:%?30?%;background:var(--view-theme)}.animated[data-v-d1f828c8]{-webkit-animation-duration:.3s;animation-duration:.3s}',""]),t.exports=e},"71ad":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",[t.nodes.length?t._e():t._t("default"),i("v-uni-view",{style:t.showAm+(t.selectable?";user-select:text;-webkit-user-select:text":""),attrs:{id:"top",animation:t.scaleAm},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t._touchstart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t._touchmove.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t._tap.apply(void 0,arguments)}}},[i("div",{attrs:{id:"rtf"+t.uid}})])],2)},n=[]},7417:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.mask-box .bg[data-v-7405a93b]{z-index:9;position:fixed;left:0;bottom:%?100?%;width:100%;height:100%;background:rgba(0,0,0,.5)}.mask-box .mask-content[data-v-7405a93b]{z-index:10;position:fixed;left:0;bottom:%?100?%;width:100%;background-color:#f5f5f5;border-radius:%?16?% %?16?% 0 0;-webkit-transform:translate3d(0,200%,0);transform:translate3d(0,200%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.mask-box .mask-content .title-bar[data-v-7405a93b]{position:relative;text-align:center;padding:%?30?% 0;margin-bottom:%?20?%;font-size:%?32?%;color:#282828}.mask-box .mask-content .title-bar .close[data-v-7405a93b]{position:absolute;right:%?30?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.mask-box .mask-content .title-bar .close .iconfont[data-v-7405a93b]{color:#8a8a8a}.mask-box .mask-content .box[data-v-7405a93b]{padding:0 %?30?% %?60?%}.mask-box .mask-content .box .check-item[data-v-7405a93b]{display:flex;align-items:center;justify-content:space-between;height:%?40?%;margin-bottom:%?50?%;font-size:%?28?%}.mask-box .mask-content .box .check-item.total[data-v-7405a93b]{font-weight:700;font-size:%?32?%}.mask-box .mask-content .box .check-item.total .radio[data-v-7405a93b]{color:var(--view-priceColor)}.animated[data-v-7405a93b]{-webkit-animation-duration:.3s;animation-duration:.3s}',""]),t.exports=e},"76e3":function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.time1[data-v-ebf617bc]{width:100%;margin:0 auto;background-color:#fff;color:#000;height:%?568?%;position:fixed;bottom:0;z-index:99;-webkit-transform:translate3d(0,200%,0);transform:translate3d(0,200%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.time1.on[data-v-ebf617bc]{-webkit-transform:translateZ(0);transform:translateZ(0)}.time1 .top[data-v-ebf617bc]{height:%?90?%;border-bottom:1px solid #eee;padding:0 %?30?%}.time1 .top uni-text[data-v-ebf617bc]{font-size:%?32?%}.time1 .top uni-text[data-v-ebf617bc]:nth-child(1){color:#888}.time1 .top uni-text[data-v-ebf617bc]:nth-child(2){color:#007aff}.time1 .tip12[data-v-ebf617bc]{width:100%;height:%?100?%}.time1 .tip12 uni-view[data-v-ebf617bc]{width:50%;text-align:center;line-height:%?100?%;font-size:%?40?%;color:#000}.time1 .hours[data-v-ebf617bc]{font-size:%?32?%;color:#000;line-height:34px;text-align:center}.time1 .minutes[data-v-ebf617bc]{font-size:%?32?%;color:#000;line-height:34px;text-align:center}.time1 .center[data-v-ebf617bc]{line-height:34px;text-align:center}.picker[data-v-ebf617bc]{width:100%;height:%?476?%}',""]),t.exports=e},8075: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={uniDatetimePicker:i("7d2b").default,jyfParser:i("832c").default},n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{style:t.viewColor},[i("v-uni-view",{staticClass:"order-submission"},[t.allow_address&&0==t.order_model?i("v-uni-view",{staticClass:"allAddress",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onAddress.apply(void 0,arguments)}}},[0==t.shippingType?i("v-uni-view",{staticClass:"address acea-row row-between-wrapper"},[t.addressInfo.real_name?i("v-uni-view",{staticClass:"addressCon"},[i("v-uni-view",{staticClass:"name"},[t._v(t._s(t.addressInfo.real_name)),i("v-uni-text",{staticClass:"phone"},[t._v(t._s(t.addressInfo.phone))])],1),i("v-uni-view",[t.addressInfo.is_default?i("v-uni-text",{staticClass:"default t-color"},[t._v("[默认]")]):t._e(),t._v(t._s(t.addressInfo.province)+t._s(t.addressInfo.city)+t._s(t.addressInfo.district)+t._s(t.addressInfo.street||"")+t._s(t.addressInfo.detail))],1)],1):i("v-uni-navigator",{staticClass:"addressCon",attrs:{url:"/pages/users/user_address/index?cartId="+t.cartId,"hover-class":"none"}},[i("v-uni-view",{staticClass:"setaddress"},[t._v("设置收货地址")])],1),i("v-uni-view",{staticClass:"iconfont icon-jiantou"})],1):t._e(),i("v-uni-view",{staticClass:"line"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/line.jpg"}})],1)],1):t._e(),i("v-uni-view",{staticClass:"storeinfo-wrapper"},t._l(t.cartInfo,(function(e,a){return i("v-uni-view",{key:a,staticClass:"store-item"},[i("v-uni-view",{staticClass:"store-title"},[i("v-uni-text",{staticClass:"iconfont icon-shangjiadingdan"}),i("v-uni-view",{staticClass:"txt",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goStore(e.mer_id)}}},[t._v(t._s(e.mer_name))]),i("v-uni-text",{staticClass:"iconfont icon-xiangyou"})],1),t._l(e.list,(function(e,a){return i("v-uni-view",{key:a},[2==e.product_type?i("v-uni-view",[i("v-uni-view",{staticClass:"product-item"},[i("v-uni-view",{staticClass:"img-box"},[i("v-uni-image",{attrs:{src:e.productPresellAttr.image||e.product.image}})],1),i("v-uni-view",{staticClass:"content event_content"},[i("v-uni-view",{staticClass:"name line1"},[i("v-uni-text",{staticClass:"event_name event_bg"},[t._v("预售")]),t._v(t._s(e.productPresell.store_name))],1),i("v-uni-view",{staticClass:"label",staticStyle:{width:"70%"}},[t._v(t._s(e.productAttr.sku))]),i("v-uni-view",{staticClass:"price"},[t._v("¥"+t._s(e.productPresellAttr.presell_price)),i("v-uni-text",[t._v("X"+t._s(e.cart_num))])],1),i("v-uni-view",{staticClass:"event_ship event_color"},[t._v("发货时间:"),1===e.productPresell.presell_type?i("v-uni-text",[t._v(t._s(1===e.productPresell.delivery_type?"支付后":"预售结束后")+t._s(e.productPresell.delivery_day)+"天内")]):t._e(),2===e.productPresell.presell_type?i("v-uni-text",[t._v(t._s(1===e.productPresell.delivery_type?"付尾款后":"预售结束后")+t._s(e.productPresell.delivery_day)+"天内")]):t._e()],1),e.undelivered&&t.addressInfo.real_name?i("v-uni-view",{staticClass:"err-txt"},[i("v-uni-text",{staticClass:"iconfont icon-zhuyi-copy"}),i("v-uni-view",{staticClass:"txt"},[t._v("此商品不支持该区域配送")])],1):t._e()],1)],1),2===e.productPresell.presell_type?i("v-uni-view",{staticClass:"event_payTime"},[i("v-uni-view",{staticClass:"event_progress"},[i("v-uni-view",{staticClass:"progress_step"},[i("v-uni-text",{staticClass:"name color_red"},[t._v("定金")]),i("v-uni-text",{staticClass:"price color_red"},[t._v("¥"+t._s((e.productPresellAttr.down_price*e.cart_num).toFixed(2)))])],1),i("v-uni-view",{staticClass:"progress_step"},[i("v-uni-text",{staticClass:"name"},[t._v("尾款")]),i("v-uni-text",{staticClass:"price"},[t._v("¥"+t._s((e.productPresellAttr.final_price*e.cart_num).toFixed(2)))])],1),i("v-uni-view",{staticClass:"progress_pay"},[t._v(t._s(t._f("filterDay")(e.productPresell.final_start_time))+"开始支付尾款")])],1)],1):t._e()],1):i("v-uni-view",[i("v-uni-view",{staticClass:"product-item"},[i("v-uni-view",{staticClass:"img-box"},[i("v-uni-image",{attrs:{src:e.productAttr.image||e.product.image}})],1),i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(e.product.store_name))]),i("v-uni-view",{staticClass:"label"},[t._v(t._s(e.productAttr.sku))]),i("v-uni-view",{staticClass:"price acea-row row-between"},[i("v-uni-view",{staticClass:"acea-row row-middle"},[3==t.order_type?[t._v("¥"+t._s(e.productAssistAttr.assist_price))]:4==t.order_type?[t._v("¥"+t._s(e.activeSku&&e.activeSku.active_price))]:[t._v("¥"+t._s(e.productAttr.price))],i("v-uni-text",[t._v("X"+t._s(e.cart_num))]),e.productAttr.show_svip_price?i("v-uni-view",{staticClass:"vipImg"},[i("v-uni-image",{attrs:{src:t.domain+"/static/images/svip.png"}})],1):t._e()],2),i("v-uni-view",{staticClass:"delivery_type"},[e.allow_delivery?t._e():i("v-uni-text",[t._v("不支持快递")]),e.allow_take?t._e():i("v-uni-text",[t._v("不支持到店核销")])],1)],1),e.undelivered&&t.addressInfo.real_name?i("v-uni-view",{staticClass:"err-txt"},[i("v-uni-text",{staticClass:"iconfont icon-zhuyi-copy"}),i("v-uni-view",{staticClass:"txt"},[t._v("此商品不支持该区域配送")])],1):t._e()],1)],1)],1)],1)})),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"boxs"},[i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("配送方式")]),2==e.delivery_way.length&&e.order.allow_delivery&&e.order.allow_take?i("v-uni-view",{staticClass:"discount",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.openShowBox(e,a)}}},[t._v(t._s(0==e.order.isTake?t.deliveryName:"到店核销")),2!=t.order_model?i("v-uni-text",{staticClass:"iconfont icon-jiantou"}):t._e()],1):i("v-uni-view",{staticClass:"discount"},[t._v(t._s(0==e.order.isTake?t.deliveryName:"到店核销"))])],1),e.order.isTake?i("v-uni-view",{staticClass:"store-address"},[i("v-uni-view",{staticClass:"name line2"},[t._v(t._s(e.take.mer_take_name))]),i("v-uni-view",{staticClass:"info line2"},[t._v(t._s(e.take.mer_take_address))]),i("v-uni-view",{staticClass:"map",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goMap(e)}}},[i("v-uni-text",{staticClass:"iconfont icon-chakanditu"}),i("v-uni-view",{staticClass:"map_text"},[t._v("查看地图")])],1)],1):t._e()],1),0==t.shippingType&&0==e.isTake&&0==t.order_model?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("快递费用"),e.list[0].productPresell&&2==e.list[0].productPresell.presell_type?i("v-uni-text",[t._v("(尾款阶段)")]):t._e()],1),e.order.postage_price>0?i("v-uni-view",{staticClass:"discount"},[t._v("+¥"+t._s(e.order.postage_price))]):i("v-uni-view",{staticClass:"discount"},[t._v("免运费")])],1):t._e(),3!=t.order_type&&4!=t.order_type&&e.order.enabledCoupon?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("店铺优惠券")]),e.coupon.length>0?[i("v-uni-view",{staticClass:"discount",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.couponTap(e,a)}}},[e.order.coupon_price>0?i("v-uni-text",[t._v("优惠¥"+t._s(e.order.coupon_price))]):i("v-uni-text",[t._v("暂未选择优惠券")]),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)]:[i("v-uni-view",{staticClass:"discount"},[t._v("暂无优惠券")])]],2):t._e(),1==e.openReceipt?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("开具发票"),i("v-uni-text",{staticClass:"iconfont icon-wenhao1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showInvoice.apply(void 0,arguments)}}})],1),i("v-uni-view",{staticClass:"discount discount_voice",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.goInvoice(e.mer_id)}}},[t._v(t._s(e.invoiceData&&e.invoiceData.receipt_title?e.invoiceData.receipt_title:"不开发票")),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)],1):t._e(),2===t.order_type&&2==e.list[0].productPresell.presell_type?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper",staticStyle:{"border-top":"1px solid #f5f5f5","border-bottom":"1px solid #f5f5f5"}},[i("v-uni-checkbox-group",{staticClass:"checkgroup",on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.changeIsAgree.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-wenhao1"}),i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getPresellAgree.apply(void 0,arguments)}}},[t._v("我已同意定金不退等预售协议")]),i("v-uni-checkbox",{staticClass:"checkbox",attrs:{checked:!!t.isAgree}})],1)],1):t._e(),t.textareaStatus?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",{staticStyle:{width:"100px"}},[t._v("备注信息")]),!1===t.coupon.status?i("v-uni-input",{attrs:{"placeholder-class":"placeholder",value:"",name:"mark",placeholder:"选填备注信息"},on:{input:function(e){arguments[0]=e=t.$handleEvent(e),t.bindHideKeyboard.apply(void 0,arguments)}},model:{value:t.msgObj[e.mer_id],callback:function(i){t.$set(t.msgObj,e.mer_id,i)},expression:"msgObj[item.mer_id]"}}):t._e()],1):t._e(),i("v-uni-view",{staticClass:"total"},[t._v("共"+t._s(e.order.total_num)+"件 小计"),0==e.isTake?i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v("¥")]),t._v(t._s(e.order.pay_price))],1):t._e(),1==e.isTake?i("v-uni-view",{staticClass:"price"},[i("v-uni-text",[t._v("¥")]),t._v(t._s(e.order.org_price))],1):t._e()],1)],1)],2)})),1),t.order_form.length>0?i("v-uni-view",{staticClass:"wrapper virtual_form"},t._l(t.order_form,(function(e,a){return i("v-uni-view",{key:a,staticClass:"item acea-row row-between-wrapper",class:{on:"radios"==e.name||"checkboxs"==e.name,on2:"dateranges"==e.name,on3:"citys"==e.name,pd0:"uploadPicture"==e.name}},[i("v-uni-view",{staticClass:"name"},[e.titleShow.val?i("v-uni-text",{staticClass:"item-require"},[t._v("*")]):t._e(),t._v(t._s(e.titleConfig.value))],1),"radios"==e.name?i("v-uni-view",{staticClass:"discount"},[i("v-uni-radio-group",{staticClass:"acea-row row-middle row-right",on:{change:function(i){arguments[0]=i=t.$handleEvent(i),t.radioChange(i,a,e)}}},t._l(e.wordsConfig.list,(function(e,a){return i("v-uni-label",{key:a,staticClass:"radio"},[i("v-uni-view",{staticClass:"acea-row row-middle"},[i("v-uni-radio",{attrs:{value:a.toString(),checked:e.show}}),i("v-uni-view",[t._v(t._s(e.val))])],1)],1)})),1)],1):t._e(),"checkboxs"==e.name?i("v-uni-view",{staticClass:"discount acea-row"},[i("v-uni-checkbox-group",{staticClass:"acea-row row-middle row-right",on:{change:function(i){arguments[0]=i=t.$handleEvent(i),t.checkboxChange(i,a,e)}}},t._l(e.wordsConfig.list,(function(e,a){return i("v-uni-label",{key:a,staticClass:"radio"},[i("v-uni-view",{staticClass:"acea-row row-middle"},[i("v-uni-checkbox",{staticStyle:{transform:"scale(0.9)"},attrs:{value:a.toString(),checked:e.show}}),i("v-uni-view",[t._v(t._s(e.val))])],1)],1)})),1)],1):t._e(),"texts"==e.name&&0==e.valConfig.tabVal?i("v-uni-view",{staticClass:"discount"},[i("v-uni-input",{attrs:{type:"text",placeholder:e.tipConfig.value,"placeholder-class":"placeholder"},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}})],1):t._e(),"texts"==e.name&&4==e.valConfig.tabVal?i("v-uni-view",{staticClass:"discount"},[i("v-uni-input",{attrs:{type:"number",placeholder:e.tipConfig.value,"placeholder-class":"placeholder"},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}})],1):t._e(),"texts"==e.name&&3==e.valConfig.tabVal?i("v-uni-view",{staticClass:"discount"},[i("v-uni-input",{attrs:{type:"text",placeholder:e.tipConfig.value,"placeholder-class":"placeholder"},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}})],1):t._e(),"dates"==e.name?i("v-uni-view",{staticClass:"discount"},[i("v-uni-picker",{attrs:{mode:"date",value:e.value},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindDateChange(e,a)}}},[i("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[""==e.value?i("v-uni-view",[t._v(t._s(e.tipConfig.value))]):i("v-uni-view",[t._v(t._s(e.value))]),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)],1)],1):t._e(),"dateranges"==e.name?i("v-uni-view",{staticClass:"discount"},[i("uni-datetime-picker",{attrs:{type:"daterange"},on:{maskClick:function(e){arguments[0]=e=t.$handleEvent(e),t.maskClick.apply(void 0,arguments)}},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}},[t._v(t._s(e.value.length?e.value[0]+" - "+e.value[1]:e.tipConfig.value)),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)],1):t._e(),"times"==e.name?i("v-uni-view",{staticClass:"discount"},[i("v-uni-picker",{attrs:{mode:"time",value:e.value,placeholder:e.tipConfig.value},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.bindTimeChange(e,a)}}},[i("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[""==e.value?i("v-uni-view",[t._v(t._s(e.tipConfig.value))]):i("v-uni-view",[t._v(t._s(e.value))]),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)],1)],1):t._e(),"timeranges"==e.name?i("v-uni-view",{staticClass:"discount acea-row row-between-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.getTimeranges(a)}}},[e.value?i("v-uni-view",[t._v(t._s(e.value))]):i("v-uni-view",[t._v(t._s(e.tipConfig.value))]),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1):t._e(),"selects"==e.name?i("v-uni-view",{staticClass:"discount"},[i("v-uni-picker",{attrs:{value:e.value,range:e.wordsConfig.list,"range-key":"val"},on:{change:function(i){arguments[0]=i=t.$handleEvent(i),t.bindSelectChange(i,a,e)}}},[i("v-uni-view",{staticClass:"acea-row row-between-wrapper"},[e.value?i("v-uni-view",[t._v(t._s(e.value))]):i("v-uni-view",[t._v("请选择")]),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)],1)],1):t._e(),"citys"==e.name?i("v-uni-view",{staticClass:"discount",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeRegion(a)}}},[i("v-uni-view",{staticClass:"acea-row row-middle row-right"},[""==e.value?i("v-uni-view",{staticClass:"city"},[t._v(t._s(e.tipConfig.value))]):i("v-uni-view",{staticClass:"city"},[t._v(t._s(e.value))]),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)],1):t._e(),"texts"==e.name&&2==e.valConfig.tabVal?i("v-uni-view",{staticClass:"discount"},[i("v-uni-input",{attrs:{type:"idcard",placeholder:e.tipConfig.value,"placeholder-class":"placeholder"},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}})],1):t._e(),"texts"==e.name&&1==e.valConfig.tabVal?i("v-uni-view",{staticClass:"discount"},[i("v-uni-input",{attrs:{type:"number",placeholder:e.tipConfig.value,"placeholder-class":"placeholder"},model:{value:e.value,callback:function(i){t.$set(e,"value",i)},expression:"item.value"}})],1):t._e(),"uploadPicture"==e.name?i("v-uni-view",{staticClass:"confirmImg",staticStyle:{"padding-bottom":"0"}},[i("v-uni-view",{staticClass:"upload"},[t._l(e.value,(function(e,n){return i("v-uni-view",{key:n,staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:e,mode:"aspectFill"}}),i("v-uni-view",{staticClass:"close acea-row row-center-wrapper",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.DelPic(a,n)}}},[i("v-uni-view",{staticClass:"iconfont icon-guanbi5"})],1)],1)})),e.value.length<e.numConfig.val?i("v-uni-view",{staticClass:"pictrue acea-row row-center-wrapper row-column",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.uploadpic(a)}}},[i("v-uni-view",[t._v("上传图片")])],1):t._e()],2)],1):t._e()],1)})),1):t._e(),t.showProtocol?i("v-uni-view",{staticClass:"settlementAgreement"},[i("v-uni-view",{staticClass:"setAgCount"},[i("i",{staticClass:"icon iconfont icon-cha",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showProtocol=!1}}}),i("div",{staticClass:"title"},[t._v(t._s(t.agrementTtile))]),i("v-uni-view",{staticClass:"content"},[i("jyf-parser",{ref:"article",attrs:{html:t.protocol,"tag-style":t.tagStyle}})],1)],1)],1):t._e(),t.is_take?i("v-uni-view",{staticClass:"wrapper virtual_form"},[i("v-uni-form",{attrs:{"report-submit":"true"}},[i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[i("v-uni-text",{staticClass:"item-require"},[t._v("*")]),t._v("收货人姓名")],1),i("v-uni-view",{staticClass:"discount"},[i("v-uni-input",{attrs:{type:"text",placeholder:"请填写收货人姓名","placeholder-class":"placeholder"},model:{value:t.post.real_name,callback:function(e){t.$set(t.post,"real_name",e)},expression:"post.real_name"}})],1)],1),i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[i("v-uni-text",{staticClass:"item-require"},[t._v("*")]),t._v("收货人电话")],1),i("v-uni-view",{staticClass:"discount"},[i("v-uni-input",{attrs:{type:"number",placeholder:"请填写收货人电话","placeholder-class":"placeholder"},model:{value:t.post.phone,callback:function(e){t.$set(t.post,"phone",e)},expression:"post.phone"}})],1)],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"wrapper"},[i("v-uni-view",{staticClass:"item"},[i("v-uni-view",[t._v("支付方式")]),i("v-uni-view",{staticClass:"list"},t._l(t.cartArr,(function(e,a){return 1==e.payStatus?i("v-uni-view",{key:a,staticClass:"payItem acea-row row-middle",class:t.active==a?"on":"",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.payItem(a)}}},[i("v-uni-view",{staticClass:"name acea-row row-center-wrapper"},[i("v-uni-view",{staticClass:"iconfont animated",class:e.icon+" "+(1==t.animated&&t.active==a?"bounceIn":"")}),t._v(t._s(e.name))],1),i("v-uni-view",{staticClass:"tip"},[t._v(t._s(e.title)),"balance"==e.value?[t._v(t._s(t.userInfo.now_money))]:t._e()],2)],1):t._e()})),1)],1)],1),i("v-uni-view",{staticClass:"moneyList"},[i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("商品总价:")]),i("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(t.proPrice))])],1),t.couponData.order_total_postage>0?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("运费:")]),i("v-uni-view",{staticClass:"money"},[t._v("¥"+t._s(t.couponData.order_total_postage))])],1):t._e(),t.coupon_price>0?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("店铺优惠金额:")]),i("v-uni-view",{staticClass:"money"},[t._v("-¥"+t._s(t.coupon_price))])],1):t._e(),t.open_integral&&t.userInfo.integral>0&&0==t.order_type?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("积分抵扣:")]),i("v-uni-view",{staticClass:"money"},[t.use_integral?i("v-uni-text",[t._v("使用了"+t._s(t.integral_count)+"个积分,抵扣"),i("v-uni-text",{staticClass:"pColor"},[t._v(t._s(t.integral_price)+"元")])],1):i("v-uni-text",[t._v("当前积分"),i("v-uni-text",{staticClass:"pColor"},[t._v(t._s(t.userInfo.integral))])],1),i("v-uni-view",{staticClass:"checkbox integral_checked",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.changeIntegral.apply(void 0,arguments)}}},[t.use_integral?i("v-uni-view",{staticClass:"iconfont icon-xuanzhong1"}):i("v-uni-view",{staticClass:"iconfont icon-weixuanzhong"})],1)],1)],1):t._e(),3!=t.order_type&&4!=t.order_type&&t.enabledPlatformCoupon?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("平台优惠券"),i("v-uni-text",{staticClass:"iconfont icon-wenhao1",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showCoupon.apply(void 0,arguments)}}})],1),t.platformCoupon.length>0?[i("v-uni-view",{staticClass:"discount money",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.couponTap2(t.platformCoupon,0)}}},[t.total_platform_coupon_price>0?i("v-uni-text",[t._v("优惠¥"+t._s(t.total_platform_coupon_price))]):i("v-uni-text",[t._v("暂未选择优惠券")]),i("v-uni-text",{staticClass:"iconfont icon-jiantou"})],1)]:[i("v-uni-view",{staticClass:"discount"},[t._v("暂无优惠券")])]],2):t._e(),t.priceGroup.storePostage>0?i("v-uni-view",{staticClass:"item acea-row row-between-wrapper"},[i("v-uni-view",[t._v("运费:")]),i("v-uni-view",{staticClass:"money"},[t._v("+¥"+t._s(t.priceGroup.storePostage))])],1):t._e()],1),i("v-uni-view",{staticStyle:{height:"140rpx"}}),i("v-uni-view",{staticClass:"footer acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"footer_count"},[i("v-uni-view",[t._v("合计:"),i("v-uni-text",{staticClass:"pColor"},[t._v("¥"+t._s(t.totalPrice||0))])],1),t.couponData.total_coupon>0?i("v-uni-view",{staticClass:"coupon_price"},[t._v("优惠:¥ "+t._s(t.couponData.total_coupon)),i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.openDiscount.apply(void 0,arguments)}}},[t._v("优惠明细")])],1):t._e()],1),i("v-uni-view",{staticClass:"settlement",class:"noAddress"!=t.couponData.status?"":"disabled",staticStyle:{"z-index":"100"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.SubOrder.apply(void 0,arguments)}}},[t._v(t._s("noAddress"!=t.couponData.status?"提交订单":"选择地址"))])],1)],1),t.coupon.status?[i("couponListWindow",{attrs:{coupon:t.coupon,couponTitle:t.plantCoupon?"平台优惠券":"优惠券",openType:t.openType,coupon_amount:t.coupon_amount,coupon_number:t.coupon_number},on:{ChangCouponsClose:function(e){arguments[0]=e=t.$handleEvent(e),t.ChangCouponsClose.apply(void 0,arguments)},getCoupon:function(e){arguments[0]=e=t.$handleEvent(e),t.getCoupon.apply(void 0,arguments)}}})]:t._e(),i("addressWindow",{ref:"addressWindow",attrs:{address:t.address,pagesUrl:t.pagesUrl},on:{changeTextareaStatus:function(e){arguments[0]=e=t.$handleEvent(e),t.changeTextareaStatus.apply(void 0,arguments)},OnChangeAddress:function(e){arguments[0]=e=t.$handleEvent(e),t.OnChangeAddress.apply(void 0,arguments)},changeClose:function(e){arguments[0]=e=t.$handleEvent(e),t.changeClose.apply(void 0,arguments)}}}),i("addInvoicing",{ref:"addInvoicing",attrs:{invoice:t.invoice},on:{changeInvoiceClose:function(e){arguments[0]=e=t.$handleEvent(e),t.changeInvoiceClose.apply(void 0,arguments)}}}),t.isShowBox?[i("checkDelivery",{attrs:{deliveryName:t.deliveryName,isShowBox:t.isShowBox,activeObj:t.activeObj,radioList:t.radioList},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.boxClose.apply(void 0,arguments)},confirmBtn:function(e){arguments[0]=e=t.$handleEvent(e),t.getData.apply(void 0,arguments)}}})]:t._e(),i("discountDetails",{attrs:{isShowDiscount:t.isShowDiscount,couponData:t.couponData},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.closeDiscount.apply(void 0,arguments)}}}),i("timeranges",{attrs:{isShow:t.isShow,time:t.timeranges},on:{confrim:function(e){arguments[0]=e=t.$handleEvent(e),t.confrim.apply(void 0,arguments)},cancel:function(e){arguments[0]=e=t.$handleEvent(e),t.cancels.apply(void 0,arguments)}}}),i("areaWindow",{ref:"areaWindow",attrs:{display:t.display,address:t.addressInfoArea,cityShow:t.cityShow},on:{submit:function(e){arguments[0]=e=t.$handleEvent(e),t.OnAreaAddress.apply(void 0,arguments)},changeClose:function(e){arguments[0]=e=t.$handleEvent(e),t.changeAddressClose.apply(void 0,arguments)}}})],2)},o=[]},"81ba":function(t,e,i){"use strict";i.r(e);var a=i("0d43"),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},"832c":function(t,e,i){"use strict";i.r(e);var a=i("71ad"),n=i("81ba");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("596c");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"487f6906",null,!1,a["a"],void 0);e["default"]=r.exports},"8d76":function(t,e,i){"use strict";var a=i("0919"),n=i.n(a);n.a},"8f88":function(t,e,i){"use strict";i.r(e);var a=i("8075"),n=i("279d");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("34874");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"cf1d5caa",null,!1,a["a"],void 0);e["default"]=r.exports},"90e8":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",[i("v-uni-view",{staticClass:"time1",class:1==t.isShow?"on":""},[i("v-uni-view",{staticClass:"top acea-row row-between-wrapper"},[i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)}}},[t._v("取消")]),i("v-uni-text",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t._v("确定")])],1),i("v-uni-picker-view",{staticClass:"picker",attrs:{value:t.value,"indicator-style":"height:34px;"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.getime.apply(void 0,arguments)}}},[i("v-uni-picker-view-column",t._l(t.hoursList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"hours"},[t._v(t._s(e))])})),1),i("v-uni-picker-view-column",t._l(t.minutes,(function(e,a){return i("v-uni-view",{key:a,staticClass:"minutes"},[t._v(t._s(e))])})),1),i("v-uni-picker-view-column",[i("v-uni-view",{staticClass:"center"},[t._v("-")])],1),i("v-uni-picker-view-column",t._l(t.hoursList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"hours"},[t._v(t._s(e))])})),1),i("v-uni-picker-view-column",t._l(t.minutes,(function(e,a){return i("v-uni-view",{key:a,staticClass:"minutes"},[t._v(t._s(e))])})),1)],1)],1),i("v-uni-view",{staticClass:"mask",attrs:{catchtouchmove:"true",hidden:0==t.isShow},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)}}})],1)},n=[]},9194:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.address-window[data-v-35d6c51e]{background-color:#fff;position:fixed;bottom:0;left:0;width:100%;z-index:101;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.address-window.on[data-v-35d6c51e]{-webkit-transform:translateZ(0);transform:translateZ(0)}.address-window .title[data-v-35d6c51e]{font-size:%?32?%;font-weight:700;text-align:center;height:%?123?%;line-height:%?123?%;position:relative}.address-window .title .iconfont[data-v-35d6c51e]{position:absolute;right:%?30?%;color:#8a8a8a;font-size:%?35?%}.address-window .list[data-v-35d6c51e]{max-height:%?650?%}.address-window .list .item[data-v-35d6c51e]{margin-left:%?30?%;padding-right:%?30?%;border-bottom:1px solid #eee;height:%?129?%;font-size:%?25?%;color:#333}.address-window .list .item .iconfont[data-v-35d6c51e]{font-size:%?37?%;color:#2c2c2c}.address-window .list .item .iconfont.icon-complete[data-v-35d6c51e]{font-size:%?30?%;color:#fff}.address-window .list .item .address[data-v-35d6c51e]{width:%?560?%}.address-window .list .item .address .name[data-v-35d6c51e]{font-size:%?28?%;font-weight:700;color:#282828;margin-bottom:%?4?%}.address-window .list .item .address .name .phone[data-v-35d6c51e]{margin-left:%?18?%}.address-window .addressBnt[data-v-35d6c51e]{font-size:%?30?%;font-weight:700;color:#fff;width:%?690?%;height:%?86?%;border-radius:%?43?%;text-align:center;line-height:%?86?%;margin:%?85?% auto;background-color:var(--view-theme)}.address-window .pictrue[data-v-35d6c51e]{text-align:center}.address-window .pictrue uni-image[data-v-35d6c51e], .address-window .pictrue uni-image[data-v-35d6c51e]{width:%?414?%;height:%?305?%}.address-window .pictrue uni-view[data-v-35d6c51e]{color:#999}.t-color[data-v-35d6c51e]{color:var(--view-theme)!important}',""]),t.exports=e},"93e9":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",{style:t.viewColor},[i("v-uni-view",{staticClass:"mask-box"},[t.isShowDiscount?i("v-uni-view",{staticClass:"bg"}):t._e(),i("v-uni-view",{staticClass:"mask-content animated",class:{slideInUp:t.isShowDiscount}},[i("v-uni-view",{staticClass:"title-bar"},[t._v("优惠明细"),i("v-uni-view",{staticClass:"close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeShowBox.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-guanbi"})],1)],1),i("v-uni-view",{staticClass:"box"},[i("v-uni-view",{staticClass:"check-item"},[i("v-uni-view",[t._v("商品售价:")]),i("v-uni-view",{staticClass:"radio"},[t._v("¥"+t._s(t.couponData.total_price))])],1),t.couponData.order_total_integral_price>0?i("v-uni-view",{staticClass:"check-item"},[i("v-uni-view",[t._v("积分抵扣:")]),i("v-uni-view",{staticClass:"radio"},[t._v("-¥"+t._s(t.couponData.order_total_integral_price))])],1):t._e(),t.couponData.total_platform_coupon_price>0?i("v-uni-view",{staticClass:"check-item"},[i("v-uni-view",[t._v("平台优惠金额:")]),i("v-uni-view",{staticClass:"radio"},[t._v("-¥"+t._s(t.couponData.total_platform_coupon_price))])],1):t._e(),t.couponData.order_coupon_price>0?i("v-uni-view",{staticClass:"check-item"},[i("v-uni-view",[t._v("店铺优惠金额:")]),i("v-uni-view",{staticClass:"radio"},[t._v("-¥"+t._s(t.couponData.order_coupon_price))])],1):t._e(),t.couponData.order_svip_discount>0?i("v-uni-view",{staticClass:"check-item"},[i("v-uni-view",[t._v("SVIP优惠金额")]),i("v-uni-view",{staticClass:"radio"},[t._v("-¥"+t._s(t.couponData.order_svip_discount))])],1):t._e(),t.couponData.total_coupon>0?i("v-uni-view",{staticClass:"check-item total"},[i("v-uni-view",[t._v("共优惠:")]),i("v-uni-view",{staticClass:"radio"},[t._v("-¥"+t._s(t.couponData.total_coupon))])],1):t._e()],1)],1)],1)],1)},n=[]},a024:function(t,e,i){var a=i("ea05");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("346c7618",a,!0,{sourceMap:!1,shadowMode:!1})},afab:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */[data-v-cf1d5caa] uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked,[data-v-cf1d5caa] uni-checkbox .wx-checkbox-input.wx-checkbox-input-checked{border:1px solid var(--view-theme)!important;background-color:var(--view-theme)!important;color:#fff!important}[data-v-cf1d5caa] uni-radio .wx-radio-input.wx-radio-input-checked,[data-v-cf1d5caa] uni-radio .uni-radio-input.uni-radio-input-checked{border:1px solid var(--view-theme)!important;background-color:var(--view-theme)!important}.order-submission .line[data-v-cf1d5caa]{position:absolute;left:0;top:0;width:100%;height:%?3?%}.order-submission .line uni-image[data-v-cf1d5caa]{width:100%;height:100%;display:block}.order-submission .address[data-v-cf1d5caa]{padding:%?28?% %?30?%;background-color:#fff;box-sizing:border-box}.order-submission .address .addressCon[data-v-cf1d5caa]{width:%?610?%;font-size:%?26?%;color:#666}.order-submission .address .addressCon .name[data-v-cf1d5caa]{font-size:%?30?%;color:#282828;font-weight:700;margin-bottom:%?10?%}.order-submission .address .addressCon .name .phone[data-v-cf1d5caa]{margin-left:%?50?%}.order-submission .address .addressCon .default[data-v-cf1d5caa]{margin-right:%?12?%}.t-color[data-v-cf1d5caa]{color:var(--view-theme)}.order-submission .address .addressCon .setaddress[data-v-cf1d5caa]{color:#333;font-size:%?28?%}.order-submission .address .iconfont[data-v-cf1d5caa]{font-size:%?35?%;color:#707070}.order-submission .allAddress[data-v-cf1d5caa]{width:100%}.order-submission .allAddress .nav[data-v-cf1d5caa]{width:%?710?%;margin:0 auto}.order-submission .allAddress .nav .item[data-v-cf1d5caa]{width:%?355?%}.order-submission .allAddress .nav .item.on[data-v-cf1d5caa]{position:relative;width:%?250?%}.order-submission .allAddress .nav .item.on[data-v-cf1d5caa]::before{position:absolute;bottom:0;content:"快递配送";font-size:%?28?%;display:block;height:0;width:%?336?%;border-width:0 %?20?% %?80?% 0;border-style:none solid solid;border-color:transparent transparent #fff;z-index:2;border-radius:%?7?% %?30?% 0 0;text-align:center;line-height:%?80?%}.order-submission .allAddress .nav .item:nth-of-type(2).on[data-v-cf1d5caa]::before{content:"到店核销";border-width:0 0 %?80?% %?20?%;border-radius:%?30?% %?7?% 0 0}.order-submission .allAddress .nav .item.on2[data-v-cf1d5caa]{position:relative}.order-submission .allAddress .nav .item.on2[data-v-cf1d5caa]::before{position:absolute;bottom:0;content:"到店核销";font-size:%?28?%;display:block;height:0;width:%?400?%;border-width:0 0 %?60?% %?60?%;border-style:none solid solid;border-color:transparent transparent #f7c1bd;border-radius:%?40?% %?6?% 0 0;text-align:center;line-height:%?60?%}.order-submission .allAddress .nav .item:nth-of-type(1).on2[data-v-cf1d5caa]::before{content:"快递配送";border-width:0 %?60?% %?60?% 0;border-radius:%?6?% %?40?% 0 0}.order-submission .allAddress .address[data-v-cf1d5caa]{height:%?150?%;margin:0 auto}.order-submission .allAddress .line[data-v-cf1d5caa]{margin:0 auto}.order-submission .wrapper .item .discount .placeholder[data-v-cf1d5caa]{color:#ccc;text-align:right}.order-submission .wrapper[data-v-cf1d5caa]{margin-bottom:%?12?%;background-color:#fff}.order-submission .wrapper .item[data-v-cf1d5caa]{padding:%?27?% %?30?%;font-size:%?30?%;color:#282828}.order-submission .virtual_form[data-v-cf1d5caa]{padding:0 %?30?%}[data-v-cf1d5caa] .order-submission .virtual_form .uni-input-wrapper{text-align:right}.order-submission .virtual_form .item-require[data-v-cf1d5caa]{color:red;margin-right:%?4?%}.order-submission .virtual_form .item[data-v-cf1d5caa]{border-bottom:%?1?% solid #eee;padding:%?27?% 0}.order-submission .virtual_form .item.on .discount[data-v-cf1d5caa]{max-width:%?460?%}.order-submission .virtual_form .item.pd0[data-v-cf1d5caa]{padding-bottom:0}.order-submission .virtual_form .item .radio[data-v-cf1d5caa]{margin:0 %?22?% 0 %?22?%;padding:%?10?% 0}.upload[data-v-cf1d5caa]{display:-webkit-box;display:-moz-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-lines:multiple;-moz-box-lines:multiple;-o-box-lines:multiple;-webkit-flex-wrap:wrap;-ms-flex-wrap:wrap;flex-wrap:wrap}.order-submission .virtual_form .pictrue[data-v-cf1d5caa]{width:%?156?%;height:%?156?%;margin:%?24?% %?20?% 0 0;position:relative;font-size:11px;color:#bbb;border-radius:%?8?%}.order-submission .virtual_form .pictrue[data-v-cf1d5caa]:nth-child(4n){margin-right:0}.order-submission .virtual_form .pictrue[data-v-cf1d5caa]:nth-last-child(1){border:.5px solid #ddd;box-sizing:border-box}.order-submission .virtual_form .pictrue uni-image[data-v-cf1d5caa],\n.order-submission .virtual_form .pictrue uni-image[data-v-cf1d5caa]{width:100%;height:100%}.order-submission .virtual_form .pictrue uni-image img[data-v-cf1d5caa],\n.order-submission .virtual_form .pictrue uni-image img[data-v-cf1d5caa]{-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;display:block;position:absolute;top:0;left:0;opacity:0;width:100%;height:100%}.order-submission .virtual_form .pictrue .icon-guanbi4[data-v-cf1d5caa]{color:#fff;font-size:%?14?%;position:absolute;top:0;right:0;width:%?30?%;height:%?30?%;text-align:center;line-height:%?30?%;border-radius:0 %?8?% 0 %?8?%;background:rgba(0,0,0,.6)}.vipImg[data-v-cf1d5caa]{width:%?65?%;height:%?28?%;margin-left:%?4?%}.vipImg uni-image[data-v-cf1d5caa]{width:100%;height:100%;display:block}.order-submission .wrapper .item .discount[data-v-cf1d5caa]{font-size:%?30?%;color:#999}.order-submission .wrapper .item .discount.discount_voice[data-v-cf1d5caa]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:%?500?%;text-align:right}.order-submission .wrapper .item .discount .iconfont[data-v-cf1d5caa]{color:#515151;font-size:%?30?%;margin-left:%?15?%}.order-submission .wrapper .item .discount .num[data-v-cf1d5caa]{font-size:%?32?%;margin-right:%?20?%}.order-submission .wrapper .item .shipping[data-v-cf1d5caa]{font-size:%?30?%;color:#999;position:relative;padding-right:%?58?%}.order-submission .wrapper .item .shipping .iconfont[data-v-cf1d5caa]{font-size:%?35?%;color:#707070;position:absolute;right:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);margin-left:%?30?%}.order-submission .wrapper .item uni-input[data-v-cf1d5caa]{flex:1;height:100%;margin-left:%?20?%;text-align:right}.order-submission .wrapper .item .placeholder[data-v-cf1d5caa]{color:#ccc}.order-submission .wrapper .item .list[data-v-cf1d5caa]{margin-top:%?35?%}.order-submission .wrapper .item .list .payItem[data-v-cf1d5caa]{border:1px solid #eee;border-radius:%?6?%;height:%?86?%;width:100%;box-sizing:border-box;margin-top:%?20?%;font-size:%?28?%;color:#282828}.order-submission .wrapper .item .list .payItem.on[data-v-cf1d5caa]{border-color:var(--view-theme);color:var(--view-theme)}.order-submission .wrapper .item .list .payItem .name[data-v-cf1d5caa]{width:50%;text-align:center;border-right:1px solid #eee;justify-content:left;padding-left:%?80?%}.order-submission .wrapper .item .list .payItem .name .iconfont[data-v-cf1d5caa]{width:%?44?%;height:%?44?%;border-radius:50%;text-align:center;line-height:%?44?%;background-color:#fe960f;color:#fff;font-size:%?30?%;margin-right:%?15?%}.order-submission .wrapper .item .list .payItem .name .iconfont.icon-weixin2[data-v-cf1d5caa]{background-color:#41b035}.order-submission .wrapper .item .list .payItem .name .iconfont.icon-icon34[data-v-cf1d5caa]{background-color:#4295d5}.order-submission .wrapper .item .list .payItem .tip[data-v-cf1d5caa]{width:49%;text-align:center;font-size:%?26?%;color:#aaa}.order-submission .moneyList[data-v-cf1d5caa]{margin-top:%?12?%;background-color:#fff;padding:%?30?%}.order-submission .moneyList .item[data-v-cf1d5caa]{font-size:%?28?%;color:#282828}.order-submission .moneyList .item ~ .item[data-v-cf1d5caa]{margin-top:%?20?%}.order-submission .moneyList .item .money[data-v-cf1d5caa]{color:#868686;display:flex;align-items:center}.order-submission .footer[data-v-cf1d5caa]{width:100%;height:%?100?%;height:calc(100rpx+ constant(safe-area-inset-bottom));height:calc(%?100?% + env(safe-area-inset-bottom));background-color:#fff;padding:0 %?30?%;font-size:%?28?%;color:#333;box-sizing:border-box;position:fixed;bottom:0;left:0;z-index:30}.order-submission .footer .footer_count[data-v-cf1d5caa]{font-size:%?28?%}.order-submission .footer .coupon_price[data-v-cf1d5caa]{color:#999;font-size:%?20?%;margin-top:%?10?%}.order-submission .footer .coupon_price uni-text[data-v-cf1d5caa]{color:#282828;padding:%?2?% %?10?%;background:#f5f5f5;border-radius:%?26?%;margin-left:%?20?%;line-height:%?30?%;height:%?30?%;display:inline-block}.pColor[data-v-cf1d5caa]{color:var(--view-priceColor)}.order-submission .footer .settlement[data-v-cf1d5caa]{font-size:%?30?%;color:#fff;width:%?240?%;height:%?70?%;background-color:var(--view-theme);border-radius:%?50?%;text-align:center;line-height:%?70?%}.order-submission .footer .settlement.disabled[data-v-cf1d5caa]{background-color:#ccc}.footer .transparent[data-v-cf1d5caa]{opacity:0}.event_bg[data-v-cf1d5caa]{background:#ff7f00}.event_color[data-v-cf1d5caa]{color:#ff7f00}.color_red[data-v-cf1d5caa]{color:var(--view-theme)}.storeinfo-wrapper .store-item[data-v-cf1d5caa]{margin-top:%?12?%;background-color:#fff}.storeinfo-wrapper .store-item .store-title[data-v-cf1d5caa]{display:flex;align-items:center;padding:%?28?% %?30?%}.storeinfo-wrapper .store-item .store-title .icon-shangjiadingdan[data-v-cf1d5caa]{font-size:%?32?%}.storeinfo-wrapper .store-item .store-title .icon-xiangyou[data-v-cf1d5caa]{font-size:%?26?%;color:#999}.storeinfo-wrapper .store-item .store-title .txt[data-v-cf1d5caa]{margin:0 %?8?%}.storeinfo-wrapper .store-item .product-item[data-v-cf1d5caa]{display:flex;padding:%?25?% %?30?%;border-top:1px solid #f0f0f0}.storeinfo-wrapper .store-item .product-item .img-box[data-v-cf1d5caa]{width:%?130?%;height:%?130?%}.storeinfo-wrapper .store-item .product-item .img-box uni-image[data-v-cf1d5caa]{width:%?130?%;height:%?130?%;border-radius:%?16?%}.storeinfo-wrapper .store-item .product-item .content[data-v-cf1d5caa]{position:relative;width:%?550?%;margin-left:%?30?%;font-size:%?28?%;color:#282828;overflow:hidden}.storeinfo-wrapper .store-item .product-item .content.event_content .line1[data-v-cf1d5caa]{width:%?360?%}.storeinfo-wrapper .store-item .product-item .content.event_content .price[data-v-cf1d5caa]{position:absolute;top:0;right:0;margin-top:0}.storeinfo-wrapper .store-item .product-item .content.event_content .price uni-text[data-v-cf1d5caa]{display:block;text-align:right}.storeinfo-wrapper .store-item .product-item .content .event_name[data-v-cf1d5caa]{display:inline-block;margin-right:%?9?%;color:#fff;font-size:%?20?%;padding:0 %?8?%;line-height:%?30?%;text-align:center;border-radius:%?6?%}.storeinfo-wrapper .store-item .product-item .content .event_ship[data-v-cf1d5caa]{font-size:%?20?%;margin-top:%?10?%}.storeinfo-wrapper .store-item .product-item .content .label[data-v-cf1d5caa]{margin-top:%?10?%;color:#868686;font-size:%?20?%}.storeinfo-wrapper .store-item .product-item .content .price[data-v-cf1d5caa]{margin-top:%?20?%;color:var(--view-priceColor);position:relative}.storeinfo-wrapper .store-item .product-item .content .price uni-text[data-v-cf1d5caa]{margin-left:%?10?%;color:#999}.storeinfo-wrapper .store-item .product-item .content .price .delivery_type[data-v-cf1d5caa]{float:right}.storeinfo-wrapper .store-item .product-item .content .price .delivery_type uni-text[data-v-cf1d5caa]{color:var(--view-priceColor);font-size:%?20?%}.storeinfo-wrapper .store-item .product-item .content .err-txt[data-v-cf1d5caa]{display:flex;align-items:center;margin-top:%?18?%;color:#e93323}.storeinfo-wrapper .store-item .product-item .content .err-txt .iconfont[data-v-cf1d5caa]{margin-right:%?10?%}.storeinfo-wrapper .event_payTime[data-v-cf1d5caa]{padding:0 %?30?% %?24?%}.storeinfo-wrapper .event_payTime .event_progress[data-v-cf1d5caa]{margin-top:%?50?%;position:relative}.storeinfo-wrapper .event_payTime .progress_step[data-v-cf1d5caa]{height:%?80?%;position:relative;padding-left:%?60?%}.storeinfo-wrapper .event_payTime .progress_step[data-v-cf1d5caa]::before{content:"";display:block;width:%?2?%;height:%?40?%;background:var(--view-theme);position:absolute;left:%?35?%;top:%?18?%}.storeinfo-wrapper .event_payTime .progress_step[data-v-cf1d5caa]:nth-child(2)::before{bottom:%?64?%;top:auto;background:#efefef}.storeinfo-wrapper .event_payTime .progress_step[data-v-cf1d5caa]:nth-child(2)::after{background:#efefef}.storeinfo-wrapper .event_payTime .progress_step[data-v-cf1d5caa]::after{content:"";display:block;width:%?14?%;height:%?14?%;background:var(--view-theme);border-radius:50%;position:absolute;top:%?10?%;left:%?29?%}.storeinfo-wrapper .event_payTime .progress_step .name[data-v-cf1d5caa]{float:left;color:#282828}.storeinfo-wrapper .event_payTime .progress_step .name.color_red[data-v-cf1d5caa]{color:var(--view-theme)}.storeinfo-wrapper .event_payTime .progress_step .price[data-v-cf1d5caa]{float:right;color:#282828}.storeinfo-wrapper .event_payTime .progress_step .price.color_red[data-v-cf1d5caa]{color:var(--view-priceColor)}.storeinfo-wrapper .event_payTime .progress_pay[data-v-cf1d5caa]{padding-left:%?60?%;font-size:%?24?%;color:#868686;margin-top:%?-34?%}.integral_checked[data-v-cf1d5caa]{margin-left:%?10?%;display:inline}.integral_checked .iconfont[data-v-cf1d5caa]{font-size:%?38?%}.integral_checked .icon-weixuanzhong[data-v-cf1d5caa]{color:#bfbfbf}.integral_checked .icon-xuanzhong1[data-v-cf1d5caa]{color:var(--view-theme)}uni-checkbox-group[data-v-cf1d5caa],\n.checkgroup[data-v-cf1d5caa]{width:100%}uni-checkbox-group .checkbox[data-v-cf1d5caa],\n.checkgroup .checkbox[data-v-cf1d5caa]{float:right}.icon-wenhao1[data-v-cf1d5caa]{color:#868686;margin-right:%?6?%}.total[data-v-cf1d5caa]{display:flex;justify-content:flex-end;padding-right:%?30?%;padding-bottom:%?30?%;font-size:%?26?%;color:#282828}.total .price[data-v-cf1d5caa]{margin-left:%?10?%;color:var(--view-priceColor);font-size:%?28?%;font-weight:700}.total .price uni-text[data-v-cf1d5caa]{font-size:%?20?%}.store-address[data-v-cf1d5caa]{padding:%?30?% %?23?%;margin:0 %?30?%;background:#f6f6f6;border-radius:%?8?%;font-size:%?24?%;display:-webkit-box;display:-moz-box;display:-ms-flexbox;display:-webkit-flex;display:flex;\n /*垂直居中*/-webkit-box-align:center;\n /*旧版本*/-moz-box-align:center;\n /*旧版本*/-ms-flex-align:center;\n /*混合版本*/-webkit-align-items:center;\n /*新版本*/align-items:center\n /*新版本*/}.store-address .name[data-v-cf1d5caa]{width:%?148?%;margin-right:%?20?%}.store-address .info[data-v-cf1d5caa]{flex:1}.store-address .map[data-v-cf1d5caa]{text-align:center;padding-left:%?40?%;position:relative}.store-address .map[data-v-cf1d5caa]::before{content:"";display:inline-block;width:%?2?%;height:%?42?%;background-color:#ddd;position:absolute;left:0;top:%?18?%}.store-address .map .iconfont[data-v-cf1d5caa]{color:var(--view-theme)}.store-address .map .map_text[data-v-cf1d5caa]{color:var(--view-theme)}.settlementAgreement[data-v-cf1d5caa]{width:100%;height:100%;position:fixed;top:0;left:0;background:rgba(0,0,0,.5);z-index:40}.settlementAgreement .setAgCount[data-v-cf1d5caa]{background:#fff;width:%?656?%;height:458px;position:absolute;top:50%;left:50%;border-radius:%?12?%;-webkit-border-radius:%?12?%;padding:%?52?%;-webkit-transform:translate(-50%,-50%);-moz-transform:translate(-50%,-50%);transform:translate(-50%,-50%);overflow:hidden}.settlementAgreement .setAgCount .content[data-v-cf1d5caa]{height:%?900?%;overflow-y:scroll}.settlementAgreement .setAgCount .content[data-v-cf1d5caa] p{font-size:13px;line-height:22px}.settlementAgreement .setAgCount .content[data-v-cf1d5caa] img{max-width:100%}.settlementAgreement .setAgCount .icon[data-v-cf1d5caa]{font-size:%?42?%;color:#b4b1b4;position:absolute;top:%?15?%;right:%?15?%}.settlementAgreement .setAgCount .title[data-v-cf1d5caa]{color:#333;font-size:%?32?%;text-align:center;font-weight:700}.settlementAgreement .setAgCount .content[data-v-cf1d5caa]{margin-top:%?32?%;color:#333;font-size:%?26?%;line-height:22px;text-align:justify;text-justify:distribute-all-lines;height:%?756?%;overflow-y:scroll}',""]),t.exports=e},c620:function(t,e,i){"use strict";var a=i("e9bb"),n=i.n(a);n.a},ca54: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",{style:t.viewColor},[i("v-uni-view",{staticClass:"mask-box"},[t.isShowBox?i("v-uni-view",{staticClass:"bg"}):t._e(),i("v-uni-view",{staticClass:"mask-content animated",class:{slideInUp:t.isShowBox}},[i("v-uni-view",{staticClass:"title-bar"},[t._v("配送方式"),i("v-uni-view",{staticClass:"close",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeShowBox.apply(void 0,arguments)}}},[i("v-uni-text",{staticClass:"iconfont icon-guanbi"})],1)],1),i("v-uni-view",{staticClass:"box"},t._l(t.radioList,(function(e,a){return i("v-uni-view",{key:a,staticClass:"check-item",class:{on:a==t.radioIndex}},[i("v-uni-view",[t._v(t._s(e.title))]),i("v-uni-view",{staticClass:"radio",on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.bindCheck(e,a)}}},[a==t.newData.order.isTake?[i("v-uni-view",{staticClass:"iconfont icon-xuanzhong1"})]:[i("v-uni-view",{staticClass:"iconfont icon-weixuanzhong"})]],2)],1)})),1),i("v-uni-view",{staticClass:"foot"},[i("v-uni-view",{staticClass:"btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirmBtn.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1)],1)},n=[]},d2cf:function(t,e,i){var a=i("9194");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("28c7e860",a,!0,{sourceMap:!1,shadowMode:!1})},d33a:function(t,e,i){"use strict";i.r(e);var a=i("4ceb"),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},dc04:function(t,e){function i(t){for(var e={},i=t.split(","),a=i.length;a--;)e[i[a]]=!0;return e}t.exports={filter:null,highlight:null,onText:null,blankChar:i(" , ,\t,\r,\n,\f"),blockTags:i("address,article,aside,body,caption,center,cite,footer,header,html,nav,section,pre"),ignoreTags:i("area,base,basefont,canvas,command,frame,input,isindex,keygen,link,map,meta,param,script,source,style,svg,textarea,title,track,use,wbr,embed,iframe"),richOnlyTags:i("a,colgroup,fieldset,legend,picture,table"),selfClosingTags:i("area,base,basefont,br,col,circle,ellipse,embed,frame,hr,img,input,isindex,keygen,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustAttrs:i("align,alt,app-id,author,autoplay,border,cellpadding,cellspacing,class,color,colspan,controls,data-src,dir,face,height,href,id,ignore,loop,media,muted,name,path,poster,rowspan,size,span,src,start,style,type,unit-id,width,xmlns"),boolAttrs:i("autoplay,controls,ignore,loop,muted"),trustTags:i("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),userAgentStyles:{address:"font-style:italic",big:"display:inline;font-size:1.2em",blockquote:"background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",img:"max-width:100%",mark:"background-color:yellow",picture:"max-width:100%",pre:"font-family:monospace;white-space:pre;overflow:scroll",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}}},e2e3:function(t,e,i){"use strict";var a=i("d2cf"),n=i.n(a);n.a},e9bb:function(t,e,i){var a=i("ede2");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("7d58838d",a,!0,{sourceMap:!1,shadowMode:!1})},ea05:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,"@-webkit-keyframes show-data-v-487f6906{0%{opacity:0}100%{opacity:1}}@keyframes show-data-v-487f6906{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},ec38:function(t,e,i){"use strict";i.r(e);var a=i("4e70"),n=i("44eb");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("e2e3");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"35d6c51e",null,!1,a["a"],void 0);e["default"]=r.exports},ede2:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.animated[data-v-459531c5]{-webkit-animation-duration:.3s;animation-duration:.3s}.title[data-v-459531c5]{display:flex}.title .item[data-v-459531c5]{position:relative;flex:1;font-size:%?28?%;color:#999}.title .item[data-v-459531c5]::after{content:" ";position:absolute;left:50%;bottom:%?18?%;width:%?50?%;height:%?5?%;background:transparent;border-radius:3px;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.title .item.on[data-v-459531c5]{color:#282828}.title .item.on[data-v-459531c5]::after{background:var(--view-theme)}.coupon-list[data-v-459531c5]{padding:%?30?%}.coupon-list .item[data-v-459531c5]{box-shadow:0 2px 10px 0 rgba(0,0,0,.06)}.coupon-list .item.disabled[data-v-459531c5]{pointer-events:none;opacity:.6}.coupon-list .item.disabled .iconfont[data-v-459531c5]{background-color:#eee;border-radius:100%}.coupon-list-window[data-v-459531c5]{position:fixed;bottom:0;left:0;width:100%;background-color:#fff;border-radius:%?16?% %?16?% 0 0;z-index:555;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9)}.coupon-list-window.on[data-v-459531c5]{-webkit-animation:aminup;animation:aminup}.coupon-list-window .title[data-v-459531c5]{height:%?106?%;width:100%;text-align:center;line-height:%?106?%;font-size:%?32?%;font-weight:700;position:relative}.coupon-list-window .title .iconfont[data-v-459531c5]{position:absolute;right:%?30?%;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%);font-size:%?35?%;color:#8a8a8a;font-weight:400}.coupon-list-window .coupon-list[data-v-459531c5]{margin:0 0 %?0?% 0;height:%?550?%;overflow:auto}.coupon-list-window .pictrue[data-v-459531c5]{width:%?414?%;height:%?336?%;margin:0 auto %?50?% auto}.coupon-list-window .pictrue uni-image[data-v-459531c5]{width:100%;height:100%}.pic-num[data-v-459531c5]{color:#fff;font-size:%?24?%}.line-title[data-v-459531c5]{width:%?90?%;padding:0 %?10?%;box-sizing:border-box;background:#fff7f7;border:1px solid var(--view-theme);opacity:1;border-radius:%?20?%;font-size:%?20?%;color:var(--view-theme);margin-right:%?12?%}.line-title.gray[data-v-459531c5]{border-color:#bbb;color:#bbb;background-color:#f5f5f5}.foot-box[data-v-459531c5]{display:flex;align-items:center;justify-content:space-between;height:%?100?%;padding:0 %?30?%;border-top:1px solid #f5f5f5}.foot-box .btn[data-v-459531c5]{width:%?240?%;height:%?70?%;line-height:%?70?%;text-align:center;background:var(--view-theme);border-radius:%?35?%;color:#fff;font-size:%?30?%}.foot-box .left uni-text[data-v-459531c5]{color:var(--view-priceColor)}.coupon-list .item .text .data .iconfont[data-v-459531c5]{font-size:%?36?%}.coupon-list .item .text .data .iconfont.icon-weixuanzhong[data-v-459531c5]{color:#bfbfbf}.coupon-list .item .text .data .iconfont.icon-xuanzhong1[data-v-459531c5]{color:var(--view-theme)}',""]),t.exports=e},ee22:function(t,e,i){"use strict";i.r(e);var a=i("0b2c"),n=i("1670");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("c620");var s=i("828b"),r=Object(s["a"])(n["default"],a["b"],a["c"],!1,null,"459531c5",null,!1,a["a"],void 0);e["default"]=r.exports},fbd8:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("39d8")),o=a(i("9b1b"));i("5c47"),i("a1c1"),i("aa9c"),i("dd2b"),i("bf0f"),i("2797"),i("64aa"),i("fd3c"),i("e838"),i("5ef2"),i("4100"),i("dc8a"),i("e966"),i("c223"),i("0506"),i("0c26");var s,r=i("5676"),c=i("672a"),d=(i("3a60"),i("d727")),u=a(i("ee22")),l=a(i("ec38")),v=a(i("0f78")),f=a(i("1dda")),p=a(i("1f78")),h=a(i("85e3")),m=a(i("832c")),_=i("8f59"),g=i("e44d"),w=i("96e0"),b=i("aa10"),x=a(i("ea2b")),y=a(i("f1d3")),C=a(i("4963")),k=(getApp(),{}),I={components:{couponListWindow:u.default,addressWindow:l.default,orderGoods:v.default,checkDelivery:f.default,addInvoicing:h.default,discountDetails:p.default,"jyf-parser":m.default,areaWindow:y.default,timeranges:C.default},filters:{filterDay:function(t){if(t){var e=t.replace(/(\d{4})\-(\d{2})\-(\d{2})/,"$2月$3日");return e}}},data:function(){return{msgObj:{},textareaStatus:!0,deliveryName:"快递配送",cartArr:[{name:"微信支付",icon:"icon-weixin2",value:"weixin",title:"微信快捷支付",payStatus:1},{name:"支付宝支付",icon:"icon-icon34",value:"alipay",title:"支付宝支付",payStatus:this.$store.getters.globalData.alipay_open},{name:"余额支付",icon:"icon-icon-test",value:"balance",title:"可用余额:",payStatus:this.$store.getters.globalData.yue_pay_status},{name:"线下支付",icon:"icon-yinhangqia",value:"offline",title:"线下支付",payStatus:2}],tagStyle:{img:"width:100%;display:block;",video:"width:100%;"},radioList:[{title:this.deliveryName,check:!0},{title:"到店核销",check:!1}],payType:"weixin",openType:1,active:0,coupon:{status:!1,list:[],statusTile:"立即使用"},address:{address:!1},addressInfo:{},invoice:{invoice:!1,mer_id:0,add:!0},invoiceData:{},addressId:0,couponId:0,cartId:"",BargainId:0,combinationId:0,userInfo:{},post:{},mark:"",couponTitle:"请选择",coupon_price:0,useIntegral:!1,integral_price:0,integral:0,status:0,is_address:!1,toPay:!1,shippingType:0,storePostage:0,cartInfo:[],priceGroup:{},animated:!1,totalPrice:0,use_integral:!1,pagesUrl:"",orderKey:"",offlinePostage:"",from:"",orderStatus:"",couponIndex:0,subCoupon:{},proPrice:0,isShowBox:!1,activeObj:{},activeIndex:"",invoiceName:"不开发票",isAgree:!1,showProtocol:!1,isCoupon:!1,protocol:"",order_type:0,addInvoice:{},couponData:{},go_map:!1,orderPay:!1,take:[],open_integral:0,coupon_number:0,store_coupon_number:0,coupon_amount:0,store_coupon_amount:0,plant_coupon_amount:0,integral_count:"",agrementTtile:"发票说明",pics:[],order_model:2,allow_address:!0,order_extend:[],order_form:[],extend:{},virtualIndex:0,platformCoupon:[],total_platform_coupon_price:0,enabledPlatformCoupon:!1,plantCoupon:!1,isShowDiscount:!1,order_key:"",is_take:"",domain:b.HTTP_REQUEST_URL,timerangesIndex:0,newImg:[],display:!1,cityShow:2,addressInfoArea:[],timeranges:[],isShow:!1}},computed:(0,o.default)((0,o.default)({},(0,_.mapGetters)(["isLogin","viewColor"])),(0,w.configMap)(["hide_mer_status","alipay_open","yue_pay_status"])),watch:{alipay_open:function(t){this.payMode[1].payStatus=t},yue_pay_status:function(t){this.payMode[2].payStatus=t}},onReady:function(){},mounted:function(){},onLoad:function(t){if(this.from=this.$wechat.isWeixin()?"weixin":"h5",!t.cartId)return this.$util.Tips({title:"请选择要购买的商品"},{tab:3,url:1});this.couponId=t.couponId||0,this.addressId=t.addressId||0,this.cartId=t.cartId,this.is_address=!!t.is_address,this.news=t.new?1:0,this.invoice_id=t.invoice_id||"",1==t.invoice_type?this.invoiceName="增值税电子普通发票":2==t.invoice_type&&(this.invoiceName="增值税专用发票"),this.isLogin||(0,g.toLogin)(),"weixin"==this.payType&&(this.payType=this.from);this.textareaStatus=!0,this.isLogin&&0==this.toPay&&!this.orderPay&&(this.getaddressInfo(),this.$nextTick((function(){this.$refs.addressWindow.getAddressList(),this.getUserInfo()}))),uni.setStorage({key:"invoice_Data",data:{},success:function(){}})},onShow:function(){this.invoice.invoice=!1},methods:(s={getPresellAgree:function(){var t=this;this.showProtocol=!0,this.agrementTtile="预售协议",(0,d.presellAgreement)().then((function(e){t.protocol=e.data.sys_product_presell_agree}))},changeIsAgree:function(t){this.isAgree=!this.isAgree},changeIntegral:function(t){this.use_integral=!this.use_integral,this.getConfirm(this.addressId)},showPresellAgree:function(){this.getPresellAgree()},showInvoice:function(){this.getAgreement()},showCoupon:function(){this.getCouponAgreement()},openDiscount:function(t,e){this.isShowDiscount=!this.isShowDiscount},closeDiscount:function(){this.isShowDiscount=!1},getPhotoClickIdx:function(t){var e=t.currentTarget.dataset.index;this.imgPreview(this.pics,e)},imgPreview:function(t,e){t&&t.length>0&&uni.previewImage({current:t[e],urls:t})},uploadpic:function(t){var e=this;e.$util.uploadImageOne("upload/image",(function(i){var a=t.value||[];a.push(i.data.path),e.$set(t,"value",a)}))},DelPic:function(t,e){this.pics[e];t.value.splice(e,1)},getUserInfo:function(){var t=this;(0,c.getUserInfo)().then((function(e){t.userInfo=e.data}))},getAgreement:function(){var t=this;t.showProtocol=!0,t.agrementTtile="发票说明",(0,c.getAgreementApi)("sys_receipt_agree").then((function(e){t.protocol=e.data.sys_receipt_agree}))},getCouponAgreement:function(){var t=this;t.showProtocol=!0,t.agrementTtile="优惠券说明",(0,c.getAgreementApi)("sys_coupon_agree").then((function(e){t.protocol=e.data.sys_coupon_agree}))},radioChange:function(t,e,i){this.order_form[e].value=i.wordsConfig.list[t.detail.value].val},clickTextArea:function(){this.$refs.textarea.focus()},bindDateChange:function(t,e){this.order_form[e].value=t.target.value,this.$forceUpdate()},bindTimeChange:function(t,e){this.order_form[e].value=t.target.value},bindSelectChange:function(t,e,i){this.$set(this.order_form[e],"value",i.wordsConfig.list[t.detail.value].val)},getTimeranges:function(t){this.isShow=!0,this.timerangesIndex=t},confrim:function(t){this.isShow=!1,this.order_form[this.timerangesIndex].value=t.time;var e=[];t.val.forEach((function(t){e.push(Number(t))})),this.timeranges=e},cancels:function(){this.isShow=!1},checkboxChange:function(t,e,i){var a=t.detail.value,n="";i.wordsConfig.list.forEach((function(t,e){a.forEach((function(i){e==i&&(n=n+(n?",":"")+t.val)}))})),this.order_form[e].value=n},OnAreaAddress:function(t){var e;e=t.map((function(t){return t.name})).join("/"),this.order_form[this.timerangesIndex].value=e,k[this.timerangesIndex]=t},changeRegion:function(t){this.order_form[t].value||(this.addressInfoArea=[]),this.timerangesIndex=t,this.cityShow=Number(this.order_form[t].valConfig.tabVal)+1,this.display=!0,k[t]&&(this.addressInfoArea=k[t])},changeAddressClose:function(){this.display=!1}},(0,n.default)(s,"uploadpic",(function(t){var e=this;this.$util.uploadImageOne("upload/image",(function(i){e.newImg.push(i.data.path),e.$set(e.order_form[t],"value",e.newImg)}))})),(0,n.default)(s,"DelPic",(function(t,e){this.order_form[t].value;this.order_form[t].value.splice(e,1),this.$set(this.order_form[t],"value",this.order_form[t].value)})),(0,n.default)(s,"changeClose",(function(){this.$set(this.address,"address",!1)})),(0,n.default)(s,"changeInvoiceClose",(function(t){this.getInvoiceData(t),this.$set(this.invoice,"invoice",!1)})),(0,n.default)(s,"getInvoiceData",(function(t){var e=this;this.invoiceData={},t?this.cartInfo.forEach((function(i,a){i.mer_id==t.mer_id&&(e.cartInfo[a]["invoiceData"]?e.cartInfo[a]["invoiceData"]=t:e.$set(e.cartInfo[a],"invoiceData",t));var n=t.mer_id;e.invoiceData[n]=t})):this.cartInfo.forEach((function(t,i){e.$set(e.cartInfo[i],"invoiceData",{})}))})),(0,n.default)(s,"getInvoiceDatas",(function(t){var e=this;this.invoiceData={},t.length?this.cartInfo.forEach((function(i,a){t.forEach((function(t,n){i.mer_id==t.mer_id&&(e.cartInfo[a]["invoiceData"]?e.cartInfo[a]["invoiceData"]=t:e.$set(e.cartInfo[a],"invoiceData",t));var o=t.mer_id;e.invoiceData[o]=t}))})):this.cartInfo.forEach((function(t,i){e.$set(e.cartInfo[i],"invoiceData",{})}))})),(0,n.default)(s,"goStore",(function(t){1!=this.hide_mer_status&&uni.navigateTo({url:"/pages/store/home/index?id=".concat(t)})})),(0,n.default)(s,"ChangCouponsClose",(function(){this.$set(this.coupon,"status",!1)})),(0,n.default)(s,"changeTextareaStatus",(function(){for(var t=0,e=this.coupon.list.length;t<e;t++)this.coupon.list[t].use_title="",this.coupon.list[t].is_use=0;this.textareaStatus=!0,this.status=0,this.$set(this.coupon,"list",this.coupon.list)})),(0,n.default)(s,"OnChangeAddress",(function(t){this.textareaStatus=!0,this.addressId=t,this.address.address=!1,this.getaddressInfo()})),(0,n.default)(s,"bindHideKeyboard",(function(t){this.mark=t.detail.value})),(0,n.default)(s,"getCoupon",(function(t){var e=this;t.checked?this.subCoupon[t.mer_id].forEach((function(i,a){t.coupon_user_id==i&&e.subCoupon[t.mer_id].splice(a,1)})):this.subCoupon[t.mer_id].push(t.coupon_user_id),this.getConfirm(this.addressId)})),(0,n.default)(s,"getConfirm",(function(t){var e=this,i=this;uni.showLoading({title:"",mask:!0}),(0,r.getOrderConfirm)({cart_id:i.cartId.split(","),address_id:t,takes:i.take,use_coupon:i.subCoupon,use_integral:i.use_integral}).then((function(t){if(i.is_take=!1,t.data.order.forEach((function(t){1==t.order.isTake&&(i.is_take=!0),t.isTake=0,i.subCoupon[t.mer_id]=[],t.coupon.forEach((function(e){e.checked&&i.subCoupon[t.mer_id].push(e.coupon_user_id)}))})),i.subCoupon["0"]=[],t.data.platformCoupon.length>0&&t.data.platformCoupon.forEach((function(t){t.checked&&(i.subCoupon[t.mer_id]=[],i.subCoupon[t.mer_id].push(t.coupon_user_id))})),i.$set(i.coupon,"coupon",i.plantCoupon?t.data.platformCoupon:t.data.order[i.couponIndex].coupon),i.$set(i,"store_coupon_number",t.data.order[i.couponIndex].order.useCouponIds.length),i.$set(i,"coupon_number",i.plantCoupon?i.subCoupon["0"].length:i.store_coupon_number),i.$set(i,"store_coupon_amount",parseFloat(t.data.order[i.couponIndex].order.coupon_price)),i.$set(i,"plant_coupon_amount",parseFloat(t.data.total_platform_coupon_price)),i.$set(i,"coupon_amount",i.plantCoupon?i.plant_coupon_amount:i.store_coupon_amount),i.$set(i,"couponData",t.data),i.$set(i,"cartInfo",t.data.order),i.$set(i,"total_platform_coupon_price",t.data.total_platform_coupon_price),i.$set(i,"enabledPlatformCoupon",t.data.enabledPlatformCoupon),i.$set(i,"platformCoupon",t.data.platformCoupon),i.$set(i,"order_type",t.data.order_type),i.$set(i,"coupon_price",t.data.order_coupon_price),i.$set(i,"integral_count",t.data.order_total_integral),i.$set(i,"integral_price",t.data.order_total_integral_price),i.$set(i,"open_integral",t.data.openIntegral),i.$set(i,"use_integral",t.data.useIntegral),i.$set(i,"order_extend",i.order_extend&&i.order_extend.length>0?i.order_extend:t.data.order_extend),t.data.mer_form_id&&!i.order_form.length&&t.data.mer_form_info&&t.data.mer_form_info.value){var e=i.objToArr(t.data.mer_form_info.value);e.forEach((function(t,e,a){if(i.$set(t,"value",""),k[e]="","texts"==t.name)t.defaultValConfig.value?t.value=t.defaultValConfig.value:t.value="";else if("radios"==t.name)t.value=t.wordsConfig.list[0].val;else if("uploadPicture"==t.name)t.value=[];else if("dateranges"==t.name)if(0==t.valConfig.tabVal)if(0==t.valConfig.tabData){var n=(0,x.default)(new Date(Number((new Date).getTime()))).format("YYYY-MM-DD");t.value=[n,n]}else{var o=(0,x.default)(new Date(Number(new Date(t.valConfig.specifyDate[0]).getTime()))).format("YYYY-MM-DD"),s=(0,x.default)(new Date(Number(new Date(t.valConfig.specifyDate[1]).getTime()))).format("YYYY-MM-DD");t.value=[o,s]}else t.value=[];else if(-1!=["times","dates","timeranges"].indexOf(t.name))if(0==t.valConfig.tabVal)if(0==t.valConfig.tabData)if("times"==t.name)t.value=(0,x.default)(new Date(Number((new Date).getTime()))).format("HH:mm");else if("dates"==t.name)t.value=(0,x.default)(new Date(Number((new Date).getTime()))).format("YYYY-MM-DD");else{var r=(0,x.default)(new Date(Number((new Date).getTime()))).format("HH:mm");t.value=r+" - "+r}else"times"==t.name||"dates"==t.name?t.value=t.valConfig.specifyDate:t.value=t.valConfig.specifyDate[0]+" - "+t.valConfig.specifyDate[1];else t.value="";else t.value=""})),e.sort((function(t,e){return t.timestamp-e.timestamp})),i.$set(i,"order_form",i.order_form&&i.order_form.length>0?i.order_form:e)}i.totalPrice=t.data.order_price,i.orderStatus=t.data.status,i.proPrice=t.data.total_price,i.order_type=t.data.order_type,i.order_model=t.data.order_model,i.allow_address=t.data.allow_address,i.deliveryName=0==t.data.order_model?"快递配送":"虚拟发货",i.order_key=t.data.key,uni.getStorage({key:"invoice_Data",success:function(t){i.addInvoice=t.data,t.data&&i.getInvoiceDatas(t.data)}}),uni.hideLoading()})).catch((function(t){return e.$util.Tips({title:t},{tab:3,url:1})}))})),(0,n.default)(s,"objToArr",(function(t){var e=Object.keys(t),i=e.map((function(e){return t[e]}));return i})),(0,n.default)(s,"getaddressInfo",(function(){var t=this,e=this;e.addressId?(0,c.getAddressDetail)(e.addressId).then((function(i){i.data.is_default=parseInt(i.data.is_default),e.addressInfo=i.data||{},e.addressId=i.data.address_id||0,e.address.addressId=i.data.address_id||0,e.post={real_name:i.data.real_name,phone:i.data.phone},t.getConfirm(e.addressId)})):(0,c.getAddressList)().then((function(i){e.addressInfo=i.data.list.length>0?i.data.list[0]:{},e.addressId=i.data.list.length>0?i.data.list[0].address_id:0,e.address.addressId=i.data.list.length>0?i.data.list[0].address_id:0,e.post=i.data.list.length>0?{real_name:i.data.list[0].real_name,phone:i.data.list[0].phone}:{real_name:"",phone:""},t.getConfirm(e.addressId)}))})),(0,n.default)(s,"payItem",(function(t){var e=t;this.active=e,this.animated=!0,this.payType=this.cartArr[e].value,"weixin"==this.payType&&(this.payType=this.from)})),(0,n.default)(s,"couponTap",(function(t,e){this.coupon=t,this.$set(this.coupon,"status",!0),this.couponIndex=e,this.plantCoupon=!1,this.$set(this,"coupon_number",this.store_coupon_number),this.$set(this,"coupon_amount",this.store_coupon_amount)})),(0,n.default)(s,"couponTap2",(function(t,e){this.coupon={coupon:t,mer_id:0,status:!0},this.plantCoupon=!0,this.$set(this,"coupon_number",this.subCoupon["0"].length),this.$set(this,"coupon_amount",this.plant_coupon_amount)})),(0,n.default)(s,"car",(function(){this.animated=!1})),(0,n.default)(s,"onAddress",(function(){this.addressInfo.real_name?(this.textareaStatus=!1,this.address.address=!0,this.pagesUrl="/pages/users/user_address/index?cartId="+this.cartId+"&couponId="+this.couponId):uni.navigateTo({url:"/pages/users/user_address/index?cartId=".concat(this.cartId)})})),(0,n.default)(s,"goInvoice",(function(t){this.invoice.invoice=!0,this.invoice.mer_id=t,this.$refs.addInvoicing.getInvoiceDefault(),this.$refs.addInvoicing.getInvoiceList()})),(0,n.default)(s,"payment",(function(t){var e=this,i=this;(0,r.createOrder)(t).then((function(t){var a=t.data.status,n=t.data.result.order_id,o=t.data.result.pay_key,s=t.data.result.config,r="/pages/order_pay_status/index?order_id="+n+"&msg="+t.message;switch(i.orderPay=!0,uni.hideLoading(),a){case"ORDER_EXIST":case"EXTEND_ORDER":case"PAY_ERROR":case"error":return i.$util.Tips({title:t.message},{tab:5,url:r});case"success":return i.$util.Tips({title:t.message,icon:"success"},{tab:5,url:r});case"alipay":case"alipayQr":return void uni.navigateTo({url:"/pages/order_pay_back/index?keyCode="+o+"&url="+s});case"wechat":case"weixin":case"weixinApp":s.timeStamp=s.timestamp,e.$wechat.pay(s).then((function(t){return i.$util.Tips({title:t.message,icon:"success"},{tab:4,url:r})})).catch((function(t){if("chooseWXPay:cancel"==t.errMsg)return i.$util.Tips({title:"取消支付"},{tab:5,url:r+"&status=0"})}));break;case"balance":return i.$util.Tips({title:t.message},{tab:5,url:r+"&status=1"});case"h5":var c=window.location.protocol+"//"+window.location.host,d="".concat(c,"/pages/order_pay_status/index?order_id=").concat(n,"&msg=").concat(t.message),u=encodeURIComponent(d),l=s.mweb_url||s.h5_url,v="".concat(l,"&redirect_url=").concat(u);setTimeout((function(){location.href=v}),100);break;default:var f="/pages/order_pay_status/index?order_id="+n+"&msg=取消支付";return i.$util.Tips({title:"取消支付"},{tab:5,url:f+"&status=0"})}})).catch((function(t){return uni.hideLoading(),i.$util.Tips({title:t})}))})),(0,n.default)(s,"isEmojiCharacter",(function(t){if(t)for(var e=0;e<t.length;e++){var i=t.charCodeAt(e);if(55296<=i&&i<=56319){if(t.length>1){var a=t.charCodeAt(e+1),n=1024*(i-55296)+(a-56320)+65536;if(118784<=n&&n<=128895)return!0}}else if(t.length>1){a=t.charCodeAt(e+1);if(8419==a)return!0}else{if(8448<=i&&i<=10239)return!0;if(11013<=i&&i<=11015)return!0;if(10548<=i&&i<=10549)return!0;if(12951<=i&&i<=12953)return!0;if(169==i||174==i||12349==i||12336==i||11093==i||11036==i||11035==i||11088==i)return!0}}})),(0,n.default)(s,"getTime",(function(t){this.virtualIndex=t})),(0,n.default)(s,"SubOrder",(function(t){var e={};if(!this.payType)return this.$util.Tips({title:"请选择支付方式"});if("noAddress"==this.orderStatus)return this.$util.Tips({title:"请选择收货地址"});if("finish"!=this.orderStatus&&0==this.order_model)return this.$util.Tips({title:"收货地址不在配送区域"});if("noDeliver"==this.orderStatus)return this.$util.Tips({title:"暂不发货"});if(2==this.order_type&&!this.isAgree&&2==this.cartInfo[0].list[0].productPresell.presell_type)return this.$util.Tips({title:"请阅读并勾选协议,否则无法进行操作"});if(this.is_take){if(!this.post.real_name)return this.$util.Tips({title:"请填写收货人姓名"});if(!this.post.phone)return this.$util.Tips({title:"请填写收货人电话"});if(this.post.phone&&!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(this.post.phone))return this.$util.Tips({title:"收货人电话格式不正确"})}for(var i=0;i<this.order_form.length;i++){var a=this.order_form[i];if(-1==["radios"].indexOf(a.name)&&(a.titleShow.val||-1==["uploadPicture","dateranges"].indexOf(a.name)&&a.value&&a.value.trim())){if(("texts"===a.name&&0==a.valConfig.tabVal||-1!=["dates","times","selects","citys","checkboxs"].indexOf(a.name))&&(!a.value||a.value&&!a.value.trim()))return this.$util.Tips({title:"请填写".concat(a.titleConfig.value)});if("timeranges"===a.name&&!a.value)return this.$util.Tips({title:"请选择".concat(a.titleConfig.value)});if("dateranges"===a.name&&!a.value.length)return this.$util.Tips({title:"请选择".concat(a.titleConfig.value)});if("texts"===a.name&&4==a.valConfig.tabVal&&a.value<=0)return this.$util.Tips({title:"请填写大于0的".concat(a.titleConfig.value)});if("texts"===a.name&&3==a.valConfig.tabVal&&!/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/.test(a.value))return this.$util.Tips({title:"请填写正确的".concat(a.titleConfig.value)});if("texts"===a.name&&1==a.valConfig.tabVal&&!/^1(3|4|5|7|8|9|6)\d{9}$/i.test(a.value))return this.$util.Tips({title:"请填写正确的".concat(a.titleConfig.value)});if("texts"===a.name&&2==a.valConfig.tabVal&&!/^[1-9]\d{7}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}$|^[1-9]\d{5}[1-9]\d{3}((0\d)|(1[0-2]))(([0|1|2]\d)|3[0-1])\d{3}([0-9]|X)$/i.test(a.value))return this.$util.Tips({title:"请填写正确的".concat(a.titleConfig.value)});if("uploadPicture"===a.name&&!a.value.length)return this.$util.Tips({title:"请上传".concat(a.titleConfig.value)})}this.extend[a.key]=a.value}if(e={cart_id:this.cartId.split(","),address_id:this.addressId,use_coupon:this.subCoupon,pay_type:this.payType,mark:this.msgObj,order_type:this.order_type,key:this.order_key,takes:this.take,use_integral:this.use_integral,receipt_data:this.invoiceData,extend:this.extend,post:this.post,return_url:"http://"+window.location.host+"/pages/users/order_list/index"},e.mark&&this.isEmojiCharacter(e.mark[Object.keys(e.mark)[0]]))this.$util.Tips({title:"备注不允许输入表情!"});else{if(e.takes=[],this.cartInfo.map((function(t){(1==t.isTake||t.order.isTake)&&e.takes.push(t.mer_id)})),"balance"==e.payType&&parseFloat(this.userInfo.now_money)<parseFloat(this.totalPrice))return this.$util.Tips({title:"余额不足!"});uni.showLoading({title:"订单支付中",mask:!0}),this.payment(e)}})),(0,n.default)(s,"openShowBox",(function(t,e){2==t.delivery_way.length&&2!=this.order_model&&(this.activeObj=t,this.activeIndex=e,this.isShowBox=!0,this.getDeliveryType(t.order))})),(0,n.default)(s,"getDeliveryType",(function(t){t.allow_delivery&&t.allow_take?this.radioList=[{title:this.deliveryName,check:!0},{title:"到店核销",check:!1}]:t.allow_delivery&&!t.allow_take?this.radioList=[{title:this.deliveryName,check:!0}]:!t.allow_delivery&&t.allow_take&&(this.radioList=[{title:"到店核销",check:!1}])})),(0,n.default)(s,"boxClose",(function(){this.isShowBox=!1})),(0,n.default)(s,"getData",(function(t){var e=this;this.cartInfo[this.activeIndex]=t,t.order.isTake?this.take.push(t.mer_id):this.take.forEach((function(i,a){t.mer_id==i&&e.take.splice(a,1)})),this.isShowBox=!1,this.getConfirm(this.addressId)})),(0,n.default)(s,"goMap",(function(t){var e=this,i=Number(t.take.mer_take_location[0]),a=Number(t.take.mer_take_location[1]);!0===e.$wechat.isWeixin()?e.$wechat.seeLocation({latitude:i,longitude:a,name:t.mer_name,address:t.take?t.take.mer_take_address:""}).then((function(t){})):uni.openLocation({latitude:parseFloat(i),longitude:parseFloat(a),scale:8,name:t.mer_name,address:t.take?t.take.mer_take_address:"",success:function(t){e.go_map=!0}})})),s)};e.default=I}}]);