|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-order-submit"],{"16a8":function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-button",{class:"ui-btn ui-btn__"+e.type+" ui-btn__"+e.size+(e.disabed?" ui-btn__disabed":""),on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.click.apply(void 0,arguments)}}},[e._t("default")],2)},r=[]},"227e":function(e,t,i){"use strict";var n=i("4ea4");i("7db0"),i("d81d"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,i("96cf");var o=n(i("1da1")),r=n(i("f196")),a=i("c0d4"),u=n(i("359f")),c={components:{UiCell:r.default,UiButton:u.default},data:function(){return{address:{},userMessage:"",orderInfo:{}}},onLoad:function(){var e=this;this.getBeforeOrder(),uni.$on("changeAddress",(function(t,i){"submitOrder"==i&&(e.address=t)})),this.address=this.$store.state.address.find((function(e){return e.isDefault}))},methods:{getBeforeOrder:function(){var e=this;return(0,o.default)(regeneratorRuntime.mark((function t(){var i,n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:if(i=e.$Route.query,n={},"cart"!==i.mode){t.next=6;break}return t.next=5,(0,a.ApiGetBeforeCartOrder)({cartIds:i.ids});case 5:n=t.sent;case 6:if("buyNow"!==i.mode){t.next=10;break}return t.next=9,(0,a.ApiGetBeforeOrder)({productSkuId:i.skuId,quantity:i.num});case 9:n=t.sent;case 10:if(!n.error){t.next=13;break}return uni.$u.toast(n.error.message),t.abrupt("return",!1);case 13:e.orderInfo=n.result;case 14:case"end":return t.stop()}}),t)})))()},submit:function(){var e=this;return(0,o.default)(regeneratorRuntime.mark((function t(){var i,n,o;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,(0,a.ApiPostSubmitOrder)({orderSource:2,recipientAddressId:e.address.id,products:e.orderInfo.products.map((function(e){return{productId:e.productId,productSkuId:e.productSkuId,quantity:e.quantity}})),userMessage:e.userMessage});case 2:if(i=t.sent,n=i.error,o=i.result,!n){t.next=8;break}return uni.$u.totas(n.message),t.abrupt("return",!1);case 8:e.wxpay(o.orderId);case 9:case"end":return t.stop()}}),t)})))()},wxpay:function(e){var t=this;return(0,o.default)(regeneratorRuntime.mark((function i(){var n,o;return regeneratorRuntime.wrap((function(i){while(1)switch(i.prev=i.next){case 0:return i.next=2,(0,a.ApiPostWxPay)({orderId:e});case 2:n=i.sent,o=n.error,n.result,o?t.$Router.push("/payFail?ordId=".concat(e)):t.$Router.push("/paySuccess?ordId=".concat(e));case 6:case"end":return i.stop()}}),i)})))()}}};t.default=c},2702:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{type:{type:String,default:"line"},size:{type:String,default:"normal"},disabed:{type:Boolean,default:!1}},methods:{click:function(){!this.disabed&&this.$emit("click")}}};t.default=n},"2cf8":function(e,t,i){"use strict";i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return n}));var n={uCell:i("4290").default},o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",[n("u-cell",{staticClass:"address",attrs:{title:e.address.province+e.address.city+e.address.area,label:e.address.name+e.address.phone,border:!1,isLink:!0},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$Router.push("/addressList")}}},[n("v-uni-image",{staticClass:"address--icon",attrs:{slot:"icon",src:i("cc7f")},slot:"icon"})],1),n("v-uni-view",{staticClass:"goods-group"},e._l(e.orderInfo.products,(function(t){return n("v-uni-view",{key:t.productId,staticClass:"goods-group--item"},[n("v-uni-image",{staticClass:"goods-group--item-image",attrs:{mode:"widthFix",src:t.productImageUrl}}),n("v-uni-view",[n("v-uni-view",{staticClass:"goods-group--item-con"},[n("v-uni-text",{staticClass:"goods-group--item-title"},[e._v(e._s(t.productName))]),n("v-uni-text",{staticClass:"goods-group--item-pirce"},[e._v("¥"+e._s(t.productPrice))])],1),n("v-uni-view",{staticClass:"goods-group--item-desc"},[n("v-uni-text",[e._v(e._s(t.skuDescribe))]),n("v-uni-text",{staticClass:"goods-group--item-num"},[e._v("x"+e._s(t.quantity))])],1)],1)],1)})),1),n("v-uni-view",{staticClass:"service"},[n("UiCell",{staticClass:"service--cell",attrs:{title:"配送方式",value:"快递配送",rightIcon:!1}}),n("UiCell",{staticClass:"service--cell service--cell__last",attrs:{title:"买家留言",value:"快递配送",rightIcon:!1}},[n("v-uni-textarea",{staticClass:"service--remark",attrs:{slot:"value","auto-height":!0,maxlength:"50",placeholder:"填写您想要备注的信息,50字以内"},slot:"value",model:{value:e.userMessage,callback:function(t){e.userMessage=t},expression:"userMessage"}})],1)],1),n("v-uni-view",{staticClass:"play"},[n("v-uni-text",{staticClass:"play--title"},[e._v("支付方式")]),n("v-uni-radio-group",[n("u-cell",{attrs:{title:"微信支付",border:!1}},[n("v-uni-image",{staticClass:"play--icon",attrs:{slot:"icon",src:i("35bf")},slot:"icon"}),n("v-uni-radio",{staticClass:"play--radio",attrs:{slot:"right-icon",color:"#FF875B"},slot:"right-icon"})],1),n("u-cell",{attrs:{title:"支付宝支付",border:!1}},[n("v-uni-image",{staticClass:"play--icon",attrs:{slot:"icon",src:i("e07a")},slot:"icon"}),n("v-uni-radio",{staticClass:"play--radio",attrs:{slot:"right-icon",color:"#FF875B"},slot:"right-icon"})],1)],1)],1),n("v-uni-view",{staticClass:"amount"},[n("u-cell",{attrs:{title:"商品总额",value:"¥"+e.orderInfo.totalAmount,border:!1}}),n("u-cell",{attrs:{title:"运费",value:"¥"+e.orderInfo.shippingAmount,border:!1}})],1),n("v-uni-view",{staticClass:"footer"},[n("v-uni-view",{staticClass:"footer--total"},[n("v-uni-text",[e._v("合计:")]),n("v-uni-text",{staticClass:"footer--amount"},[e._v("¥"+e._s(e.orderInfo.payAmount))])],1),n("UiButton",{staticClass:"footer--btn",attrs:{type:"solid"},on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.submit.apply(void 0,arguments)}}},[e._v("去支付")])],1)],1)},r=[]},"359f":function(e,t,i){"use strict";i.r(t);var n=i("16a8"),o=i("a5d5");for(var r in o)"default"!==r&&function(e){i.d(t,e,(function(){return o[e]}))}(r);i("c95f");var a,u=i("f0c5"),c=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,"5577a645",null,!1,n["a"],a);t["default"]=c.exports},"35bf":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACcAAAAkCAMAAAA96dOpAAAAAXNSR0IArs4c6QAAANhQTFRFAAAAAL9AAL9gAL9VAL9gAL9ZAMhZAL9gAMZeAL9bCL9gB8VfB79cBr9gBsRfBr9dBb9gBb9gBL9cBL9gCL9gCMJfBL9eCL9eB8JdB79gB79eBr9cBr9gBsJfBsFeBcFeBb9eB8FeBcFfB8FfB8FeB8FfBsFeBsFfBsFeBsFfB8FfB8FfB79fB8BfBr9fBsBfBsBeBsBfBsBfBsBfB8BeB8BfB8BeB8BfB8BfB8BeB8BfBsBfBsBfBsBfB8BfB8BeB8BfB8BeB8BfBsBfBsBeBsBfB8BeB8BfMAtMUAAAAEd0Uk5TAAQIDBAUFxgbHCAjJCgrLDA4QEBAQ0RER0hMUFBTV19kZ2trb3N3e3+Lj5OXm5+fo6evs7O3u7u/w8PHy8/X29/j5+/z9/v3ah54AAABW0lEQVQYGYXBDUOaQAAG4PdAxbls7cP14VbbbBS4zXRllHUQnLz//x+FHF2IQM+DLfuTf6sopYpWfybv0aB3EbIsdHvY1fPXrFr7HVScJayTfEeZNWOTKwHDvmOzwEbBumObQEC7YqvFHnKnbJHOPkDrxGyU+A4yow6ACzaJ3Q4y/Tl/AyJmvfCHhYxwFRkLHLLWaozcSHLjED619OsjjcVn5Ppzah7uWXCsKXPr2RA54SoWAkQs/AI+hWTiOdBGkkYEvpDIfPxiQ+vPWZKCxhFeCVdxCyK++A9jJLntCQ809qD156xaYUrDx4ZwFXdMMaaR2ACOQtY4gZXQuMT+NeskFuDxlWI9D4Cj+Jaki8yEbzlH7obtltBsyTbSRsGRbCYdGN0lmyy7KBG3rJVeCmx5YJ3FEBWKmZRl6u8BqoYk1bl97AUxN+LAO7aw6xt5M4A2GLxDk59yjFbPitkDt/hyJRgAAAAASUVORK5CYII="},"3c8f":function(e,t,i){"use strict";i.r(t);var n=i("227e"),o=i.n(n);for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=o.a},"3ccf":function(e,t,i){var n=i("5640");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("20e9ce27",n,!0,{sourceMap:!1,shadowMode:!1})},"3f3b":function(e,t,i){"use strict";var n=i("f9ea"),o=i.n(n);o.a},"41ba":function(e,t,i){"use strict";i("ac1f"),i("466d"),Object.defineProperty(t,"__esModule",{value:!0}),t.IsDouble=t.IsInteger=t.IsNumber=t.IsPhone=t.Debounce=t.ToAsyncAwait=void 0;var n=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return t?e.then((function(e){return{error:null,result:e}})).catch((function(e){return{error:e,result:null}})):e};t.ToAsyncAwait=n;var o=function(e,t){var i;return function(){var n=this,o=arguments;i&&clearTimeout(i),i=setTimeout((function(){e.apply(n,o)}),t)}};t.Debounce=o;var r=function(e){return/^(1[3-9]\d{9})$/.test(e)};t.IsPhone=r;var a=function(e){return!(!isDouble(e)&&!isInteger(e))};t.IsNumber=a;var u=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+$/);return null!=t};t.IsInteger=u;var c=function(e){if(null==e||""==e)return!1;var t=e.match(/^[-\+]?\d+(\.\d+)?$/);return null!=t};t.IsDouble=c},5640:function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-btn[data-v-5577a645]{display:inline-block;padding:0 %?50?%;border-radius:%?50?%}.ui-btn__normal[data-v-5577a645]{height:%?70?%;line-height:%?70?%;font-size:%?28?%}.ui-btn__max[data-v-5577a645]{width:%?690?%;height:%?80?%;line-height:%?80?%;font-size:%?32?%}.ui-btn__gradual[data-v-5577a645]{background:linear-gradient(270deg,#ff7f39,#ffa35b);color:#fff}.ui-btn__solid[data-v-5577a645]{background:#ff875b;color:#fff}.ui-btn__line[data-v-5577a645]{background:none;color:#333;border:1px solid #c0b9b9}.ui-btn__primaryLine[data-v-5577a645]{background:none;color:#ff875b;border:1px solid #ff875b}.ui-btn__disabed[data-v-5577a645]{opacity:.8}',""]),e.exports=t},5767:function(e,t,i){"use strict";var n=i("dbce"),o=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0});var r={};t.default=void 0;var a=o(i("5530")),u=n(i("41ba"));Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var c=n(i("d071"));Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(r,e)||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var s=(0,a.default)((0,a.default)({},u),{},{requset:c});t.default=s},"59a3":function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"uiCell",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.$emit("click")}}},[e._t("icon"),n("v-uni-view",{staticClass:"uiCell--left"},[n("v-uni-text",{staticClass:"uiCell--title"},[e._v(e._s(e.title))]),n("v-uni-text",{staticClass:"uiCell--label"},[e._v(e._s(e.label))])],1),e._t("value",[n("v-uni-text",{staticClass:"uiCell--value"},[e._v(e._s(e.value))])]),e.rightIcon?e._t("right-icon",[n("v-uni-image",{staticClass:"uiCell--rightIcon",attrs:{src:i("6eb6")}})]):e._e()],2)},r=[]},"6eb6":function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAUCAMAAACDMFxkAAAAAXNSR0IArs4c6QAAAGZQTFRFAAAAv7+/v7+/ysrKxsbGy8vLzMzM0NDQy8vLz8/PzMzMysrKzMzMy8vLzMzMy8vLy8vLzc3Ny8vLzMzMzMzMy8vLzc3Nzc3NzMzMzMzMzMzMy8vLzMzMzMzMzMzMy8vLzMzMzMzMIxnl6wAAACF0Uk5TAAQMGCQnKCssOzxIS09QU1RXWG+Dj4+nv9PX5+fv8/v73LQA2wAAAF9JREFUCNdlz0kWgCAMA1Cc5xEHQCz0/pd0IdH3tKu/SlKh90iEU7yCseYFTgxLOLU8wfnpOrgmquDGUwGP/shgyebPgW1+q3VU3qqI6lBBvg+yPH/nxOYZqXhD9vvQBZbIBgiaTuluAAAAAElFTkSuQmCC"},"85f7":function(e,t,i){"use strict";var n=i("9a4f"),o=i.n(n);o.a},"8bde":function(e,t,i){"use strict";var n=i("4ea4");i("caad"),i("c975"),i("2532"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(i("9e66")),r=n(i("badf")),a={name:"u-icon",data:function(){return{}},mixins:[uni.$u.mpMixin,uni.$u.mixin,r.default],computed:{uClasses:function(){var e=[];return e.push(this.customPrefix+"-"+this.name),this.color&&uni.$u.config.type.includes(this.color)&&e.push("u-icon__icon--"+this.color),e},iconStyle:function(){var e={};return e={fontSize:uni.$u.addUnit(this.size),lineHeight:uni.$u.addUnit(this.size),fontWeight:this.bold?"bold":"normal",top:uni.$u.addUnit(this.top)},this.color&&!uni.$u.config.type.includes(this.color)&&(e.color=this.color),e},isImg:function(){return-1!==this.name.indexOf("/")},imgStyle:function(){var e={};return e.width=this.width?uni.$u.addUnit(this.width):uni.$u.addUnit(this.size),e.height=this.height?uni.$u.addUnit(this.height):uni.$u.addUnit(this.size),e},icon:function(){return o.default["uicon-"+this.name]||this.name}},methods:{clickHandler:function(e){this.$emit("click",this.index),this.stop&&this.preventEvent(e)}}};t.default=a},"8eac":function(e,t,i){"use strict";i.r(t);var n=i("c04a"),o=i.n(n);for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=o.a},"98f4":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-view[data-v-8aba839c], uni-scroll-view[data-v-8aba839c], uni-swiper-item[data-v-8aba839c]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}@font-face{font-family:uicon-iconfont;src:url(https://at.alicdn.com/t/font_2225171_8kdcwk4po24.ttf) format("truetype")}.u-icon[data-v-8aba839c]{display:flex;align-items:center}.u-icon--left[data-v-8aba839c]{flex-direction:row-reverse;align-items:center}.u-icon--right[data-v-8aba839c]{flex-direction:row;align-items:center}.u-icon--top[data-v-8aba839c]{flex-direction:column-reverse;justify-content:center}.u-icon--bottom[data-v-8aba839c]{flex-direction:column;justify-content:center}.u-icon__icon[data-v-8aba839c]{font-family:uicon-iconfont;position:relative;display:flex;flex-direction:row;align-items:center}.u-icon__icon--primary[data-v-8aba839c]{color:#3c9cff}.u-icon__icon--success[data-v-8aba839c]{color:#5ac725}.u-icon__icon--error[data-v-8aba839c]{color:#f56c6c}.u-icon__icon--warning[data-v-8aba839c]{color:#f9ae3d}.u-icon__icon--info[data-v-8aba839c]{color:#909399}.u-icon__img[data-v-8aba839c]{height:auto;will-change:transform}.u-icon__label[data-v-8aba839c]{line-height:1}',""]),e.exports=t},"9a4f":function(e,t,i){var n=i("98f4");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("417a4602",n,!0,{sourceMap:!1,shadowMode:!1})},"9e66":function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={"uicon-level":"","uicon-column-line":"","uicon-checkbox-mark":"","uicon-folder":"","uicon-movie":"","uicon-star-fill":"","uicon-star":"","uicon-phone-fill":"","uicon-phone":"","uicon-apple-fill":"","uicon-chrome-circle-fill":"","uicon-backspace":"","uicon-attach":"","uicon-cut":"","uicon-empty-car":"","uicon-empty-coupon":"","uicon-empty-address":"","uicon-empty-favor":"","uicon-empty-permission":"","uicon-empty-news":"","uicon-empty-search":"","uicon-github-circle-fill":"","uicon-rmb":"","uicon-person-delete-fill":"","uicon-reload":"","uicon-order":"","uicon-server-man":"","uicon-search":"","uicon-fingerprint":"","uicon-more-dot-fill":"","uicon-scan":"","uicon-share-square":"","uicon-map":"","uicon-map-fill":"","uicon-tags":"","uicon-tags-fill":"","uicon-bookmark-fill":"","uicon-bookmark":"","uicon-eye":"","uicon-eye-fill":"","uicon-mic":"","uicon-mic-off":"","uicon-calendar":"","uicon-calendar-fill":"","uicon-trash":"","uicon-trash-fill":"","uicon-play-left":"","uicon-play-right":"","uicon-minus":"","uicon-plus":"","uicon-info":"","uicon-info-circle":"","uicon-info-circle-fill":"","uicon-question":"","uicon-error":"","uicon-close":"","uicon-checkmark":"","uicon-android-circle-fill":"","uicon-android-fill":"","uicon-ie":"","uicon-IE-circle-fill":"","uicon-google":"","uicon-google-circle-fill":"","uicon-setting-fill":"","uicon-setting":"","uicon-minus-square-fill":"","uicon-plus-square-fill":"","uicon-heart":"","uicon-heart-fill":"","uicon-camera":"","uicon-camera-fill":"","uicon-more-circle":"","uicon-more-circle-fill":"","uicon-chat":"","uicon-chat-fill":"","uicon-bag-fill":"","uicon-bag":"","uicon-error-circle-fill":"","uicon-error-circle":"","uicon-close-circle":"","uicon-close-circle-fill":"","uicon-checkmark-circle":"","uicon-checkmark-circle-fill":"","uicon-question-circle-fill":"","uicon-question-circle":"","uicon-share":"","uicon-share-fill":"","uicon-shopping-cart":"","uicon-shopping-cart-fill":"","uicon-bell":"","uicon-bell-fill":"","uicon-list":"","uicon-list-dot":"","uicon-zhihu":"","uicon-zhihu-circle-fill":"","uicon-zhifubao":"","uicon-zhifubao-circle-fill":"","uicon-weixin-circle-fill":"","uicon-weixin-fill":"","uicon-twitter-circle-fill":"","uicon-twitter":"","uicon-taobao-circle-fill":"","uicon-taobao":"","uicon-weibo-circle-fill":"","uicon-weibo":"","uicon-qq-fill":"","uicon-qq-circle-fill":"","uicon-moments-circel-fill":"","uicon-moments":"","uicon-qzone":"","uicon-qzone-circle-fill":"","uicon-baidu-circle-fill":"","uicon-baidu":"","uicon-facebook-circle-fill":"","uicon-facebook":"","uicon-car":"","uicon-car-fill":"","uicon-warning-fill":"","uicon-warning":"","uicon-clock-fill":"","uicon-clock":"","uicon-edit-pen":"","uicon-edit-pen-fill":"","uicon-email":"","uicon-email-fill":"","uicon-minus-circle":"","uicon-minus-circle-fill":"","uicon-plus-circle":"","uicon-plus-circle-fill":"","uicon-file-text":"","uicon-file-text-fill":"","uicon-pushpin":"","uicon-pushpin-fill":"","uicon-grid":"","uicon-grid-fill":"","uicon-play-circle":"","uicon-play-circle-fill":"","uicon-pause-circle-fill":"","uicon-pause":"","uicon-pause-circle":"","uicon-eye-off":"","uicon-eye-off-outline":"","uicon-gift-fill":"","uicon-gift":"","uicon-rmb-circle-fill":"","uicon-rmb-circle":"","uicon-kefu-ermai":"","uicon-server-fill":"","uicon-coupon-fill":"","uicon-coupon":"","uicon-integral":"","uicon-integral-fill":"","uicon-home-fill":"","uicon-home":"","uicon-hourglass-half-fill":"","uicon-hourglass":"","uicon-account":"","uicon-plus-people-fill":"","uicon-minus-people-fill":"","uicon-account-fill":"","uicon-thumb-down-fill":"","uicon-thumb-down":"","uicon-thumb-up":"","uicon-thumb-up-fill":"","uicon-lock-fill":"","uicon-lock-open":"","uicon-lock-opened-fill":"","uicon-lock":"","uicon-red-packet-fill":"","uicon-photo-fill":"","uicon-photo":"","uicon-volume-off-fill":"","uicon-volume-off":"","uicon-volume-fill":"","uicon-volume":"","uicon-red-packet":"","uicon-download":"","uicon-arrow-up-fill":"","uicon-arrow-down-fill":"","uicon-play-left-fill":"","uicon-play-right-fill":"","uicon-rewind-left-fill":"","uicon-rewind-right-fill":"","uicon-arrow-downward":"","uicon-arrow-leftward":"","uicon-arrow-rightward":"","uicon-arrow-upward":"","uicon-arrow-down":"","uicon-arrow-right":"","uicon-arrow-left":"","uicon-arrow-up":"","uicon-skip-back-left":"","uicon-skip-forward-right":"","uicon-rewind-right":"","uicon-rewind-left":"","uicon-arrow-right-double":"","uicon-arrow-left-double":"","uicon-wifi-off":"","uicon-wifi":"","uicon-empty-data":"","uicon-empty-history":"","uicon-empty-list":"","uicon-empty-page":"","uicon-empty-order":"","uicon-man":"","uicon-woman":"","uicon-man-add":"","uicon-man-add-fill":"","uicon-man-delete":"","uicon-man-delete-fill":"","uicon-zh":"","uicon-en":""};t.default=n},a5d5:function(e,t,i){"use strict";i.r(t);var n=i("2702"),o=i.n(n);for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=o.a},a653:function(e,t,i){"use strict";i.r(t);var n=i("de4c"),o=i("db4d");for(var r in o)"default"!==r&&function(e){i.d(t,e,(function(){return o[e]}))}(r);i("85f7");var a,u=i("f0c5"),c=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,"8aba839c",null,!1,n["a"],a);t["default"]=c.exports},abd3:function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.uiCell[data-v-4ba2f3f6]{min-height:%?100?%;border-bottom:1px solid #eee;display:flex;justify-content:space-between;align-items:center;background:#fff}.uiCell--title[data-v-4ba2f3f6]{color:#333;font-size:%?28?%;display:block}.uiCell--label[data-v-4ba2f3f6]{color:#999;font-size:%?24?%;display:block;margin-top:%?10?%}.uiCell--value[data-v-4ba2f3f6]{flex:1;padding:0 %?10?%;text-align:right;font-size:%?28?%}.uiCell--rightIcon[data-v-4ba2f3f6]{width:%?10?%;height:%?20?%;margin-left:%?18?%}',""]),e.exports=t},b8a3:function(e,t,i){"use strict";i.r(t);var n=i("2cf8"),o=i("3c8f");for(var r in o)"default"!==r&&function(e){i.d(t,e,(function(){return o[e]}))}(r);i("e0a3");var a,u=i("f0c5"),c=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,"0eb0792d",null,!1,n["a"],a);t["default"]=c.exports},badf:function(e,t,i){"use strict";i("a9e3"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{name:{type:String,default:uni.$u.props.icon.name},color:{type:String,default:uni.$u.props.icon.color},size:{type:[String,Number],default:uni.$u.props.icon.size},bold:{type:Boolean,default:uni.$u.props.icon.bold},index:{type:[String,Number],default:uni.$u.props.icon.index},hoverClass:{type:String,default:uni.$u.props.icon.hoverClass},customPrefix:{type:String,default:uni.$u.props.icon.customPrefix},label:{type:[String,Number],default:uni.$u.props.icon.label},labelPos:{type:String,default:uni.$u.props.icon.labelPos},labelSize:{type:[String,Number],default:uni.$u.props.icon.labelSize},labelColor:{type:String,default:uni.$u.props.icon.labelColor},space:{type:[String,Number],default:uni.$u.props.icon.space},imgMode:{type:String,default:uni.$u.props.icon.imgMode},width:{type:[String,Number],default:uni.$u.props.icon.width},height:{type:[String,Number],default:uni.$u.props.icon.height},top:{type:[String,Number],default:uni.$u.props.icon.top},stop:{type:Boolean,default:uni.$u.props.icon.stop}}};t.default=n},c04a:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n={props:{title:{type:String,default:""},label:{type:String,default:""},value:{type:String,default:""},rightIcon:{type:Boolean,default:!0}}};t.default=n},c0d4:function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApiPostWxPay=t.ApiPutCancelOrder=t.ApiPostSubmitOrder=t.ApiGetOrderDetail=t.ApiGetBeforeCartOrder=t.ApiGetBeforeOrder=t.ApiGetOrderList=void 0;var n=i("5767"),o="/mall/trade",r=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(o,"/app/tradeOrder/page"),e))};t.ApiGetOrderList=r;var a=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(o,"/app/tradeOrder/buyAdvanceOrder"),e))};t.ApiGetBeforeOrder=a;var u=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(o,"/app/tradeOrder/cartAdvanceOrder"),e))};t.ApiGetBeforeCartOrder=u;var c=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.get("".concat(o,"/app/tradeOrder/").concat(e)))};t.ApiGetOrderDetail=c;var s=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.post("".concat(o,"/app/tradeOrder/submitOrder"),e))};t.ApiPostSubmitOrder=s;var l=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.post("".concat(o,"/app/tradeOrder/cancel"),e))};t.ApiPutCancelOrder=l;var d=function(e){return(0,n.ToAsyncAwait)(n.MsbRequestTk.post("".concat(o,"/pay/wxPay/app"),e))};t.ApiPostWxPay=d},c95f:function(e,t,i){"use strict";var n=i("3ccf"),o=i.n(n);o.a},cc7f:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAiCAMAAAB7o0l7AAAAAXNSR0IArs4c6QAAAM9QTFRFAAAAAAAAICAgKioqMzMzKioqLy8vLi4uMTExMzMzMjIyNDQ0MzMzLi4uMTExMDAwMjIyMTExMjIyMzMzMTExMDAwNDQ0MTExMTExMjIyMzMzMjIyMDAwNDQ0MTExNDQ0MjIyMzMzMjIyNDQ0MjIyMzMzMzMzMjIyMzMzMjIyMjIyMzMzMjIyMzMzMjIyMjIyMzMzMzMzMzMzMjIyMzMzMzMzMzMzMjIyMzMzMzMzMzMzMjIyMzMzMjIyMzMzMzMzMjIyMjIyMzMzMzMzMzMzJx6mggAAAER0Uk5TAAQIDBQYGxwfIyQnKCwvMDM0ODw/QEBDREhLTE9TVFRXX2BjZ293e4ePk5efn6Onq6+zu7/Dx8vP09fb29/n6+/z9/u/5GCyAAABh0lEQVQYGXXBi3bSQABF0TuEtBahVUABW6XUBhO0ovIIEhyY5vz/NzkJLFbAureOuvHCgl3EXZ0xo4yjbGRUcZVyIr3SUc8BNhnUpfogsYDr6aCXgxvXdFAbO8h7KjUcrFuqaK3BNeSZFLJQJ8I1LOWNwLV0puVgJGkDY+29ub+70N4YNlIHbE2FDxnez1cq1Cx0FEOiwiN729cqJBBrDgN5rRzs9185/DbyBjCXhbq8b7AIpNYO7uTVwQpQIYOmvC8wUQEQoAKgwid4UgHQFkJ5GbyVF8NEXghbpfBO3ldIL6Sug768AaSaQCyv4cDNUiBVIYZEfbBG3jCn9OdSXs1CX2YDn1VoL4Dnp7oKj7CRFMHuUqXwfSdQ6XIHkSSzgmWgE8ESVkbeTQ5zowozg/xGpQfghyqmwIMOIiDRUQJEOkqASAcRkKhiCtyr9BGYqsrMIO/J6+YwMzoRrMBdS9cOVoHOhBnYRsNCFuofTQvrNdimXtB2eK6tF93mkN/qP4bb7VAVfwE0H1qiswnZRgAAAABJRU5ErkJggg=="},d071:function(e,t,i){"use strict";var n=i("4ea4");i("d3b7"),i("ac1f"),i("5319"),Object.defineProperty(t,"__esModule",{value:!0}),t.MsbRequestTk=t.MsbRequest=void 0;var o=n(i("5530")),r=n(i("fda4")),a=n(i("4308")),u="test",c={test:"http://k8s-horse-gateway.mashibing.cn",release:"",prod:""},s=function(e){if(200===e.statusCode){var t=e.data;return"SUCCESS"===t.code?t.data:"TOKEN_EXPIRE"===t.code?(uni.navigateTo({url:"/login"}),t):Promise.reject(t)}return e},l=function(e){return{message:e.errMsg,code:e.statusCode}},d=new r.default;t.MsbRequest=d,d.baseUrl=c[u],d.use("request",(function(e){return e})),d.use("success",s),d.use("error",l);var f=new r.default;t.MsbRequestTk=f,f.baseUrl=c[u],f.use("request",(function(e){var t=a.default.state.token;if(t)return e.header=(0,o.default)((0,o.default)({},e.header),{},{Authorization:a.default.state.token}),e;var i=getCurrentPages(),n=i[i.length-1];return n.$Router.replace({path:"/login",query:{h:n.__page__.path}}),Promise.reject({message:"要先登录才能操作哦~"})})),f.use("success",s),f.use("error",l)},db4d:function(e,t,i){"use strict";i.r(t);var n=i("8bde"),o=i.n(n);for(var r in n)"default"!==r&&function(e){i.d(t,e,(function(){return n[e]}))}(r);t["default"]=o.a},de4c:function(e,t,i){"use strict";var n;i.d(t,"b",(function(){return o})),i.d(t,"c",(function(){return r})),i.d(t,"a",(function(){return n}));var o=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"u-icon",class:["u-icon--"+e.labelPos],on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.clickHandler.apply(void 0,arguments)}}},[e.isImg?i("v-uni-image",{staticClass:"u-icon__img",style:[e.imgStyle,e.$u.addStyle(e.customStyle)],attrs:{src:e.name,mode:e.imgMode}}):i("v-uni-text",{staticClass:"u-icon__icon",class:e.uClasses,style:[e.iconStyle,e.$u.addStyle(e.customStyle)],attrs:{"hover-class":e.hoverClass}},[e._v(e._s(e.icon))]),""!==e.label?i("v-uni-text",{staticClass:"u-icon__label",style:{color:e.labelColor,fontSize:e.$u.addUnit(e.labelSize),marginLeft:"right"==e.labelPos?e.$u.addUnit(e.space):0,marginTop:"bottom"==e.labelPos?e.$u.addUnit(e.space):0,marginRight:"left"==e.labelPos?e.$u.addUnit(e.space):0,marginBottom:"top"==e.labelPos?e.$u.addUnit(e.space):0}},[e._v(e._s(e.label))]):e._e()],1)},r=[]},e07a:function(e,t){e.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAMAAADW3miqAAAAAXNSR0IArs4c6QAAAPBQTFRFAAAAAIC/AIC/AJXVEZndEI/PC5veC5XVE5fZEpLbD5nbDpXVDpXcDZPZEpTbEZfWEJjeEJXaD5PYE5TaEpbbEZfcEZXZEJbbEJPbD5TdEZbaEJTbEJjbEJbZEZfbEJbcEJXaE5XaEZbaEZbbEJXdEpXcEpfcEZbbEZXcEpfbEpbcEpXaEpbcEpbbEZXbEZbcEpXaEpfcEZbaEZbbEZbbEpXbEpbbEZbbEZXaEZbaEpbcEpbaEpbbEpXbEZXaEZXbEZbbEpbbEpXaEZbbEZbaEpbcEpXbEpbbEZbaEZbbEZXbEpXbEpbaEpbbEZXaEpbbNusUYgAAAE90Uk5TAAQIDA8QFxgbHCMkJCgrLC8wNDc4Ozw/QENLT09QW19gYGhrb3Nzd3t/g4uLj5OXn5+nr7O3t7/Dw8PHx8vPz8/T19vf3+Pn6+vv7/P3+90yngUAAAFxSURBVDjLnZRtQ4IwEMcPfMoetVIrNXsUpTBTEykqykRtwr7/t2kbIBuSWP83bLcfu93dbgAAsjKa4VjNRooMTBUbr5FdokzJxWvlEkq2cYJsGRTRgiZEEeoWDNHQpieIQAagZGgeNcRB+E8QxGoiQhWms0aBpTfQ9B/uNoOeL5mKFKp74+EKNKzwYkcb/ObOV4feoEUCVCdQbfVMzoduLiuL6FXrRSCkHbPkyYdXPeR7yzkiNMwTYzbtp7l8Pz4gn7aYAlNKKS/kP/etU5WCiuS+RaiY+1zOp3dZD8qrYx76ggc+MEdL+ZsVVWsJ6WAK4WvcNdhpWQH0tMI0sjxHoClccM6u6YKG3e42tyFZOAU16LHBHjFJHTbuF3jISsFuq6/rj02aL9g3w6KHEDa2wp0zKt/RoyozIi/sIzZJV7tOpNTv5yS/QXMuXnU9vuPHtWibx+lmswcDyglPj3PCrsb6R6zsRS0rxjyeQGYzQ4AfSnknwFuEgcEAAAAASUVORK5CYII="},e0a3:function(e,t,i){"use strict";var n=i("fb03"),o=i.n(n);o.a},f196:function(e,t,i){"use strict";i.r(t);var n=i("59a3"),o=i("8eac");for(var r in o)"default"!==r&&function(e){i.d(t,e,(function(){return o[e]}))}(r);i("3f3b");var a,u=i("f0c5"),c=Object(u["a"])(o["default"],n["b"],n["c"],!1,null,"4ba2f3f6",null,!1,n["a"],a);t["default"]=c.exports},f3c6:function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-0eb0792d]{background:#f8f8f8;padding-bottom:%?140?%}.address[data-v-0eb0792d]{background:#fff}.address--icon[data-v-0eb0792d]{width:%?34?%;height:%?34?%;margin-right:%?30?%}.goods-group[data-v-0eb0792d]{background:#fff;margin:%?20?% 0}.goods-group--item[data-v-0eb0792d]{display:flex;justify-content:space-between;padding:%?30?%;border-bottom:1px solid #eee}.goods-group--item-image[data-v-0eb0792d]{width:%?180?%;height:%?180?%;margin-right:%?30?%}.goods-group--item-con[data-v-0eb0792d]{width:%?510?%;display:flex;justify-content:space-between;font-size:%?28?%;color:#333;line-height:%?39?%}.goods-group--item-title[data-v-0eb0792d]{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.goods-group--item-pirce[data-v-0eb0792d]{font-size:%?22?%;margin-left:%?60?%}.goods-group--item-desc[data-v-0eb0792d]{width:%?510?%;font-size:%?24?%;color:#999;margin-top:%?20?%;line-height:%?39?%;display:flex;justify-content:space-between}.goods-group--item-num[data-v-0eb0792d]{font-size:%?28?%;margin-left:%?60?%}.service[data-v-0eb0792d]{background:#fff;margin:%?20?% 0}.service--cell[data-v-0eb0792d]{padding:0 %?30?%}.service--cell__last[data-v-0eb0792d]{border:0}.service--remark[data-v-0eb0792d]{font-size:%?28?%;width:%?500?%;text-align:right}.play[data-v-0eb0792d]{background:#fff;margin:%?20?% 0}.play--title[data-v-0eb0792d]{font-size:%?28?%;padding:%?30?%;display:block}.play--icon[data-v-0eb0792d]{width:%?39?%;height:%?39?%;margin-right:%?20?%}.play--radio[data-v-0eb0792d]{-webkit-transform:scale(70%);transform:scale(70%)}.amount[data-v-0eb0792d]{background:#fff}.footer[data-v-0eb0792d]{display:flex;align-items:center;justify-content:space-between;height:%?120?%;background:#fff;padding:0 %?30?%;position:fixed;bottom:0;right:0;left:0}.footer--total[data-v-0eb0792d]{color:#666;font-size:%?24?%;display:flex;align-items:center}.footer--amount[data-v-0eb0792d]{font-size:%?32?%;color:#ff512b;margin-left:%?10?%}.footer--btn[data-v-0eb0792d]{margin:0}body.?%PAGE?%[data-v-0eb0792d]{background:#f8f8f8}',""]),e.exports=t},f9ea:function(e,t,i){var n=i("abd3");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("d85769a6",n,!0,{sourceMap:!1,shadowMode:!1})},fb03:function(e,t,i){var n=i("f3c6");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var o=i("4f06").default;o("d37729ac",n,!0,{sourceMap:!1,shadowMode:!1})},fda4:function(e,t,i){"use strict";var n=i("4ea4");i("d3b7"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var o=n(i("d4ec")),r=n(i("bee2")),a=function(){function e(t){(0,o.default)(this,e),this.baseUrl="",this.hook={request:null,success:null,error:null}}return(0,r.default)(e,[{key:"method",value:function(e){var t=this;if(e.url=this.baseUrl+e.url,this.hook.request&&!e.header&&(e=this.hook.request(e)),!e)throw new Error("没有请求配置,或是request拦截未做return");return e.constructor===Promise?e:new Promise((function(i,n){uni.request(e).then((function(e){var o=e[1];if(o.statusCode>=200&&o.statusCode<400)return i(t.hook.success?t.hook.success(o):o),!1;n(t.hook.error?t.hook.error(o):o)})).catch((function(e){n(t.hook.error?t.hook.error(e):e)}))}))}},{key:"use",value:function(e,t){this.hook[e]=t}},{key:"get",value:function(e,t,i){return this.method({method:"GET",url:e,data:t,header:i})}},{key:"post",value:function(e,t,i){return this.method({method:"POST",url:e,data:t,header:i})}},{key:"put",value:function(e,t,i){return this.method({method:"PUT",url:e,data:t,header:i})}},{key:"delete",value:function(e,t,i){return this.method({method:"DELETE",url:e,data:t,header:i})}}]),e}(),u=a;t.default=u}}]); |