pages-shop-car1-shop-car1.5e5c059e.js 35 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shop-car1-shop-car1"],{"107f":function(t,e,i){t.exports=i.p+"static/icon/emptyshopcar.png"},1442:function(t,e,i){"use strict";(function(t){i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("f7a5"),i("aa9c"),i("8f71"),i("bf0f"),i("473f"),i("fd3c"),i("bd06"),i("2797");var n=i("7dc6"),o=i("6d2d"),r=i("bf10"),c=a(i("aff7"));function s(t){var e=t.length;return 0==e?0:1==e?t[0]:t[0]+s(t.slice(1))}var d={components:{NumInput:c.default},data:function(){return{giftList:[],isHelper:"",isLimit:!1}},computed:{list:function(){return this.$store.state.cart.list},choosedAll:function(){return this.$store.getters["cart/choosedAll"]},choosedNum:function(){return this.$store.getters["cart/choosedNum"]},choosedPrice:function(){return this.$store.getters["cart/choosedPrice"]},giftNum:function(){return this.$store.getters["cart/giftNum"]}},onLoad:function(){this.isHelper=uni.getStorageSync("isHelper"),this.isHelper?uni.hideTabBar():uni.showTabBar()},onShow:function(){this.getLimitNum();for(var t=this.$store.state.cart.list,e=0;e<t.length;e++){t[e].goods_money=s(t[e].cart)*t[e].money;for(var i=t[e].cart,a=t[e].sizeChoosed,n=[],o=0;o<i.length;o++){var r={};r.num=i[o],r.sizeChoosed=a[o],n.push(r)}var c=n.filter((function(t,e){return 0!=t.num&&0!=t.sizeChoosed}));t[e].options=c,t[e].goods_num=c.reduce((function(t,e){return t+e.num}),0),t[e].goods_money=t[e].goods_num*t[e].money}this.getAllGift()},methods:{getLimitNum:function(){var t=this,e=[0,0,0,0,0,0,0,0,0,0,0,0,0,0];(0,o.GetLimitGood)().then((function(i){i.data.length&&(e=i.data.map((function(t){return t.limit_num-t.num})));var a=t.$store.state.cart.list,n=a.findIndex((function(t){return"红色贺岁款(精装版)"==t.name}));-1!=n&&t.$store.commit("cart/GETNEWGOODSNUM",e)}))},getAllGift:function(){var t=this;this.giftList=[],(0,r._API_GetallGift)().then((function(e){200===e.code&&(t.giftList=e.data.list)}))},numChange:function(t,e,i){var a=this;if(t){var n=this.$store.state.cart.list;n[e].cart[i]=t,n[e].goods_num=s(n[e].cart),n[e].goods_money=s(n[e].cart)*n[e].money,this.$store.commit("cart/COUNTCHANGE",{value:t,index:e,sizeIndex:i,del:!0})}else uni.showModal({title:"提示",content:"确定删除这个尺寸?",success:function(n){if(n.confirm){var o=a.$store.state.cart.list;o[e].cart[i]=t,o[e].goods_num=s(o[e].cart),o[e].goods_money=s(o[e].cart)*o[e].money,a.$store.commit("cart/COUNTCHANGE",{value:t,index:e,sizeIndex:i,del:!0})}}})},chooseAll:function(e){if(t.log(e),this.$store.commit("cart/CHOOSEDCHANGE",[e]),!0===e)for(var i=this.$store.state.cart.list,a=0;a<i.length;a++)i[a].goods_num=s(i[a].cart),i[a].goods_money=s(i[a].cart)*i[a].money;else{var n=this.$store.state.cart.list;for(a=0;a<n.length;a++)n[a].goods_num=0,n[a].goods_money=0}},chooseGood:function(e,i){if(this.$store.commit("cart/CHOOSEDCHANGE",[e,i]),t.log(e,i),!0===e){var a=this.$store.state.cart.list;a[i].goods_num=s(a[i].cart),a[i].goods_money=s(a[i].cart)*a[i].money}else{var n=this.$store.state.cart.list;n[i].goods_num=0,n[i].goods_money=0}},chooseSize:function(e,i,a,n){t.log(e,i,a,n),this.$store.commit("cart/CHOOSEDCHANGE",[e,i,a]);var o=this.$store.state.cart.list;!0===e?(o[i].goods_money=o[i].goods_money+o[i].money*n,o[i].goods_num=o[i].goods_num+n):(o[i].goods_money=o[i].goods_money-o[i].money*n,o[i].goods_num=o[i].goods_num-n)},goToBuy:function(){uni.navigateTo({url:"../place-order/place-order"})},deleteGood:function(t){var e=this;uni.showModal({title:"提示",content:"确定删除这件商品?",success:function(i){i.confirm&&e.$store.commit("cart/DELETE",t)}})},confirm:function(){var t=0,e=0,i=[],a=[];(0,n.deepClone)(this.list).forEach((function(n,o){n.cart.forEach((function(o,r){o&&n.sizeChoosed[r]&&(t++,e+=o,i.push(o),a.push(n.size_id[r]))}))})),this.choosedNum&&(0,r.CheckGoodNum)({total:e,type:t,num:i,size_id:a}).then((function(t){200==t.code?(uni.navigateTo({url:"../confirm-order1/confirm-order1"}),location.reload()):uni.showModal({showCancel:!1,title:"提示",content:t.message})}))}}};e.default=d}).call(this,i("ba7c")["default"])},1461:function(t,e,i){"use strict";i.r(e);var a=i("ccd3"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"225e":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"shop-car1"},[t.list.length?a("v-uni-view",{staticClass:"list"},[t._l(t.list,(function(e,i){return a("v-uni-view",{key:i,staticClass:"shopcar-item"},[a("v-uni-view",{staticClass:"name",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.chooseGood(!e.choosed,i)}}},[a("v-uni-view",{staticClass:"left"},[e.choosed?a("v-uni-text",{staticClass:"cuIcon-roundcheckfill"}):a("v-uni-text",{staticClass:"cuIcon-round"}),a("v-uni-view",{staticClass:"name ellipsis"},[t._v(t._s(e.name))])],1),a("v-uni-view",{staticClass:"right"},[a("v-uni-view",{staticClass:"right-box"},[a("v-uni-view",{staticStyle:{"margin-right":"40rpx"}},[a("v-uni-text",{staticClass:"one"},[t._v("数量:")]),a("v-uni-text",{staticClass:"two"},[t._v(t._s(e.goods_num))])],1),a("v-uni-view",{},[a("v-uni-text",{staticClass:"one"},[t._v("金额:")]),a("v-uni-text",{staticClass:"two"},[t._v("¥"+t._s(e.goods_money))])],1)],1),a("v-uni-text",{staticClass:"cuIcon-delete",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.deleteGood(i)}}})],1)],1),t._l(e.size,(function(n,o){return e.cart[o]?a("v-uni-view",{key:o,staticClass:"sizeItem",on:{click:function(a){arguments[0]=a=t.$handleEvent(a),t.chooseSize(!e.sizeChoosed[o],i,o,e.cart[o])}}},[e.sizeChoosed[o]?a("v-uni-text",{staticClass:"cuIcon-roundcheckfill"}):a("v-uni-text",{staticClass:"cuIcon-round"}),a("v-uni-image",{attrs:{src:e.main_img}}),a("v-uni-view",{staticClass:"info"},[a("v-uni-text",[t._v("尺码:"+t._s(n))]),a("v-uni-text",{staticClass:"basecolor"},[t._v("¥"+t._s(e.money)+"/"+t._s(e.unit))]),"红色贺岁款(精装版)"==e.name&&e.residue?a("v-uni-text",{staticClass:"basecolor"},[t._v("剩余:"+t._s(e.residue[o])+t._s(e.unit))]):t._e()],1),"红色贺岁款(精装版)"==e.name&&e.residue?a("NumInput",{attrs:{value:e.cart[o],args:[i,o],num:e.step,max:e.residue[o],name:e.name},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.numChange.apply(void 0,arguments)}}}):a("NumInput",{attrs:{value:e.cart[o],args:[i,o],num:e.step,name:e.name},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.numChange.apply(void 0,arguments)}}})],1):t._e()}))],2)})),t.giftList.length>0?a("v-uni-view",{staticClass:"gift_container"},[a("v-uni-view",{staticClass:"fix_title"},[a("v-uni-text",{staticClass:"cuIcon-roundcheckfill"}),a("v-uni-text",{staticClass:"title"},[t._v("赠品信息")])],1),a("div",{staticClass:"gift_list"},t._l(t.giftList,(function(e){return a("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:Math.floor(t.giftNum/e.num)>0,expression:"Math.floor(giftNum / item.num) > 0"}],key:e.id,staticClass:"gift_item"},[t.giftNum>=e.limit_num?[a("v-uni-image",{staticClass:"gift_img",attrs:{src:e.img}}),a("v-uni-view",{staticClass:"right"},[a("v-uni-view",{staticClass:"fixed"},[t._v("赠品名称:")]),a("v-uni-view",{staticClass:"bottom"},[a("v-uni-view",{staticClass:"name"},[t._v(t._s(e.name))]),a("v-uni-view",{staticClass:"num"},[t._v("数量:"+t._s(Math.floor(t.giftNum/e.num)))])],1)],1)]:t._e()],2)})),1)],1):t._e()],2):a("v-uni-view",{staticClass:"none"},[a("v-uni-image",{attrs:{src:i("107f")}}),a("v-uni-view",{staticClass:"big-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.goToBuy.apply(void 0,arguments)}}},[t._v("去下单")])],1),a("v-uni-view",{staticClass:"buy"},[a("v-uni-view",{staticClass:"all",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.chooseAll(!t.choosedAll)}}},[t.choosedAll?a("v-uni-text",{staticClass:"cuIcon-roundcheckfill"}):a("v-uni-text",{staticClass:"cuIcon-round"}),a("v-uni-text",[t._v("全选")])],1),a("v-uni-view",{staticClass:"total"},[t._v("合计:"),a("v-uni-text",[t._v(t._s("¥ "+t.choosedPrice))])],1),a("v-uni-view",{staticClass:"pay",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.confirm.apply(void 0,arguments)}}},[t._v("下一步")])],1)],1)},n=[]},"4ee5":function(t,e,i){"use strict";i.r(e);var a=i("1442"),n=i.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(o);e["default"]=n.a},"6d2d":function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e._API_GoodList=e.GetLimitGood=e.GetGoodStatus=void 0;var n=a(i("5c59"));e._API_GoodList=function(t){return n.default.get("/good_show",t)};e.GetGoodStatus=function(t){return n.default.get("/goods/GetGoodStatus",t)};e.GetLimitGood=function(t){return n.default.get("/good/LimitGood",t)}},"821e":function(t,e,i){"use strict";var a=i("cb6e"),n=i.n(a);n.a},aabf:function(t,e,i){"use strict";var a=i("e507"),n=i.n(a);n.a},aff7:function(t,e,i){"use strict";i.r(e);var a=i("da19"),n=i("1461");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("aabf");var r=i("828b"),c=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"7e034db4",null,!1,a["a"],void 0);e["default"]=c.exports},b55e:function(t,e,i){"use strict";i.r(e);var a=i("225e"),n=i("4ee5");for(var o in n)["default"].indexOf(o)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(o);i("821e");var r=i("828b"),c=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"37c3995a",null,!1,a["a"],void 0);e["default"]=c.exports},bf10:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.getOrderList=e._API_mergeOrder=e._API_destory=e._API_PlaceOrder=e._API_OrderStorage=e._API_OrderReceiveGoods1=e._API_OrderReceiveGoods=e._API_OrderPay=e._API_OrderLog=e._API_OrderDetail1=e._API_OrderDetail=e._API_OrderDel=e._API_OrderCancel=e._API_GetallGift=e._API_GetOrderGift=e._API_GetOrderDetail=e._API_GetLogistics=e._API_GetExpressTrack=e.CheckGoodNum=void 0;var n=a(i("5c59"));e._API_OrderPay=function(t){return n.default.get("/pay_order",t)};e._API_OrderCancel=function(t){return n.default.get("/destory",t)};e._API_OrderLog=function(t){return n.default.get("/get_log",t)};e._API_GetOrderDetail=function(t){return n.default.get("/order/GetOrderDetail",t)};e.getOrderList=function(t,e){return n.default.get("/order_list?status=".concat(t),e)};e._API_PlaceOrder=function(t){return n.default.post("/submit_order",t)};e._API_OrderReceiveGoods=function(t){return n.default.get("/order/order_complete",t)};e._API_OrderReceiveGoods1=function(t){return n.default.get("/order/sure_order",t)};e._API_OrderDel=function(t){return n.default.get("/order/del",t)};e._API_OrderDetail=function(t){return n.default.get("/order/detail",t)};e._API_OrderDetail1=function(t){return n.default.get("/order_detail",t)};e._API_OrderStorage=function(t){return n.default.get("/order/my_storage",t)};e._API_GetallGift=function(){return n.default.get("/order/get_gift_info")};e._API_GetOrderGift=function(t){return n.default.get("/order/get_gift",t)};e._API_GetLogistics=function(t){return n.default.get("/order/get_order_expresses",t)};e._API_GetExpressTrack=function(t){return n.default.get("/order/get_express",t)};e._API_mergeOrder=function(t){return n.default.get("/order/search_order",t)};e._API_destory=function(t){return n.default.get("/order/destory",t)};e.CheckGoodNum=function(t){return n.default.post("/order/CheckGoodNum",t)}},cb6e:function(t,e,i){var a=i("cece");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("78b5f16c",a,!0,{sourceMap:!1,shadowMode:!1})},ccd3:function(t,e,i){"use strict";i("6a54");var a=i("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a(i("b7c7"));i("64aa"),i("c223");var o={props:{name:{type:String},value:{type:Number,default:0},num:{type:Number,default:0},args:{type:Array,default:function(){return[]}},max:{type:Number,default:9999}},data:function(){return{showInput:!1,inputNum:0}},methods:{red:function(){this.value>0&&(this.$emit.apply(this,["change",this.value-this.num].concat((0,n.default)(this.args))),this.$emit.apply(this,["input",this.value-this.num].concat((0,n.default)(this.args))))},add:function(){this.value+1>this.max&&"红色贺岁款(精装版)"==this.name||this.value+1>9999&&"红色贺岁款(精装版)"!=this.name?uni.toast("数量不能再多了"):(this.$emit.apply(this,["change",this.value+this.num].concat((0,n.default)(this.args))),this.$emit.apply(this,["input",this.value+this.num].concat((0,n.default)(this.args))))},comfirmNum:function(){this.inputNum%this.num==0?(this.inputNum?+this.inputNum>this.max&&"红色贺岁款(精装版)"==this.name?(this.$emit.apply(this,["change",this.max].concat((0,n.default)(this.args))),this.$emit.apply(this,["input",this.max].concat((0,n.default)(this.args)))):+this.inputNum>9999&&"红色贺岁款(精装版)"!=this.name?(this.$emit.apply(this,["change",9999].concat((0,n.default)(this.args))),this.$emit.apply(this,["input",9999].concat((0,n.default)(this.args)))):(this.$emit.apply(this,["change",+this.inputNum].concat((0,n.default)(this.args))),this.$emit.apply(this,["input",+this.inputNum].concat((0,n.default)(this.args)))):(this.$emit.apply(this,["change",0].concat((0,n.default)(this.args))),this.$emit.apply(this,["input",0].concat((0,n.default)(this.args)))),this.showInput=!1):uni.showModal({content:"请输入".concat(this.num,"的倍数"),showCancel:!1})}}};e.default=o},cece:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-37c3995a]{margin-top:%?10?%}.app-item uni-input[data-v-37c3995a], .app-item uni-picker[data-v-37c3995a], .app-item uni-textarea[data-v-37c3995a]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-37c3995a]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-37c3995a]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-37c3995a]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-37c3995a]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-37c3995a]{color:#fff;background:#f76454}.small-btn[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-37c3995a]{color:#999;border-color:#999}.login-btn[data-v-37c3995a]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-37c3995a]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-37c3995a]{margin-right:%?20?%}.border-right[data-v-37c3995a]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-37c3995a]{margin-right:%?6?%}.position-center[data-v-37c3995a]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-37c3995a]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-37c3995a]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-37c3995a]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-37c3995a]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-37c3995a]{color:#f76454}.swiper-nav[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-37c3995a]{color:#f76454}.swiper-nav .moveBar[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-37c3995a]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-37c3995a]{flex:1;width:100%}.swiper-area uni-swiper[data-v-37c3995a]{width:100%;height:100%}.article-header[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-37c3995a]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-37c3995a]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-37c3995a]{color:#f76454}.article-footer[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-37c3995a]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-37c3995a]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-37c3995a]{color:#f76454}\n/*主题色及按钮渐变背景*/\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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.shop-car1[data-v-37c3995a]{height:100vh;overflow:auto;background:#f2f2f2;border-bottom:calc(var(--window-bottom) + %?100?%) solid transparent}.shop-car1 .gift_container[data-v-37c3995a]{width:100%}.shop-car1 .gift_container .fix_title[data-v-37c3995a]{height:%?90?%;line-height:%?90?%;padding:0 %?32?%;display:flex;justify-content:flex-start;align-items:center;border-bottom:1px solid #f2f2f2}.shop-car1 .gift_container .fix_title .cuIcon-roundcheckfill[data-v-37c3995a]{color:#f76454;font-size:%?32?%}.shop-car1 .gift_container .fix_title .title[data-v-37c3995a]{margin-left:%?30?%;color:#181818;font-size:%?32?%}.shop-car1 .gift_container .gift_list[data-v-37c3995a]{background-color:#fff}.shop-car1 .gift_container .gift_list .gift_item[data-v-37c3995a]{padding:%?28?% %?30?%;margin-bottom:1px;background-color:#fff;display:flex;justify-content:space-between;align-items:center}.shop-car1 .gift_container .gift_list .gift_item .gift_img[data-v-37c3995a]{display:block;width:%?140?%;height:%?140?%}.shop-car1 .gift_container .gift_list .gift_item .right[data-v-37c3995a]{width:calc(100% - %?140?%);height:%?140?%;padding:0 %?50?% 0 %?30?%;display:flex;justify-content:space-between;flex-direction:column}.shop-car1 .gift_container .gift_list .gift_item .right .fixed[data-v-37c3995a]{color:#181818;font-size:%?32?%}.shop-car1 .gift_container .gift_list .gift_item .right .bottom[data-v-37c3995a]{display:flex;justify-content:space-between;align-items:center}.shop-car1 .gift_container .gift_list .gift_item .right .bottom .name[data-v-37c3995a]{color:#f76454;font-size:%?32?%}.shop-car1 .gift_container .gift_list .gift_item .right .bottom .num[data-v-37c3995a]{color:#181818;font-size:%?28?%}.shop-car1 .shopcar-item[data-v-37c3995a]{margin-bottom:%?10?%}.shop-car1 .shopcar-item .name[data-v-37c3995a]{background:#fff;padding:%?20?% 0}.shop-car1 .shopcar-item .name .left[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;justify-content:flex-start}.shop-car1 .shopcar-item .name .left > .name[data-v-37c3995a]{color:#181818;font-size:%?32?%;font-weight:700}.shop-car1 .shopcar-item .name .left .cuIcon-round[data-v-37c3995a],\n.shop-car1 .shopcar-item .name .left .cuIcon-roundcheckfill[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?102?%;height:100%;font-size:%?32?%}.shop-car1 .shopcar-item .name .left .cuIcon-round.cuIcon-roundcheckfill[data-v-37c3995a],\n.shop-car1 .shopcar-item .name .left .cuIcon-roundcheckfill.cuIcon-roundcheckfill[data-v-37c3995a]{color:#f76454}.shop-car1 .shopcar-item .name .right[data-v-37c3995a]{margin-top:%?15?%;padding-left:%?92?%;display:flex;justify-content:space-between;align-items:center}.shop-car1 .shopcar-item .name .right-box[data-v-37c3995a]{line-height:%?52?%;padding:0 %?20?%;background-color:#fff4f3;border-radius:%?8?%;display:flex;font-size:%?32?%}.shop-car1 .shopcar-item .name .right-box .one[data-v-37c3995a]{color:#333}.shop-car1 .shopcar-item .name .right-box .two[data-v-37c3995a]{color:#f76454;font-weight:700}.shop-car1 .shopcar-item .name .cuIcon-delete[data-v-37c3995a]{font-size:%?40?%;margin-right:%?30?%}.shop-car1 .shopcar-item .sizeItem[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?200?%;margin-top:%?4?%;background:#fff;box-sizing:border-box;padding-right:%?39?%}.shop-car1 .shopcar-item .sizeItem .cuIcon-round[data-v-37c3995a],\n.shop-car1 .shopcar-item .sizeItem .cuIcon-roundcheckfill[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?102?%;height:100%;font-size:%?32?%}.shop-car1 .shopcar-item .sizeItem .cuIcon-round.cuIcon-roundcheckfill[data-v-37c3995a],\n.shop-car1 .shopcar-item .sizeItem .cuIcon-roundcheckfill.cuIcon-roundcheckfill[data-v-37c3995a]{color:#f76454}.shop-car1 .shopcar-item .sizeItem uni-image[data-v-37c3995a]{width:%?140?%;height:%?140?%;border-radius:%?6?%}.shop-car1 .shopcar-item .sizeItem .info[data-v-37c3995a]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;align-items:flex-start;padding:%?43?% %?29?%;box-sizing:border-box;justify-content:space-between}.shop-car1 .none[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:column;height:100%}.shop-car1 .none uni-image[data-v-37c3995a]{width:%?305?%;height:%?417?%}.shop-car1 .none .big-btn[data-v-37c3995a]{width:%?280?%;height:%?80?%;margin-top:%?123?%;border-radius:%?40?%}.shop-car1 .buy[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;position:fixed;left:0;right:0;bottom:0;z-index:1;height:%?98?%;font-size:%?32?%;background:#fff;justify-content:space-between;box-shadow:%?0?% %?-1?% %?0?% %?0?% #b2b2b2}.shop-car1 .buy uni-view[data-v-37c3995a]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:100%}.shop-car1 .buy uni-view.all[data-v-37c3995a]{font-size:%?32?%}.shop-car1 .buy uni-view.all uni-text[data-v-37c3995a]{margin-left:%?30?%}.shop-car1 .buy uni-view.all uni-text.cuIcon-roundcheckfill[data-v-37c3995a]{color:#f76454}.shop-car1 .buy uni-view.total[data-v-37c3995a]{flex:1;margin-right:%?30?%;justify-content:flex-end}.shop-car1 .buy uni-view.total uni-text[data-v-37c3995a]{color:#f76454;font-size:%?40?%}.shop-car1 .buy uni-view.pay[data-v-37c3995a]{width:%?220?%;color:#fff;background:#f76454}',""]),t.exports=e},da19:function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return n})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticClass:"num-input"},[i("v-uni-view",{staticClass:"i l",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.red.apply(void 0,arguments)}}},[t._v("-")]),i("v-uni-view",{staticClass:"i c",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.inputNum=t.value?t.value:"",t.showInput=!0}}},[t._v(t._s(t.value))]),i("v-uni-view",{staticClass:"i r basecolor",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.add.apply(void 0,arguments)}}},[t._v("+")]),t.showInput?i("v-uni-view",{staticClass:"inputModelWrapper"},[i("v-uni-view",{staticClass:"inputModel"},[i("v-uni-view",{staticClass:"t"},[t._v("请输入数量")]),i("v-uni-view",{staticClass:"m"},[i("v-uni-input",{ref:"input",attrs:{focus:!0,type:"number",maxlength:"4"},model:{value:t.inputNum,callback:function(e){t.inputNum=e},expression:"inputNum"}})],1),i("v-uni-view",{staticClass:"b"},[i("v-uni-text",{staticClass:"l",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.showInput=!1}}},[t._v("取消")]),i("v-uni-text",{staticClass:"r basecolor",on:{click:function(e){e.stopPropagation(),arguments[0]=e=t.$handleEvent(e),t.comfirmNum.apply(void 0,arguments)}}},[t._v("确定")])],1)],1)],1):t._e()],1)},n=[]},e507:function(t,e,i){var a=i("fa68");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var n=i("967d").default;n("7cdb64d8",a,!0,{sourceMap:!1,shadowMode:!1})},fa68:function(t,e,i){var a=i("c86c");e=a(!1),e.push([t.i,'@charset "UTF-8";.app-item[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-7e034db4]{margin-top:%?10?%}.app-item uni-input[data-v-7e034db4], .app-item uni-picker[data-v-7e034db4], .app-item uni-textarea[data-v-7e034db4]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-7e034db4]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-7e034db4]{width:25%;height:50%;float:left;display:flex;align-items:center;flex-direction:column}.kingkong uni-navigator uni-image[data-v-7e034db4]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-7e034db4]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?630?%;height:%?88?%;font-size:%?34?%;margin:%?88?% auto 0;border-radius:%?44?%;color:#f76454;border:2px solid #f76454}.big-btn.bg[data-v-7e034db4]{color:#fff;background:#f76454}.small-btn[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;padding:0 %?14?%;font-size:%?26?%;margin-left:%?10?%;color:#f76454;height:%?48?%!important;min-width:%?106?%!important;border:%?2?% solid #f76454}.small-btn.dank[data-v-7e034db4]{color:#999;border-color:#999}.login-btn[data-v-7e034db4]{flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:50%;left:50%;width:%?400?%;height:%?88?%;color:#fff;position:fixed;font-size:%?32?%;border-radius:%?10?%;background:#f76454;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.ellipsis[data-v-7e034db4]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-7e034db4]{margin-right:%?20?%}.border-right[data-v-7e034db4]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-7e034db4]{margin-right:%?6?%}.position-center[data-v-7e034db4]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-7e034db4]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-7e034db4]{width:100%;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column}.data-card .data-card-text .text[data-v-7e034db4]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-7e034db4]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-7e034db4]{color:#f76454}.swiper-nav[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?84?%;color:#666;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;border-bottom:%?1?% solid #f2f2f2}.swiper-nav .item[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%}.swiper-nav .item.active[data-v-7e034db4]{color:#f76454}.swiper-nav .moveBar[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-7e034db4]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-7e034db4]{flex:1;width:100%}.swiper-area uni-swiper[data-v-7e034db4]{width:100%;height:100%}.article-header[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?120?%;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-7e034db4]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:100%;margin-left:%?20?%;justify-content:flex-start}.article-header .name .identity[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?56?%;height:%?28?%;color:#fff;font-size:%?20?%;margin-left:%?20?%;border-radius:%?8?%;background:#f76454}.article-header .time[data-v-7e034db4]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-7e034db4]{color:#f76454}.article-footer[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-7e034db4]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-7e034db4]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-7e034db4]{color:#f76454}\n/*主题色及按钮渐变背景*/\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/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.num-input[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:%?200?%;height:%?64?%;overflow:hidden;font-size:%?32?%;background:#f2f2f2;border-radius:%?64?%}.num-input .i[data-v-7e034db4]{flex:1;height:100%;display:flex;align-items:center;justify-content:center;flex-direction:row}.num-input .i.c[data-v-7e034db4]{border-left:%?4?% solid #fff;border-right:%?4?% solid #fff}.num-input .inputModelWrapper[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;top:0;left:0;z-index:2000;width:100vw;height:100vh;position:fixed;background:rgba(0,0,0,.3)}.num-input .inputModelWrapper .inputModel[data-v-7e034db4]{width:%?600?%;height:%?400?%;background:#fff;border-radius:%?8?%;display:flex;align-items:center;justify-content:center;flex-direction:column}.num-input .inputModelWrapper .inputModel .t[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?100?%;border-bottom:%?1?% solid #ccc}.num-input .inputModelWrapper .inputModel .m[data-v-7e034db4]{width:100%;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:row}.num-input .inputModelWrapper .inputModel .m uni-input[data-v-7e034db4]{width:%?240?%;height:%?120?%;text-align:center;font-size:%?88?%;border-radius:%?8?%;border:%?1?% solid #ccc}.num-input .inputModelWrapper .inputModel .b[data-v-7e034db4]{display:flex;align-items:center;justify-content:center;flex-direction:row;width:100%;height:%?100?%;border-top:%?1?% solid #ccc}.num-input .inputModelWrapper .inputModel .b uni-text[data-v-7e034db4]{height:100%;flex:1;display:flex;align-items:center;justify-content:center;flex-direction:row}.num-input .inputModelWrapper .inputModel .b uni-text.basecolor[data-v-7e034db4]{border-left:%?1?% solid #ccc}',""]),t.exports=e}}]);