|
|
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-cart-cart~pages-cart-tabBarCart"],{1014:function(t,e,n){"use strict";n.r(e);var a=n("91f7"),i=n("f341");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("3725");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"666c0aef",null,!1,a["a"],s);e["default"]=c.exports},"1aff":function(t,e,n){"use strict";var a=n("e9c6"),i=n.n(a);i.a},3167:function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var a={uLoadmore:n("c153").default,uNumberBox:n("071b").default},i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("UiPageHeader",{class:"head__"+t.type,attrs:{back:"inner"==t.type}},[a("template",{slot:"custom"},[a("v-uni-view",{staticClass:"head--title"},[a("v-uni-text",[t._v("购物车")]),t.list.length?a("v-uni-text",[t._v("("+t._s(t.list.length)+")")]):t._e()],1),t.list.length?["normal"==t.mode?a("v-uni-view",{staticClass:"head--edit",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleToggleMode.apply(void 0,arguments)}}},[t._v("编辑")]):a("v-uni-view",{staticClass:"head--finish",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleToggleMode.apply(void 0,arguments)}}},[t._v("完成")])]:t._e()],2)],2),t.isLoading?a("u-loadmore",{attrs:{status:"loading"}}):t._e(),t.list.length||t.isLoading?t._l(t.list,(function(e,n){return a("UiWhiteBox",{key:n,staticClass:"cart-item"},[a("v-uni-label",{staticClass:"cart-item--radio",on:{click:function(n){n.stopPropagation(),arguments[0]=n=t.$handleEvent(n),t.handleCheckItem(e.id,e.status)}}},[a("v-uni-radio",{staticClass:"radio",attrs:{color:"#FF875B",checked:!!t.checkedIds.length&&t.checkedIds.includes(e.id),disabled:"normal"!==e.status}})],1),a("v-uni-image",{staticClass:"cart-item--image",attrs:{src:e.product.mainPicture,mode:"scaleToFill"},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/goodsDetail?id="+e.productId)}}}),a("v-uni-view",{staticClass:"cart-item--content",on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.$Router.push("/goodsDetail?id="+e.productId)}}},[a("v-uni-view",{staticClass:"cart-item--title",class:("normal"!==e.status||!e.productSku)&&"cart-item--title__disabled"},[t._v(t._s(e.product.name))]),"notSku"!==e.status&&e.productSku?t._e():a("v-uni-view",{staticClass:"cart-item--props"},[t._v("请重新选择商品规格")]),"isDisable"===e.status?a("v-uni-view",{staticClass:"cart-item--props"},[t._v("宝贝已失效,暂时无法购买")]):t._e(),"normal"===e.status&&e.productSku?[a("v-uni-view",{staticClass:"cart-item--props"},[t._v(t._s(e.productSku.name))]),a("v-uni-view",{staticClass:"cart-item--footer"},[a("UiMoney",{staticClass:"cart-item--price",attrs:{money:e.productSku.sellPrice,prefix:!0}}),a("v-uni-view",{staticClass:"cart-item--stepper"},[a("u-number-box",{attrs:{min:1,"button-size":"40rpx",bgColor:"#F5F6FA",value:e.number,max:e.maxBuyNum},on:{change:function(n){arguments[0]=n=t.$handleEvent(n),t.onChangeStepper(n,e)}}},[a("v-uni-text",{staticClass:"cart-item--stepper-icon",attrs:{slot:"minus"},slot:"minus"},[t._v("-")]),a("v-uni-text",{staticClass:"cart-item--stepper-icon",attrs:{slot:"plus"},slot:"plus"},[t._v("+")])],1)],1)],1)]:t._e(),"notSku"===e.status?a("v-uni-view",[a("UiButton",{staticClass:"cart-item--reset-btn",attrs:{size:"small",type:"line"}},[t._v("重选")])],1):t._e()],2)],1)})):a("BsEmpty",{staticClass:"empty",attrs:{tips:"去挑点喜欢的好货吧~"}},[a("v-uni-image",{staticClass:"empty--icon",attrs:{slot:"icon",src:n("d7da")},slot:"icon"}),a("v-uni-view",{staticClass:"empty--btn",attrs:{slot:"btn"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.pushTab("/")}},slot:"btn"},[t._v("去逛逛")])],1),t.isLoading?t._e():[a("v-uni-view",{staticClass:"title"},[t._v("为您推荐")]),a("BsChoiceGoods",{ref:"choiceGoods"})],t.list.length?a("v-uni-view",{class:"footer footer__"+t.type},[a("v-uni-label",{staticClass:"all-radio",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleCheckAll.apply(void 0,arguments)}}},[a("v-uni-radio",{staticClass:"radio",attrs:{color:"#FF875B",disabled:t.list&&0==t.list.filter((function(t){return"normal"==t.status})).length,checked:t.checkedIds.length>0&&t.checkedIds.length===t.list.filter((function(t){return"normal"==t.status})).length}}),a("v-uni-text",[t._v("全选")])],1),"normal"==t.mode?a("v-uni-view",{staticClass:"total-info"},[a("v-uni-text",[t._v("合计:")]),a("UiMoney",{staticClass:"goods-price",attrs:{money:t.totalPrice,prefix:!0}})],1):t._e(),a("v-uni-view",{staticClass:"cart-action"},["edit"==t.mode?a("UiButton",{attrs:{size:"max",disable:!t.checkedIds.length},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleDelete.apply(void 0,arguments)}}},[t._v("删除("+t._s(t.checkedIds.length)+")")]):a("UiButton",{attrs:{type:"gradual",size:"max",disable:!t.checkedIds.length},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.handleOrder.apply(void 0,arguments)}}},[t._v("去结算("+t._s(t.checkedIds.length)+")")])],1)],1):t._e()],2)},r=[]},3725:function(t,e,n){"use strict";var a=n("bfa1"),i=n.n(a);i.a},"40c3":function(t,e,n){var a=n("daa5");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("76c27d90",a,!0,{sourceMap:!1,shadowMode:!1})},"5a25":function(t,e,n){"use strict";var a;n.r(e);var i,r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"ui-white-box"},[t._t("default")],2)},s=[],o=(n("c557"),n("f0c5")),c={},d=Object(o["a"])(c,r,s,!1,null,"7e14885a",null,!1,a,i);e["default"]=d.exports},"6d5d":function(t,e,n){"use strict";n.r(e);var a=n("7dbe"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a},"734f":function(t,e,n){"use strict";n.r(e);var a=n("3167"),i=n("6d5d");for(var r in i)"default"!==r&&function(t){n.d(e,t,(function(){return i[t]}))}(r);n("a419"),n("1aff");var s,o=n("f0c5"),c=Object(o["a"])(i["default"],a["b"],a["c"],!1,null,"033000a6",null,!1,a["a"],s);e["default"]=c.exports},"7dbe":function(t,e,n){"use strict";var a=n("4ea4");n("4de4"),n("7db0"),n("c740"),n("4160"),n("caad"),n("d81d"),n("a434"),n("2532"),n("159b"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("5530"));n("96cf");var r=a(n("1da1")),s=n("5767"),o=a(n("8832")),c=a(n("91cc")),d=a(n("1014")),u=n("4abc"),l=a(n("dd25")),f=a(n("359f")),p=a(n("5a25")),h="CartIds",v={components:{BsEmpty:o.default,BsChoiceGoods:c.default,UiPageHeader:d.default,UiMoney:l.default,UiButton:f.default,UiWhiteBox:p.default},props:{type:{type:String,default:"inner"}},data:function(){return{isLoading:!0,mode:"normal",settlementList:[],delList:[],total:null,checkedIds:[]}},watch:{checkedIds:{handler:function(t){uni.setStorageSync(h,t)},immediate:!1}},computed:{list:function(){return("normal"===this.mode?this.settlementList:this.delList)||[]},totalPrice:function(){var t=this,e=this.list.filter((function(e){return t.checkedIds.includes(e.id)}))||[],n=0;return e.forEach((function(t){var e=t.productSku?100*t.productSku.sellPrice:0;n+=e*(t.number||0)})),(n/100).toFixed(2)}},methods:{open:function(t){this.getCartList(),this.isLoading=!1,this.checkedIds=uni.getStorageSync(h)||[]},reachBottom:function(){this.$refs.choiceGoods.next()},getCartList:function(){var t=this;return(0,r.default)(regeneratorRuntime.mark((function e(){var n,a,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return t.isLoading=!0,t.$store.state.token||uni.redirectTo({url:"/login"}),e.next=4,(0,u.ApiGetCartList)();case 4:if(n=e.sent,a=n.error,r=n.result,!a){e.next=10;break}return uni.$u.toast(a.message),e.abrupt("return",!1);case 10:t.settlementList=r.map((function(t){var e=t.product.singleBuyLimit,n=t.productSku&&t.productSku.stock,a=e?Math.min(e,n||1):n;return(0,i.default)((0,i.default)({},t),{},{status:t.product.isEnable?t.productSku&&0!=t.productSku.stock?"normal":"notSku":"isDisable",maxBuyNum:a})})),t.delList=r.map((function(t){return(0,i.default)((0,i.default)({},t),{},{status:"normal"})})),t.onClearInvalidId(),t.isLoading=!1;case 14:case"end":return e.stop()}}),e)})))()},onClearInvalidId:function(){var t=this;this.checkedIds=this.checkedIds.filter((function(e){return t.list.findIndex((function(t){return t.id===e}))>-1}))},handleToggleMode:function(){var t=this;this.mode="normal"==this.mode?"edit":"normal","normal"==this.mode&&(this.checkedIds=this.checkedIds.filter((function(e){return!!t.list.find((function(t){return"normal"===t.status&&t.id===e}))})))},onChangeStepper:function(t,e){var n=t.value;if(e.number==n)return uni.$u.toast("数量不能再少了"),!1;e.debounceHandle||(e.oldValue=e.number,e.debounceHandle=(0,s.Debounce)(this.updateCartNum,500)),e.number=n,e.debounceHandle(e,e.oldValue,n)},updateCartNum:function(t,e,n){var a=this;return(0,r.default)(regeneratorRuntime.mark((function e(){var n,i,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,(0,u.ApiPutCartNum)({id:t.id,number:t.number});case 2:if(n=e.sent,i=n.error,r=n.result,!i){e.next=9;break}return a.$toast(i.message),t.number=t.sku,e.abrupt("return",!1);case 9:if(!r.isBeyondMaxLimit){e.next=13;break}return uni.$u.toast("数量超出范围"),t.number=r.canSetShoppingCartNumber,e.abrupt("return",!1);case 13:case"end":return e.stop()}}),e)})))()},handleCheckItem:function(t,e){if("normal"!==e)return flase;var n=this.checkedIds,a=n.findIndex((function(e){return e===t}));a<0?n.push(t):n.splice(a,1)},handleCheckAll:function(){var t=this.checkedIds,e=this.list,n=e.filter((function(t){return"normal"==t.status}));if(0==n.length)return!1;this.checkedIds=t.length===n.length?[]:n.map((function(t){return t.id}))},handleOrder:function(){var t=this.checkedIds;t.length&&this.$Router.push({path:"/orderSubmit",query:{mode:"cart",ids:t.join(",")}})},handleDelete:function(){var t=this,e=this.checkedIds;if(!e.length)return!1;uni.showModal({content:"您确定要删除该商品吗?",cancelColor:"#999",confirmColor:"#3A83FB",success:function(){var n=(0,r.default)(regeneratorRuntime.mark((function n(a){var i,r,s;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(i=a.confirm,!i){n.next=13;break}return n.next=4,(0,u.ApiDeleteCartGoods)({idList:e.join(",")});case 4:if(r=n.sent,s=r.error,!s){n.next=9;break}return uni.$u.toast(s.message),n.abrupt("return",!1);case 9:t.delList=t.delList.filter((function(t){return!e.includes(t.id)})),t.settlementList=t.settlementList.filter((function(t){return!e.includes(t.id)})),t.checkedIds=[],t.onClearInvalidId();case 13:case"end":return n.stop()}}),n)})));function a(t){return n.apply(this,arguments)}return a}()})}}};e.default=v},"80b3":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a={props:{title:{type:String,default:""},back:{type:Boolean,default:!0}}};e.default=a},"91f7":function(t,e,n){"use strict";var a;n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){return a}));var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"header"},[t.back?a("v-uni-image",{staticClass:"header--back",attrs:{src:n("df5e")},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.$Router.back()}}}):t._e(),t._t("custom",[a("v-uni-text",{staticClass:"header--title"},[t._v(t._s(t.title))]),a("v-uni-view",{staticClass:"header--operation"},[t._t("operation")],2)])],2)},r=[]},"97d2":function(t,e,n){var a=n("24fb");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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.header[data-v-666c0aef]{height:%?88?%;padding:0 %?40?%;display:flex;justify-content:space-between;align-items:center;background:#f8f8f8;position:-webkit-sticky;position:sticky;top:var(--window-top);z-index:999}.header--back[data-v-666c0aef]{width:%?14?%;height:%?28?%;margin-right:%?36?%}.header--title[data-v-666c0aef]{flex:1;text-align:center;font-size:%?36?%;font-weight:700}.header--operation[data-v-666c0aef]{position:absolute;right:%?40?%;top:0}',""]),t.exports=e},a419:function(t,e,n){"use strict";var a=n("40c3"),i=n.n(a);i.a},bfa1:function(t,e,n){var a=n("97d2");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("755c9430",a,!0,{sourceMap:!1,shadowMode:!1})},c513:function(t,e,n){var a=n("24fb");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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.head[data-v-033000a6]{height:%?88?%;display:flex;justify-content:space-between;align-items:center;padding:0 %?30?%;background-color:#fff;position:-webkit-sticky;position:sticky;top:var(--window-top);z-index:999}.head--title uni-text[data-v-033000a6]{font-size:%?36?%;font-weight:700}.head--totla[data-v-033000a6]{font-size:%?36?%;color:#333}.head--edit[data-v-033000a6], .head--finish[data-v-033000a6]{font-size:%?28?%;color:#999}.head--finish[data-v-033000a6]{color:#ff512b}.head__tabBar[data-v-033000a6]{justify-content:center}.head__tabBar .head--edit[data-v-033000a6], .head__tabBar .head--finish[data-v-033000a6]{position:absolute;right:%?30?%}.cart-item[data-v-033000a6]{width:%?690?%;display:flex;align-items:center;padding:%?50?% %?40?% %?40?% %?24?%;margin:0 auto %?20?%}.cart-item--radio[data-v-033000a6]{width:%?56?%;height:%?80?%;line-height:%?80?%;margin-right:%?10?%;text-align:center}.cart-item--image[data-v-033000a6]{width:%?170?%;height:%?170?%;display:block;border-radius:%?12?%}.cart-item--content[data-v-033000a6]{flex:1;padding-left:%?24?%}.cart-item--title[data-v-033000a6]{font-size:%?28?%;line-height:%?36?%;font-weight:700;max-height:%?76?%;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}.cart-item--title__disabled[data-v-033000a6]{color:#ccc}.cart-item--props[data-v-033000a6]{margin-top:%?14?%;height:%?40?%;color:#999;font-size:%?24?%;overflow:hidden}.cart-item--props-item[data-v-033000a6]{display:inline-block;margin-right:%?14?%}.cart-item--footer[data-v-033000a6]{display:flex;justify-content:space-between;align-items:center;margin-top:%?20?%}.cart-item--stepper-icon[data-v-033000a6]{font-size:%?38?%;color:#ccc;margin:0 %?14?%}.cart-item--stepper-input[data-v-033000a6]{height:%?40?%;margin:0 %?14?%}.cart-item--reset-btn[data-v-033000a6]{margin-top:%?22?%;float:right}.empty[data-v-033000a6]{background:#fff}.empty--btn[data-v-033000a6]{width:%?220?%;margin:0 auto %?10?% auto;font-size:%?28?%;height:%?64?%;line-height:%?64?%;text-align:center;color:#333;border-radius:%?50?%;border:1px solid #c0b9b9}.empty--icon[data-v-033000a6]{width:%?304?%;height:%?192?%}.title[data-v-033000a6]{font-size:%?32?%;text-align:center;margin:%?51?% auto %?30?% auto;display:flex;align-items:center;justify-content:space-between;width:%?500?%}.title[data-v-033000a6]::after, .title[data-v-033000a6]::before{display:inline-block;content:"";width:%?160?%;height:%?2?%;background:linear-gradient(90deg,#ccc,hsla(0,0%,80%,0))}.title[data-v-033000a6]::before{background:linear-gradient(270deg,#ccc,hsla(0,0%,80%,0))}.footer[data-v-033000a6]{display:flex;justify-content:space-between;align-items:center;height:%?140?%;background:#fff;padding:0 %?30?%;position:fixed;bottom:0;bottom:50px;left:0;right:0;z-index:11;margin-bottom:constant(safe-area-inset-bottom);margin-bottom:env(safe-area-inset-bottom)}.footer__inner[data-v-033000a6]{bottom:0}.footer .all-radio[data-v-033000a6]{width:%?140?%;display:flex;align-items:center}.footer .all-radio uni-text[data-v-033000a6]{color:#666;font-size:%?28?%}.footer .all-radio .radio[data-v-033000a6]{margin-right:%?5?%}.footer .total-info[data-v-033000a6]{flex:1;display:flex;align-items:center;justify-content:flex-end;padding-right:%?30?%}.footer .total-info uni-text[data-v-033000a6]{font-size:%?28?%;color:#666}[data-v-033000a6] .cart-item--price uni-text{font-size:%?32?%;color:#ff512b;font-weight:700}[data-v-033000a6] .cart-item--price .ui-money--prefix{font-size:%?24?%}[data-v-033000a6] .uni-radio-input{width:%?36?%;height:%?36?%}[data-v-033000a6] .goods-price{margin-bottom:%?10?%}[data-v-033000a6] .goods-price uni-text{font-size:%?40?%;color:#ff512b;font-weight:700}[data-v-033000a6] .goods-price .ui-money--prefix{font-size:%?32?%}',""]),t.exports=e},c557:function(t,e,n){"use strict";var a=n("dd95"),i=n.n(a);i.a},c997:function(t,e,n){var a=n("24fb");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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */.ui-white-box[data-v-7e14885a]{margin:%?20?% %?30?%;background:#fff;border-radius:%?20?%}',""]),t.exports=e},d7da:function(t,e,n){t.exports=n.p+"static/img/cart.5b9fd199.png"},daa5:function(t,e,n){var a=n("24fb");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/* 文字尺寸 */\n/* 间距 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */uni-page-body[data-v-033000a6]{background:#f8f8f8;padding-bottom:%?240?%}body.?%PAGE?%[data-v-033000a6]{background:#f8f8f8}',""]),t.exports=e},dd95:function(t,e,n){var a=n("c997");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("36cf71ae",a,!0,{sourceMap:!1,shadowMode:!1})},df5e:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAA4CAMAAADZ7miGAAAAAXNSR0IArs4c6QAAADxQTFRFAAAAMDAwMDAwNTU1NDQ0MjIyMjIyMjIyNDQ0MzMzMzMzMzMzMzMzMzMzMjIyMzMzMzMzMzMzMzMzMzMzAGSrYgAAABN0Uk5TABAgMEBgcH+An6CvsL/Az9Dv8AptTWoAAADHSURBVDjLzdXRDoMgDIXhCtOhokDP+7/rLubAhLaJXph5+0fCh6ESic87YXVyohUAilxnAACi1KZvQxHaeDRw33z5xX5ZVxu6DQ2ptrF7castaAgAi4oAso5AHjpEbex1YN9MRGvTJUSobb+LcH+NeBkIijqCSEecYpFiXVa6Gm1Dqd/QibIJCy+1zkLNxvHRkI2DJ88WqH1sCTQ+AAr3QfBXuTaoXft0GbTfBznWx9sZFK2RWqxhzOIYX4wxfoBY+z0E5ujoAyE0JzXNCO3eAAAAAElFTkSuQmCC"},e9c6:function(t,e,n){var a=n("c513");"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("05b0e18e",a,!0,{sourceMap:!1,shadowMode:!1})},f341:function(t,e,n){"use strict";n.r(e);var a=n("80b3"),i=n.n(a);for(var r in a)"default"!==r&&function(t){n.d(e,t,(function(){return a[t]}))}(r);e["default"]=i.a}}]); |