1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-firm-order-firm-order"],{"009f":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,"uni-page-body[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column;width:100%;height:100%;background-color:#f9f9fb}body.?%PAGE?%[data-v-2face993]{background-color:#f9f9fb}",""]),e.exports=t},"2cc9":function(e,t,i){"use strict";(function(e){var n=i("4ea4");i("99af"),i("4de4"),i("4160"),i("d81d"),i("fb6a"),i("ace4"),i("d3b7"),i("e25e"),i("ac1f"),i("466d"),i("5319"),i("1276"),i("5cc6"),i("9a8c"),i("a975"),i("735e"),i("c1ac"),i("d139"),i("3a7b"),i("d5d6"),i("82f8"),i("e91f"),i("60bd"),i("5f96"),i("3280"),i("3fcc"),i("ca91"),i("25a1"),i("cd26"),i("3c5d"),i("2954"),i("649e"),i("219c"),i("170b"),i("b39a"),i("72f7"),i("159b"),Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a=i("8912"),o=(n(i("11ed")),n(i("78d2"))),r={data:function(){return{orderCon:"",remark:"",store:"",isPick:!1,isPay:!0,isShare:"",shareShow:!1,poster:"",user_id:"",userInfo:"",code:{val:"",size:200,icon:"",iconsize:25,onval:!0,loadMake:"",showLoading:!0,loadingText:"二维码生成中..."},codeImg:"",goods:"",storeAds:"",isVip:"",shareGoods:{}}},components:{tkiQrcode:o.default},onLoad:function(e){var t=this,i=uni.getStorageSync("order"),n=i.filter((function(e){return e.sku&&e.sku.length>0}));n.forEach((function(e){e.sku=e.sku.filter((function(e){return e.num>0}))}));var a=n.filter((function(e){return e.sku&&e.sku.length>0}));this.orderCon=a,this.isShare=e.isShare,this.user_id=e.user_id,uni.getSystemInfo({success:function(e){t.model=e.model,t.canvasWidth=e.windowWidth/375,t.canvasHeight=e.windowHeight}})},onShow:function(){this.getUserInfo(this.user_id)},computed:{totalNum:function(){var e=0;return this.orderCon.map((function(t){t.sku.map((function(t){e+=t.num}))})),e},totalPrice:function(){var e=0;return this.orderCon.map((function(t){t.sku.map((function(i){e+=i.num*t.price}))})),e},vipPrice:function(){var e=0;return this.orderCon.map((function(t){t.sku.map((function(i){e+=i.num*t.vip_price}))})),e}},methods:{getUserInfo:function(e){var t=this;(0,a.getUser)({user_id:e}).then((function(e){200==e.code?(t.oldVip=t.isVip=e.data.is_vip,0==t.oldVip&&t.checkVip(),t.userInfo=e.data):uni.showModal({content:e.data||"获取客户信息失败",showCancel:fasle})}))},closeShare:function(){this.shareShow=!1,uni.reLaunch({url:"../order-manage/order-manage?status=1"})},checkVip:function(){var t=[],i=this.orderCon;e.log(i,"list"),i.map((function(e){e.sku.map((function(e){t.push(e)}))}));var n=0;1==t.length&&(n=t[0].num),t.length>=2||n>=2?this.isVip=1:this.isVip=0},subNum:function(e){var t=0;return e.sku.map((function(e){t+=e.num})),t},subtotal:function(e){var t=this,i=0;return e.sku.map((function(n){i+=1==t.isVip?n.num*e.vip_price:n.num*e.price})),i},zh:function(e){var t=[];for(var i in e)for(var n in t[i]=[],e[i])t[i].push(e[i][n]);return t},wxJsPay:function(e,t,i){"undefined"==typeof WeixinJSBridge?document.addEventListener?document.addEventListener("WeixinJSBridgeReady",this.jsApiCall,!1):document.attachEvent&&(document.attachEvent("WeixinJSBridgeReady",this.jsApiCall),document.attachEvent("onWeixinJSBridgeReady",this.jsApiCall)):this.jsApiCall(e,t,i)},jsApiCall:function(e,t,i){WeixinJSBridge.invoke("getBrandWCPayRequest",{appId:e.appId,timeStamp:e.timestamp,nonceStr:e.nonceStr,package:e.package,signType:e.signType,paySign:e.paySign},(function(e){var n=e.err_msg?e.err_msg:e.errMsg;switch(n){case"get_brand_wcpay_request:ok":t&&t(e);break;default:WeixinJSBridge.log("支付失败!"+n+",请返回重试."),i&&i({msg:n});break}}))},replaceOrder:function(t,i){var n=this,o=this.isPick?1:0;(0,a.replaceOrder)({address_id:"",sku:t,remark:this.remark,user_id:this.user_id,self_receive:o,store_id:this.store.id}).then((function(t){if(200==t.code){var o=t.data;if(0==i){var r=n.orderCon;return n.shareGoods={img:r[0].img,price:n.totalPrice,num:n.totalNum,name:r.length>1?r[0].main_attr+"...等":r[0].main_attr},n.shareShow=!0,n.code.val="".concat(n.$config.share_url,"#pages/scan-order/scan-order?order_no=").concat(o),e.log(n.code.val),n.$refs.qrcode._makeCode(),!1}(0,a.payMent)({order_no:o}).then((function(e){if(200!==e.error_code)return uni.showToast({title:"失败",icon:"none",duration:3e3}),!1;var t=function(e){uni.showToast({title:"支付成功"})},i=function(e){uni.showModal({content:"支付失败!",showCancel:!1,success:function(e){e.confirm&&uni.reLaunch({url:"../order-info/order-info?order_no="+o})}})};n.wxJsPay(e.data,t,i)}))}else uni.showModal({content:t.data||"提交订单失败",showCancel:!1})})).catch((function(e){n.isPay=!0})).finally((function(){setTimeout((function(){n.isPay=!0}),3e3)}))},payMoney:function(e){if(!this.isPay)return uni.showModal({content:"操作频繁,请稍后再试~",showCancel:!1}),!1;var t=this.orderCon,i=[],n=0;for(var a in t)for(var o in t[a].sku)i[n]=[t[a].sku[o].id,t[a].sku[o].num],n++;this.isPay=!1,this.replaceOrder(i,e);var r=this.orderCon[0];this.goods={img:r.img,price:parseInt(r.price),num:this.subNum(r),name:r.main_attr}},dataURLtoFile:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"file",i=e.split(","),n=i[0].match(/:(.*?);/)[1],a=n.split("/")[1],o=atob(i[1]),r=o.length,s=new Uint8Array(r);while(r--)s[r]=o.charCodeAt(r);return new File([s],"".concat(t,".").concat(a),{type:n})},blobToDataURI:function(e,t){var i=new FileReader;i.readAsDataURL(e),i.onload=function(e){t(e.target.result)}},drawPoster:function(e){var t=this,i=this;uni.showLoading({title:"图片加载中..."});var n=i.shareGoods;uni.getImageInfo({src:n.img,success:function(a){var o=uni.createCanvasContext("canvas"),r=uni.getStorageSync("store");r.name=r.name.length>7?r.name.slice(0,7)+"...的店铺":r.name+"的店铺";var s=i.canvasWidth;o.drawImage("../../static/imgs/shop/good_poster.png",0,0,270*s,480*s),o.font="normal bold 14px Microsoft YaHei",o.textAlign="center",o.fillText(r.name,uni.upx2px(270),uni.upx2px(210)),o.drawImage(a.path,uni.upx2px(110),uni.upx2px(270),uni.upx2px(130),uni.upx2px(103)),o.font="normal bold 14px Microsoft YaHei",o.fillText(n.name,n.name.length>3?uni.upx2px(320):uni.upx2px(290),uni.upx2px(300)),o.font="normal normal 12px Microsoft YaHei",o.setFillStyle("#999999"),o.fillText("".concat(n.num,"套"),uni.upx2px(282),uni.upx2px(340)),o.font="normal bold 12px Microsoft YaHei",o.setFillStyle("#FB231F"),o.fillText("¥",uni.upx2px(340),uni.upx2px(365)),o.font="normal bold 16px Microsoft YaHei",o.setFillStyle("#FB231F"),o.fillText(n.price,uni.upx2px(400),uni.upx2px(365)),o.drawImage(e,uni.upx2px(110),uni.upx2px(420),uni.upx2px(320),uni.upx2px(320)),o.font="noraml bold 14px 微软雅黑",o.textAlign="center",o.setFillStyle("#060001"),o.fillText("长按二维码-识别-支付",uni.upx2px(270),uni.upx2px(790)),setTimeout((function(e){o.draw(!1,(function(){uni.canvasToTempFilePath({width:270*s,height:480*s,canvasId:"canvas",success:function(e){if("iPhone"==t.model)t.poster=t.dataURLtoFile(e.tempFilePath).name;else{var i=e.tempFilePath.replace(/\. +/g,"");t.poster=i.replace(/[\r\n]/g,"")}}})})),uni.hideLoading()}),500)}})}}};t.default=r}).call(this,i("5a52")["default"])},"3c2e":function(e,t,i){var n=i("009f");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("16558e92",n,!0,{sourceMap:!1,shadowMode:!1})},4913:function(e,t,i){"use strict";i.d(t,"b",(function(){return a})),i.d(t,"c",(function(){return o})),i.d(t,"a",(function(){return n}));var n={tkiQrcode:i("78d2").default},a=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("v-uni-view",{staticClass:"co"},[i("v-uni-view",{staticClass:"safe_box"},[i("v-uni-view",[i("v-uni-text",{staticClass:"iconfont iconxuanzhong"}),i("v-uni-text",[e._v("支付安全有保障")])],1),i("v-uni-view",{staticStyle:{"margin-top":"20rpx"}},[i("v-uni-text",{staticClass:"iconfont iconxuanzhong"}),i("v-uni-text",[e._v("90天-366天不满意全额退款")])],1),i("v-uni-view",{staticStyle:{"margin-top":"20rpx"}},[i("v-uni-text",{staticClass:"iconfont iconxuanzhong"}),i("v-uni-text",[e._v("一次性购买满2套,在本店终身享受VIP价格")])],1)],1),i("v-uni-view",{staticClass:"order_detail"},[i("v-uni-view",{staticClass:"user_info flexS"},[i("v-uni-text",[e._v("客户:")]),e.userInfo.nickname!=e.userInfo.phone?i("v-uni-text",[e._v(e._s(e.userInfo.nickname))]):e._e(),i("v-uni-text",[e._v(e._s(e.userInfo.phone))])],1),e._l(e.orderCon,(function(t){return i("v-uni-view",{key:t.id,staticClass:"order_con"},[i("v-uni-view",{staticClass:"goods_con flexS"},[i("v-uni-image",{staticClass:"goods_img",attrs:{src:t.img}}),i("v-uni-view",[i("v-uni-text",{staticClass:"goods_name"},[e._v(e._s(t.name))]),i("v-uni-view",{staticClass:"price_box"},[1==e.isVip?i("v-uni-view",{staticClass:"goods_price flexS"},[i("v-uni-view",{staticClass:"flexS"},[i("v-uni-view",{staticClass:"vip_ident"},[e._v("VIP")]),i("v-uni-text",{staticClass:"vip_active"},[i("v-uni-text",{staticClass:"symbol"},[e._v("¥")]),i("v-uni-text",[e._v(e._s(t.vip_price))])],1)],1),i("v-uni-view",{staticClass:"draw_off"},[i("v-uni-text",[e._v("(")]),i("v-uni-text",{staticClass:"old_price"},[i("v-uni-text",[e._v("¥")]),i("v-uni-text",[e._v(e._s(t.price))])],1),i("v-uni-text",[e._v(")")])],1)],1):i("v-uni-view",{staticClass:"goods_price flexS"},[i("v-uni-text",{staticClass:"big_price"},[i("v-uni-text",[e._v("¥")]),i("v-uni-text",[e._v(e._s(t.price))])],1),i("v-uni-view",{staticClass:"save_box"},[e._v("VIP可省"+e._s(Number(t.price)-Number(t.vip_price)||0))])],1)],1)],1)],1),e._l(t.sku,(function(n){return i("v-uni-view",{key:n.id,staticClass:"goods_info"},[i("v-uni-view",{staticClass:"flexB"},[i("v-uni-view",[i("v-uni-text",{staticClass:"gray"},[e._v("款式:")]),i("v-uni-text",[e._v(e._s(n.type))])],1),i("v-uni-text",[e._v(e._s(1==e.isVip?t.vip_price*n.num:t.price*n.num)+"元")])],1),i("v-uni-view",{staticClass:"flexB"},[i("v-uni-view",[i("v-uni-text",{staticClass:"gray"},[e._v("尺码:")]),i("v-uni-text",[e._v(e._s(n.size))])],1),i("v-uni-text",[e._v("X "+e._s(n.num)+"套")])],1)],1)})),i("v-uni-view",{staticClass:"goods_total flexE"},[i("v-uni-text",{staticClass:"gray"},[e._v("共"+e._s(e.subNum(t))+"套,")]),i("v-uni-view",{staticClass:"price_box"},[i("v-uni-view",{staticClass:"goods_price flexS"},[i("v-uni-view",{staticClass:"flexS"},[i("v-uni-text",[e._v("小计:")]),i("v-uni-text",{staticClass:"big_price"},[i("v-uni-text",[e._v("¥")]),i("v-uni-text",[e._v(e._s(e.subtotal(t)))])],1)],1)],1)],1)],1)],2)})),i("v-uni-view",{staticClass:"remark"},[i("v-uni-view",{staticClass:"remark_title"},[e._v("订单备注")]),i("v-uni-view",{staticClass:"remark_box"},[i("v-uni-textarea",{attrs:{placeholder:"可将收货人姓名、电话和地址备注在这里","placeholder-class":"place","auto-height":!0,maxlength:"240"},model:{value:e.remark,callback:function(t){e.remark=t},expression:"remark"}})],1)],1)],2),i("v-uni-view",{staticClass:"fixed_box"},[i("v-uni-view",{staticClass:"all"},[i("v-uni-text",{staticClass:"gray"},[e._v("共"+e._s(e.totalNum)+"套,")]),i("v-uni-text",[e._v("合计:")]),i("v-uni-text",{staticClass:"big_price"},[i("v-uni-text",[e._v("¥")]),i("v-uni-text",{staticStyle:{"font-size":"60rpx"}},[e._v(e._s(1==e.isVip?e.vipPrice:e.totalPrice))])],1),1==e.isVip?i("v-uni-view",{staticClass:"one_year",staticStyle:{"margin-left":"15rpx"}},[e._v("已省"+e._s(e.totalPrice-e.vipPrice))]):e._e()],1),i("v-uni-view",{staticClass:"btn_con flexC"},[i("v-uni-view",{staticClass:"flexC",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.payMoney(1)}}},[e._v("我代为支付")]),i("v-uni-view",{staticClass:"flexC",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.payMoney(0)}}},[e._v("分享给客户支付")])],1)],1),e.shareShow?i("v-uni-view",{staticClass:"share_show"},[i("v-uni-view",{staticClass:"share_con flexCC"},[i("v-uni-text",{staticClass:"iconfont iconguanbi",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.closeShare.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"canvas"},[i("v-uni-view",{staticClass:"canvas"},[i("v-uni-canvas",{staticStyle:{width:"100%",height:"100%"},attrs:{"canvas-id":"canvas",id:"canvas"}},[i("img",{staticClass:"poster_img",attrs:{src:e.poster,mode:"widthFix"}})])],1)],1),i("v-uni-view",{staticClass:"save_img"},[e._v("长按图片发送给朋友")])],1),i("v-uni-view",{staticClass:"qrimg"},[i("tki-qrcode",{ref:"qrcode",attrs:{val:e.code.val,size:e.code.size,icon:e.code.icon,iconSize:e.code.iconsize,onval:e.code.onval,loadMake:e.code.loadMake,showLoading:e.code.showLoading,loadingText:e.code.loadingText},on:{result:function(t){arguments[0]=t=e.$handleEvent(t),e.drawPoster.apply(void 0,arguments)}}})],1)],1):e._e()],1)},o=[]},51180:function(e,t,i){"use strict";var n=i("69a9"),a=i.n(n);a.a},6202:function(e,t,i){"use strict";i.r(t);var n=i("4913"),a=i("cfb2");for(var o in a)"default"!==o&&function(e){i.d(t,e,(function(){return a[e]}))}(o);i("82de"),i("51180");var r,s=i("f0c5"),c=Object(s["a"])(a["default"],n["b"],n["c"],!1,null,"2face993",null,!1,n["a"],r);t["default"]=c.exports},"69a9":function(e,t,i){var n=i("720a");"string"===typeof n&&(n=[[e.i,n,""]]),n.locals&&(e.exports=n.locals);var a=i("4f06").default;a("3073a3ad",n,!0,{sourceMap:!1,shadowMode:!1})},"720a":function(e,t,i){var n=i("24fb");t=n(!1),t.push([e.i,'@charset "UTF-8";.app-item[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;font-size:%?32?%;position:relative;background:#fff;box-sizing:border-box;min-height:%?90?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;padding:0 %?30?%;margin-bottom:%?2?%}.app-item.item-space[data-v-2face993]{margin-top:%?10?%}.app-item uni-input[data-v-2face993], .app-item uni-picker[data-v-2face993], .app-item uni-textarea[data-v-2face993]{height:100%;width:%?521?%;font-size:%?26?%;text-align:left;color:#999}.kingkong[data-v-2face993]{height:%?346?%;margin-top:%?10?%}.kingkong uni-navigator[data-v-2face993]{width:25%;height:50%;float:left;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.kingkong uni-navigator uni-image[data-v-2face993]{width:%?88?%;height:%?88?%;margin-top:%?30?%;border-radius:50%}.kingkong uni-navigator uni-text[data-v-2face993]{font-size:%?32?%;margin-top:%?12?%}.big-btn[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2face993]{color:#fff;background:#f76454}.small-btn[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2face993]{color:#999;border-color:#999}.login-btn[data-v-2face993]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%;height:100%;background:#fff}.login-btn uni-navigator[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2face993]{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.icon-right[data-v-2face993]{margin-right:%?20?%}.border-right[data-v-2face993]{border-right:%?1?% solid #f2f2f2}.level-name[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:%?130?%;height:%?36?%;color:#fff;font-size:%?16?%!important;border-radius:%?18?%;background:#f76454}.level-name .cuIcon-crownfill[data-v-2face993]{margin-right:%?6?%}.position-center[data-v-2face993]{left:50%;top:50%;position:absolute;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%)}.data-card[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;width:100%;height:%?336?%;position:relative;background:#f2f2f2}.data-card uni-image[data-v-2face993]{z-index:0;width:%?706?%;height:%?316?%}.data-card .data-card-text[data-v-2face993]{width:100%;height:100%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;flex-direction:column}.data-card .data-card-text .text[data-v-2face993]{color:#fff;font-size:%?32?%}.data-card .data-card-text .num[data-v-2face993]{color:#fff;font-size:%?70?%;margin-top:%?60?%}.basecolor[data-v-2face993]{color:#f76454}.swiper-nav[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%}.swiper-nav .item.active[data-v-2face993]{color:#f76454}.swiper-nav .moveBar[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;bottom:0;height:%?6?%;position:absolute}.swiper-nav .moveBar > uni-text[data-v-2face993]{width:100%;height:100%;border-radius:%?3?%;background:#f76454}.swiper-area[data-v-2face993]{-webkit-box-flex:1;-webkit-flex:1;flex:1;width:100%}.swiper-area uni-swiper[data-v-2face993]{width:100%;height:100%}.article-header[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?120?%;-webkit-box-pack:justify;-webkit-justify-content:space-between;justify-content:space-between;border-bottom:%?1?% solid #f2f2f2}.article-header .head-pic[data-v-2face993]{width:%?80?%;height:%?80?%;border-radius:50%}.article-header .name[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:100%;margin-left:%?20?%;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start}.article-header .name .identity[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;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-2face993]{font-size:%?24?%;color:#999}.article-header .time.justnow[data-v-2face993]{color:#f76454}.article-footer[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;height:%?90?%;border-top:%?1?% solid #f2f2f2}.article-footer .footer-item[data-v-2face993]{display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-align:center;-webkit-align-items:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-webkit-flex-direction:row;flex-direction:row;-webkit-box-flex:1;-webkit-flex:1;flex:1;height:%?40?%}.article-footer .footer-item.center[data-v-2face993]{border-left:%?1?% solid #ccc;border-right:%?1?% solid #ccc}.article-footer .footer-item .icon-right[data-v-2face993]{font-size:%?40?%}.article-footer .footer-item .icon-right.fill[data-v-2face993]{color:#f76454}\r\n/*主题色及按钮渐变背景*/\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/* 文章场景相关 */.goods_price .vip_ident[data-v-2face993]{width:%?56?%;height:%?40?%;background:-webkit-linear-gradient(224deg,#66647a,#404146);background:linear-gradient(226deg,#66647a,#404146);border-radius:%?4?%;font-size:%?28?%;color:#fcf7c0;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:center;-webkit-justify-content:center;justify-content:center;-webkit-box-align:center;-webkit-align-items:center;align-items:center;margin-right:%?10?%}.goods_price .old_price[data-v-2face993]{text-decoration:line-through;font-size:%?28?%;font-weight:500}.goods_price .draw_off uni-text[data-v-2face993]{color:#999}.goods_price .symbol[data-v-2face993]{font-size:%?28?%}.goods_price .price[data-v-2face993]{font-weight:600;font-size:%?36?%}.goods_price .price uni-text[data-v-2face993]{color:#fb231f}.goods_price .vip[data-v-2face993]{font-size:%?28?%;font-weight:700;color:#333}.goods_price .vip_active[data-v-2face993]{font-size:%?36?%;font-weight:700}.goods_price .vip_active uni-text[data-v-2face993]{color:#fb231f}.goods_price .vip_img[data-v-2face993]{width:%?88?%;height:%?36?%;vertical-align:%?-6?%;margin-right:%?10?%}.qrimg[data-v-2face993]{opacity:0}.fixed_box[data-v-2face993]{position:fixed;bottom:0;left:0;width:100%;background-color:#fff}.fixed_box .all[data-v-2face993]{height:%?98?%;border-bottom:%?1?% solid #eee;padding:0 %?30?% %?10?%;display:-webkit-box;display:-webkit-flex;display:flex;-webkit-box-pack:start;-webkit-justify-content:flex-start;justify-content:flex-start;-webkit-box-align:end;-webkit-align-items:flex-end;align-items:flex-end}.fixed_box .btn_con[data-v-2face993]{height:%?120?%}.fixed_box .btn_con uni-view[data-v-2face993]{width:%?292?%;height:%?88?%;font-size:%?28?%;color:#fff}.fixed_box .btn_con uni-view[data-v-2face993]:first-child{background:-webkit-linear-gradient(355deg,#ffaa01,#ffb02e);background:linear-gradient(95deg,#ffaa01,#ffb02e);border-radius:%?44?% 0 0 %?44?%}.fixed_box .btn_con uni-view[data-v-2face993]:last-child{background:-webkit-linear-gradient(357deg,#ff232c,#ff571b);background:linear-gradient(93deg,#ff232c,#ff571b);border-radius:0 %?44?% %?44?% 0}.share_show[data-v-2face993]{width:100%;height:100vh;position:fixed;top:0;left:0;background-color:rgba(0,0,0,.7);z-index:9999}.share_show .share_con[data-v-2face993]{width:80%;margin:0 auto;height:100%;z-index:999999}.share_show .share_con .canvas[data-v-2face993]{width:%?540?%;height:%?960?%;position:relative}.share_show .share_con .canvas #canvas[data-v-2face993]{width:%?540?%;height:%?960?%;position:absolute;top:0;left:0}.share_show .share_con .canvas .poster_img[data-v-2face993]{-webkit-touch-callout:default;width:100%;height:100%;display:block}.share_show .share_con .canvas img[src][data-v-2face993],\r\n.share_show .share_con .canvas img[data-v-2face993]:not([src]){opacity:0}.share_show .share_con .save_img[data-v-2face993]{color:#fff;width:100%;text-align:center;font-size:%?40?%;margin-top:%?20?%}.share_show .share_con .iconfont[data-v-2face993]{position:absolute;top:4vh;right:%?25?%;color:#dedede;font-size:%?60?%;z-index:999}.share_show .sub_btn[data-v-2face993]{margin-top:%?76?%}.co[data-v-2face993]{-webkit-box-flex:1;-webkit-flex:1;flex:1;background-color:#f9f9fb;padding:%?30?%}.co .pick_up[data-v-2face993]{background:#fff;margin-bottom:%?30?%;border-radius:%?24?%;padding:%?15?% %?30?%}.co .pick_up .store_ads[data-v-2face993]{font-size:%?28?%;margin:%?10?% 0 0 %?50?%}.co .pick_up .iconfont[data-v-2face993]{font-size:%?40?%;margin-right:%?15?%;color:#999;vertical-align:%?-4?%}.co .pick_up .iconxuanzhong[data-v-2face993]{color:#fb231f}.co .pick_up uni-text[data-v-2face993]{font-size:%?28?%}.co .order_detail[data-v-2face993]{padding-bottom:%?30?%;background:#fff;width:%?690?%;margin:0 auto %?240?%;box-sizing:border-box;border-radius:%?24?%}.co .order_detail .user_info[data-v-2face993]{height:%?112?%;padding-left:%?30?%;line-height:%?112?%;border-bottom:%?1?% solid #eee}.co .order_detail .user_info uni-text[data-v-2face993]{font-size:%?30?%;font-weight:700}.co .order_detail .user_info .store_avatar[data-v-2face993]{width:%?52?%;height:%?52?%;border-radius:50%;margin-right:%?15?%}.co .order_detail .order_con[data-v-2face993]{padding:0 %?30?%;margin-top:%?30?%}.co .order_detail .order_con .goods_con .goods_img[data-v-2face993]{width:%?200?%;height:%?160?%;margin-right:%?26?%;border-radius:%?8?%;-webkit-flex-shrink:0;flex-shrink:0}.co .order_detail .order_con .goods_con .goods_name[data-v-2face993]{font-size:%?30?%;font-weight:700}.co .order_detail .order_con .goods_con .goods_price[data-v-2face993]{margin-top:%?20?%}.co .order_detail .order_con .goods_info[data-v-2face993]{margin:%?30?% 0}.co .order_detail .order_con .goods_info > uni-view[data-v-2face993]{margin-bottom:%?10?%}.co .order_detail .remark[data-v-2face993]{padding:0 %?30?%;box-sizing:border-box}.co .order_detail .remark .remark_title[data-v-2face993]{font-size:%?30?%;font-weight:700;padding:%?15?% 0}.co .order_detail .remark .remark_box[data-v-2face993]{width:100%;padding:%?20?% %?30?%;min-height:%?88?%;border-radius:%?15?%;background:#f8f8f8}.co .order_detail .remark .remark_box uni-textarea[data-v-2face993]{width:100%}.co .order_detail .remark .place[data-v-2face993]{font-size:%?30?%;color:#a7a7a7}.co .co_address[data-v-2face993]{padding:%?30?%;width:100%;box-sizing:border-box;background-color:#fff;border-radius:%?24?%;margin-bottom:%?30?%}.co .co_address .icondizhi1[data-v-2face993]{color:#fb231f;font-size:%?50?%;vertical-align:middle}.co .co_address .gray[data-v-2face993]{margin-left:%?20?%}.co .co_address .iconiconfontjiantou2[data-v-2face993]{color:#999}.co .co_address .ads_info[data-v-2face993]{margin:0 %?15?%}.co .co_address .ads_info .shop_info[data-v-2face993]{font-size:%?32?%;font-weight:700}.co .co_address .ads_info .shop_info uni-text[data-v-2face993]:last-child{font-size:%?28?%;color:#999}',""]),e.exports=t},"82de":function(e,t,i){"use strict";var n=i("3c2e"),a=i.n(n);a.a},8912:function(e,t,i){"use strict";var n=i("4ea4");Object.defineProperty(t,"__esModule",{value:!0}),t.receipts=t.goldPlan=t.cancelRefund=t.submitRefund=t.refundOrderInfo=t.getRefund=t.getSaleAccount=t.getSaleInfo=t.getRecord=t.setBank=t.getBankInfo=t.withdraw=t.getAccount=t.getBankBranch=t.getBank=t.editLog=t.pickUp=t.getLogs=t.addLogs=t.getLogsCode=t.getUser=t.completeUser=t.getUserOrder=t.getMoreBuy=t.getScanUser=t.getBuyUser=t.getUserInfo=t.loginTest=t.replyCommet=t.getComment=t.editRemark=t.delCancel=t.refundOrderDetail=t.refundList=t.cancelList=t.getOrigin=t.addUser=t.cancelAudit=t.cancelOrder=t.shareOrder=t.cancelAuth=t.getStoreUser=t.payMent=t.replaceOrder=t.getOrderList=t.orderQuery=t.getOrderInfo=t.getExpress=t.getAds=t.addAds=t.setDefault=t.getUserPhone=t.getAllAds=t.deleteAds=t.updateAds=t.goodsDetail=t.getSku=t.shareGoods=t.getGoodsList=t.shareStore=t.uploadImg=t.editPhone=t.checkPhone=t.sendSms=t.editName=t.getStoreInfo=t.uploadCard=t.secondAuth=t.getIdCard=t.getAgree=t.agentInfo=t.storeAuth=t.getState=t.editAds=t.confirmReceipt=t.uploadSign=t.getLocation=t.location=void 0;var a=n(i("c48d")),o=function(e){return a.default.get("/store/get_sign_package",e)};t.location=o;var r=function(e){return a.default.get("/store/get_address_info",e)};t.getLocation=r;var s=function(e){return a.default.post("/store/upload_qian_ming_img",e)};t.uploadSign=s;var c=function(e){return a.default.post("/store/sure_receive_order",e)};t.confirmReceipt=c;var d=function(e){return a.default.post("/store/edit_store_address",e)};t.editAds=d;var f=function(e){return a.default.get("/miniSub/query",e)};t.getState=f;var l=function(e){return a.default.post("/store/cert_store",e)};t.storeAuth=l;var u=function(e){return a.default.get("/store/get_agent_info",e)};t.agentInfo=u;var g=function(e){return a.default.post("/store/set_agree",e)};t.getAgree=g;var v=function(e){return a.default.uploadFile("/miniSub/uploadmedia",e)};t.getIdCard=v;var b=function(e){return a.default.post("/miniSub/apply_wx",e)};t.secondAuth=b;var p=function(e){return a.default.post("/store/upload_cert_img",e)};t.uploadCard=p;var x=function(e){return a.default.get("/store/get_store_info",e)};t.getStoreInfo=x;var w=function(e){return a.default.post("/store/edit_store_info",e)};t.editName=w;var _=function(e){return a.default.get("/store/send_sms",e)};t.sendSms=_;var h=function(e){return a.default.post("/store/check_sms",e)};t.checkPhone=h;var k=function(e){return a.default.post("/store/edit_sms",e)};t.editPhone=k;var m=function(e){return a.default.get("/store/upload_store_img",e)};t.uploadImg=m;var y=function(e){return a.default.post("/store/share_store",e)};t.shareStore=y;var C=function(e){return a.default.get("/store_goods/get_goods_list",e)};t.getGoodsList=C;var S=function(e){return a.default.get("/store_goods/share_goods",e)};t.shareGoods=S;var z=function(e){return a.default.get("/store_goods/get_goods_taps",e)};t.getSku=z;var j=function(e){return a.default.get("/store_goods/get_goods_detail",e)};t.goodsDetail=j;var A=function(e){return a.default.post("/store/update_address",e)};t.updateAds=A;var I=function(e){return a.default.post("/store/destroy_address",e)};t.deleteAds=I;var P=function(e){return a.default.get("/store/get_all_address",e)};t.getAllAds=P;var L=function(e){return a.default.get("/store/get_user_info",e)};t.getUserPhone=L;var U=function(e){return a.default.post("/store/set_default_address",e)};t.setDefault=U;var B=function(e){return a.default.post("/store/add_address",e)};t.addAds=B;var M=function(e){return a.default.get("/store/get_address",e)};t.getAds=M;var O=function(e){return a.default.get("/store/get_express_company",e)};t.getExpress=O;var R=function(e){return a.default.get("/store/get_order_info",e)};t.getOrderInfo=R;var T=function(e){return a.default.get("/store/get_order_no_info",e)};t.orderQuery=T;var F=function(e){return a.default.get("/store/get_order_list",e)};t.getOrderList=F;var V=function(e){return a.default.post("/store/submit_order_info",e)};t.replaceOrder=V;var E=function(e){return a.default.post("/payment/pay",e)};t.payMent=E;var J=function(e){return a.default.get("/store_goods/get_store_user",e)};t.getStoreUser=J;var N=function(e){return a.default.post("/store/auth_order_cancel",e)};t.cancelAuth=N;var W=function(e){return a.default.post("/store/share_order_info",e)};t.shareOrder=W;var q=function(e){return a.default.post("/store/cancel_order",e)};t.cancelOrder=q;var D=function(e){return a.default.post("/store/auth_order_cancel ",e)};t.cancelAudit=D;var G=function(e){return a.default.post("/store/add_user",e)};t.addUser=G;var H=function(e){return a.default.get("/store/get_origin_order_info",e)};t.getOrigin=H;var $=function(e){return a.default.get("/store_goods/get_cancel_order_list",e)};t.cancelList=$;var Y=function(e){return a.default.get("/store_goods/get_all_refund_order",e)};t.refundList=Y;var Q=function(e){return a.default.get("/store_goods/get_refund_order_detail",e)};t.refundOrderDetail=Q;var X=function(e){return a.default.post("/store_goods/delete_origin_order",e)};t.delCancel=X;var K=function(e){return a.default.post("/store/edit_order_remark",e)};t.editRemark=K;var Z=function(e){return a.default.get("/store/get_comment",e)};t.getComment=Z;var ee=function(e){return a.default.post("/store/add_comment",e)};t.replyCommet=ee;var te=function(e){return a.default.get("/set_login",e)};t.loginTest=te;var ie=function(e){return a.default.get("/store/get_user_data_info",e)};t.getUserInfo=ie;var ne=function(e){return a.default.get("/store/get_more_buy",e)};t.getBuyUser=ne;var ae=function(e){return a.default.get("/store/get_more_scan",e)};t.getScanUser=ae;var oe=function(e){return a.default.get("/store/get_more_user_info",e)};t.getMoreBuy=oe;var re=function(e){return a.default.get("/store/get_user_all_order",e)};t.getUserOrder=re;var se=function(e){return a.default.post("/store/edit_user",e)};t.completeUser=se;var ce=function(e){return a.default.get("/store/get_user",e)};t.getUser=ce;var de=function(e){return a.default.get("/store/get_express_code",e)};t.getLogsCode=de;var fe=function(e){return a.default.post("/store/add_order_express_no",e)};t.addLogs=fe;var le=function(e){return a.default.get("/store/get_order_express",e)};t.getLogs=le;var ue=function(e){return a.default.post("/store/one_self_take",e)};t.pickUp=ue;var ge=function(e){return a.default.post("/store_goods/edit_express",e)};t.editLog=ge;var ve=function(e){return a.default.get("/miniSub/get_all_bank",e)};t.getBank=ve;var be=function(e){return a.default.get("/miniSub/get_bank_branch",e)};t.getBankBranch=be;var pe=function(e){return a.default.get("/miniSub/get_account_info",e)};t.getAccount=pe;var xe=function(e){return a.default.post("/miniSub/withdrawal",e)};t.withdraw=xe;var we=function(e){return a.default.get("/miniSub/get_bank_info",e)};t.getBankInfo=we;var _e=function(e){return a.default.post("/miniSub/set_bank_info",e)};t.setBank=_e;var he=function(e){return a.default.get("/miniSub/get_account_detail",e)};t.getRecord=he;var ke=function(e){return a.default.get("/store_goods/get_sale_info",e)};t.getSaleInfo=ke;var me=function(e){return a.default.get("/store_goods/get_sale_account",e)};t.getSaleAccount=me;var ye=function(e){return a.default.get("/store/get_refund_order_detail",e)};t.getRefund=ye;var Ce=function(e){return a.default.get("/store/get_origin_order_info",e)};t.refundOrderInfo=Ce;var Se=function(e){return a.default.post("/store/submit_refund_order",e)};t.submitRefund=Se;var ze=function(e){return a.default.get("/store/cancel_refund_order",e)};t.cancelRefund=ze;var je=function(e){return a.default.post("/miniSub/dianjin",e)};t.goldPlan=je;var Ae=function(e){return a.default.post("/miniSub/business_tips",e)};t.receipts=Ae},cfb2:function(e,t,i){"use strict";i.r(t);var n=i("2cc9"),a=i.n(n);for(var o in n)"default"!==o&&function(e){i.d(t,e,(function(){return n[e]}))}(o);t["default"]=a.a}}]);
|