pages-checkout-index.899c0e60.js 44 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-checkout-index"],{"08c0":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("43dc")),a=new o.default([{key:"RECEIVE",name:"领取后",value:10},{key:"FIXED_TIME",name:"固定时间",value:20}]);e.default=a},"092d":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("43dc")),a=new o.default([{key:"FULL_DISCOUNT",name:"满减券",value:10},{key:"DISCOUNT",name:"折扣券",value:20}]);e.default=a},"0bc7":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* 引入uView全局scss变量文件 */.u-switch[data-v-740912fe]{position:relative;display:inline-block;box-sizing:initial;width:2em;height:1em;background-color:#fff;border:1px solid rgba(0,0,0,.1);border-radius:1em;transition:background-color .3s;font-size:%?50?%}.u-switch__node[data-v-740912fe]{display:flex;flex-direction:row;align-items:center;justify-content:center;position:absolute;top:0;left:0;border-radius:100%;z-index:1;background-color:#fff;background-color:#fff;box-shadow:0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05);box-shadow:0 3px 1px 0 rgba(0,0,0,.05),0 2px 2px 0 rgba(0,0,0,.1),0 3px 3px 0 rgba(0,0,0,.05);transition:-webkit-transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:transform .3s cubic-bezier(.3,1.05,.4,1.05),-webkit-transform .3s cubic-bezier(.3,1.05,.4,1.05);transition:-webkit-transform cubic-bezier(.3,1.05,.4,1.05);transition:transform cubic-bezier(.3,1.05,.4,1.05);transition:transform cubic-bezier(.3,1.05,.4,1.05),-webkit-transform cubic-bezier(.3,1.05,.4,1.05);transition:transform .3s cubic-bezier(.3,1.05,.4,1.05)}.u-switch__loading[data-v-740912fe]{display:flex;flex-direction:row;align-items:center;justify-content:center}.u-switch--on[data-v-740912fe]{background-color:#1989fa}.u-switch--on .u-switch__node[data-v-740912fe]{-webkit-transform:translateX(100%);transform:translateX(100%)}.u-switch--disabled[data-v-740912fe]{opacity:.4}',""]),t.exports=e},"10ab":function(t,e,i){"use strict";var n=i("508c"),o=i.n(n);o.a},"15f8":function(t,e,i){"use strict";i.r(e);var n=i("f63c"),o=i("949d");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("5607");var r,s=i("f0c5"),l=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"1da84cd8",null,!1,n["a"],r);e["default"]=l.exports},"24e0":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("43dc")),a=new o.default([{key:"EXPRESS",name:"快递配送",value:10}]);e.default=a},2795:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-switch",props:{loading:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},size:{type:[Number,String],default:50},activeColor:{type:String,default:"#2979ff"},inactiveColor:{type:String,default:"#ffffff"},value:{type:Boolean,default:!1},vibrateShort:{type:Boolean,default:!1},activeValue:{type:[Number,String,Boolean],default:!0},inactiveValue:{type:[Number,String,Boolean],default:!1}},data:function(){return{}},computed:{switchStyle:function(){var t={};return t.fontSize=this.size+"rpx",t.backgroundColor=this.value?this.activeColor:this.inactiveColor,t},loadingColor:function(){return this.value?this.activeColor:null}},methods:{onClick:function(){var t=this;this.disabled||this.loading||(this.vibrateShort&&uni.vibrateShort(),this.$emit("input",!this.value),this.$nextTick((function(){t.$emit("change",t.value?t.activeValue:t.inactiveValue)})))}}};e.default=n},"307b":function(t,e,i){"use strict";var n;i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.show?i("v-uni-view",{staticClass:"u-loading",class:"circle"==t.mode?"u-loading-circle":"u-loading-flower",style:[t.cricleStyle]}):t._e()},a=[]},3260:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("43dc")),a=new o.default([{key:"ALL",name:"全部商品",value:10},{key:"SOME_GOODS",name:"指定商品",value:20}]);e.default=a},"43dc":function(t,e,i){"use strict";var n=i("4ea4");i("c975"),i("d81d"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("d4ec")),a=n(i("bee2")),r=function(){function t(e){var i=this;(0,o.default)(this,t);var n=[],a=[];if(!Array.isArray(e))throw new Error("param is not an array!");e.map((function(t){t.key&&t.name&&(n.push(t.key),a.push(t.value),i[t.key]=t,t.key!==t.value&&(i[t.value]=t))})),this.data=e,this.keyArr=n,this.valueArr=a}return(0,a.default)(t,[{key:"keyOf",value:function(t){return this.data[this.keyArr.indexOf(t)]}},{key:"valueOf",value:function(t){return this.data[this.valueArr.indexOf(t)]}},{key:"getNameByKey",value:function(t){var e=this.keyOf(t);if(!e)throw new Error("No enum constant"+t);return e.name}},{key:"getNameByValue",value:function(t){var e=this.valueOf(t);if(!e)throw new Error("No enum constant"+t);return e.name}},{key:"getValueByKey",value:function(t){var e=this.keyOf(t);if(!e)throw new Error("No enum constant"+t);return e.key}},{key:"getData",value:function(){return this.data}}]),t}(),s=r;e.default=s},"4ed2":function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-modal",props:{value:{type:Boolean,default:!1},zIndex:{type:[Number,String],default:""},title:{type:[String],default:"提示"},width:{type:[Number,String],default:600},content:{type:String,default:"内容"},showTitle:{type:Boolean,default:!0},showConfirmButton:{type:Boolean,default:!0},showCancelButton:{type:Boolean,default:!1},confirmText:{type:String,default:"确认"},cancelText:{type:String,default:"取消"},confirmColor:{type:String,default:"#2979ff"},cancelColor:{type:String,default:"#606266"},borderRadius:{type:[Number,String],default:16},titleStyle:{type:Object,default:function(){return{}}},contentStyle:{type:Object,default:function(){return{}}},cancelStyle:{type:Object,default:function(){return{}}},confirmStyle:{type:Object,default:function(){return{}}},zoom:{type:Boolean,default:!0},asyncClose:{type:Boolean,default:!1},maskCloseAble:{type:Boolean,default:!1},negativeTop:{type:[String,Number],default:0}},data:function(){return{loading:!1}},computed:{cancelBtnStyle:function(){return Object.assign({color:this.cancelColor},this.cancelStyle)},confirmBtnStyle:function(){return Object.assign({color:this.confirmColor},this.confirmStyle)},uZIndex:function(){return this.zIndex?this.zIndex:this.$u.zIndex.popup}},watch:{value:function(t){!0===t&&(this.loading=!1)}},methods:{confirm:function(){this.asyncClose?this.loading=!0:this.$emit("input",!1),this.$emit("confirm")},cancel:function(){var t=this;this.$emit("cancel"),this.$emit("input",!1),setTimeout((function(){t.loading=!1}),300)},popupClose:function(){this.$emit("input",!1)},clearLoading:function(){this.loading=!1}}};e.default=n},"4fc6":function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uLoading:i("d13d").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"u-switch",class:[1==t.value?"u-switch--on":"",t.disabled?"u-switch--disabled":""],style:[t.switchStyle],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onClick.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"u-switch__node node-class",style:{width:t.$u.addUnit(this.size),height:t.$u.addUnit(this.size)}},[i("u-loading",{staticClass:"u-switch__loading",attrs:{show:t.loading,size:.6*t.size,color:t.loadingColor}})],1)],1)},a=[]},"508c":function(t,e,i){var n=i("0bc7");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("3b6dae6c",n,!0,{sourceMap:!1,shadowMode:!1})},5607:function(t,e,i){"use strict";var n=i("bfd8"),o=i.n(n);o.a},6212:function(t,e,i){"use strict";i.r(e);var n=i("cbc3"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"6b82":function(t,e,i){"use strict";var n=i("dbce"),o=i("4ea4");i("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o(i("5530")),r=o(i("ade3")),s=(n(i("e4c6")),n(i("e433"))),l=i("9afe"),d=o(i("24e0")),c=o(i("e685")),u=i("c824"),f=["red","blue","violet","yellow"],p={data:function(){var t,e;return e={DeliveryTypeEnum:d.default,PayTypeEnum:c.default,CouponTypeEnum:l.CouponTypeEnum,options:{},CouponColors:f,curDelivery:null,curPayType:c.default.BALANCE.value,selectCouponId:0,isUsePoints:!1,remark:"",disabled:!1,showPoints:!1,showPopup:!1},(0,r.default)(e,"disabled",!1),(0,r.default)(e,"order",(t={goodsList:[],couponList:[],existAddress:!1,address:null},(0,r.default)(t,"existAddress",!1),(0,r.default)(t,"isIntraRegion",!0),(0,r.default)(t,"hasError",!1),(0,r.default)(t,"errorMsg",""),t)),(0,r.default)(e,"personal",{}),(0,r.default)(e,"setting",{}),e},onLoad:function(t){this.options=t},onShow:function(){this.getOrderData()},methods:{getOrderData:function(){var t=this;t.curDelivery,t.selectCouponId,t.isUsePoints;s.order(t.options.mode,t.getRequestParam()).then((function(e){t.initData(e.data)})).catch((function(t){return t}))},initData:function(t){var e=t.order,i=t.setting,n=t.personal,o=this;o.order=e,o.personal=n,o.setting=i,e.hasError&&o.$toast(e.errorMsg),o.curDelivery=e.delivery,o.isShowTab=i.deliveryType.length>1,"MP-WEIXIN"===o.platform&&(o.curPayType=c.default.WECHAT.value)},getRequestParam:function(){var t=this,e=t.options,i={};"buyNow"===e.mode&&(i.goodsId=e.goodsId,i.goodsNum=e.goodsNum,i.goodsSkuId=e.goodsSkuId),"cart"===e.mode&&(i.cartIds=e.cartIds);var n={delivery:t.curDelivery||0,couponId:t.selectCouponId||0,isUsePoints:t.isUsePoints?1:0};return(0,a.default)((0,a.default)({},n),i)},handleShowPoints:function(){this.showPoints=!0},handleShowPopup:function(){this.showPopup=!0},handleSelectCoupon:function(t){var e=this,i=e.order.couponList,n=i[t];n.is_apply?(e.selectCouponId=n.user_coupon_id,e.getOrderData(),e.showPopup=!1):e.$toast(n.not_apply_info)},handleNotUseCoupon:function(){var t=this;t.selectCouponId=0,t.getOrderData(),t.showPopup=!1},handleSelectPayType:function(t){this.curPayType=t},onSelectAddress:function(){this.$navTo("pages/address/index",{from:"checkout"})},onTargetGoods:function(t){this.$navTo("pages/goods/detail",{goodsId:t})},onSubmitOrder:function(){var t=this;return!t.disabled&&(!!t.onVerifyFrom()&&(t.disabled=!0,void s.submit(t.options.mode,t.getFormData()).then((function(e){return t.onSubmitCallback(e)})).catch((function(e){if(e.result){var i=e.result.data;if(i.is_created)return t.navToMyOrder(),!1}t.disabled=!1}))))},onSubmitCallback:function(t){var e=this;t.data.payType==c.default.WECHAT.value&&(0,u.wxPayment)(t.data.payment).then((function(){return e.$success("支付成功")})).catch((function(t){return e.$error("订单未支付")})).finally((function(){e.disabled=!1,e.navToMyOrder()})),t.data.payType==c.default.BALANCE.value&&(e.$success("支付成功"),e.disabled=!1,e.navToMyOrder())},navToMyOrder:function(){var t=this;setTimeout((function(){t.$navTo("pages/order/index")}),1e3)},getFormData:function(){var t=this,e=t.options,i={delivery:t.curDelivery,payType:t.curPayType,couponId:t.selectCouponId||0,isUsePoints:t.isUsePoints?1:0,remark:t.remark||""};return"buyNow"===e.mode&&(i.goodsId=e.goodsId,i.goodsNum=e.goodsNum,i.goodsSkuId=e.goodsSkuId),"cart"===e.mode&&(i.cartIds=e.cartIds||null),i},onVerifyFrom:function(){var t=this;return!t.hasError||(t.$toast(t.errorMsg),!1)}}};e.default=p},"6cce":function(t,e,i){"use strict";i.r(e);var n=i("4ed2"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},7858:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* 引入uView全局scss变量文件 */.flow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data-v-1da84cd8]{font-size:%?36?%}.flow-delivery .detail-content[data-v-1da84cd8]{padding:0 %?20?%}.flow-delivery .detail-content .detail-content__title-phone[data-v-1da84cd8]{margin-left:%?10?%}.flow-delivery .detail-content .detail-content__describe[data-v-1da84cd8]{font-size:%?28?%;color:#777}.flow-delivery .detail-content__title[data-v-1da84cd8]{margin-bottom:%?6?%}.flow-all-money .ipt-wrapper uni-input[data-v-1da84cd8]{font-size:%?28?%;width:100%;height:%?75?%}.checkout_list[data-v-1da84cd8]{padding:%?20?% %?30?% %?4?% %?30?%;background:#fff;border-bottom:%?1?% solid #f8f8f8}.checkout_list .flow-shopList[data-v-1da84cd8]{padding:%?5?% 0 %?10?%;border-bottom:%?1?% solid #f8f8f8}.checkout_list .flow-shopList[data-v-1da84cd8]:last-child{border-bottom:0}.flow-header-left[data-v-1da84cd8]{padding-left:%?90?%}\r\n/* 会员价 */.flow-shopList .flow-list-right .flow-cont.price-delete[data-v-1da84cd8]{font-size:%?26?%;color:#777;text-decoration:line-through}.flow-shopList .grade-price[data-v-1da84cd8]{padding-top:%?8?%;font-size:%?28?%;color:#ff495e;text-align:right}.flow-shopList .goods-name[data-v-1da84cd8]{font-size:%?28?%;color:#333}\r\n/* 优惠券选择 */.popup__coupon[data-v-1da84cd8]{width:%?750?%;background:#fff;box-sizing:border-box;padding:%?30?%}.popup__coupon .coupon__do_not .control[data-v-1da84cd8]{width:90%;height:%?72?%;margin-bottom:%?24?%;color:#888;border:%?1?% solid #e3e3e3;border-radius:%?10?%;max-width:%?1120?%}.popup__coupon .coupon__title[data-v-1da84cd8]{text-align:center;margin-bottom:%?30?%}.popup__coupon .coupon-list[data-v-1da84cd8]{max-width:%?1120?%;margin:0 auto}.popup__coupon .coupon-item[data-v-1da84cd8]{overflow:hidden;margin-bottom:%?22?%}.popup__coupon .item-wrapper[data-v-1da84cd8]{width:100%;display:flex;background:#fff;border-radius:%?8?%;color:#fff;height:%?180?%}.popup__coupon .item-wrapper .coupon-type[data-v-1da84cd8]{position:absolute;top:0;right:0;z-index:10;width:%?128?%;padding:%?6?% 0;background:#a771ff;font-size:%?20?%;text-align:center;color:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-transform-origin:%?64?% %?64?%;transform-origin:%?64?% %?64?%}.popup__coupon .item-wrapper.color-blue[data-v-1da84cd8]{background:linear-gradient(-125deg,#57bdbf,#2f9de2)}.popup__coupon .item-wrapper.color-red[data-v-1da84cd8]{background:linear-gradient(-128deg,#ff6d6d,#ff3636)}.popup__coupon .item-wrapper.color-violet[data-v-1da84cd8]{background:linear-gradient(-113deg,#ef86ff,#b66ff5)}.popup__coupon .item-wrapper.color-violet .coupon-type[data-v-1da84cd8]{background:#55b5ff}.popup__coupon .item-wrapper.color-yellow[data-v-1da84cd8]{background:linear-gradient(-141deg,#f7d059,#fdb054)}.popup__coupon .item-wrapper.color-gray[data-v-1da84cd8]{background:linear-gradient(-113deg,#bdbdbd,#a2a1a2)}.popup__coupon .item-wrapper.color-gray .coupon-type[data-v-1da84cd8]{background:#9e9e9e}.popup__coupon .item-wrapper .content[data-v-1da84cd8]{flex:1;padding:%?30?% %?20?%;border-radius:%?16?% 0 0 %?16?%}.popup__coupon .item-wrapper .content .title[data-v-1da84cd8]{font-size:%?32?%}.popup__coupon .item-wrapper .content .bottom .time[data-v-1da84cd8]{font-size:%?24?%}.popup__coupon .item-wrapper .content .bottom .receive[data-v-1da84cd8]{height:%?46?%;width:%?122?%;line-height:%?46?%;text-align:center;border:%?1?% solid #fff;border-radius:%?30?%;color:#fff;font-size:%?24?%}.popup__coupon .item-wrapper .content .bottom .receive.state[data-v-1da84cd8]{border:none}.popup__coupon .item-wrapper .tip[data-v-1da84cd8]{position:relative;flex:0 0 32%;text-align:center;border-radius:0 %?16?% %?16?% 0}.popup__coupon .item-wrapper .tip .money[data-v-1da84cd8]{font-weight:700;font-size:%?52?%}.popup__coupon .item-wrapper .tip .pay-line[data-v-1da84cd8]{font-size:%?22?%}.popup__coupon .item-wrapper .split-line[data-v-1da84cd8]{position:relative;flex:0 0 0;border-left:%?4?% solid #fff;margin:0 %?10?% 0 %?6?%;background:#fff}.popup__coupon .item-wrapper .split-line[data-v-1da84cd8]:before{border-radius:0 0 %?16?% %?16?%;top:0}.popup__coupon .item-wrapper .split-line[data-v-1da84cd8]:after{border-radius:%?16?% %?16?% 0 0;bottom:0}.popup__coupon .item-wrapper .split-line[data-v-1da84cd8]:before, .popup__coupon .item-wrapper .split-line[data-v-1da84cd8]:after{content:"";position:absolute;width:%?24?%;height:%?12?%;background:#f7f7f7;left:%?-14?%;z-index:1}\r\n/* 积分抵扣 */.points .title[data-v-1da84cd8]{margin-right:%?5?%}.points .icon-help[data-v-1da84cd8]{font-size:%?28?%}.points .points-money[data-v-1da84cd8]{margin-right:%?20?%}\r\n/* 支付方式 */.pay-method .pay-item[data-v-1da84cd8]{padding:%?24?% 0;font-size:%?28?%;border-bottom:%?1?% solid #f8f8f8}.pay-method .pay-item .item-left_icon[data-v-1da84cd8]{margin-right:%?20?%;font-size:%?32?%}.pay-method .pay-item .item-left_icon.wechat[data-v-1da84cd8]{color:#00c800}.pay-method .pay-item .item-left_icon.balance[data-v-1da84cd8]{color:#ff9700}.pay-method .user-balance[data-v-1da84cd8]{margin-left:%?20?%;font-size:%?26?%}.goods-props[data-v-1da84cd8]{padding-top:%?10?%;font-size:%?24?%;color:#999}.goods-props .goods-props-item[data-v-1da84cd8]{float:left}.goods-props .goods-props-item .group-name[data-v-1da84cd8]{margin-right:%?6?%}.right-arrow[data-v-1da84cd8]{margin-left:%?16?%;font-size:%?26?%}.flow-fixed-footer[data-v-1da84cd8]{position:fixed;bottom:var(--window-bottom);left:var(--window-left);right:var(--window-right);background:#fff;border-top:1px solid #eee;z-index:11}.flow-fixed-footer .chackout-left[data-v-1da84cd8]{font-size:%?28?%;line-height:%?92?%;color:#777;flex:4;padding-left:12px}.flow-fixed-footer .chackout-right[data-v-1da84cd8]{font-size:%?34?%;flex:2}.flow-fixed-footer .flow-btn[data-v-1da84cd8]{background:linear-gradient(90deg,#f9211c,#ff6335);color:#fff;text-align:center;line-height:%?92?%;display:block;font-size:%?28?%}.flow-fixed-footer .flow-btn.disabled[data-v-1da84cd8]{background:#ff9779}.points-content[data-v-1da84cd8]{padding:%?30?% %?48?%;font-size:%?28?%;line-height:%?50?%;text-align:left;color:#606266;height:%?620?%;box-sizing:border-box}\r\n/* 共几件商品 */.flow-num-box[data-v-1da84cd8]{font-size:%?28?%;color:#777;padding:%?16?% %?24?%;text-align:right}\r\n/* app.scss */.flow-shopList[data-v-1da84cd8]{padding:%?18?% 0}.flow-shopList .flow-list-left[data-v-1da84cd8]{margin-right:%?20?%}.flow-shopList .flow-list-left uni-image[data-v-1da84cd8]{width:%?180?%;height:%?180?%;border:%?1?% solid #eee;background:#fff}.flow-shopList .flow-list-right .flow-cont[data-v-1da84cd8]{font-size:%?28?%;color:#fa2209}.flow-shopList .flow-list-right .small[data-v-1da84cd8]{font-size:%?26?%;color:#777}.flow-shopList .flow-list-right .flow-list-cont[data-v-1da84cd8]{padding-top:%?10?%}.flow-all-money[data-v-1da84cd8]{padding:0 %?24?%;color:#444}.flow-all-money .flow-all-list[data-v-1da84cd8]{font-size:%?28?%;padding:%?20?% 0;border-bottom:%?1?% solid #f8f8f8}.flow-all-money .flow-all-list[data-v-1da84cd8]:last-child{border-bottom:none}.flow-all-money .flow-all-list-cont[data-v-1da84cd8]{font-size:%?28?%;padding:%?10?% 0}.flow-all-money .flow-arrow[data-v-1da84cd8]{justify-content:flex-end;align-items:center}',""]),t.exports=e},"89b2":function(t,e,i){"use strict";i.r(e);var n=i("2795"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"949d":function(t,e,i){"use strict";i.r(e);var n=i("6b82"),o=i.n(n);for(var a in n)"default"!==a&&function(t){i.d(e,t,(function(){return n[t]}))}(a);e["default"]=o.a},"9afe":function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"ApplyRangeEnum",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(e,"ExpireTypeEnum",{enumerable:!0,get:function(){return a.default}}),Object.defineProperty(e,"CouponTypeEnum",{enumerable:!0,get:function(){return r.default}});var o=n(i("3260")),a=n(i("08c0")),r=n(i("092d"))},a8b7:function(t,e,i){var n=i("fbca");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("198a6eb8",n,!0,{sourceMap:!1,shadowMode:!1})},b454:function(t,e,i){"use strict";i.r(e);var n=i("4fc6"),o=i("89b2");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("10ab");var r,s=i("f0c5"),l=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"740912fe",null,!1,n["a"],r);e["default"]=l.exports},bb10:function(t,e,i){"use strict";i.r(e);var n=i("da86"),o=i("6cce");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("cff3");var r,s=i("f0c5"),l=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"01f03640",null,!1,n["a"],r);e["default"]=l.exports},bfd8:function(t,e,i){var n=i("7858");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("24e35493",n,!0,{sourceMap:!1,shadowMode:!1})},cbc3:function(t,e,i){"use strict";i("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={name:"u-loading",props:{mode:{type:String,default:"circle"},color:{type:String,default:"#c7c7c7"},size:{type:[String,Number],default:"34"},show:{type:Boolean,default:!0}},computed:{cricleStyle:function(){var t={};return t.width=this.size+"rpx",t.height=this.size+"rpx","circle"==this.mode&&(t.borderColor="#e4e4e4 #e4e4e4 #e4e4e4 ".concat(this.color?this.color:"#c7c7c7")),t}}};e.default=n},cff3:function(t,e,i){"use strict";var n=i("da45"),o=i.n(n);o.a},d13d:function(t,e,i){"use strict";i.r(e);var n=i("307b"),o=i("6212");for(var a in o)"default"!==a&&function(t){i.d(e,t,(function(){return o[t]}))}(a);i("d581");var r,s=i("f0c5"),l=Object(s["a"])(o["default"],n["b"],n["c"],!1,null,"1b741bef",null,!1,n["a"],r);e["default"]=l.exports},d581:function(t,e,i){"use strict";var n=i("a8b7"),o=i.n(n);o.a},da45:function(t,e,i){var n=i("dc84");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=i("4f06").default;o("0d4bc07e",n,!0,{sourceMap:!1,shadowMode:!1})},da86:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uPopup:i("43de").default,uLoading:i("d13d").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("u-popup",{attrs:{zoom:t.zoom,mode:"center",popup:!1,"z-index":t.uZIndex,length:t.width,"mask-close-able":t.maskCloseAble,"border-radius":t.borderRadius,"negative-top":t.negativeTop},on:{close:function(e){arguments[0]=e=t.$handleEvent(e),t.popupClose.apply(void 0,arguments)}},model:{value:t.value,callback:function(e){t.value=e},expression:"value"}},[i("v-uni-view",{staticClass:"u-model"},[t.showTitle?i("v-uni-view",{staticClass:"u-model__title u-line-1",style:[t.titleStyle]},[t._v(t._s(t.title))]):t._e(),i("v-uni-view",{staticClass:"u-model__content"},[t.$slots.default||t.$slots.$default?i("v-uni-view",{style:[t.contentStyle]},[t._t("default")],2):i("v-uni-view",{staticClass:"u-model__content__message",style:[t.contentStyle]},[t._v(t._s(t.content))])],1),t.showCancelButton||t.showConfirmButton?i("v-uni-view",{staticClass:"u-model__footer u-border-top"},[t.showCancelButton?i("v-uni-view",{staticClass:"u-model__footer__button",style:[t.cancelBtnStyle],attrs:{"hover-stay-time":100,"hover-class":"u-model__btn--hover"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.cancel.apply(void 0,arguments)}}},[t._v(t._s(t.cancelText))]):t._e(),t.showConfirmButton||t.$slots["confirm-button"]?i("v-uni-view",{staticClass:"u-model__footer__button hairline-left",style:[t.confirmBtnStyle],attrs:{"hover-stay-time":100,"hover-class":t.asyncClose?"none":"u-model__btn--hover"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t.$slots["confirm-button"]?t._t("confirm-button"):[t.loading?i("u-loading",{attrs:{mode:"circle",color:t.confirmColor}}):[t._v(t._s(t.confirmText))]]],2):t._e()],1):t._e()],1)],1)],1)},a=[]},dc84:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* 引入uView全局scss变量文件 */.u-model[data-v-01f03640]{height:auto;overflow:hidden;font-size:%?32?%;background-color:#fff}.u-model__btn--hover[data-v-01f03640]{background-color:#e6e6e6}.u-model__title[data-v-01f03640]{padding-top:%?48?%;font-weight:500;text-align:center;color:#303133}.u-model__content__message[data-v-01f03640]{padding:%?48?%;font-size:%?30?%;text-align:center;color:#606266}.u-model__footer[data-v-01f03640]{display:flex;flex-direction:row}.u-model__footer__button[data-v-01f03640]{flex:1;height:%?100?%;line-height:%?100?%;font-size:%?32?%;box-sizing:border-box;cursor:pointer;text-align:center;border-radius:%?4?%}',""]),t.exports=e},e433:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.submit=e.order=void 0;var o=n(i("5530")),a=n(i("c05a")),r={order:"checkout/order",submit:"checkout/submit"},s=function(t,e){return a.default.get(r.order,(0,o.default)({mode:t},e))};e.order=s;var l=function(t,e){return a.default.post(r.submit,(0,o.default)({mode:t},e))};e.submit=l},e4c6:function(t,e,i){"use strict";i("ac1f"),i("466d"),i("498a"),Object.defineProperty(e,"__esModule",{value:!0}),e.isDouble=e.isInteger=e.isPositiveInteger=e.isNumber=e.isEmail=e.isMobile=e.isPhone=e.isEmpty=void 0;var n=function(t){return""==t.trim()};e.isEmpty=n;var o=function(t){var e=/^((0\d{2,3}-\d{7,8})|(1[3456789]\d{9}))$/;return e.test(t)};e.isPhone=o;var a=function(t){var e=/^(1[3456789]\d{9})$/;return e.test(t)};e.isMobile=a;var r=function(t){if(null==t||""==t)return!1;var e=t.match(/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/);return null!=e};e.isEmail=r;var s=function(t){return!(!c(t)&&!d(t))};e.isNumber=s;var l=function(t){return/(^[0-9]\d*$)/.test(t)};e.isPositiveInteger=l;var d=function(t){if(null==t||""==t)return!1;var e=t.match(/^[-\+]?\d+$/);return null!=e};e.isInteger=d;var c=function(t){if(null==t||""==t)return!1;var e=t.match(/^[-\+]?\d+(\.\d+)?$/);return null!=e};e.isDouble=c},e685:function(t,e,i){"use strict";var n=i("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=n(i("43dc")),a=new o.default([{key:"BALANCE",name:"余额支付",value:10},{key:"WECHAT",name:"微信支付",value:20}]);e.default=a},f63c:function(t,e,i){"use strict";i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){return n}));var n={uSwitch:i("b454").default,uModal:i("bb10").default,uPopup:i("43de").default},o=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.order.goodsList.length?i("v-uni-view",{staticClass:"container p-bottom"},[t.curDelivery==t.DeliveryTypeEnum.EXPRESS.value?i("v-uni-view",{staticClass:"flow-delivery",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSelectAddress.apply(void 0,arguments)}}},[i("v-uni-view",{staticClass:"flow-delivery__detail dis-flex flex-y-center"},[i("v-uni-view",{staticClass:"detail-location dis-flex"},[i("v-uni-text",{staticClass:"iconfont icon-dingwei"})],1),i("v-uni-view",{staticClass:"detail-content flex-box"},[t.order.address?[i("v-uni-view",{staticClass:"detail-content__title dis-flex"},[i("v-uni-text",{staticClass:"f-30"},[t._v(t._s(t.order.address.name))]),i("v-uni-text",{staticClass:"detail-content__title-phone f-28"},[t._v(t._s(t.order.address.phone))])],1),i("v-uni-view",{staticClass:"address detail-content__describe"},[t._l(t.order.address.region,(function(e,n){return i("v-uni-text",{key:n,staticClass:"region"},[t._v(t._s(e))])})),i("v-uni-text",{staticClass:"detail"},[t._v(t._s(t.order.address.detail))])],2)]:[i("v-uni-view",{staticClass:"detail-content__describe dis-flex"},[i("v-uni-text",{staticClass:"col-6"},[t._v("请选择配送地址")])],1)]],2),i("v-uni-view",{staticClass:"detail-arrow dis-flex"},[i("v-uni-text",{staticClass:"iconfont icon-arrow-right"})],1)],1)],1):t._e(),i("v-uni-view",{staticClass:"m-top20"},[t._l(t.order.goodsList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"checkout_list"},[i("v-uni-view",{staticClass:"flow-shopList dis-flex",attrs:{"data-index":"index"},on:{click:function(i){arguments[0]=i=t.$handleEvent(i),t.onTargetGoods(e.goods_id)}}},[i("v-uni-view",{staticClass:"flow-list-left"},[i("v-uni-image",{attrs:{mode:"scaleToFill",src:e.goods_image}})],1),i("v-uni-view",{staticClass:"flow-list-right flex-box"},[i("v-uni-text",{staticClass:"goods-name twoline-hide"},[t._v(t._s(e.goods_name))]),i("v-uni-view",{staticClass:"goods-props clearfix"},t._l(e.skuInfo.goods_props,(function(e,n){return i("v-uni-view",{key:n,staticClass:"goods-props-item"},[i("v-uni-text",{staticClass:"group-name"},[t._v(t._s(e.group.name)+":")]),i("v-uni-text",[t._v(t._s(e.value.name)+";")])],1)})),1),i("v-uni-view",{staticClass:"flow-list-cont dis-flex flex-x-between flex-y-center"},[i("v-uni-text",{staticClass:"small"},[t._v("×"+t._s(e.total_num))]),i("v-uni-text",{staticClass:"flow-cont",class:[e.is_user_grade?"price-delete":""]},[t._v("¥"+t._s(e.goods_price))])],1),e.is_user_grade?i("v-uni-view",{staticClass:"grade-price"},[i("v-uni-text",[t._v("会员折扣价:¥"+t._s(e.grade_goods_price))])],1):t._e()],1)],1)],1)})),i("v-uni-view",{staticClass:"flow-num-box b-f"},[i("v-uni-text",[t._v("共"+t._s(t.order.orderTotalNum)+"件商品,合计:")]),i("v-uni-text",{staticClass:"flow-money col-m"},[t._v("¥"+t._s(t.order.orderTotalPrice))])],1)],2),i("v-uni-view",{staticClass:"flow-all-money b-f m-top20"},[i("v-uni-view",{staticClass:"flow-all-list dis-flex"},[i("v-uni-text",{staticClass:"flex-five"},[t._v("订单总金额:")]),i("v-uni-view",{staticClass:"flex-five t-r"},[i("v-uni-text",{staticClass:"col-m"},[t._v("¥"+t._s(t.order.orderTotalPrice))])],1)],1),i("v-uni-view",{staticClass:"flow-all-list dis-flex"},[i("v-uni-text",{staticClass:"flex-five"},[t._v("优惠券:")]),i("v-uni-view",{staticClass:"flex-five t-r"},[t.order.couponList.length>0?i("v-uni-view",{on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleShowPopup()}}},[t.order.couponId>0?i("v-uni-text",{staticClass:"col-m"},[t._v("-¥"+t._s(t.order.couponMoney))]):i("v-uni-text",{staticClass:"col-m"},[t._v("有"+t._s(t.order.couponList.length)+"张优惠券")]),i("v-uni-text",{staticClass:"right-arrow iconfont icon-arrow-right"})],1):i("v-uni-text",{},[t._v("无优惠券可用")])],1)],1),t.order.isAllowPoints?i("v-uni-view",{staticClass:"points flow-all-list dis-flex flex-y-center"},[i("v-uni-view",{staticClass:"block-left flex-five",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleShowPoints()}}},[i("v-uni-text",{staticClass:"title"},[t._v("可用"+t._s(t.setting.points_name)+"抵扣:")]),i("v-uni-text",{staticClass:"iconfont icon-help"})],1),i("v-uni-view",{staticClass:"flex-five dis-flex flex-x-end flex-y-center"},[i("v-uni-text",{staticClass:"points-money col-m"},[t._v("-¥"+t._s(t.order.pointsMoney))]),i("u-switch",{attrs:{size:"48","active-color":"#07c160"},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.getOrderData()}},model:{value:t.isUsePoints,callback:function(e){t.isUsePoints=e},expression:"isUsePoints"}})],1)],1):t._e(),t.curDelivery==t.DeliveryTypeEnum.EXPRESS.value?i("v-uni-view",{staticClass:"dis-flex flow-all-list"},[i("v-uni-text",{staticClass:"flex-five"},[t._v("配送费用:")]),i("v-uni-view",{staticClass:"flex-five t-r"},[t.order.address?i("v-uni-view",[t.order.isIntraRegion?i("v-uni-text",{staticClass:"col-m"},[t._v("+¥"+t._s(t.order.expressPrice))]):i("v-uni-text",[t._v("不在配送范围")])],1):i("v-uni-view",[i("v-uni-text",{staticClass:"col-7"},[t._v("请先选择配送地址")])],1)],1)],1):t._e()],1),i("v-uni-view",{staticClass:"pay-method flow-all-money b-f m-top20"},[i("v-uni-view",{staticClass:"flow-all-list dis-flex"},[i("v-uni-text",{staticClass:"flex-five"},[t._v("支付方式")])],1),i("v-uni-view",{staticClass:"pay-item dis-flex flex-x-between",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSelectPayType(t.PayTypeEnum.BALANCE.value)}}},[i("v-uni-view",{staticClass:"item-left dis-flex flex-y-center"},[i("v-uni-view",{staticClass:"item-left_icon balance"},[i("v-uni-text",{staticClass:"iconfont icon-balance-pay"})],1),i("v-uni-view",{staticClass:"item-left_text"},[i("v-uni-text",[t._v(t._s(t.PayTypeEnum.BALANCE.name))])],1),i("v-uni-view",{staticClass:"user-balance"},[i("v-uni-text",[t._v("(可用¥"+t._s(t.personal.balance)+"元)")])],1)],1),t.curPayType==t.PayTypeEnum.BALANCE.value?i("v-uni-view",{staticClass:"item-right col-m"},[i("v-uni-text",{staticClass:"iconfont icon-check"})],1):t._e()],1)],1),i("v-uni-view",{staticClass:"flow-all-money b-f m-top20"},[i("v-uni-view",{staticClass:"ipt-wrapper dis-flex flow-all-list"},[i("v-uni-input",{attrs:{placeholder:"选填:买家留言(50字以内)"},model:{value:t.remark,callback:function(e){t.remark=e},expression:"remark"}})],1)],1),i("v-uni-view",{staticClass:"flow-fixed-footer b-f m-top10"},[i("v-uni-view",{staticClass:"dis-flex chackout-box"},[i("v-uni-view",{staticClass:"chackout-left pl-12"},[t._v("实付款:"),i("v-uni-text",{staticClass:"col-m"},[t._v("¥"+t._s(t.order.orderPayPrice))])],1),i("v-uni-view",{staticClass:"chackout-right",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onSubmitOrder()}}},[i("v-uni-view",{staticClass:"flow-btn f-32",class:{disabled:t.disabled}},[t._v("提交订单")])],1)],1)],1),i("u-modal",{attrs:{title:t.setting.points_name+"说明"},model:{value:t.showPoints,callback:function(e){t.showPoints=e},expression:"showPoints"}},[i("v-uni-scroll-view",{staticClass:"points-content",attrs:{"scroll-y":!0}},[i("v-uni-text",[t._v(t._s(t.setting.points_describe))])],1)],1),i("u-popup",{attrs:{mode:"bottom"},model:{value:t.showPopup,callback:function(e){t.showPopup=e},expression:"showPopup"}},[i("v-uni-view",{staticClass:"popup__coupon"},[i("v-uni-view",{staticClass:"coupon__title f-30"},[t._v("选择优惠券")]),i("v-uni-view",{staticClass:"coupon-list"},[i("v-uni-scroll-view",{staticStyle:{height:"565rpx"},attrs:{"scroll-y":!0}},t._l(t.order.couponList,(function(e,n){return i("v-uni-view",{key:n,staticClass:"coupon-item"},[i("v-uni-view",{staticClass:"item-wrapper",class:[e.is_apply?"color-"+t.CouponColors[n%t.CouponColors.length]:"color-gray"],on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleSelectCoupon(n)}}},[i("v-uni-view",{staticClass:"coupon-type"},[t._v(t._s(t.CouponTypeEnum[e.coupon_type].name))]),i("v-uni-view",{staticClass:"tip dis-flex flex-dir-column flex-x-center"},[e.coupon_type==t.CouponTypeEnum.FULL_DISCOUNT.value?i("v-uni-view",[i("v-uni-text",{staticClass:"f-30"},[t._v("¥")]),i("v-uni-text",{staticClass:"money"},[t._v(t._s(e.reduce_price))])],1):t._e(),e.coupon_type==t.CouponTypeEnum.DISCOUNT.value?i("v-uni-text",{staticClass:"money"},[t._v(t._s(e.discount)+"折")]):t._e(),i("v-uni-text",{staticClass:"pay-line"},[t._v("满"+t._s(e.min_price)+"元可用")])],1),i("v-uni-view",{staticClass:"split-line"}),i("v-uni-view",{staticClass:"content dis-flex flex-dir-column flex-x-between"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(e.name))]),i("v-uni-view",{staticClass:"bottom dis-flex flex-y-center"},[i("v-uni-view",{staticClass:"time flex-box"},[e.start_time===e.end_time?[t._v(t._s(e.start_time))]:[t._v(t._s(e.start_time)+"~"+t._s(e.end_time))]],2)],1)],1)],1)],1)})),1)],1),i("v-uni-view",{staticClass:"coupon__do_not dis-flex flex-y-center flex-x-center"},[i("v-uni-view",{staticClass:"control dis-flex flex-y-center flex-x-center",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleNotUseCoupon()}}},[i("v-uni-text",{staticClass:"f-26"},[t._v("不使用优惠券")])],1)],1)],1)],1)],1):t._e()},a=[]},fbca:function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */\r\n/* 引入uView全局scss变量文件 */.u-loading-circle[data-v-1b741bef]{display:inline-flex;vertical-align:middle;width:%?28?%;height:%?28?%;background:0 0;border-radius:50%;border:2px solid;border-color:#e5e5e5 #e5e5e5 #e5e5e5 #8f8d8e;-webkit-animation:u-circle-data-v-1b741bef 1s linear infinite;animation:u-circle-data-v-1b741bef 1s linear infinite}.u-loading-flower[data-v-1b741bef]{width:20px;height:20px;display:inline-block;vertical-align:middle;-webkit-animation:a 1s steps(12) infinite;animation:u-flower-data-v-1b741bef 1s steps(12) infinite;background:transparent url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMjAiIGhlaWdodD0iMTIwIiB2aWV3Qm94PSIwIDAgMTAwIDEwMCI+PHBhdGggZmlsbD0ibm9uZSIgZD0iTTAgMGgxMDB2MTAwSDB6Ii8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTlFOUU5IiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKDAgLTMwKSIvPjxyZWN0I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SIgeT0iNDAiIGZpbGw9IiNDQkNCQ0IiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTEyMCA0MS4zNCA2NSkiLz48cmVjdCB3aWR0aD0iNyIgaGVpZ2h0PSIyMCIgeD0iNDYuNSIgeT0iNDAiIGZpbGw9IiNEMkQyRDIiIHJ4PSI1IiByeT0iNSIgdHJhbnNmb3JtPSJyb3RhdGUoLTkwIDM1IDY1KSIvPjxyZWN0IHdpZHRoPSI3IiBoZWlnaHQ9IjIwIiB4PSI0Ni41IiB5PSI0MCIgZmlsbD0iI0RBREFEQSIgcng9IjUiIHJ5PSI1IiB0cmFuc2Zvcm09InJvdGF0ZSgtNjAgMjQuMDIgNjUpIi8+PHJlY3Qgd2lkdGg9IjciIGhlaWdodD0iMjAiIHg9IjQ2LjUiIHk9IjQwIiBmaWxsPSIjRTJFMkUyIiByeD0iNSIgcnk9IjUiIHRyYW5zZm9ybT0icm90YXRlKC0zMCAtNS45OCA2NSkiLz48L3N2Zz4=) no-repeat;background-size:100%}@-webkit-keyframes u-flower-data-v-1b741bef{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes u-flower-data-v-1b741bef{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes u-circle-data-v-1b741bef{0%{-webkit-transform:rotate(0);transform:rotate(0)}100%{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}',""]),t.exports=e}}]);