new files
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/components/PriceChange/index"],{"3ad8":function(e,t,r){"use strict";r.r(t);var i=r("cac5"),n=r.n(i);for(var s in i)["default"].indexOf(s)<0&&function(e){r.d(t,e,(function(){return i[e]}))}(s);t["default"]=n.a},5196:function(e,t,r){},"955d":function(e,t,r){"use strict";r.r(t);var i=r("f4da"),n=r("3ad8");for(var s in n)["default"].indexOf(s)<0&&function(e){r.d(t,e,(function(){return n[e]}))}(s);r("9ad4");var a=r("828b"),c=Object(a["a"])(n["default"],i["b"],i["c"],!1,null,"a4eeb524",null,!1,i["a"],void 0);t["default"]=c.exports},"9ad4":function(e,t,r){"use strict";var i=r("5196"),n=r.n(i);n.a},cac5:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i={name:"PriceChange",components:{},props:{change:{type:Boolean,default:!1},orderInfo:{type:Object,default:function(){}},status:{type:String,default:""},isRefund:{type:Number||String,default:0}},data:function(){return{focus:!1,price:0,refund_price:0,remark:"",refuse_reason:"",isAgree:!0}},watch:{orderInfo:function(e){this.price=this.orderInfo.pay_price,this.refund_price=this.orderInfo.pay_price,this.remark=this.orderInfo.remark},change:function(e){e&&(this.isAgree=!0,this.refuse_reason="")},isRefund:function(e){}},methods:{priceChange:function(){this.focus=!0},close:function(){this.price=this.orderInfo.pay_price,this.$emit("closechange",!1)},save:function(){this.$emit("savePrice",{price:this.price,refund_price:this.refund_price,type:1,remark:this.remark})},refuse:function(){this.$emit("savePrice",{price:this.price,refund_price:this.refund_price,type:2,remark:this.remark,refuse_reason:this.refuse_reason})},agreeChange:function(e){this.isAgree=e,this.isAgree&&(this.refuse_reason="")},onConfirm:function(){1==this.status&&this.save(),2==this.status&&(this.isRefund,this.isAgree?this.save():this.refuse())}}};t.default=i},f4da:function(e,t,r){"use strict";r.d(t,"b",(function(){return i})),r.d(t,"c",(function(){return n})),r.d(t,"a",(function(){}));var i=function(){var e=this.$createElement;this._self._c},n=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/admin/components/PriceChange/index-create-component',
|
||||
{
|
||||
'pages/admin/components/PriceChange/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("955d"))
|
||||
})
|
||||
},
|
||||
[['pages/admin/components/PriceChange/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.safe-area-inset-bottom.data-v-a4eeb524{height:0;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.mask.data-v-a4eeb524{z-index:99}.priceChange .reGoods.data-v-a4eeb524{padding:0 25rpx;margin-top:50rpx}.priceChange .reGoods .bnt.data-v-a4eeb524{width:250rpx;height:90rpx;background-color:#2291f8;font-size:32rpx;color:#fff;text-align:center;line-height:90rpx;border-radius:45rpx}.priceChange .reGoods .bnt.grey.data-v-a4eeb524{background-color:#eee;color:#312b2b}.priceChange.data-v-a4eeb524{position:fixed;bottom:0;left:0;z-index:99999;width:100%;border-radius:40rpx 40rpx 0 0;background:#fff;-webkit-transform:translateY(100%);transform:translateY(100%);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.priceChange.on.data-v-a4eeb524{-webkit-transform:translateY(0);transform:translateY(0)}.priceChange.goodsOn.data-v-a4eeb524{height:380rpx}.priceChange .priceTitle.data-v-a4eeb524{position:relative;height:108rpx;text-align:center;font-weight:500;font-size:32rpx;line-height:108rpx;color:#333}.priceChange .priceTitle .btn.data-v-a4eeb524{position:absolute;top:50%;right:32rpx;width:36rpx;height:36rpx;border-radius:50%;margin-top:-18rpx;background:#eee;text-align:center;line-height:36rpx}.priceChange .priceTitle .iconfont.data-v-a4eeb524{vertical-align:text-bottom;font-weight:400;font-size:24rpx}.priceChange .listChange.data-v-a4eeb524{padding:32rpx;min-height:260rpx}.priceChange .listChange .item.data-v-a4eeb524{margin-bottom:64rpx;font-size:28rpx;line-height:40rpx;color:#333}.priceChange .listChange .item.data-v-a4eeb524:last-child{margin-bottom:0}.priceChange .listChange .title.data-v-a4eeb524{font-size:32rpx;text-align:center;margin-top:52rpx}.priceChange .listChange .item .money.data-v-a4eeb524{flex:1;text-align:right;font-family:Regular;font-size:36rpx}.priceChange .listChange .item .iconfont.data-v-a4eeb524{margin-left:8rpx;font-size:32rpx}.priceChange .listChange .item .money input.data-v-a4eeb524{color:#ff7e00}.priceChange .modify-box.data-v-a4eeb524{padding:20rpx}.priceChange .btn-box.data-v-a4eeb524{flex:1;height:72rpx;border:2rpx solid #2a7efb;border-radius:36rpx;margin-right:16rpx;text-align:center;font-weight:500;font-size:26rpx;line-height:68rpx;color:#2a7efb}.priceChange .btn-box.data-v-a4eeb524:last-child{margin-right:0}.priceChange .modify.data-v-a4eeb524{border-color:#2a7efb;background:#2a7efb;color:#fff}.priceChange .modify1.data-v-a4eeb524{font-size:32rpx;color:#312b2b;width:490rpx;height:90rpx;text-align:center;line-height:90rpx;border-radius:45rpx;background-color:#eee;margin:30rpx auto 0 auto}.priceChange .listChange textarea.data-v-a4eeb524{box-sizing:border-box;border:2rpx solid #ccc;width:100%;height:224rpx;padding:20rpx;border-radius:16rpx;font-size:28rpx;line-height:40rpx;color:#333}.radio-item.data-v-a4eeb524{font-size:28rpx;color:#999}.radio-item + .radio-item.data-v-a4eeb524{margin-left:48rpx}.radio-item .iconfont.data-v-a4eeb524{margin-right:12rpx;font-size:32rpx}.radio-item.on.data-v-a4eeb524{color:#333}.radio-item.on .iconfont.data-v-a4eeb524{color:#2a7efb}.reason.data-v-a4eeb524{width:462rpx!important;height:80rpx!important;padding:0!important;border:0!important}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/components/footerPage/index"],{"2cfa":function(e,t,n){"use strict";n.r(t);var a=n("abc6"),o=n.n(a);for(var c in a)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(c);t["default"]=o.a},3498:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return o})),n.d(t,"a",(function(){}));var a=function(){var e=this.$createElement;this._self._c},o=[]},"49d8":function(e,t,n){"use strict";n.r(t);var a=n("3498"),o=n("2cfa");for(var c in o)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return o[e]}))}(c);n("ab4e");var i=n("828b"),r=Object(i["a"])(o["default"],a["b"],a["c"],!1,null,"00ebe3fb",null,!1,a["a"],void 0);t["default"]=r.exports},6640:function(e,t,n){},ab4e:function(e,t,n){"use strict";var a=n("6640"),o=n.n(a);o.a},abc6:function(e,t,n){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var a={name:"adminFooterTab",props:{},created:function(){var e=getCurrentPages(),t=e[e.length-1].route;this.activeRouter="/"+t},mounted:function(){},data:function(){return{activeRouter:"",footerList:[{pagePath:"/pages/admin/work/index",iconPath:n("394b"),selectedIconPath:n("c888"),text:"工作台"},{pagePath:"/pages/admin/goods/index",iconPath:n("d6e0"),selectedIconPath:n("cc2e"),text:"商品"},{pagePath:"/pages/admin/orderList/index",iconPath:n("57be"),selectedIconPath:n("2416"),text:"订单"},{pagePath:"/pages/admin/user/list",iconPath:n("39ff"),selectedIconPath:n("a34a"),text:"用户"}]}},methods:{goRouter:function(t){var n=getCurrentPages(),a=n[n.length-1].$page.fullPath;t.pagePath!=a&&e.redirectTo({url:t.pagePath,animationType:"none"})}}};t.default=a}).call(this,n("df3c")["default"])}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/admin/components/footerPage/index-create-component',
|
||||
{
|
||||
'pages/admin/components/footerPage/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("49d8"))
|
||||
})
|
||||
},
|
||||
[['pages/admin/components/footerPage/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="page-footer data-v-00ebe3fb"><block wx:for="{{footerList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['goRouter',['$0',index],[[['footerList','',index]]]]]]]}}" class="{{['foot-item','data-v-00ebe3fb',item.pagePath==activeRouter?'active':'']}}" bindtap="__e"><block wx:if="{{item.pagePath==activeRouter}}"><block class="data-v-00ebe3fb"><image src="{{item.selectedIconPath}}" class="data-v-00ebe3fb"></image><view class="txt data-v-00ebe3fb">{{item.text}}</view></block></block><block wx:else><block class="data-v-00ebe3fb"><image src="{{item.iconPath}}" class="data-v-00ebe3fb"></image><view class="txt data-v-00ebe3fb">{{item.text}}</view></block></block></view></block></view>
|
||||
@@ -0,0 +1 @@
|
||||
.page-footer.data-v-00ebe3fb{position:fixed;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:space-around;width:100%;height:calc(100rpx + constant(safe-area-inset-bottom));height:calc(100rpx + env(safe-area-inset-bottom));box-sizing:border-box;border-top:solid 1rpx #f3f3f3;background-color:#fff;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.page-footer .foot-item.data-v-00ebe3fb{display:flex;width:-webkit-max-content;width:max-content;align-items:center;justify-content:center;flex-direction:column;position:relative;padding:0 20rpx}.page-footer .foot-item.active.data-v-00ebe3fb{color:#2a7efb}.page-footer .foot-item image.data-v-00ebe3fb{height:40rpx;width:40rpx;text-align:center;margin:0 auto}.page-footer .foot-item .txt.data-v-00ebe3fb{font-size:20rpx;margin-top:6rpx}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/components/writeOffList/index"],{1377:function(t,i,n){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=n("6af6"),s=(n("28d0"),{props:{list:{type:Object,default:function(){return{}}},auth:{type:[String,Number],default:1},oid:{type:Number,default:0}},data:function(){return{nums:[],newList:[],reduce_show:-1,plus_show:-1,ids:[],lets:0,listlet:0,attr:{cartAttr:!1,id:[],code:"",type:0},lists:{},lengt:0,box:!1,checked:!1,checkModel:[],isAllSelect:!1,data:[{id:"1",value:"aaa"},{id:"2",value:"bbb"},{id:"3",value:"ccc"}],writeOffNum:0,cart_info:[],numChecked:0}},watch:{checkModel:function(){}},mounted:function(){this.cart_info=this.list.cart_info,this.checkAll()},methods:{num:function(){for(var t=0;t<this.lists.cart_info.length;t++)this.nums.push({num:0})},subCart:function(t,i){this.list.cart_info[i].surplus_num_input--},addCart:function(t,i){this.list.cart_info[i].surplus_num_input++},checkAll:function(){this.cart_info;this.checkModel=[],this.checked=!this.checked;for(var t=0;t<this.cart_info.length;t++)this.cart_info[t].checked=this.checked,this.cart_info[t].checked&&this.checkModel.push(this.cart_info[t].cart_id);for(var i=0,n=0;n<this.cart_info.length;n++)this.cart_info[n].is_writeoff||this.cart_info[n].checked&&(i+=this.cart_info[n].surplus_num_input);this.numChecked=i},dan:function(t,i){this.cart_info[i].checked=!this.cart_info[i].checked,this.checkModel=[];for(var n=0;n<this.cart_info.length;n++)this.cart_info[n].checked&&this.checkModel.push(this.cart_info[n].cart_id);for(var e=!0,s=0;s<this.cart_info.length;s++)this.cart_info[s].is_writeoff||this.cart_info[s].checked||(e=!1);this.checked=e;for(var c=0,r=0;r<this.cart_info.length;r++)this.cart_info[r].is_writeoff||this.cart_info[r].checked&&(c+=this.cart_info[r].surplus_num_input);this.numChecked=c},getList:function(t){var i=this;(0,e.orderCartInfo)({oid:t,auth:2}).then((function(t){i.list=t.data,i.lists=JSON.parse(JSON.stringify(t.data)),i.listlet=t.data.cart_info.length,i.$set(i.attr,"id",i.list.id),i.checkAll(),i.num()}))},onDataId:function(t){this.nums.forEach((function(t){t.num=0})),this.id=t,this.getList(t)},switchs:function(){this.attr.cartAttr=!0,this.$refs.writeOff.getList(2)},onMyEvent:function(){this.attr.cartAttr=!1},verification:function(){for(var i=this,n=[],s=0;s<this.cart_info.length;s++)this.cart_info[s].checked&&!this.cart_info[s].is_writeoff&&n.push({cart_id:this.cart_info[s].cart_id,cart_num:this.cart_info[s].surplus_num_input});if(this.newList=n,0==i.checkModel.length)i.$util.Tips({title:"请选择商品"});else{t.showLoading({title:"加载中"});var c=0;n.forEach((function(t){c+=parseInt(t.cart_num)})),this.writeOffNum=c,setTimeout((function(){(0,e.orderWriteoff)({auth:i.auth,oid:i.oid,cart_ids:i.newList}).then((function(n){t.hideLoading();for(var e=1,s=0;s<i.list.cart_info.length;s++)if(i.list.cart_info[s].checked&&i.list.cart_info[s].surplus_num!=i.list.cart_info[s].surplus_num_input){e=0;break}i.$emit("success",e)})).catch((function(n){i.$util.Tips({title:n}),t.hideLoading()}))}),1e3)}},ok:function(i){this.box=!1,this.nums.forEach((function(t){t.num=0})),this.getList(this.id),i&&t.redirectTo({url:"/pages/admin/distribution/index"})}}});i.default=s}).call(this,n("df3c")["default"])},"172a":function(t,i,n){"use strict";n.r(i);var e=n("1377"),s=n.n(e);for(var c in e)["default"].indexOf(c)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(c);i["default"]=s.a},6166:function(t,i,n){"use strict";var e=n("83de"),s=n.n(e);s.a},"83de":function(t,i,n){},b3bf:function(t,i,n){"use strict";n.r(i);var e=n("d798"),s=n("172a");for(var c in s)["default"].indexOf(c)<0&&function(t){n.d(i,t,(function(){return s[t]}))}(c);n("6166");var r=n("828b"),o=Object(r["a"])(s["default"],e["b"],e["c"],!1,null,"20c7914e",null,!1,e["a"],void 0);i["default"]=o.exports},d798:function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){}));var e=function(){var t=this,i=t.$createElement,n=(t._self._c,t.box?parseInt(t.list.writeoff_count):null),e=t.box?1==t.lets&&t.list.total_num==parseInt(t.list.writeoff_count)+t.writeOffNum:null,s=t.box?t.lets>1&&t.list.total_num!=parseInt(t.list.writeoff_count)+t.writeOffNum:null,c=t.box?t.lets>1&&t.list.total_num==parseInt(t.list.writeoff_count)+t.writeOffNum||1==t.lets&&t.list.total_num!=parseInt(t.list.writeoff_count)+t.writeOffNum:null,r=t.box?parseInt(t.list.writeoff_count):null,o=t.box?t.lets>1&&t.list.total_num==parseInt(t.list.writeoff_count)+t.writeOffNum:null;t.$mp.data=Object.assign({},{$root:{m0:n,m1:e,m2:s,m3:c,m4:r,m5:o}})},s=[]}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/admin/components/writeOffList/index-create-component',
|
||||
{
|
||||
'pages/admin/components/writeOffList/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("b3bf"))
|
||||
})
|
||||
},
|
||||
[['pages/admin/components/writeOffList/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/components/writeOffSwitching/index"],{"38bf":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return u})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},u=[]},"73df":function(t,e,n){"use strict";var i=n("87ab"),u=n.n(i);u.a},8189:function(t,e,n){"use strict";n.r(e);var i=n("38bf"),u=n("dded");for(var a in u)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return u[t]}))}(a);n("73df");var f=n("828b"),r=Object(f["a"])(u["default"],i["b"],i["c"],!1,null,"7ad94184",null,!1,i["a"],void 0);e["default"]=r.exports},"87ab":function(t,e,n){},bab1:function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("6af6"),u=n("4d38"),a={props:{attr:{type:Object,default:function(){}},iSbnt:{type:Number,value:0},iScart:{type:Number,value:0}},data:function(){return{verify_code:"",list:[],imgHost:u.HTTP_REQUEST_URL}},mounted:function(){},methods:{closeAttr:function(){this.$emit("myevent")},getList:function(t){var e=this;this.attr.type=t,(0,i.orderWriteoffInfo)(t,{verify_code:this.attr.code,code_type:2}).then((function(t){e.list=t.data})).catch((function(t){e.$util.Tips({title:t})}))},sure:function(t){this.$emit("dataId",t),this.$emit("myevent")}}};e.default=a},dded:function(t,e,n){"use strict";n.r(e);var i=n("bab1"),u=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=u.a}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/admin/components/writeOffSwitching/index-create-component',
|
||||
{
|
||||
'pages/admin/components/writeOffSwitching/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("8189"))
|
||||
})
|
||||
},
|
||||
[['pages/admin/components/writeOffSwitching/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="data-v-7ad94184"><view class="{{['product-window','data-v-7ad94184',(attr.cartAttr===true?'on':'')+' '+(iSbnt?'join':'')+' '+(iScart?'joinCart':'')]}}"><view class="textpic acea-row row-between-wrapper data-v-7ad94184"><view data-event-opts="{{[['tap',[['closeAttr',['$event']]]]]}}" class="iconfont icon-guanbi data-v-7ad94184" bindtap="__e"></view></view><view class="rollTop data-v-7ad94184"><view class="scan data-v-7ad94184"><view class="header data-v-7ad94184" style="{{'background-image:'+('url('+imgHost+'/statics/images/banner.png'+')')+';'}}"> 请选择当前核销订单 </view><view class="box data-v-7ad94184"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['sure',['$0'],[[['list','',index,'id']]]]]]]}}" class="content data-v-7ad94184" bindtap="__e"><view class="content_box data-v-7ad94184"><image src="{{item.image}}" mode class="data-v-7ad94184"></image><view class="content_box_title data-v-7ad94184"><view class="textbox _p data-v-7ad94184">{{"订单号:"+item.order_id}}</view><view class="attribute mar _p data-v-7ad94184">{{"下单时间:"+item.add_time}}</view><view class="txt data-v-7ad94184"><view class="attribute _p data-v-7ad94184">{{"订单实付:¥"+item.pay_price}}</view><block wx:if="{{item._status==12}}"><view class="orange _p data-v-7ad94184">部分核销</view></block><block wx:if="{{item._status==11}}"><view class="attributes blue _p data-v-7ad94184">未核销</view></block><slot name="bottom"></slot></view></view></view></view></block></view></view></view></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.vip-money.data-v-7ad94184{color:#282828;font-size:28rpx;font-weight:700;margin-left:6rpx}.vipImg.data-v-7ad94184{width:68rpx;height:27rpx}.vipImg image.data-v-7ad94184{width:100%;height:100%}.product-window.data-v-7ad94184{position:fixed;bottom:0;width:100%;left:0;background-color:#f5f5f5;z-index:100;border-radius:16rpx 16rpx 0 0;-webkit-transform:translate3d(0,100%,0);transform:translate3d(0,100%,0);transition:all .3s cubic-bezier(.25,.5,.5,.9);padding-bottom:140rpx;padding-bottom:calc(140rpx + constant(safe-area-inset-bottom));padding-bottom:calc(140rpx + env(safe-area-inset-bottom))}.product-window.on.data-v-7ad94184{-webkit-transform:translateZ(0);transform:translateZ(0)}.product-window.join.data-v-7ad94184{padding-bottom:30rpx}.product-window.joinCart.data-v-7ad94184{z-index:10000}.product-window .textpic.data-v-7ad94184{padding:0 130rpx 0 30rpx;margin-top:29rpx;position:relative}.product-window .textpic .pictrue.data-v-7ad94184{width:150rpx;height:150rpx}.product-window .textpic .pictrue image.data-v-7ad94184{width:100%;height:100%;border-radius:10rpx}.product-window .textpic .text.data-v-7ad94184{width:410rpx;font-size:32rpx;color:#202020}.product-window .textpic .text .money.data-v-7ad94184{font-size:24rpx;margin-top:40rpx}.product-window .textpic .text .money .num.data-v-7ad94184{font-size:36rpx}.product-window .textpic .text .money .stock.data-v-7ad94184{color:#999;margin-left:6rpx}.product-window .textpic .iconfont.data-v-7ad94184{position:absolute;right:30rpx;top:-5rpx;font-size:35rpx;color:#8a8a8a}.product-window .rollTop.data-v-7ad94184{max-height:700rpx;overflow:auto;margin-top:36rpx}.product-window .rollTop .scan.data-v-7ad94184{padding-bottom:160rpx}.product-window .rollTop .scan .header.data-v-7ad94184{width:100%;height:220rpx;background-repeat:no-repeat;background-size:100% 100%;color:#fff;font-size:32rpx;text-align:center;line-height:160rpx;margin:0 auto}.product-window .rollTop .scan .box.data-v-7ad94184{margin:-64rpx auto 0 auto}.product-window .rollTop .scan .content.data-v-7ad94184{margin:16rpx auto 16rpx auto;width:694rpx;padding:28rpx 24rpx 32rpx;background:#fff;border-radius:12rpx}.product-window .rollTop .scan .content .pad.data-v-7ad94184{padding:20rpx 20rpx 22rpx}.product-window .rollTop .scan .content .content_box.data-v-7ad94184{height:70px;border-radius:8rpx;padding-right:22rpx;display:flex;justify-content:flex-start;align-items:center}.product-window .rollTop .scan .content .content_box image.data-v-7ad94184{width:140rpx;height:140rpx;border-radius:8rpx}.product-window .rollTop .scan .content .content_box .content_box_title.data-v-7ad94184{flex:1;margin-left:18rpx;font-size:20rpx;font-weight:400}.product-window .rollTop .scan .content .content_box .content_box_title .textbox.data-v-7ad94184{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;word-break:break-all;width:466rpx;font-size:30rpx;font-weight:700;line-height:21px}.product-window .rollTop .scan .content .content_box .content_box_title .mar.data-v-7ad94184{margin:16rpx 0rpx}.product-window .rollTop .scan .content .content_box .content_box_title .attribute.data-v-7ad94184{color:#999}.product-window .rollTop .scan .content .content_box .content_box_title .txt.data-v-7ad94184{display:flex;justify-content:space-between;font-size:24rpx}.product-window .rollTop .scan .content .content_box .content_box_title .txt .orange.data-v-7ad94184{color:#ff7e00}.product-window .rollTop .scan .content .content_box .content_box_title .txt .blue.data-v-7ad94184{color:#1890ff}.product-window .rollTop .scan .content .content_bottom.data-v-7ad94184{display:flex;justify-content:space-between;font-size:22rpx;padding:0rpx 20rpx;color:#666}.product-window .rollTop .scan .content .content_bottom .money.data-v-7ad94184{font-size:26rpx;color:#f5222d}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "发送货",
|
||||
"usingComponents": {
|
||||
"split-order": "/components/splitOrder/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.picker-add{display:flex;align-items:center}.height-add{height:120rpx}.deliver-goods{padding:22rpx 20rpx}.deliver-goods .header{position:relative;padding:0 32rpx;border-radius:24rpx;background:#fff;overflow:hidden}.deliver-goods .header .order-num{padding:20rpx 0;border-bottom:1px dotted #eee}.deliver-goods .header .order-num .num{font-size:28rpx;line-height:40rpx;color:#333;position:relative}.deliver-goods ._header .order-num .name{width:260rpx;font-size:26rpx;color:#282828;text-align:center}.deliver-goods ._header .order-num .name .iconfont{font-size:35rpx;color:#477ef3;vertical-align:middle;margin-right:10rpx}.deliver-goods .header .address{padding:20rpx 0 40rpx;font-size:24rpx;line-height:34rpx;color:#999}.deliver-goods .header .address .name{font-weight:500;font-size:30rpx;line-height:42rpx;color:#333;margin-bottom:12rpx}.deliver-goods .header .address .name .iconfont{margin-right:8rpx;font-size:32rpx}.deliver-goods .header .address .name .phone{margin-left:40rpx}.deliver-goods .header .line{position:absolute;bottom:0;left:0;width:100%;height:4rpx}.deliver-goods .header .line image{width:100%;height:100%;display:block}.deliver-goods .wrapper{padding:12rpx 0;border-radius:24rpx;margin-top:20rpx;background-color:#fff}.deliver-goods .wrapper .item{padding:0 24rpx;height:80rpx;font-size:28rpx;color:#333;position:relative}.deliver-goods .wrapper .item .mode{flex:1;height:100%;text-align:right}.deliver-goods .wrapper .item .mode .iconfont{font-size:32rpx;margin-right:12rpx;color:#ccc}.deliver-goods .wrapper .item .mode .goods ~ .goods{margin-left:50rpx}.deliver-goods .wrapper .item .mode .goods{color:#999}.deliver-goods .wrapper .item .mode .goods.on{color:#333}.deliver-goods .wrapper .item .mode .goods.on .iconfont{color:#2a7efb}.deliver-goods .wrapper .item .icon-up{position:absolute;font-size:35rpx;color:#2c2c2c;right:30rpx}.deliver-goods .wrapper .item ._select{direction:rtl;padding-right:60rpx;position:relative;z-index:2}.deliver-goods .wrapper .item input::-webkit-input-placeholder{color:#bbb}.deliver-goods .wrapper .item input::placeholder{color:#bbb}.deliver-goods .confirm-wrapper{background-color:#fff;position:fixed;left:0;bottom:0;bottom:constant(safe-area-inset-bottom);bottom:env(safe-area-inset-bottom);width:100%;padding:20rpx}.deliver-goods .confirm{font-weight:500;font-size:28rpx;color:#fff;height:80rpx;border-radius:40rpx;background:#2a7efb;text-align:center;line-height:80rpx}.select-box{flex:1;height:100%}.select-box .pickerBox{display:flex;align-items:center;justify-content:flex-end;width:100%;height:100%}.select-box .pickerBox .iconfont{margin-left:8rpx;font-size:24rpx;color:#999}.look{margin-left:20rpx;color:#2a7efb}.textarea{display:block;min-height:192rpx;padding:24rpx;width:100%;box-sizing:border-box}.icon-xiangji{font-size:35rpx;color:#2a7efb}.trip{font-size:22rpx;color:#ccc;padding:6rpx 0}.split-wrapper{border-radius:24rpx;margin-top:20rpx;background:#fff}.split-wrapper .splitOrder{padding:0 24rpx 46rpx;margin:0}.split-switch{padding:40rpx 24rpx;font-size:28rpx;color:#333}.split-switch .switch{position:relative;width:79rpx;height:48rpx;padding:4rpx;border-radius:24rpx;background:#ddd;transition:background .1s,border .1s}.split-switch .switch::after{content:"";position:absolute;top:4rpx;left:4rpx;width:40rpx;height:40rpx;border-radius:20rpx;background:#fff;box-shadow:0 3rpx 6rpx 0 rgba(0,0,0,.08);transition:-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35);transition:transform .35s cubic-bezier(.4,.4,.25,1.35),-webkit-transform .35s cubic-bezier(.4,.4,.25,1.35)}.split-switch .switch.on{background:#2a7efb}.split-switch .switch.on::after{-webkit-transform:translateX(31rpx);transform:translateX(31rpx)}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"loading": "/components/Loading/index",
|
||||
"empty-page": "/components/emptyPage",
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
.footer-placeholder.data-v-67f29708{height:100rpx}.safe-area-inset-bottom.data-v-67f29708{height:0;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.nothing.data-v-67f29708{width:80%;margin:0 auto;margin-top:30px;text-align:center;color:#cfcfcf}.ite.data-v-67f29708{font-size:20px}.footer.data-v-67f29708{position:fixed;left:0;bottom:0;width:100%;background:#fff}.footer .footer-inner.data-v-67f29708{height:100rpx}.footer .tab.data-v-67f29708{flex:1;font-size:20rpx;line-height:28rpx;color:#333}.footer .tab .image.data-v-67f29708{width:40rpx;height:40rpx;margin-bottom:6rpx}.footer .on.data-v-67f29708{color:#2a7efb}.footer .on .font.data-v-67f29708{color:#2a7efb}.headerBg.data-v-67f29708{position:absolute;top:0;left:0;width:100%;height:516rpx;background:linear-gradient(270deg,#01abf8,#2a7efb)}.header.data-v-67f29708{padding:22rpx 40rpx 32rpx 32rpx}.header .avatar.data-v-67f29708{width:80rpx;height:80rpx;border-radius:50%}.header .text.data-v-67f29708{flex:1;padding-left:16rpx;font-size:22rpx;line-height:30rpx;color:#fff}.header .name.data-v-67f29708{font-weight:500;font-size:32rpx;line-height:44rpx}.header .phone.data-v-67f29708{margin-top:4rpx}.header .items.data-v-67f29708,
|
||||
.header .item.data-v-67f29708{font-size:24rpx;color:#fff;height:120rpx;display:flex;align-items:center}.header .items image.data-v-67f29708,
|
||||
.header .item image.data-v-67f29708{width:64rpx;height:64rpx;border-radius:60rpx;border:2rpx solid #fff}.header .items .font.data-v-67f29708,
|
||||
.header .item .font.data-v-67f29708{display:inline-block;margin-left:16rpx;margin-right:16rpx;font-size:30rpx}.order-index.data-v-67f29708{position:relative}.order-index .tongji-index.data-v-67f29708{padding:0 20rpx}.order-index .tongji-index .empty-page.data-v-67f29708{border-top-left-radius:0;border-top-right-radius:0}.order-index .tabbar.data-v-67f29708{position:relative;z-index:5;height:96rpx;border-radius:24rpx 24rpx 0 0;overflow:hidden}.order-index .tabbar .item.data-v-67f29708{position:relative;z-index:5;flex:1;font-size:28rpx;color:#333}.order-index .tabbar .item:last-child .item-box.data-v-67f29708{border-radius:18rpx 0 0 0;-webkit-transform:perspective(80rpx) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(20rpx);transform:perspective(80rpx) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(20rpx)}.order-index .tabbar .item:last-child .text-box.data-v-67f29708{border-radius:0 24rpx 0 0}.order-index .tabbar .item.active.data-v-67f29708{font-weight:500;color:#2a7efb}.order-index .tabbar .item.active .item-box.data-v-67f29708{display:block}.order-index .tabbar .text-box.data-v-67f29708{position:absolute;bottom:0;width:100%;height:78rpx;border-radius:24rpx 0 0 0;background:hsla(0,0%,100%,.95)}.order-index .tabbar .item-box.data-v-67f29708{display:none;position:absolute;bottom:0;z-index:2;width:100%;height:96rpx;border-radius:0 18rpx 0 0;background:#fff;-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-transform:perspective(80rpx) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(-20rpx);transform:perspective(80rpx) scaleX(1.4) scaleY(1.5) rotateX(20deg) translate(-20rpx)}.order-index .tabbar .inner.data-v-67f29708{position:absolute;bottom:0;z-index:3;width:100%;height:78rpx}.order-index .content .item.data-v-67f29708{padding:32rpx 24rpx;border-radius:24rpx;margin-bottom:20rpx;background:#fff}.order-index .content .item.data-v-67f29708:first-child{border-radius:0 0 24rpx 24rpx}.order-index .content .item-top.data-v-67f29708{font-size:28rpx;line-height:40rpx;color:#333}.order-index .content .item-center.data-v-67f29708{margin-top:26rpx}.order-index .content .goods-section.data-v-67f29708{flex:1;min-width:0;white-space:nowrap}.order-index .content .goods-section .image.data-v-67f29708{width:136rpx;height:136rpx;border-radius:16rpx}.order-index .content .goods-section .name-wrap.data-v-67f29708{flex:1;min-width:0;padding-left:20rpx}.order-index .content .goods-section .name.data-v-67f29708{font-size:28rpx;line-height:40rpx;color:#333}.order-index .content .goods-section .attr.data-v-67f29708{margin-top:12rpx;font-size:24rpx;line-height:34rpx;color:#999}.order-index .content .scroll-view.data-v-67f29708{box-sizing:border-box}.order-index .content .scroll-view .image.data-v-67f29708{margin-right:16rpx}.order-index .content .item-bottom.data-v-67f29708{padding:18rpx 20rpx;border-radius:8rpx;margin-top:26rpx;background:#f5f5f5;font-size:26rpx;line-height:36rpx;color:#333}.order-index .content .item-bottom .info.data-v-67f29708{flex:1;color:#999}.order-index .content .scroll-view.data-v-67f29708{box-sizing:border-box}.order-index .content .scroll-view .image.data-v-67f29708{margin-right:16rpx}.order-index .content .money-section.data-v-67f29708{width:102rpx;text-align:right}.order-index .content .money-section .num.data-v-67f29708{margin-top:8rpx;font-size:24rpx;line-height:34rpx;color:#999}.order-index .header .icon-saoma.data-v-67f29708{font-size:40rpx;padding:30rpx 20rpx 30rpx 80rpx}.order-index .header .item.data-v-67f29708,
|
||||
.order-index .header .items.data-v-67f29708{font-size:24rpx;color:#fff;height:120rpx;display:flex;align-items:center}.order-index .header .item .font.data-v-67f29708,
|
||||
.order-index .header .items .font.data-v-67f29708{display:inline-block;margin-left:16rpx;margin-right:16rpx;font-size:30rpx}.order-index .header .items image.data-v-67f29708{width:64rpx;height:64rpx;border-radius:60rpx;border:2rpx solid #fff}.order-index .wrapper.data-v-67f29708{width:710rpx;border-radius:24rpx;margin:0 auto;background:#fff}.order-index .wrapper .title .iconfont.data-v-67f29708{color:#2291f8;font-size:40rpx;margin-right:13rpx;vertical-align:middle}.order-index .wrapper .title.data-v-67f29708{padding:32rpx 24rpx;font-weight:500;font-size:30rpx;line-height:42rpx;color:#333}.order-index .wrapper .title .uni-list-cell-db .iconfont.data-v-67f29708{font-size:24rpx;color:#ccc;margin-left:12rpx}.order-index .wrapper .title .tab.data-v-67f29708{border-radius:24rpx;background:#f5f5f5}.order-index .wrapper .title .tab .box.data-v-67f29708{width:96rpx;height:48rpx;border-radius:24rpx;text-align:center;font-weight:400;font-size:24rpx;line-height:48rpx;color:#999}.order-index .wrapper .title .tab .on.data-v-67f29708{background:#2a7efb;color:#fff}.order-index .wrapper .list .item.data-v-67f29708{flex:1;padding:30rpx 0 38rpx;text-align:center;font-size:24rpx;line-height:34rpx;color:#999}.order-index .wrapper .list .item .num.data-v-67f29708{margin-bottom:10rpx;font-family:SemiBold;font-size:36rpx;line-height:36rpx;color:#333}.public-wrapper .title.data-v-67f29708{padding:32rpx 24rpx 40rpx;font-weight:500;font-size:30rpx;line-height:42rpx;color:#333}.public-wrapper .title .uni-list-cell-db .iconfont.data-v-67f29708{font-size:24rpx;color:#999;margin-left:14rpx}.public-wrapper .title .tab.data-v-67f29708{width:240rpx;height:48rpx;background:#f5f5f5;border-radius:24rpx;display:flex;justify-content:space-between;font-weight:400;color:#999;font-size:24rpx}.public-wrapper .title .tab .box.data-v-67f29708{width:82rpx;height:48rpx;border-radius:24rpx;text-align:center;line-height:48rpx}.public-wrapper .title .tab .on.data-v-67f29708{background:#1890ff;color:#fff}.public-wrapper .title .iconfont.data-v-67f29708{color:#2291f8;font-size:40rpx;margin-right:13rpx;vertical-align:middle}.public-wrapper.data-v-67f29708{width:710rpx;border-radius:24rpx;margin:20rpx auto 0;background:#fff}.public-wrapper .nav.data-v-67f29708{padding:0 40rpx;font-size:24rpx;line-height:34rpx;color:#999}.public-wrapper .data.data-v-67f29708{width:45%;text-align:left}.public-wrapper .browse.data-v-67f29708{width:25%}.public-wrapper .turnover.data-v-67f29708{width:30%;text-align:right}.public-wrapper .conter.data-v-67f29708{padding:0 40rpx}.public-wrapper .conter .item.data-v-67f29708{padding:20rpx 0;border-bottom:1px solid #f1f1f1;font-size:24rpx;line-height:34rpx;color:#333}.public-wrapper .conter .item .turnover.data-v-67f29708{color:#000;font-weight:400}.public-wrapper .unconter.data-v-67f29708{text-align:center;color:#999;padding:25rpx}
|
||||
@@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/distribution/orderDetail/index"],{"2acd":function(t,e,o){"use strict";(function(t){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=o("6af6"),n=(o("2c18"),{name:"orderDetail",components:{customForm:function(){o.e("components/customForm/index").then(function(){return resolve(o("d118"))}.bind(null,o)).catch(o.oe)},NavBar:function(){o.e("components/NavBar").then(function(){return resolve(o("a7d8"))}.bind(null,o)).catch(o.oe)}},props:{},data:function(){return{giveData:{give_integral:0,give_coupon:[]},giveCartInfo:[],order:!1,change:!1,order_id:"",orderInfo:"",status:"",title:"",payType:"",types:"",clickNum:1,goname:"",system_store:"",sum:0,iconColor:"#FFFFFF",isScrolling:!1}},watch:{"$route.params.oid":function(t){void 0!=t&&(this.order_id=t,this.getIndex())}},onLoad:function(t){this.order_id=t.id,this.goname=t.goname,this.getIndex()},onPageScroll:function(t){t.scrollTop>50?(this.isScrolling=!0,this.iconColor="#333333"):t.scrollTop<50&&(this.isScrolling=!1,this.iconColor="#FFFFFF")},methods:{more:function(){this.order=!this.order},modify:function(t){this.change=!0,this.status=t},changeclose:function(t){this.change=t},getIndex:function(){var t=this,e=this;(0,a.OrderDetail)(e.order_id).then((function(o){e.sum=(parseFloat(o.data.total_price)+parseFloat(o.data.vip_true_price)).toFixed(2),e.types=o.data._status._type,e.title=o.data._status._title,e.payType=o.data._status._payType,t.system_store=o.data.store,e.giveData.give_coupon=o.data.give_coupon,e.giveData.give_integral=o.data.give_integral;var a=[],n=[];o.data.cartInfo.forEach((function(t,e){1==t.is_gift?n.push(t):a.push(t)})),o.data.cartInfo=a,e.$set(e,"giveCartInfo",n);for(var i=[],r=0;r<o.data.user_address.length;r++)" "!=o.data.user_address[r]&&i.push(o.data.user_address[r]);o.data.user_address=i.join(""),e.orderInfo=o.data}),(function(t){}))},showMaoLocation:function(e,o,a,n){if(!e||!o)return this.$util.Tips({title:"缺少经纬度信息无法查看地图!"});t.openLocation({latitude:parseFloat(e),longitude:parseFloat(o),scale:8,name:a,address:n,success:function(){}})},makePhone:function(e){t.makePhoneCall({phoneNumber:e})},copyNum:function(e){t.setClipboardData({data:e})}}});e.default=n}).call(this,o("df3c")["default"])},"30f5":function(t,e,o){"use strict";o.d(e,"b",(function(){return a})),o.d(e,"c",(function(){return n})),o.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,o=(t._self._c,t.giveData.give_coupon.length),a=(parseFloat(t.orderInfo.total_price)+parseFloat(t.orderInfo.vip_true_price)).toFixed(2),n=t.__map(t.orderInfo.promotions_detail,(function(e,o){var a=t.__get_orig(e),n=parseFloat(e.promotions_price),i=n?parseFloat(e.promotions_price).toFixed(2):null;return{$orig:a,m0:n,g2:i}}));t.$mp.data=Object.assign({},{$root:{g0:o,g1:a,l0:n}})},n=[]},"7fcc":function(t,e,o){"use strict";o.r(e);var a=o("30f5"),n=o("be8c");for(var i in n)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(i);o("a04b");var r=o("828b"),s=Object(r["a"])(n["default"],a["b"],a["c"],!1,null,"32568109",null,!1,a["a"],void 0);e["default"]=s.exports},a04b:function(t,e,o){"use strict";var a=o("a6a7"),n=o.n(a);n.a},a6a7:function(t,e,o){},be8c:function(t,e,o){"use strict";o.r(e);var a=o("2acd"),n=o.n(a);for(var i in a)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return a[t]}))}(i);e["default"]=n.a},d3d9:function(t,e,o){"use strict";(function(t,e){var a=o("47a9");o("f076");a(o("3240"));var n=a(o("7fcc"));t.__webpack_require_UNI_MP_PLUGIN__=o,e(n.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])}},[["d3d9","common/runtime","common/vendor"]]]);
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"custom-form": "/components/customForm/index",
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.headerBg.data-v-32568109{position:absolute;top:0;left:0;width:100%;height:506rpx;background:linear-gradient(1turn,#f5f5f5,hsla(0,0%,96.1%,0)),linear-gradient(-90deg,#01abf8,#2a7efb);background-position:0 100%,0 0;background-repeat:no-repeat;background-size:100% 120rpx,100% 100%}.order-details.data-v-32568109{position:relative;padding:32rpx 20rpx}.order-details .address.data-v-32568109{position:relative;padding:32rpx 24rpx 28rpx 32rpx;border-radius:24rpx;background:#fff;overflow:hidden}.order-details .address .text-box.data-v-32568109{flex:1;font-size:24rpx;line-height:34rpx;color:#999}.order-details .address .text.data-v-32568109{margin-bottom:12rpx;font-weight:500;font-size:30rpx;line-height:42rpx;color:#333}.order-details .address .text .iconfont.data-v-32568109{font-size:32rpx;margin-right:20rpx}.order-details .address .btn.data-v-32568109{width:56rpx;height:56rpx;border-radius:50%;margin-left:24rpx;background:rgba(42,126,251,.1);text-align:center;line-height:56rpx}.order-details .address .btn .iconfont.data-v-32568109{font-size:28rpx;color:#2a7efb}.order-details .address .line.data-v-32568109{position:absolute;bottom:0;left:0;width:100%}.order-details .goods-section.data-v-32568109{padding:32rpx 24rpx;border-radius:24rpx;margin-top:20rpx;background:#fff}.order-details .goods-section .goods.data-v-32568109{margin-top:32rpx}.order-details .goods-section .goods.data-v-32568109:first-child{margin-top:0}.order-details .goods-section .picTxt.data-v-32568109{flex:1;min-width:0}.order-details .goods-section .pictrue.data-v-32568109{width:136rpx;height:136rpx;border-radius:16rpx}.order-details .goods-section .text.data-v-32568109{flex:1;min-width:0;padding:0 20rpx}.order-details .goods-section .info.data-v-32568109{font-size:28rpx;line-height:40rpx;color:#333}.order-details .goods-section .attr.data-v-32568109{margin-top:8rpx;font-size:24rpx;line-height:34rpx;color:#999}.order-details .goods-section .label.data-v-32568109{display:inline-flex;align-items:center;height:26rpx;padding:0 6rpx;border:1rpx solid #ff7e00;border-radius:4rpx;margin-top:12rpx;font-size:18rpx;line-height:26rpx;color:#ff7e00}.order-details .goods-section .money.data-v-32568109{text-align:right}.order-details .goods-section .num.data-v-32568109{margin-top:10rpx;font-size:24rpx;line-height:34rpx;color:#999}.order-details .detail-section.data-v-32568109{padding:32rpx 24rpx;border-radius:24rpx;margin-top:20rpx;background:#fff}.order-details .detail-section .item.data-v-32568109{margin-top:24rpx;font-size:28rpx;line-height:40rpx;color:#333}.order-details .detail-section .item.data-v-32568109:first-child{margin-top:0}.mt28.data-v-32568109{margin-top:28rpx}.height-add.data-v-32568109{height:120rpx}.giveGoods .item.data-v-32568109{padding:14rpx 0;border-top:1px solid #eee}.giveGoods .item .picTxt .pictrue.data-v-32568109{width:76rpx;height:76rpx;border-radius:6rpx;background-color:#f5f5f5;color:#2a7efb;margin-right:16rpx}.giveGoods .item .picTxt .pictrue .iconfont.data-v-32568109{font-size:34rpx}.giveGoods .item .picTxt .pictrue image.data-v-32568109{width:100%;height:100%;border-radius:6rpx}.giveGoods .item .picTxt .texts.data-v-32568109{width:360rpx;color:#999;font-size:20rpx}.giveGoods .item .picTxt .texts .name.data-v-32568109{color:#333}.giveGoods .item .picTxt .texts .limit.data-v-32568109{font-size:20rpx;margin-top:4rpx}.giveGoods .item .num.data-v-32568109{color:#999;font-size:20rpx}.order-details .line.data-v-32568109{width:100%;height:3rpx}.order-details .line image.data-v-32568109{width:100%;height:100%;display:block}.order-details .wrapper.data-v-32568109{background:#fff}.order-details .topnone.data-v-32568109{padding:32rpx 24rpx;border-radius:24rpx;margin-top:20rpx}.order-details .wrapper .title.data-v-32568109{height:100rpx;display:flex;justify-content:space-between;align-items:center;border-bottom:1rpx solid #eee;margin-bottom:34rpx}.order-details .wrapper .title .font.data-v-32568109{font-size:32rpx;font-weight:600;color:#282828}.order-details .wrapper .title .mapbtn.data-v-32568109{width:176rpx;height:56rpx;border:1rpx solid #1890ff;border-radius:28rpx;text-align:center;line-height:50rpx;color:#1890ff;font-size:26rpx}.order-details .wrapper .item.data-v-32568109{font-size:28rpx;color:#282828}.order-details .wrapper .item ~ .item.data-v-32568109{margin-top:26rpx}.order-details .wrapper .item .conter.data-v-32568109{color:#868686;text-align:right}.order-details .wrapper .item .conter .copy.data-v-32568109{font-size:20rpx;color:#333;border-radius:3rpx;border:1px solid #666;padding:0rpx 15rpx;margin-left:10rpx;height:40rpx;line-height:38rpx}.order-details .wrapper .actualPay.data-v-32568109{margin-top:26rpx}.order-details .wrapper .actualPay .money.data-v-32568109{font-weight:700;font-size:30rpx;color:#ff7e00}.copy-data.data-v-32568109{width:68rpx;height:36rpx;border-radius:18rpx;margin-left:8rpx;background:#f5f5f5;text-align:center;font-size:22rpx;line-height:36rpx;color:#333}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "订单核销",
|
||||
"usingComponents": {
|
||||
"write-off-switching": "/pages/admin/components/writeOffSwitching/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
require('../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/distribution/scanning/index"],{"1dad":function(t,n,i){"use strict";var e=i("7623"),o=i.n(e);o.a},"2e2c":function(t,n,i){"use strict";(function(t,n){var e=i("47a9");i("f076");e(i("3240"));var o=e(i("a1e4"));t.__webpack_require_UNI_MP_PLUGIN__=i,n(o.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},3786:function(t,n,i){"use strict";i.r(n);var e=i("c8ad"),o=i.n(e);for(var a in e)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return e[t]}))}(a);n["default"]=o.a},7623:function(t,n,i){},a1e4:function(t,n,i){"use strict";i.r(n);var e=i("d19c"),o=i("3786");for(var a in o)["default"].indexOf(a)<0&&function(t){i.d(n,t,(function(){return o[t]}))}(a);i("1dad");var u=i("828b"),c=Object(u["a"])(o["default"],e["b"],e["c"],!1,null,"3071b511",null,!1,e["a"],void 0);n["default"]=c.exports},c8ad:function(t,n,i){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var e=i("6af6"),o=i("4d38"),a=(i("3240"),{name:"scanning",components:{writeOffList:function(){Promise.all([i.e("common/vendor"),i.e("pages/admin/components/writeOffList/index")]).then(function(){return resolve(i("b3bf"))}.bind(null,i)).catch(i.oe)}},data:function(){return{auth:1,verify_code:"",list:[],imgHost:o.HTTP_REQUEST_URL,popupShow:!1,orderInfo:{},id:0,box:!1,isAll:1}},onLoad:function(t){this.auth=t.auth,this.verify_code=t.code},onShow:function(t){this.getList()},methods:{goRecord:function(n){t.navigateTo({url:"/pages/admin/writeRecordList/index?id="+n})},getList:function(){var t=this;(0,e.orderVerific)(this.verify_code,this.auth).then((function(n){t.list=n.data.data})).catch((function(n){return t.$util.Tips({title:n})}))},jump:function(t){this.id=t,this.getCartList(t)},getCartList:function(n){var i=this;(0,e.orderCartInfo)({oid:n,auth:this.auth}).then((function(e){if(4==e.data.product_type)t.navigateTo({url:"/pages/admin/writeOffCard/index?id="+n});else{for(var o=e.data,a=0;a<o.cart_info.length;a++)o.cart_info[a].surplus_num_input=o.cart_info[a].surplus_num,o.cart_info[a].checked=!0;i.orderInfo=o,i.popupShow=!0}})).catch((function(t){i.$util.Tips({title:t})}))},closePopup:function(){this.popupShow=!1},writeSuccess:function(t){this.isAll=t,this.box=!0},ok:function(t){this.box=!1,this.popupShow=!1,this.getList()}}});n.default=a}).call(this,i("df3c")["default"])},d19c:function(t,n,i){"use strict";i.d(n,"b",(function(){return e})),i.d(n,"c",(function(){return o})),i.d(n,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},o=[]}},[["2e2c","common/runtime","common/vendor"]]]);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "订单核销",
|
||||
"usingComponents": {
|
||||
"write-off-list": "/pages/admin/components/writeOffList/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="data-v-3071b511"><view class="scan data-v-3071b511"><view class="header data-v-3071b511">请选择要核销的订单</view><view class="box data-v-3071b511"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['jump',['$0'],[[['list','',index,'id']]]]]]]}}" class="content data-v-3071b511" bindtap="__e"><view class="acea-row row-between data-v-3071b511"><block wx:if="{{(item._status==4||item._status==12)&&item.status==5}}"><view class="orange data-v-3071b511">部分核销</view></block><block wx:if="{{item._status==4&&item.status==1}}"><view class="attributes blue data-v-3071b511">未核销</view></block><block wx:if="{{item._status==11}}"><view class="attributes blue data-v-3071b511">未核销</view></block><block wx:if="{{item._status==5}}"><view class="attributes blue data-v-3071b511">已核销</view></block><view data-event-opts="{{[['tap',[['goRecord',['$0'],[[['list','',index,'id']]]]]]]}}" class="btn data-v-3071b511" catchtap="__e">核销记录<text class="iconfont icon-ic_rightarrow data-v-3071b511"></text></view></view><view class="content_box acea-row data-v-3071b511"><image src="{{item.image}}" mode class="data-v-3071b511"></image><view class="content_box_title acea-row row-column row-between data-v-3071b511"><view class="textbox _p data-v-3071b511">{{"订单号:"+item.order_id}}</view><view class="attribute _p data-v-3071b511">{{"下单时间:"+item.add_time}}</view><view class="txt data-v-3071b511"><view class="attribute _p data-v-3071b511">{{"订单实付:¥"+item.pay_price}}</view></view></view></view></view></block></view></view><block wx:if="{{popupShow}}"><view data-event-opts="{{[['tap',[['closePopup',['$event']]]]]}}" class="mask data-v-3071b511" bindtap="__e"></view></block><block wx:if="{{popupShow}}"><view class="popup acea-row row-column on data-v-3071b511"><view class="popup-hd data-v-3071b511"> 商品核销 <view data-event-opts="{{[['tap',[['closePopup',['$event']]]]]}}" class="btn data-v-3071b511" bindtap="__e"><text class="iconfont icon-ic_close data-v-3071b511"></text></view></view><write-off-list class="popup-bd data-v-3071b511" vue-id="40729650-1" list="{{orderInfo}}" auth="{{auth}}" oid="{{id}}" data-event-opts="{{[['^success',[['writeSuccess']]]]}}" bind:success="__e" bind:__l="__l"></write-off-list></view></block><block wx:if="{{box}}"><view class="data-v-3071b511"><view class="boxs data-v-3071b511"><view class="small_box data-v-3071b511"><view class="content data-v-3071b511"><view class="font data-v-3071b511">核销成功</view><block wx:if="{{isAll}}"><view class="small_font data-v-3071b511">当前订单已完成核销</view></block><block wx:else><view class="small_font data-v-3071b511">该订单仍有其他待核销商品</view></block></view><view class="acea-row btn-box data-v-3071b511"><block wx:if="{{!isAll}}"><view data-event-opts="{{[['tap',[['ok',[1]]]]]}}" class="btn data-v-3071b511" bindtap="__e">返回列表</view></block><block wx:if="{{isAll}}"><navigator class="btn btn_no data-v-3071b511" url="/pages/admin/work/index" hover-class="none">返回工作台</navigator></block><block wx:if="{{!isAll}}"><view data-event-opts="{{[['tap',[['ok',[2]]]]]}}" class="btn on data-v-3071b511" bindtap="__e">继续核销</view></block><block wx:if="{{isAll}}"><view data-event-opts="{{[['tap',[['ok',[3]]]]]}}" class="btn on data-v-3071b511" bindtap="__e">核销其他订单</view></block></view></view></view></view></block></view>
|
||||
@@ -0,0 +1 @@
|
||||
.scan.data-v-3071b511{padding-bottom:160rpx}.scan .header.data-v-3071b511{height:346rpx;padding:48rpx 0 0 32rpx;background:linear-gradient(270deg,#01abf8,#2a7efb);font-weight:500;font-size:36rpx;line-height:50rpx;color:#fff}.scan .box.data-v-3071b511{padding:0 20rpx;margin:-216rpx 0 0}.scan .content.data-v-3071b511{padding:32rpx 24rpx;border-radius:24rpx;margin-bottom:20rpx;background:#fff}.scan .content .attributes.data-v-3071b511{font-size:28rpx;line-height:40rpx;color:#2a7efb}.scan .content .orange.data-v-3071b511{color:#ff7e00}.scan .content .pad.data-v-3071b511{padding:20rpx 20rpx 22rpx}.scan .content .btn.data-v-3071b511{font-size:28rpx;line-height:40rpx;color:#999}.scan .content .btn .iconfont.data-v-3071b511{margin-left:4rpx;font-size:32rpx}.scan .content .content_box.data-v-3071b511{margin-top:26rpx}.scan .content .content_box image.data-v-3071b511{width:136rpx;height:136rpx;border-radius:16rpx}.scan .content .content_box .content_box_title.data-v-3071b511{flex:1;padding-left:20rpx;font-size:24rpx;line-height:34rpx;color:#666}.scan .content .content_box .content_box_title .textbox.data-v-3071b511{font-weight:500;font-size:28rpx;line-height:40rpx;color:#333}.scan .content .content_box .content_box_title .mar.data-v-3071b511{margin:16rpx 0rpx}.scan .content .content_box .content_box_title .attribute.data-v-3071b511{color:#999}.scan .content .content_box .content_box_title .txt.data-v-3071b511{display:flex;justify-content:space-between;font-size:24rpx}.scan .content .content_box .content_box_title .txt .orange.data-v-3071b511{color:#ff7e00}.scan .content .content_box .content_box_title .txt .blue.data-v-3071b511{color:#2a7efb}.scan .content .content_bottom.data-v-3071b511{display:flex;justify-content:space-between;font-size:22rpx;padding:0rpx 20rpx;color:#666}.scan .content .content_bottom .money.data-v-3071b511{font-size:26rpx;color:#f5222d}.popup.data-v-3071b511{position:fixed;right:0;bottom:0;left:0;z-index:6;height:800rpx;padding-bottom:0;padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);border-radius:40rpx 40rpx 0 0;background:#fff;overflow:hidden;flex-wrap:nowrap;-webkit-transform:translateY(100%);transform:translateY(100%);transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s}.popup.on.data-v-3071b511{-webkit-transform:translateY(0);transform:translateY(0)}.popup .popup-hd.data-v-3071b511{position:relative;height:108rpx;text-align:center;font-weight:500;font-size:32rpx;line-height:108rpx;color:#333}.popup .popup-hd .btn.data-v-3071b511{position:absolute;top:50%;right:32rpx;width:36rpx;height:36rpx;border-radius:50%;background:#eee;-webkit-transform:translateY(-50%);transform:translateY(-50%);text-align:center;line-height:36rpx}.popup .popup-hd .iconfont.data-v-3071b511{vertical-align:middle;font-size:24rpx;color:#333}.popup .popup-bd.data-v-3071b511{position:relative;flex:1;min-height:0;box-sizing:border-box}.popup .popup-bd.data-v-3071b511 .shoppingCart{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;flex-direction:column;padding:0}.popup .popup-bd.data-v-3071b511 .shoppingCart .content{flex:1;min-height:0;overflow-y:auto;margin-top:0;padding:36rpx 32rpx;border-radius:0}.popup .popup-bd.data-v-3071b511 .shoppingCart .content .item{margin-bottom:48rpx}.popup .popup-bd.data-v-3071b511 .shoppingCart .footer{position:static;height:96rpx;padding-bottom:0}.popup .popup-ft.data-v-3071b511{padding:16rpx 20rpx 16rpx 32rpx}.popup .popup-ft .btn.data-v-3071b511{height:64rpx;padding:0 32rpx;border-radius:32rpx;background:#2a7efb;font-weight:500;font-size:24rpx;line-height:64rpx;color:#fff}.boxs.data-v-3071b511{position:fixed;top:0;bottom:0;width:100%;height:100%;z-index:10;background-color:#78797a}.boxs .small_box.data-v-3071b511{position:fixed;top:50%;right:75rpx;left:75rpx;padding:40rpx;border-radius:32rpx;background:#fff;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.boxs .small_box image.data-v-3071b511{width:100%;height:228rpx}.boxs .small_box .content.data-v-3071b511{text-align:center}.boxs .small_box .content .font.data-v-3071b511{font-weight:500;font-size:32rpx;line-height:52rpx;color:#333}.boxs .small_box .content .small_font.data-v-3071b511{margin-top:24rpx;font-size:30rpx;line-height:42rpx;color:#666}.boxs .small_box .btn-box.data-v-3071b511{margin-top:40rpx}.boxs .small_box .btn.data-v-3071b511{flex:1;height:72rpx;border:1rpx solid #2a7efb;border-radius:36rpx;margin-left:32rpx;-webkit-transform:rotate(1turn);transform:rotate(1turn);text-align:center;font-weight:500;font-size:26rpx;line-height:70rpx;color:#2a7efb}.boxs .small_box .btn.data-v-3071b511:first-child{margin-left:0}.boxs .small_box .btn.on.data-v-3071b511{background:#2a7efb;color:#fff}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/goods/components/classify/index"],{"39af":function(e,t,n){"use strict";n.r(t);var c=n("dcd8"),i=n.n(c);for(var r in c)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return c[e]}))}(r);t["default"]=i.a},"8b94":function(e,t,n){"use strict";n.r(t);var c=n("a33e"),i=n("39af");for(var r in i)["default"].indexOf(r)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(r);n("d423");var s=n("828b"),u=Object(s["a"])(i["default"],c["b"],c["c"],!1,null,"0918e8bb",null,!1,c["a"],void 0);t["default"]=u.exports},"8eb3":function(e,t,n){},a33e:function(e,t,n){"use strict";n.d(t,"b",(function(){return c})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var c=function(){var e=this,t=e.$createElement,n=(e._self._c,e.categoryList.length),c=n?e.__map(e.categoryList,(function(t,n){var c=e.__get_orig(t),i=e.checkedIds.includes(t.id+""),r=e.checkedIds.includes(t.id+"");return{$orig:c,g1:i,g2:r}})):null,i=n&&e.categoryList[e.currentOne]?e.categoryList[e.currentOne].children.length:null,r=n&&e.categoryList[e.currentOne]?e.__map(e.categoryList[e.currentOne].children,(function(t,n){var c=e.__get_orig(t),i=e.checkedIds.includes(t.id+""),r=e.checkedIds.includes(t.id+"");return{$orig:c,g4:i,g5:r}})):null,s=n?e.categoryList[e.currentOne]&&e.categoryList[e.currentOne].children.length:null,u=n&&s?e.__map(e.categoryList[e.currentOne].children[e.currentTwo].children,(function(t,n){var c=e.__get_orig(t),i=e.checkedIds.includes(t.id+""),r=e.checkedIds.includes(t.id+"");return{$orig:c,g7:i,g8:r}})):null;e.$mp.data=Object.assign({},{$root:{g0:n,l0:c,g3:i,l1:r,g6:s,l2:u}})},i=[]},d423:function(e,t,n){"use strict";var c=n("8eb3"),i=n.n(c);i.a},dcd8:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=n("6af6"),i={components:{emptyPage:function(){n.e("components/emptyPage").then(function(){return resolve(n("398a"))}.bind(null,n)).catch(n.oe)}},props:{visible:{type:Boolean,default:!1}},data:function(){return{categoryList:[],currentOne:0,currentTwo:0,checkedIds:[],ids:null}},mounted:function(){},methods:{checkboxChange:function(e,t,n){this.checkedIds=e.detail.value},categoryTwoTap:function(e){this.currentTwo=e},categoryTap:function(e){this.currentOne=e,this.currentTwo=0},category:function(e,t){var n=this;this.ids=e,this.checkedIds=t?t.split(","):[],(0,c.getCategory)().then((function(e){n.categoryList=e.data})).catch((function(e){n.$util.Tips({title:e})}))},reset:function(){this.checkedIds=[]},define:function(){var e=this;if(this.checkedIds.length){var t={type:1,data:{cate_id:this.checkedIds},ids:this.ids};(0,c.postBatchProcess)(t).then((function(t){e.$util.Tips({title:t.msg}),e.$emit("successChange")})).catch((function(t){e.$util.Tips({title:t})}))}else this.$util.Tips({title:"请选择分类"})},closeDrawer:function(){this.$emit("closeDrawer")}}};t.default=i}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/admin/goods/components/classify/index-create-component',
|
||||
{
|
||||
'pages/admin/goods/components/classify/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("8b94"))
|
||||
})
|
||||
},
|
||||
[['pages/admin/goods/components/classify/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"empty-page": "/components/emptyPage"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<base-drawer vue-id="0a152388-1" mode="bottom" visible="{{visible}}" background-color="transparent" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['closeDrawer']]]]}}" bind:close="__e" class="data-v-0918e8bb" bind:__l="__l" vue-slots="{{['default']}}"><view class="classify rd-t-40rpx data-v-0918e8bb"><view class="title data-v-0918e8bb">修改分类 <view data-event-opts="{{[['tap',[['closeDrawer',['$event']]]]]}}" class="close acea-row row-center-wrapper data-v-0918e8bb" bindtap="__e"><text class="iconfont icon-ic_close data-v-0918e8bb"></text></view></view><block wx:if="{{$root.g0}}"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" bindchange="__e" class="data-v-0918e8bb"><view class="list acea-row data-v-0918e8bb"><view class="item data-v-0918e8bb"><view class="tips data-v-0918e8bb">一级分类</view><scroll-view class="scroll-Y data-v-0918e8bb" scroll-y="true"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['categoryTap',[index]]]]]}}" class="{{['itemn','line1','data-v-0918e8bb',(index==currentOne)?'checked':'',(item.g1)?'on':'']}}" bindtap="__e"><checkbox style="transform:scale(0.9);" value="{{item.$orig.id}}" checked="{{item.g2}}" color="#ffffff" class="data-v-0918e8bb"></checkbox>{{''+item.$orig.cate_name+''}}</view></block></scroll-view></view><block wx:if="{{categoryList[currentOne]}}"><view class="{{['item','on','data-v-0918e8bb',!$root.g3?'on3':'']}}"><view class="tips data-v-0918e8bb">二级分类</view><scroll-view class="scroll-Y data-v-0918e8bb" scroll-y="true"><block wx:for="{{$root.l1}}" wx:for-item="j" wx:for-index="jIndex" wx:key="jIndex"><view data-event-opts="{{[['tap',[['categoryTwoTap',[jIndex]]]]]}}" class="{{['itemn','line1','data-v-0918e8bb',(jIndex==currentTwo)?'checked':'',(j.g4)?'on':'']}}" bindtap="__e"><checkbox style="transform:scale(0.9);" value="{{j.$orig.id}}" checked="{{j.g5}}" class="data-v-0918e8bb"></checkbox>{{''+j.$orig.cate_name+''}}</view></block></scroll-view></view></block><block wx:if="{{$root.g6}}"><view class="item on2 data-v-0918e8bb"><view class="tips data-v-0918e8bb">三级分类</view><scroll-view class="scroll-Y data-v-0918e8bb" scroll-y="true"><block wx:for="{{$root.l2}}" wx:for-item="x" wx:for-index="xIndex" wx:key="xIndex"><view class="{{['itemn','line1','data-v-0918e8bb',(x.g7)?'on':'']}}"><checkbox style="transform:scale(0.9);" value="{{x.$orig.id}}" checked="{{x.g8}}" class="data-v-0918e8bb"></checkbox>{{''+x.$orig.cate_name+x.$orig.id+''}}</view></block></scroll-view></view></block></view></checkbox-group></block><block wx:else><view class="empty-box data-v-0918e8bb"><empty-page vue-id="{{('0a152388-2')+','+('0a152388-1')}}" title="暂无分类~" src="/statics/images/empty-box.png" class="data-v-0918e8bb" bind:__l="__l"></empty-page></view></block><view class="footer acea-row row-between-wrapper data-v-0918e8bb"><view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-0918e8bb" bindtap="__e">重置</view><view data-event-opts="{{[['tap',[['define',['$event']]]]]}}" class="bnt on acea-row row-center-wrapper data-v-0918e8bb" bindtap="__e">确定</view></view></view></base-drawer>
|
||||
@@ -0,0 +1 @@
|
||||
.data-v-0918e8bb checkbox .wx-checkbox-input.wx-checkbox-input-checked{border:1px solid #2a7efb;background-color:#2a7efb;color:#fff}.data-v-0918e8bb checkbox{margin-right:13rpx}.data-v-0918e8bb uni-checkbox .uni-checkbox-input{border-radius:4rpx;width:28rpx;height:28rpx}.classify.data-v-0918e8bb{background-color:#fff;padding-bottom:60rpx}.classify .title.data-v-0918e8bb{text-align:center;height:108rpx;line-height:108rpx;font-size:32rpx;font-family:PingFang SC;font-weight:600;color:#333;position:relative;padding:0 30rpx}.classify .title .close.data-v-0918e8bb{width:36rpx;height:36rpx;line-height:36rpx;background:#eee;border-radius:50%;position:absolute;right:30rpx;top:38rpx}.classify .title .close .iconfont.data-v-0918e8bb{font-weight:300;font-size:20rpx}.classify .list.data-v-0918e8bb{height:770rpx}.classify .list .scroll-Y.data-v-0918e8bb{height:684rpx}.classify .list .item.data-v-0918e8bb{width:33.33%;padding-left:32rpx;font-size:26rpx;font-family:PingFang SC;font-weight:400;color:#666;padding-top:30rpx}.classify .list .item .tips.data-v-0918e8bb{color:#999;font-size:24rpx;margin-bottom:30rpx}.classify .list .item .itemn.data-v-0918e8bb{margin-bottom:58rpx}.classify .list .item .itemn.checked.data-v-0918e8bb{color:#000}.classify .list .item .itemn.on.data-v-0918e8bb{color:#2a7efb}.classify .list .item.on.data-v-0918e8bb{background-color:#fafafa}.classify .list .item.on2.data-v-0918e8bb{background-color:#f5f5f5}.classify .list .item.on3.data-v-0918e8bb{width:66.66%}.classify .footer.data-v-0918e8bb{box-sizing:border-box;padding:0 20rpx;width:100%;height:112rpx;background-color:#fff;position:fixed;bottom:0;z-index:30;height:calc(112rpx + constant(safe-area-inset-bottom));height:calc(112rpx + env(safe-area-inset-bottom));padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);left:0}.classify .footer .bnt.data-v-0918e8bb{width:347rpx;height:72rpx;border-radius:50rpx;border:1px solid #2a7efb;color:#2a7efb;font-size:26rpx;font-family:PingFang SC;font-weight:500}.classify .footer .bnt.on.data-v-0918e8bb{background-color:#2a7efb;color:#fff}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/goods/components/editPrice/index"],{"1d28":function(t,e,n){},"3ef9":function(t,e,n){"use strict";var i=n("1d28"),o=n.n(i);o.a},"48ac":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var i=function(){var t=this.$createElement;this._self._c},o=[]},"5aab":function(t,e,n){"use strict";n.r(e);var i=n("6ab3"),o=n.n(i);for(var a in i)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(a);e["default"]=o.a},"6ab3":function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("6af6"),o={props:{visible:{type:Boolean,default:!1},goodsInfo:{type:Object,default:function(){}}},data:function(){return{tips:""}},mounted:function(){this.tips=this.goodsInfo.spec_type?"(可为空)":""},methods:{defineSpec:function(){var t=this.goodsInfo.attr_value;t.cost||t.price||t.ot_price||t.stock?this.$emit("successChange",t):this.$util.Tips({title:"修改类容至少填写一项"})},define:function(){var t=this,e={attr_value:[]};e.attr_value.push(this.goodsInfo.attr_value),(0,i.postUpdateAttrs)(this.goodsInfo.id,e).then((function(e){t.$util.Tips({title:e.msg}),t.$emit("successChange")})).catch((function(e){t.$util.Tips({title:e})}))},closeDrawer:function(){this.$emit("closeDrawer")}}};e.default=o},"7b31":function(t,e,n){"use strict";n.r(e);var i=n("48ac"),o=n("5aab");for(var a in o)["default"].indexOf(a)<0&&function(t){n.d(e,t,(function(){return o[t]}))}(a);n("3ef9");var s=n("828b"),u=Object(s["a"])(o["default"],i["b"],i["c"],!1,null,"8f81b354",null,!1,i["a"],void 0);e["default"]=u.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/admin/goods/components/editPrice/index-create-component',
|
||||
{
|
||||
'pages/admin/goods/components/editPrice/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("7b31"))
|
||||
})
|
||||
},
|
||||
[['pages/admin/goods/components/editPrice/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<base-drawer vue-id="d3f6c12a-1" mode="bottom" visible="{{visible}}" background-color="transparent" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['closeDrawer']]]]}}" bind:close="__e" class="data-v-8f81b354" bind:__l="__l" vue-slots="{{['default']}}"><block wx:if="{{goodsInfo.attr_value}}"><view class="edit-price rd-t-40rpx data-v-8f81b354"><view class="title data-v-8f81b354">修改价格/库存 <view data-event-opts="{{[['tap',[['closeDrawer',['$event']]]]]}}" class="close acea-row row-center-wrapper data-v-8f81b354" bindtap="__e"><text class="iconfont icon-ic_close data-v-8f81b354"></text></view></view><view class="list data-v-8f81b354"><view class="item acea-row row-between-wrapper data-v-8f81b354"><view class="data-v-8f81b354">售价</view><input type="digit" placeholder="{{'请填写售价'+tips}}" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],['goodsInfo.attr_value']]]]]}}" value="{{goodsInfo.attr_value.price}}" bindinput="__e" class="data-v-8f81b354"/></view><view class="item acea-row row-between-wrapper data-v-8f81b354"><view class="data-v-8f81b354">成本价</view><input type="digit" placeholder="{{'请填写成本价'+tips}}" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','cost','$event',[]],['goodsInfo.attr_value']]]]]}}" value="{{goodsInfo.attr_value.cost}}" bindinput="__e" class="data-v-8f81b354"/></view><view class="item acea-row row-between-wrapper data-v-8f81b354"><view class="data-v-8f81b354">划线</view><input type="digit" placeholder="{{'请填写划线'+tips}}" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','ot_price','$event',[]],['goodsInfo.attr_value']]]]]}}" value="{{goodsInfo.attr_value.ot_price}}" bindinput="__e" class="data-v-8f81b354"/></view><view class="item acea-row row-between-wrapper data-v-8f81b354"><view class="data-v-8f81b354">库存</view><input type="number" placeholder="{{'请填写库存'+tips}}" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','stock','$event',[]],['goodsInfo.attr_value']]]]]}}" value="{{goodsInfo.attr_value.stock}}" bindinput="__e" class="data-v-8f81b354"/></view></view><block wx:if="{{goodsInfo.spec_type}}"><view data-event-opts="{{[['tap',[['defineSpec',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-8f81b354" bindtap="__e">确定</view></block><block wx:else><view data-event-opts="{{[['tap',[['define',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-8f81b354" bindtap="__e">保存</view></block></view></block></base-drawer>
|
||||
@@ -0,0 +1 @@
|
||||
.edit-price.data-v-8f81b354{background-color:#fff;padding-bottom:60rpx}.edit-price .title.data-v-8f81b354{text-align:center;height:108rpx;line-height:108rpx;font-size:32rpx;font-family:PingFang SC;font-weight:600;color:#333;position:relative;padding:0 30rpx}.edit-price .title .close.data-v-8f81b354{width:36rpx;height:36rpx;line-height:36rpx;background:#eee;border-radius:50%;position:absolute;right:30rpx;top:38rpx}.edit-price .title .close .iconfont.data-v-8f81b354{font-weight:300;font-size:20rpx}.edit-price .list.data-v-8f81b354{padding:0 10rpx 0 30rpx}.edit-price .list .item.data-v-8f81b354{font-size:28rpx;font-family:PingFang SC;font-weight:400;color:#333;height:72rpx;margin-bottom:32rpx;box-sizing:border-box}.edit-price .list .item input.data-v-8f81b354{text-align:right;font-size:28rpx;height:100%;padding-right:20rpx}.edit-price .list .item .placeholder.data-v-8f81b354{font-size:28rpx;padding-right:20rpx}.edit-price .bnt.data-v-8f81b354{font-size:26rpx;font-family:PingFang SC;font-weight:500;color:#fff;width:710rpx;height:72rpx;background:#2a7efb;border-radius:50rpx;margin:72rpx auto 0 auto}
|
||||
@@ -0,0 +1,10 @@
|
||||
require('../../../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/goods/components/label/index"],{"1b9f":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=(t._self._c,t.isStore?t.__map(t.labelList,(function(e,i){var n=t.__get_orig(e),a=e.children&&e.children.length,s=e.children&&e.children.length;return{$orig:n,g0:a,g1:s}})):null);t.$mp.data=Object.assign({},{$root:{l0:i}})},a=[]},"4c33":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i("6af6"),a=(i("3240"),{components:{emptyPage:function(){i.e("components/emptyPage").then(function(){return resolve(i("398a"))}.bind(null,i)).catch(i.oe)}},props:{visible:{type:Boolean,default:!1}},data:function(){return{getHeight:this.$util.getWXStatusHeight(),labelList:[],goodsInfo:{},dataLabel:[],isStore:!1,num:0,ids:[]}},mounted:function(){},methods:{define:function(){var t=this,e={data:{store_label_id:this.dataLabel},type:2};this.num?e.ids=this.ids:e.ids=this.goodsInfo.id,(0,n.postBatchProcess)(e).then((function(e){t.$util.Tips({title:e.msg}),t.$emit("successChange")})).catch((function(e){t.$util.Tips({title:e})}))},reset:function(){this.productLabel(this.goodsInfo,this.num,this.ids)},inArray:function(t,e){for(var i in e)if(e[i]==t)return!0;return!1},productLabel:function(t,e,i){var a=this;this.dataLabel=t.store_label_id||[],this.goodsInfo=JSON.parse(JSON.stringify(t)),this.num=e,this.ids=i,(0,n.getProductLabel)().then((function(t){t.data.map((function(t){t.children&&t.children.length&&(a.isStore=!0,t.children.map((function(t){a.inArray(t.id,a.dataLabel)?t.disabled=!0:t.disabled=!1})))})),a.labelList=t.data})).catch((function(t){a.$util.Tips({title:t})}))},selectLabel:function(t){if(t.disabled){var e=this.dataLabel.indexOf(this.dataLabel.filter((function(e){return e==t.id}))[0]);this.dataLabel.splice(e,1),t.disabled=!1}else this.dataLabel.push(t.id),t.disabled=!0},closeDrawer:function(){this.$emit("closeDrawer")}}});e.default=a},"5e03":function(t,e,i){},6356:function(t,e,i){"use strict";var n=i("5e03"),a=i.n(n);a.a},"7f84":function(t,e,i){"use strict";i.r(e);var n=i("4c33"),a=i.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(s);e["default"]=a.a},d2d6:function(t,e,i){"use strict";i.r(e);var n=i("1b9f"),a=i("7f84");for(var s in a)["default"].indexOf(s)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(s);i("6356");var o=i("828b"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"145415d2",null,!1,n["a"],void 0);e["default"]=r.exports}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'pages/admin/goods/components/label/index-create-component',
|
||||
{
|
||||
'pages/admin/goods/components/label/index-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("d2d6"))
|
||||
})
|
||||
},
|
||||
[['pages/admin/goods/components/label/index-create-component']]
|
||||
]);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"empty-page": "/components/emptyPage"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<base-drawer vue-id="2a811236-1" mode="right" visible="{{visible}}" background-color="transparent" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['closeDrawer']]]]}}" bind:close="__e" class="data-v-145415d2" bind:__l="__l" vue-slots="{{['default']}}"><view class="edit-lable data-v-145415d2"><view class="accountTitle data-v-145415d2"><view style="{{'height:'+(getHeight.barTop+'px')+';'}}" class="data-v-145415d2"></view><view class="sysTitle acea-row row-center-wrapper data-v-145415d2" style="{{'height:'+(getHeight.barHeight+'px')+';'}}"><view class="data-v-145415d2">添加标签</view></view></view><view style="{{'height:'+(getHeight.barTop+getHeight.barHeight+'px')+';'}}" class="data-v-145415d2"></view><block wx:if="{{isStore}}"><view class="list data-v-145415d2" style="{{('height: calc(100% - '+(getHeight.barTop+getHeight.barHeight*2+150)+'rpx - constant(safe-area-inset-bottom));height: calc(100% - '+(getHeight.barTop+getHeight.barHeight*2+150)+'rpx - env(safe-area-inset-bottom))')}}"><scroll-view style="height:100%;" scroll-y="true" class="data-v-145415d2"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-145415d2"><block wx:if="{{item.g0}}"><view class="title data-v-145415d2">{{item.$orig.label_name}}</view></block><block wx:if="{{item.g1}}"><view class="listn acea-row row-middle data-v-145415d2"><block wx:for="{{item.$orig.children}}" wx:for-item="j" wx:for-index="indexn" wx:key="indexn"><view data-event-opts="{{[['tap',[['selectLabel',['$0'],[[['labelList','',index],['children','',indexn]]]]]]]}}" class="{{['name','acea-row','row-center-wrapper','data-v-145415d2',(j.disabled)?'on':'']}}" bindtap="__e"><text class="line1 data-v-145415d2">{{j.label_name}}</text></view></block></view></block></view></block></scroll-view></view></block><block wx:else><view class="empty-box data-v-145415d2"><empty-page vue-id="{{('2a811236-2')+','+('2a811236-1')}}" title="暂无标签~" src="/statics/images/empty-box.png" class="data-v-145415d2" bind:__l="__l"></empty-page></view></block><view class="footer acea-row row-between-wrapper data-v-145415d2"><view data-event-opts="{{[['tap',[['reset',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-145415d2" bindtap="__e">重置</view><view data-event-opts="{{[['tap',[['define',['$event']]]]]}}" class="bnt on acea-row row-center-wrapper data-v-145415d2" bindtap="__e">确定</view></view></view></base-drawer>
|
||||
@@ -0,0 +1 @@
|
||||
.accountTitle.data-v-145415d2{position:fixed;left:0;top:0;width:100%;z-index:99;padding-bottom:6rpx}.accountTitle .sysTitle.data-v-145415d2{width:100%;position:relative;font-weight:600;color:#333;font-size:34rpx;font-family:PingFang SC}.edit-lable.data-v-145415d2{background-color:#fff;width:670rpx;border-radius:40rpx 0 0 40rpx;height:100%;padding:20rpx 34rpx 0 32rpx}.edit-lable .header.data-v-145415d2{text-align:center;height:96rpx;line-height:96rpx;font-size:34rpx;font-family:PingFang SC;font-weight:600;color:#333;position:relative}.edit-lable .list.data-v-145415d2{overflow:auto;height:calc(100% - 208rpx);height:calc(100% - (208rpx + constant(safe-area-inset-bottom)));height:calc(100% - (208rpx + env(safe-area-inset-bottom)))}.edit-lable .list .item.data-v-145415d2{margin-top:48rpx}.edit-lable .list .item .title.data-v-145415d2{font-size:28rpx;font-family:PingFang SC;font-weight:600;color:#333}.edit-lable .list .item .listn .name.data-v-145415d2{width:184rpx;height:56rpx;background-color:#f5f5f5;border-radius:50rpx;border:1rpx solid #f5f5f5;font-size:24rpx;font-family:PingFang SC;font-weight:400;color:#333;margin-right:26rpx;margin-top:24rpx;padding:0 8rpx}.edit-lable .list .item .listn .name.on.data-v-145415d2{background-color:#e9f2fe;border-color:#2a7efb;color:#2a7efb}.edit-lable .list .item .listn .name.data-v-145415d2:nth-of-type(3n){margin-right:0}.edit-lable .footer.data-v-145415d2{width:100%;height:112rpx;position:fixed;bottom:0;left:0;padding:0 32rpx;background-color:#fff;border-radius:0 0 0 40rpx;height:calc(112rpx + constant(safe-area-inset-bottom));height:calc(112rpx + env(safe-area-inset-bottom));padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom)}.edit-lable .footer .bnt.data-v-145415d2{width:296rpx;height:72rpx;border:1px solid #2a7efb;border-radius:200rpx;font-size:26rpx;font-family:PingFang SC;font-weight:600;color:#2a7efb}.edit-lable .footer .bnt.on.data-v-145415d2{background:#2a7efb;border-color:#2a7efb;color:#fff}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "商品管理",
|
||||
"usingComponents": {
|
||||
"edit-price": "/pages/admin/goods/components/editPrice/index",
|
||||
"edit-lable": "/pages/admin/goods/components/label/index",
|
||||
"classify": "/pages/admin/goods/components/classify/index",
|
||||
"footer-page": "/pages/admin/components/footerPage/index",
|
||||
"empty-page": "/components/emptyPage",
|
||||
"loading": "/components/Loading/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
.data-v-607b3d30 checkbox .wx-checkbox-input.wx-checkbox-input-checked{border:1px solid #2a7efb!important;background-color:#2a7efb!important}.data-v-607b3d30 uni-checkbox .uni-checkbox-input{margin-top:-4rpx}.data-v-607b3d30 checkbox:not([disabled]) .uni-checkbox-input:hover{border-color:#d1d1d1!important}.empty-box.data-v-607b3d30{padding:0 20rpx}.accountTitle.data-v-607b3d30{background:#f5f5f5;position:fixed;left:0;top:0;width:100%;z-index:99;padding-bottom:6rpx}.accountTitle .sysTitle.data-v-607b3d30{width:100%;position:relative;font-weight:500;color:#333;font-size:30rpx}.accountTitle .sysTitle .iconfont.data-v-607b3d30{position:absolute;font-size:42rpx;left:20rpx;width:60rpx;font-weight:500}.goods-list.data-v-607b3d30{padding-top:20rpx}.goods-list .searchCon.data-v-607b3d30{padding:0 20rpx}.goods-list .searchCon .search.data-v-607b3d30{width:618rpx;height:72rpx;background:#fff;border-radius:50rpx;padding:0 34rpx}.goods-list .searchCon .search .iconfont.data-v-607b3d30{color:#999;font-size:32rpx;margin-right:16rpx}.goods-list .searchCon .search .inputs.data-v-607b3d30{font-size:28rpx;width:100%;height:100%;flex:1}.goods-list .searchCon .search .placeholder.data-v-607b3d30{color:#ccc}.goods-list .searchCon .edit.data-v-607b3d30{width:72rpx;height:72rpx;background:#fff;border-radius:50%}.goods-list .searchCon .edit .iconfont.data-v-607b3d30{color:#666;font-size:36rpx}.goods-list .nav.data-v-607b3d30{padding:20rpx 20rpx 18rpx 34rpx;position:-webkit-sticky;position:sticky;top:0;left:0;width:100%;background-color:#f5f5f5;z-index:9}.goods-list .nav .item.data-v-607b3d30{font-weight:400;font-size:26rpx;color:#333;padding:10rpx 0;position:relative}.goods-list .nav .item ~ .item.data-v-607b3d30{margin-left:72rpx}.goods-list .nav .item.on.data-v-607b3d30{font-weight:500;color:#2a7efb;font-size:30rpx;font-family:PingFang SC}.goods-list .nav .item image.data-v-607b3d30{width:14rpx;height:14rpx;display:block;position:absolute;bottom:0;right:-4rpx}.goods-list .list.data-v-607b3d30{padding-bottom:20rpx;padding:0 20rpx 20rpx 20rpx}.goods-list .list.data-v-607b3d30 uni-checkbox .uni-checkbox-input{background-color:#f5f5f5;margin:0 20rpx 20rpx 0}.goods-list .list.data-v-607b3d30 wx-checkbox .wx-checkbox-input{background-color:#f5f5f5;margin:0 20rpx 20rpx 0}.goods-list .list .item.data-v-607b3d30{width:100%;background-color:#fff;padding:24rpx;box-sizing:border-box;margin-bottom:20rpx;border-radius:24rpx;flex:1;overflow:hidden}.goods-list .list .item .top .checkbox.data-v-607b3d30{margin-right:10rpx}.goods-list .list .item .top .pictrue.data-v-607b3d30{width:136rpx;height:136rpx;margin-right:20rpx}.goods-list .list .item .top .pictrue image.data-v-607b3d30{width:100%;height:100%;border-radius:16rpx}.goods-list .list .item .top .text.data-v-607b3d30{flex:1;overflow:hidden}.goods-list .list .item .top .text .name.data-v-607b3d30{font-size:28rpx;font-weight:400;color:#333}.goods-list .list .item .top .text .info.data-v-607b3d30{font-size:24rpx;font-weight:400;color:#666;margin:10rpx 0 18rpx 0}.goods-list .list .item .top .text .info text.data-v-607b3d30{margin-right:40rpx}.goods-list .list .item .bottom.data-v-607b3d30{margin-top:26rpx}.goods-list .list .item .bottom .bnt.data-v-607b3d30{width:144rpx;height:56rpx;border:1px solid #ccc;font-size:24rpx;font-family:PingFang SC;font-weight:400;color:#333;border-radius:50rpx}.goods-list .list .item .bottom .bnt ~ .bnt.data-v-607b3d30{margin-left:16rpx}.goods-list .list .item .bottom .bnt.on.data-v-607b3d30{border-color:#2a7efb;background-color:#2a7efb;color:#fff}.goods-list .list .item .bottom .bnt.up.data-v-607b3d30{border-color:#ff7e00;color:#ff7e00}.goods-list .footerH.data-v-607b3d30{height:110rpx;height:calc(110rpx + constant(safe-area-inset-bottom));height:calc(110rpx + env(safe-area-inset-bottom))}.goods-list .footer.data-v-607b3d30{box-sizing:border-box;padding:0 32rpx;width:100%;height:96rpx;background-color:#fff;position:fixed;bottom:0;z-index:30;height:calc(96rpx + constant(safe-area-inset-bottom));height:calc(96rpx + env(safe-area-inset-bottom));padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);width:100%;left:0}.goods-list .footer .bnt.data-v-607b3d30{width:160rpx;height:64rpx;border-radius:50rpx;border:1rpx solid #2a7efb;color:#2a7efb;font-size:24rpx;font-family:PingFang SC;font-weight:500}.goods-list .footer .bnt ~ .bnt.data-v-607b3d30{margin-left:16rpx}.goods-list .edit-list.data-v-607b3d30{background-color:#fff;padding:45rpx 34rpx}.goods-list .edit-list .item.data-v-607b3d30{font-family:PingFang SC;font-weight:400;color:#333;font-size:32rpx;text-align:center;height:106rpx;line-height:106rpx}
|
||||
@@ -0,0 +1 @@
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/goods/specs"],{"46da":function(t,i,e){"use strict";(function(t,i){var n=e("47a9");e("f076");n(e("3240"));var c=n(e("5029"));t.__webpack_require_UNI_MP_PLUGIN__=e,i(c.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},4822:function(t,i,e){},5029:function(t,i,e){"use strict";e.r(i);var n=e("5531"),c=e("dd7e");for(var s in c)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return c[t]}))}(s);e("819e");var o=e("828b"),a=Object(o["a"])(c["default"],n["b"],n["c"],!1,null,"477da86a",null,!1,n["a"],void 0);i["default"]=a.exports},5531:function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return c})),e.d(i,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},c=[]},"819e":function(t,i,e){"use strict";var n=e("4822"),c=e.n(n);c.a},"8e4f":function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var n=e("6af6"),c={components:{editPrice:function(){e.e("pages/admin/goods/components/editPrice/index").then(function(){return resolve(e("7b31"))}.bind(null,e)).catch(e.oe)}},data:function(){return{attrsList:[],id:0,administer:!1,isAllSelect:!1,visiblePrice:!1,goodsInfo:{id:0,spec_type:1,attr_value:{}}}},onShow:function(){},onLoad:function(t){this.id=t.id,this.getAttrsList()},methods:{getIds:function(){var t=[];return this.attrsList.forEach((function(i){i.checked&&t.push(i.id)})),t},batchEdit:function(){this.getIds().length?(this.goodsInfo.id=this.id,this.goodsInfo.attr_value={cost:"",price:"",ot_price:"",stock:""},this.visiblePrice=!0):this.$util.Tips({title:"请选择商品规格"})},define:function(){var i=this,e={attr_value:[]};this.attrsList.forEach((function(t){e.attr_value.push({cost:t.cost,price:t.price,ot_price:t.ot_price,stock:t.stock,unique:t.unique})})),(0,n.postUpdateAttrs)(this.id,e).then((function(e){i.$util.Tips({title:e.msg},(function(){t.navigateTo({url:"/pages/admin/goods/index"})}))})).catch((function(t){i.$util.Tips({title:t})}))},getAttrsList:function(){var t=this;(0,n.getGetAttrs)(this.id).then((function(i){var e=i.data;e.forEach((function(t){t.checked=!1})),t.attrsList=e})).catch((function(i){t.$util.Tips({title:i})}))},checkboxChange:function(t){var i=t.detail.value;this.attrsList.forEach((function(t){-1!==i.indexOf(t.id+"")?t.checked=!0:t.checked=!1})),i.length==this.attrsList.length?this.isAllSelect=!0:this.isAllSelect=!1},forGoods:function(t){this.attrsList.length&&this.attrsList.forEach((function(i){i.checked=!!t}))},checkboxAllChange:function(t){var i=t.detail.value;i.length?(this.isAllSelect=!0,this.forGoods(1)):(this.isAllSelect=!1,this.forGoods(0))},manageTap:function(){this.administer=!this.administer},priceCloseDrawer:function(){this.visiblePrice=!1},successChange:function(t){this.visiblePrice=!1;var i=t;this.attrsList.forEach((function(t){t.checked&&(i.cost&&(t.cost=i.cost),i.price&&(t.price=i.price),i.ot_price&&(t.ot_price=i.ot_price),i.stock&&(t.stock=i.stock))})),this.manageTap()}}};i.default=c}).call(this,e("df3c")["default"])},dd7e:function(t,i,e){"use strict";e.r(i);var n=e("8e4f"),c=e.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);i["default"]=c.a}},[["46da","common/runtime","common/vendor"]]]);
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationBarTitleText": "修改价格/库存",
|
||||
"navigationBarBackgroundColor": "#F5F5F5",
|
||||
"usingComponents": {
|
||||
"edit-price": "/pages/admin/goods/components/editPrice/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="specs data-v-477da86a"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" bindchange="__e" class="data-v-477da86a"><block wx:for="{{attrsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['list','acea-row','data-v-477da86a',administer?'on':'']}}"><block wx:if="{{administer}}"><checkbox class="checkbox data-v-477da86a" value="{{item.id}}" checked="{{item.checked}}"></checkbox></block><view class="listCon data-v-477da86a"><view class="item acea-row row-middle data-v-477da86a"><view class="name data-v-477da86a">规格名称</view><view class="info data-v-477da86a">{{item.suk}}</view></view><view class="item acea-row row-middle data-v-477da86a"><view class="name data-v-477da86a">售价</view><input type="number" disabled="{{administer}}" min="0" placeholder="请填写售价" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','price','$event',[]],[[['attrsList','',index]]]]]]]}}" value="{{item.price}}" bindinput="__e" class="data-v-477da86a"/></view><view class="item acea-row row-middle data-v-477da86a"><view class="name data-v-477da86a">成本价</view><input type="number" disabled="{{administer}}" placeholder="请填写成本价" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','cost','$event',[]],[[['attrsList','',index]]]]]]]}}" value="{{item.cost}}" bindinput="__e" class="data-v-477da86a"/></view><view class="item acea-row row-middle data-v-477da86a"><view class="name data-v-477da86a">原价</view><input type="number" disabled="{{administer}}" placeholder="请填写原价" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','ot_price','$event',[]],[[['attrsList','',index]]]]]]]}}" value="{{item.ot_price}}" bindinput="__e" class="data-v-477da86a"/></view><view class="item acea-row row-middle data-v-477da86a"><view class="name data-v-477da86a">库存</view><input type="number" disabled="{{administer}}" placeholder="请填写库存" placeholder-class="placeholder" data-event-opts="{{[['input',[['__set_model',['$0','stock','$event',[]],[[['attrsList','',index]]]]]]]}}" value="{{item.stock}}" bindinput="__e" class="data-v-477da86a"/></view></view></view></block></checkbox-group><block wx:if="{{administer}}"><view class="footer on acea-row row-between-wrapper data-v-477da86a"><checkbox-group data-event-opts="{{[['change',[['checkboxAllChange',['$event']]]]]}}" bindchange="__e" class="data-v-477da86a"><checkbox value="all" checked="{{isAllSelect}}" class="data-v-477da86a"></checkbox><text class="checkAll data-v-477da86a">全选</text></checkbox-group><view class="acea-row row-middle data-v-477da86a"><view data-event-opts="{{[['tap',[['manageTap',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-477da86a" bindtap="__e">取消</view><view data-event-opts="{{[['tap',[['batchEdit',['$event']]]]]}}" class="bnt on acea-row row-center-wrapper data-v-477da86a" bindtap="__e">批量修改</view></view></view></block><block wx:else><view class="footer acea-row row-between-wrapper data-v-477da86a"><view data-event-opts="{{[['tap',[['manageTap',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-477da86a" bindtap="__e">批量操作</view><view data-event-opts="{{[['tap',[['define',['$event']]]]]}}" class="bnt on acea-row row-center-wrapper data-v-477da86a" bindtap="__e">保存</view></view></block><edit-price vue-id="4867d5e0-1" visible="{{visiblePrice}}" goodsInfo="{{goodsInfo}}" data-event-opts="{{[['^closeDrawer',[['priceCloseDrawer']]],['^successChange',[['successChange']]]]}}" bind:closeDrawer="__e" bind:successChange="__e" class="data-v-477da86a" bind:__l="__l"></edit-price></view>
|
||||
@@ -0,0 +1 @@
|
||||
.data-v-477da86a checkbox .uni-checkbox-input.uni-checkbox-input-checked{border:1px solid #2a7efb!important;background-color:#2a7efb!important}.data-v-477da86a checkbox .wx-checkbox-input.wx-checkbox-input-checked{border:1px solid #2a7efb!important;background-color:#2a7efb!important}.specs.data-v-477da86a{padding:24rpx 20rpx 112rpx 20rpx;padding-bottom:calc(112rpx + constant(safe-area-inset-bottom));padding-bottom:calc(112rpx + env(safe-area-inset-bottom))}.specs .list.data-v-477da86a{background-color:#fff;border-radius:24rpx;padding:0 24rpx;margin-bottom:20rpx}.specs .list .listCon.data-v-477da86a{flex:1}.specs .list.on input.data-v-477da86a{color:#999!important}.specs .list .checkbox.data-v-477da86a{margin:32rpx 12rpx 0 0}.specs .list .item.data-v-477da86a{min-height:102rpx;font-size:28rpx;font-family:PingFang SC;font-weight:400}.specs .list .item ~ .item.data-v-477da86a{border-top:1px solid #f1f1f1}.specs .list .item .name.data-v-477da86a{color:#333;width:115rpx;margin-right:39rpx}.specs .list .item .info.data-v-477da86a{color:#999;flex:1}.specs .list .item input.data-v-477da86a{font-size:36rpx;font-family:Regular;color:#333}.specs .list .item input.data-v-477da86a{font-size:30rpx}.specs .list .item .placeholder.data-v-477da86a{font-size:28rpx}.specs .list .item .pictrue.data-v-477da86a{width:100rpx;height:100rpx}.specs .list .item .pictrue image.data-v-477da86a{width:100%;height:100%;border-radius:16rpx}.specs .footer.data-v-477da86a{box-sizing:border-box;padding:0 20rpx;width:100%;height:112rpx;background-color:#fff;position:fixed;bottom:0;z-index:30;height:calc(112rpx + constant(safe-area-inset-bottom));height:calc(112rpx + env(safe-area-inset-bottom));padding-bottom:constant(safe-area-inset-bottom);padding-bottom:env(safe-area-inset-bottom);width:100%;left:0}.specs .footer.on.data-v-477da86a{height:96rpx;height:calc(96rpx + constant(safe-area-inset-bottom));height:calc(96rpx + env(safe-area-inset-bottom))}.specs .footer.on .bnt.data-v-477da86a{width:160rpx;height:64rpx;font-size:24rpx}.specs .footer.on .bnt.on.data-v-477da86a{background-color:#2a7efb;color:#fff;margin-left:16rpx}.specs .footer .bnt.data-v-477da86a{width:346rpx;height:72rpx;border-radius:200rpx;border:1px solid #2a7efb;color:#2a7efb;font-size:26rpx;font-family:PingFang SC;font-weight:500}.specs .footer .bnt.on.data-v-477da86a{background-color:#2a7efb;color:#fff}
|
||||
@@ -0,0 +1 @@
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/logistics/index"],{"2edd":function(t,e,o){"use strict";o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return r})),o.d(e,"a",(function(){}));var n=function(){var t=this.$createElement,e=(this._self._c,this.expressList.length);this.$mp.data=Object.assign({},{$root:{g0:e}})},r=[]},"3d5a":function(t,e,o){"use strict";(function(t){var n=o("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(o("7ca3")),i=o("606e"),s=o("0f73"),c=o("5088"),a=o("8f59"),u=o("4d38");function d(t,e){var o=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),o.push.apply(o,n)}return o}function l(t){for(var e=1;e<arguments.length;e++){var o=null!=arguments[e]?arguments[e]:{};e%2?d(Object(o),!0).forEach((function(e){(0,r.default)(t,e,o[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(o)):d(Object(o)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(o,e))}))}return t}var f=t.getWindowInfo().statusBarHeight,h={components:{NavBar:function(){o.e("components/NavBar").then(function(){return resolve(o("a7d8"))}.bind(null,o)).catch(o.oe)},emptyPage:function(){o.e("components/emptyPage").then(function(){return resolve(o("398a"))}.bind(null,o)).catch(o.oe)}},data:function(){return{sysHeight:f,imgHost:u.HTTP_REQUEST_URL,orderId:"",type:"",product:[],orderInfo:{},expressList:[],hostProduct:[],isShowAuth:!1,pageScrollStatus:!1,showMore:!0,iconColor:"#FFFFFF",isScrolling:!1}},computed:l(l({},(0,a.mapGetters)(["isLogin"])),{},{logisticList:function(){return this.showMore?this.expressList:this.expressList.slice(0,1)}}),watch:{isLogin:{handler:function(t,e){},deep:!0}},onLoad:function(t){if(!t.orderId)return this.$util.Tips({title:"缺少订单号"});"undefined"==typeof t.type?this.type="":this.type=t.type,this.orderId=t.orderId,this.isLogin&&(this.getExpress(),this.get_host_product())},onPageScroll:function(e){e.scrollTop>100?this.pageScrollStatus=!0:e.scrollTop<100&&(this.pageScrollStatus=!1),e.scrollTop>50?(this.isScrolling=!0,this.iconColor="#333333"):e.scrollTop<50&&(this.isScrolling=!1,this.iconColor="#FFFFFF"),t.$emit("scroll")},onShow:function(){t.removeStorageSync("form_type_cart"),this.isLogin||(0,c.toLogin)()},methods:{authColse:function(t){this.isShowAuth=t},onLoadFun:function(){this.getExpress(),this.get_host_product(),this.isShowAuth=!1},copyOrderId:function(){t.setClipboardData({data:this.orderInfo.delivery_id})},getExpress:function(){var t=this,e=this;(0,i.express)(e.orderId,this.type).then((function(t){e.$set(e,"product",t.data.order.cartInfo||[]),e.$set(e,"orderInfo",t.data.order),e.$set(e,"expressList",t.data.express||[])})).catch((function(e){t.$util.Tips({title:e})}))},get_host_product:function(){var t=this;(0,s.getProductHot)().then((function(e){t.$set(t,"hostProduct",e.data)}))},checkShowMore:function(){this.showMore=!this.showMore},goPage:function(e,o){1==e?t.navigateTo({url:o}):2==e?t.switchTab({url:o}):3==e&&t.navigateBack()}}};e.default=h}).call(this,o("df3c")["default"])},4715:function(t,e,o){"use strict";var n=o("8c23"),r=o.n(n);r.a},"73ca":function(t,e,o){"use strict";o.r(e);var n=o("2edd"),r=o("9d29");for(var i in r)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return r[t]}))}(i);o("4715");var s=o("828b"),c=Object(s["a"])(r["default"],n["b"],n["c"],!1,null,"f1408c1e",null,!1,n["a"],void 0);e["default"]=c.exports},"8c23":function(t,e,o){},"9d29":function(t,e,o){"use strict";o.r(e);var n=o("3d5a"),r=o.n(n);for(var i in n)["default"].indexOf(i)<0&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},a4a4:function(t,e,o){"use strict";(function(t,e){var n=o("47a9");o("f076");n(o("3240"));var r=n(o("73ca"));t.__webpack_require_UNI_MP_PLUGIN__=o,e(r.default)}).call(this,o("3223")["default"],o("df3c")["createPage"])}},[["a4a4","common/runtime","common/vendor"]]]);
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"nav-bar": "/components/NavBar",
|
||||
"empty-page": "/components/emptyPage"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="data-v-f1408c1e"><view class="w-full header_bg data-v-f1408c1e" style="{{'height:'+((174+sysHeight)*2+'rpx')+';'}}"><view class="w-full abs-lb white_jianbian data-v-f1408c1e"></view></view><nav-bar vue-id="c6c0658e-1" titleText="物流查询" iconColor="{{iconColor}}" textColor="{{iconColor}}" isScrolling="{{isScrolling}}" showBack="{{true}}" class="data-v-f1408c1e" bind:__l="__l"></nav-bar><view class="relative px-20 z-20 express_box data-v-f1408c1e"><view class="h-66 rd-t-24rpx light px-24 flex-between-center fs-20 data-v-f1408c1e"><text class="data-v-f1408c1e">{{orderInfo.delivery_name+" "+orderInfo.delivery_id}}</text><text data-event-opts="{{[['tap',[['copyOrderId',['$event']]]]]}}" class="inline-block copy_btn fs-22 text--w111-333 data-v-f1408c1e" bindtap="__e">复制单号</text></view><view class="rd-b-24rpx bg--w111-fff flex-between-center data-v-f1408c1e"><view class="w-316 h-142 flex-col flex-center data-v-f1408c1e"><text class="fs-32 fw-500 lh-44rpx data-v-f1408c1e">{{orderInfo.user_name}}</text><text class="fs-22 text--w111-999 lh-30rpx mt-8 data-v-f1408c1e">{{orderInfo.user_phone}}</text></view><view class="flex-1 h-142 flex-center fs-28 fw-500 lh-40rpx relative city-box data-v-f1408c1e"><text class="data-v-f1408c1e">{{orderInfo.send_city}}</text><text class="iconfont icon-a-jiantou11 mx-32 data-v-f1408c1e"></text><text class="data-v-f1408c1e">{{orderInfo.user_city}}</text></view></view></view><view class="px-20 mt-20 relative data-v-f1408c1e"><view class="bg--w111-fff rd-16rpx pt-32 pr-24 pl-24 pb-32 data-v-f1408c1e"><view class="flex-between-center data-v-f1408c1e"><view class="fs-32 fw-500 text--w111-333 data-v-f1408c1e"><text class="data-v-f1408c1e">物流详情</text></view></view><block wx:if="{{$root.g0}}"><view class="logisticsCon mt-50 relative data-v-f1408c1e"><block wx:for="{{logisticList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item data-v-f1408c1e"><view class="{{['circular','data-v-f1408c1e',index===0?'on text-center':'']}}"><block wx:if="{{index==0}}"><text class="iconfont icon-ic_complete text--w111-fff fs-24 data-v-f1408c1e"></text></block></view><view class="{{['text','data-v-f1408c1e',index===0?'on-font on':'']}}"><view class="data-v-f1408c1e">{{item.status}}</view><view class="{{['data','data-v-f1408c1e',index===0?'on-font on':'']}}">{{item.time}}</view></view></view></block><view data-event-opts="{{[['tap',[['checkShowMore',['$event']]]]]}}" class="more-text fs-24 data-v-f1408c1e" bindtap="__e"><text class="data-v-f1408c1e">{{showMore?'收起':'查看更多物流信息'}}</text><text class="{{['iconfont','fs-24','pl-8','data-v-f1408c1e',showMore?'icon-ic_uparrow':'icon-ic_downarrow']}}"></text></view></view></block><block wx:else><empty-page vue-id="c6c0658e-2" title="暂无物流信息" src="/statics/images/noExpress.gif" class="data-v-f1408c1e" bind:__l="__l"></empty-page></block></view><view class="safe-area-inset-bottom data-v-f1408c1e"></view></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.safe-area-inset-bottom.data-v-f1408c1e{height:0;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.header_bg.data-v-f1408c1e{position:absolute;top:0;left:0;width:100%;height:369rpx;background:linear-gradient(270deg,#01abf8,#2a7efb)}.white_jianbian.data-v-f1408c1e{height:180rpx;background:linear-gradient(0deg,#f5f5f5,hsla(0,0%,96.1%,0))}.light.data-v-f1408c1e{background:hsla(0,0%,100%,.9)}.express_box.data-v-f1408c1e{padding-top:30rpx}.copy_btn.data-v-f1408c1e{width:112rpx;height:34rpx;background:#f5f5f5;border-radius:20rpx;text-align:center;line-height:34rpx}.city-box.data-v-f1408c1e:before{content:"";width:1px;height:64rpx;background-color:#eee;position:absolute;top:40rpx;left:0}.more-text.data-v-f1408c1e{position:absolute;left:40rpx;bottom:-12rpx}.more-text.data-v-f1408c1e:before{content:"";width:14rpx;height:14rpx;border-radius:50%;background-color:#ddd;position:absolute;left:-26rpx;top:8rpx}.logisticsCon .item.data-v-f1408c1e{padding:0 20rpx;position:relative}.logisticsCon .item .circular.data-v-f1408c1e{width:14rpx;height:14rpx;border-radius:50%;position:absolute;left:14rpx;background-color:#ddd}.logisticsCon .item .circular.on.data-v-f1408c1e{width:40rpx;height:40rpx;background-color:#2a7efb;left:0}.logisticsCon .item .text.on-font.data-v-f1408c1e{color:#2a7efb}.logisticsCon .item .text .data.on-font.data-v-f1408c1e{color:#2a7efb}.logisticsCon .item .text.data-v-f1408c1e{font-size:26rpx;color:#666;width:615rpx;border-left:1rpx solid #e6e6e6;padding:0 0 40rpx 38rpx}.logisticsCon .item .text .data.data-v-f1408c1e{font-size:24rpx;color:#999;margin-top:10rpx}.logisticsCon .item .text .data .time.data-v-f1408c1e{margin-left:15rpx}.z-99.data-v-f1408c1e{z-index:99}.product ~ .product.data-v-f1408c1e{margin-top:20rpx}
|
||||
@@ -0,0 +1 @@
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/offOrderResult/index"],{5090:function(n,t,e){"use strict";e.r(t);var c=e("cf1e"),u=e("66c2");for(var i in u)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return u[n]}))}(i);e("532f");var a=e("828b"),r=Object(a["a"])(u["default"],c["b"],c["c"],!1,null,"41eea697",null,!1,c["a"],void 0);t["default"]=r.exports},"532f":function(n,t,e){"use strict";var c=e("998c"),u=e.n(c);u.a},"66c2":function(n,t,e){"use strict";e.r(t);var c=e("d27e"),u=e.n(c);for(var i in c)["default"].indexOf(i)<0&&function(n){e.d(t,n,(function(){return c[n]}))}(i);t["default"]=u.a},"998c":function(n,t,e){},cc12:function(n,t,e){"use strict";(function(n,t){var c=e("47a9");e("f076");c(e("3240"));var u=c(e("5090"));n.__webpack_require_UNI_MP_PLUGIN__=e,t(u.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},cf1e:function(n,t,e){"use strict";e.d(t,"b",(function(){return c})),e.d(t,"c",(function(){return u})),e.d(t,"a",(function(){}));var c=function(){var n=this.$createElement;this._self._c},u=[]},d27e:function(n,t,e){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=e("4d38"),u={components:{},data:function(){return{imgHost:c.HTTP_REQUEST_URL,id:0}},onLoad:function(n){this.id=n.id||0}};t.default=u}},[["cc12","common/runtime","common/vendor"]]]);
|
||||
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"navigationBarBackgroundColor": "#F5F5F5",
|
||||
"navigationBarTitleText": "扫码核销",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="container data-v-41eea697"><view class="panel data-v-41eea697"><view class="img-box data-v-41eea697"><block wx:if="{{id}}"><image class="image data-v-41eea697" src="../static/result2.png"></image></block><block wx:else><image class="image data-v-41eea697" src="../static/result1.png"></image></block><block wx:if="{{id}}"><view class="data-v-41eea697">订单已全部核销</view></block><block wx:else><view class="data-v-41eea697">暂无待核销订单</view></block></view><view class="btn-box data-v-41eea697"><block wx:if="{{id}}"><navigator class="btn data-v-41eea697" url="{{'/pages/admin/orderDetail/index?id='+id}}" hover-class="none">订单详情</navigator></block><navigator class="btn data-v-41eea697" url="/pages/admin/work/index" hover-class="none">返回工作台</navigator></view></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.container.data-v-41eea697{padding:40rpx 20rpx}.container .panel.data-v-41eea697{padding:64rpx 105rpx 98rpx;border-radius:24rpx;background:#fff}.container .img-box.data-v-41eea697{text-align:center;font-size:36rpx;line-height:50rpx;color:#333}.container .image.data-v-41eea697{width:173rpx;height:163rpx;margin-bottom:34rpx}.container .btn-box.data-v-41eea697{margin-top:60rpx}.container .btn.data-v-41eea697{height:88rpx;border:1rpx solid #2a7efb;border-radius:44rpx;text-align:center;font-weight:500;line-height:86rpx;color:#2a7efb;-webkit-transform:rotate(1turn);transform:rotate(1turn)}.container .btn + .btn.data-v-41eea697{margin-top:24rpx}.container .btn.data-v-41eea697:first-child{background:#2a7efb;color:#fff}
|
||||
@@ -0,0 +1 @@
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/order/index"],{"01192":function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("f076");n(i("3240"));var a=n(i("a37e"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(a.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"2b90":function(t,e,i){"use strict";var n=i("c0b3"),a=i.n(n);a.a},"652a":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},a=[]},"9a4b":function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("6af6"),r=n(i("4f7a")),o=null,s={name:"adminOrder",components:{Loading:function(){i.e("components/Loading/index").then(function(){return resolve(i("e83c"))}.bind(null,i)).catch(i.oe)},NavBar:function(){i.e("components/NavBar").then(function(){return resolve(i("a7d8"))}.bind(null,i)).catch(i.oe)}},data:function(){return{iconColor:"#FFFFFF",isScrolling:!1,getHeight:this.$util.getWXStatusHeight(),census:{},list:[],where:{page:1,limit:15},loaded:!1,loading:!1,after_price:0,after_number:0,after_pay_number:0,today_visits:0,growth_rate:0,increase_time:0,increase_time_status:1,cWidth:"",cHeight:"",pixelRatio:1,textarea:"",index:0,array:["今天","近7天","近30天"],arrays:[1,7,30]}},onShow:function(){this,this.cWidth=t.upx2px(680),this.cHeight=t.upx2px(500),this.getOrderTime(),this.getOrderChart(),this.getIndex(),this.getList()},onPageScroll:function(t){t.scrollTop>50?(this.isScrolling=!0,this.iconColor="#333333"):t.scrollTop<50&&(this.isScrolling=!1,this.iconColor="#FFFFFF")},beforeMount:function(){o=null},methods:{bindPickerChange:function(t){this.index=t.detail.value,this.getOrderTime(),this.getOrderChart()},getOrderTime:function(){var t=this;(0,a.getOrderTime)({type:this.arrays[this.index]}).then((function(e){var i=e.data,n=i.after_number,a=i.after_pay_number,r=i.after_price,o=i.today_visits,s=i.growth_rate,c=i.increase_time,l=i.increase_time_status;t.after_number=n,t.after_pay_number=a,t.after_price=r,t.today_visits=o,t.growth_rate=s,t.increase_time=c,t.increase_time_status=l}))},getOrderChart:function(){var t=this;(0,a.getOrderChart)({type:this.arrays[this.index]}).then((function(e){var i=e.data,n={categories:[],series:[]},a=[{name:"销售额",type:"line",data:[]}];i.forEach((function(t){t.num;var e=t.price,i=t.time;a[0].data.push(e),n.categories.push(i)})),n.series=a,t.chartData=i,o?o.updateData(n):t.showLineA("canvasMix",n)}))},showLineA:function(t,e){o=new r.default({$this:this,canvasId:t,type:"line",fontSize:11,padding:[5,5,0,5],legend:{show:!0,position:"bottom",float:"center",padding:5,lineHeight:11,margin:6},background:"#FFFFFF",pixelRatio:this.pixelRatio,categories:e.categories,series:e.series,animation:!0,enableScroll:!0,xAxis:{disableGrid:!1,type:"grid",gridType:"dash",itemCount:6,scrollShow:!0,scrollAlign:"left"},yAxis:{data:[{calibration:!0,position:"left",title:"销售额(元)",titleFontSize:12,format:function(t){return t.toFixed(0)}}],showTitle:!0,gridType:"dash",dashLength:4,splitNumber:7},width:this.cWidth*this.pixelRatio,height:this.cHeight*this.pixelRatio,dataLabel:!0,dataPointShape:!0})},touchMix:function(t){o.scrollStart(t)},moveMix:function(t){o.scroll(t)},touchEndMix:function(t){var e=o.getCurrentDataIndex(t);o.scrollEnd(t),o.touchLegend(t),o.showToolTip(t,{textList:[{text:this.chartData[e].time,color:null},{text:"销售额:"+this.chartData[e].price,color:"#1890FF"},{text:"订单量:"+this.chartData[e].num,color:"#91CB74"}]})},getIndex:function(){var t=this;(0,a.getStatisticsInfo)().then((function(e){t.census=e.data}),(function(e){t.$util.Tips({title:e})}))},getList:function(){var t=this;t.loading||t.loaded||(t.loading=!0,(0,a.getStatisticsMonth)(t.where).then((function(e){t.loading=!1,t.loaded=e.data.length<t.where.limit,t.list.push.apply(t.list,e.data),t.where.page=t.where.page+1}),(function(e){t.$util.Tips({title:e})}),300))}},onReachBottom:function(){this.getList()}};e.default=s}).call(this,i("df3c")["default"])},a37e:function(t,e,i){"use strict";i.r(e);var n=i("652a"),a=i("f67d");for(var r in a)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(r);i("2b90");var o=i("828b"),s=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"55e2ef3a",null,!1,n["a"],void 0);e["default"]=s.exports},c0b3:function(t,e,i){},f67d:function(t,e,i){"use strict";i.r(e);var n=i("9a4b"),a=i.n(n);for(var r in n)["default"].indexOf(r)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(r);e["default"]=a.a}},[["01192","common/runtime","common/vendor","pages/admin/common/vendor"]]]);
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "订单统计",
|
||||
"usingComponents": {
|
||||
"loading": "/components/Loading/index",
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="pagebox data-v-55e2ef3a"><nav-bar vue-id="7f43359e-1" titleText="数据统计" iconColor="{{iconColor}}" textColor="{{iconColor}}" isScrolling="{{isScrolling}}" showBack="{{true}}" class="data-v-55e2ef3a" bind:__l="__l"></nav-bar><view class="headerBg data-v-55e2ef3a"><view style="{{'height:'+(getHeight.barTop+'px')+';'}}" class="data-v-55e2ef3a"></view><view style="{{'height:'+(getHeight.barHeight+'px')+';'}}" class="data-v-55e2ef3a"></view><view class="inner data-v-55e2ef3a"></view></view><view data-ref="container" class="order-index data-v-55e2ef3a vue-ref"><view class="header data-v-55e2ef3a"><view class="data-v-55e2ef3a">销售额(元)</view><view class="money data-v-55e2ef3a">{{after_price}}</view><view class="info data-v-55e2ef3a">{{'较昨日同比增长:'+(increase_time_status==1?'':'-')+growth_rate+'%'}}<text class="{{['data-v-55e2ef3a','iconfont',increase_time_status==1?'icon-ic_up2':'icon-ic_down2']}}"></text></view><view class="picker data-v-55e2ef3a"><picker mode="selector" range="{{array}}" data-event-opts="{{[['change',[['bindPickerChange',['$event']]]]]}}" bindchange="__e" class="data-v-55e2ef3a"><view class="data-v-55e2ef3a">{{array[index]}}<text class="iconfont icon-ic_downarrow data-v-55e2ef3a"></text></view></picker></view></view><view class="wrapper data-v-55e2ef3a"><view class="list acea-row data-v-55e2ef3a"><view class="item data-v-55e2ef3a"><view class="num data-v-55e2ef3a">{{after_number}}</view><view class="data-v-55e2ef3a">订单数</view></view><view class="item data-v-55e2ef3a"><view class="num data-v-55e2ef3a">{{after_pay_number}}</view><view class="data-v-55e2ef3a">支付人数</view></view><view class="item data-v-55e2ef3a"><view class="num data-v-55e2ef3a">{{today_visits}}</view><view class="data-v-55e2ef3a">浏览量</view></view></view></view><view class="chart _div data-v-55e2ef3a"><view class="title data-v-55e2ef3a"> 销售订单趋势图 </view><canvas class="charts data-v-55e2ef3a" canvas-id="canvasMix" id="canvasMix" width="680" disable-scroll="{{true}}" data-event-opts="{{[['touchstart',[['touchMix',['$event']]]],['touchmove',[['moveMix',['$event']]]],['touchend',[['touchEndMix',['$event']]]]]}}" bindtouchstart="__e" bindtouchmove="__e" bindtouchend="__e"></canvas></view><view class="public-wrapper data-v-55e2ef3a"><view class="title data-v-55e2ef3a"> 详细数据 </view><view class="nav acea-row row-between-wrapper data-v-55e2ef3a"><view class="data data-v-55e2ef3a">日期</view><view class="browse data-v-55e2ef3a">订单数</view><view class="turnover data-v-55e2ef3a">成交额</view><view class="visit data-v-55e2ef3a">浏览量</view></view><view class="conter data-v-55e2ef3a"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="item acea-row row-between-wrapper data-v-55e2ef3a"><view class="data data-v-55e2ef3a">{{item.time}}</view><view class="browse data-v-55e2ef3a">{{item.count}}</view><view class="turnover data-v-55e2ef3a">{{"¥ "+item.price}}</view><view class="visit data-v-55e2ef3a">{{item.visit}}</view></view></block></view></view><loading vue-id="7f43359e-2" loaded="{{loaded}}" loading="{{loading}}" class="data-v-55e2ef3a" bind:__l="__l"></loading></view><view class="safe-area-inset-bottom data-v-55e2ef3a"></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.pagebox.data-v-55e2ef3a{position:relative;overflow:hidden}.safe-area-inset-bottom.data-v-55e2ef3a{height:0;height:constant(safe-area-inset-bottom);height:env(safe-area-inset-bottom)}.headerBg.data-v-55e2ef3a{position:absolute;top:0;left:-25%;width:150%;border-bottom-right-radius:100%;border-bottom-left-radius:100%;background:linear-gradient(270deg,#01abf8,#2a7efb)}.headerBg .inner.data-v-55e2ef3a{height:356rpx}.order-index.data-v-55e2ef3a{position:relative;padding:0 20rpx}.order-index .header.data-v-55e2ef3a{position:relative;padding:24rpx 0 40rpx 20rpx;font-size:28rpx;line-height:40rpx;color:#fff}.order-index .header .picker.data-v-55e2ef3a{position:absolute;top:24rpx;right:0;height:48rpx;padding:0 20rpx;border-radius:24rpx;background:hsla(0,0%,100%,.3);text-align:center;font-size:24rpx;line-height:48rpx;color:#fff}.order-index .header .picker .iconfont.data-v-55e2ef3a{margin-left:10rpx;font-size:24rpx}.order-index .header .money.data-v-55e2ef3a{margin-top:26rpx;font-family:SemiBold;font-size:80rpx;line-height:80rpx}.order-index .header .info.data-v-55e2ef3a{margin-top:30rpx}.order-index .header .info .iconfont.data-v-55e2ef3a{margin-left:6rpx;font-size:28rpx}.order-index .wrapper.data-v-55e2ef3a{background-color:#fff;border-radius:24rpx}.order-index .wrapper .list .item.data-v-55e2ef3a{flex:1;padding:36rpx 0 26rpx;text-align:center;font-size:24rpx;line-height:34rpx;color:#999}.order-index .wrapper .list .item .num.data-v-55e2ef3a{margin-bottom:8rpx;font-family:SemiBold;font-size:36rpx;color:#333}.public-wrapper .title.data-v-55e2ef3a{font-weight:500;font-size:30rpx;line-height:42rpx;color:#333;padding:32rpx 0 40rpx 24rpx}.public-wrapper.data-v-55e2ef3a{background-color:#fff;border-radius:24rpx;margin-top:20rpx}.public-wrapper .nav.data-v-55e2ef3a{padding:0 40rpx;line-height:34rpx;font-size:24rpx;color:#999}.public-wrapper .data.data-v-55e2ef3a{flex:1;text-align:left}.public-wrapper .browse.data-v-55e2ef3a{flex:1}.public-wrapper .turnover.data-v-55e2ef3a{flex:1}.public-wrapper .visit.data-v-55e2ef3a{flex:1;text-align:right}.public-wrapper .conter.data-v-55e2ef3a{padding:0 40rpx}.public-wrapper .conter .item.data-v-55e2ef3a{border-bottom:1px solid #f1f1f1;height:74rpx;font-size:24rpx}.chart.data-v-55e2ef3a{border-radius:24rpx;margin-top:20rpx;background:#fff}.chart .title.data-v-55e2ef3a{padding:32rpx 0 16rpx 24rpx;font-weight:500;font-size:30rpx;line-height:42rpx;color:#333}.chart .chart-title.data-v-55e2ef3a{padding:40rpx 0 6rpx 42rpx;font-size:22rpx;line-height:26rpx;color:#999}.chart .charts.data-v-55e2ef3a{margin:0 auto;width:680rpx;height:514rpx}.cover-view.data-v-55e2ef3a{position:fixed;top:0;right:0;bottom:0;left:0}
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"price-change": "/pages/admin/components/PriceChange/index",
|
||||
"custom-form": "/components/customForm/index",
|
||||
"count-down": "/components/countDown/index",
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"navigationBarTitleText": "订单管理",
|
||||
"usingComponents": {
|
||||
"loading": "/components/Loading/index",
|
||||
"price-change": "/pages/admin/components/PriceChange/index",
|
||||
"footer-page": "/pages/admin/components/footerPage/index",
|
||||
"count-down": "/components/countDown/index",
|
||||
"empty-page": "/components/emptyPage",
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/order_cancellation/index"],{4663:function(t,e,i){},"573a":function(t,e,i){"use strict";(function(t,e){var n=i("47a9");i("f076");n(i("3240"));var a=n(i("dcc7"));t.__webpack_require_UNI_MP_PLUGIN__=i,e(a.default)}).call(this,i("3223")["default"],i("df3c")["createPage"])},"58f8":function(t,e,i){"use strict";var n=i("4663"),a=i.n(n);a.a},"8b3b":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},a=[]},"9f0e":function(t,e,i){"use strict";i.r(e);var n=i("b5ff"),a=i.n(n);for(var d in n)["default"].indexOf(d)<0&&function(t){i.d(e,t,(function(){return n[t]}))}(d);e["default"]=a.a},b5ff:function(t,e,i){"use strict";(function(t){var n=i("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i("6af6"),d=n(i("89cc")),o=i("5088"),r=i("8f59"),c={mixins:[d.default],data:function(){return{iShidden:!1,verify_code:"",isWeixin:"",orderInfo:{},tabOn:1,auth:1}},computed:(0,r.mapGetters)(["isLogin"]),onLoad:function(t){t.scene&&(t=this.$util.getUrlParams(decodeURIComponent(t.scene)));var e=t,i=e.auth,n=e.code;this.auth=i||1,this.verify_code=n||""},onShow:function(){this.isLogin?3==this.auth&&this.codeChange():(0,o.toLogin)()},methods:{goOrderDetails:function(e,i){"integral"==i?t.navigateTo({url:"/pages/points_mall/integral_order_details?order_id="+e}):t.navigateTo({url:"/pages/admin/orderDetail/index?id="+e+"&goname=look"})},codeChange:function(){var e=this,i=this;return this.verify_code?/^[0-9]*$/.test(this.verify_code)?(i.$util.Tips({title:"查询中"}),void setTimeout((function(){(0,a.orderVerific)(e.verify_code,e.auth).then((function(n){var a=n.data.auth;i.orderInfo=n.data,n.data.is_order_code?n.data.product_type?t.navigateTo({url:"/pages/admin/writeOffCard/index?id="+n.data.data[0].id}):2==n.data.data[0].status?t.navigateTo({url:"/pages/admin/offOrderResult/index?id="+n.data.data[0].order_id}):t.navigateTo({url:"/pages/admin/distribution/scanning/detail/index?auth="+a+"&id="+n.data.data[0].id+"&let="+n.data.data.length+"&code="+e.verify_code}):n.data.product_type||(n.data.data.length?t.navigateTo({url:"/pages/admin/distribution/scanning/index?auth="+a+"&code="+e.verify_code}):t.navigateTo({url:"/pages/admin/offOrderResult/index"}))})).catch((function(t){return i.verify_code="",i.$util.Tips({title:t})}))}),800)):i.$util.Tips({title:"请输入正确的核销码"}):i.$util.Tips({title:"请输入核销码"})},scanCode:function(){var e=this;t.scanCode({success:function(t){var i=decodeURIComponent(t.path);e.verify_code=i.split("code=")[1],e.codeChange()}})},confirm:function(){var t=this;(0,a.orderVerific)(this.verify_code,1).then((function(e){t.verify_code="",t.iShidden=!1,t.$util.Tips({title:e.msg})})).catch((function(e){t.$util.Tips({title:e})}))},cancel:function(){this.iShidden=!1},onTab:function(t){this.tabOn=t}}};e.default=c}).call(this,i("df3c")["default"])},dcc7:function(t,e,i){"use strict";i.r(e);var n=i("8b3b"),a=i("9f0e");for(var d in a)["default"].indexOf(d)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(d);i("58f8");var o=i("828b"),r=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,null,null,!1,n["a"],void 0);e["default"]=r.exports}},[["573a","common/runtime","common/vendor"]]]);
|
||||
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"navigationBarTitleText": "订单核销",
|
||||
"usingComponents": {}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view style="{{(colorStyle)}}"><view class="OrderCancellation"><view class="header"></view><block wx:if="{{tabOn==2}}"><view class="whiteBg"><view class="input"><input type="number" placeholder="请输入" data-event-opts="{{[['input',[['__set_model',['','verify_code','$event',[]]]]]]}}" value="{{verify_code}}" bindinput="__e"/></view><view data-event-opts="{{[['tap',[['codeChange',['$event']]]]]}}" class="bnt" bindtap="__e"><text class="iconfont icon-ic_search"></text></view></view></block><block wx:if="{{tabOn==1}}"><view data-event-opts="{{[['tap',[['scanCode',['$event']]]]]}}" class="scan" bindtap="__e"><text class="iconfont icon-ic_Scan"></text></view></block><view class="tabbar-box acea-row"><view data-event-opts="{{[['tap',[['onTab',[1]]]]]}}" class="{{['item',(tabOn==1)?'on':'']}}" bindtap="__e"><view class="bg"></view><view class="inner"><text class="iconfont icon-ic_Scan"></text>扫码核销</view></view><view data-event-opts="{{[['tap',[['onTab',[2]]]]]}}" class="{{['item',(tabOn==2)?'on':'']}}" bindtap="__e"><view class="bg"></view><view class="inner"><text class="iconfont icon-ic_edit"></text>手动输入</view></view></view></view><block wx:if="{{iShidden}}"><view><view class="WriteOff"><view class="pictrue"><image src="{{orderInfo.image}}"></image></view><view class="num acea-row row-center-wrapper"><text>{{orderInfo.order_id}}</text><view data-event-opts="{{[['tap',[['goOrderDetails',['$0','$1'],['orderInfo.order_id','orderInfo.order_type']]]]]}}" class="views" bindtap="__e">查看<text class="iconfont icon-jiantou views-jian"></text></view></view><view class="tip">确定要核销此订单吗?</view><view data-event-opts="{{[['tap',[['confirm',['$event']]]]]}}" class="sure" bindtap="__e">确定核销</view><view data-event-opts="{{[['tap',[['cancel',['$event']]]]]}}" class="cancel" bindtap="__e">取消</view></view><view class="mask"></view></view></block></view>
|
||||
@@ -0,0 +1 @@
|
||||
.OrderCancellation{position:absolute;width:100%;overflow:hidden}.OrderCancellation .header{position:absolute;top:0;left:-25%;width:150%;height:660rpx;border-bottom-right-radius:100%;border-bottom-left-radius:100%;background:#fff}.OrderCancellation{overflow:hidden}.OrderCancellation .whiteBg{position:relative;width:540rpx;height:120rpx;border-radius:60rpx;margin:250rpx auto 416rpx;background:#f5f5f5}.OrderCancellation .whiteBg .input{height:100%}.OrderCancellation .whiteBg .input input{font-size:32rpx;color:#333;height:100%;text-align:center;line-height:120rpx;padding:0 104rpx;box-sizing:border-box}.OrderCancellation .whiteBg .input .input-placeholder{color:#ccc}.OrderCancellation .whiteBg .bnt{position:absolute;top:20rpx;right:24rpx;width:80rpx;height:80rpx;border-radius:40rpx;background:#2a7efb;text-align:center;line-height:80rpx}.OrderCancellation .whiteBg .bnt .iconfont{font-size:32rpx;color:#fff}.OrderCancellation .scan{position:relative;width:400rpx;height:400rpx;border-radius:200rpx;margin:110rpx auto 0;background:#2a7efb;box-shadow:0rpx 4rpx 32rpx 0rpx #e9f2fe;text-align:center;line-height:400rpx}.OrderCancellation .scan .iconfont{font-size:120rpx;color:#fff}.OrderCancellation .scan image{width:100%;height:100%;display:block}.WriteOff{width:560rpx;height:800rpx;background-color:#fff;border-radius:20rpx;position:fixed;top:50%;left:50%;margin-top:-400rpx;margin-left:-280rpx;z-index:99;padding-top:55rpx}.WriteOff .pictrue{width:340rpx;height:340rpx;margin:0 auto}.WriteOff .pictrue image{width:100%;height:100%;display:block;border-radius:10rpx}.WriteOff .num{font-size:30rpx;color:#666;margin:28rpx 0 30rpx 0}.WriteOff .num .see{font-size:16rpx;color:#fff;border-radius:4rpx;background-color:#c68937;padding-left:5rpx;margin-left:12rpx}.WriteOff .num .see .iconfont{font-size:15rpx}.WriteOff .tip{font-size:36rpx;color:#282828;text-align:center;border-top:1px dashed #ccc;padding-top:40rpx;position:relative}.WriteOff .tip:after{content:"";position:absolute;width:25rpx;height:25rpx;border-radius:50%;background-color:#7f7f7f;right:-12.5rpx;top:-12.5rpx}.WriteOff .tip:before{content:"";position:absolute;width:25rpx;height:25rpx;border-radius:50%;background-color:#7f7f7f;left:-12.5rpx;top:-12.5rpx}.WriteOff .sure{font-size:32rpx;color:#fff;text-align:center;line-height:82rpx;height:82rpx;width:460rpx;border-radius:41rpx;margin:40rpx auto 0 auto;background-image:linear-gradient(90deg,#f67a38 0,#f11b09);background-color:#2a7efb}.WriteOff .cancel{line-height:82rpx;color:#999;height:82rpx;width:460rpx;border-radius:41rpx;margin:10rpx auto 0 auto;text-align:center}.views{font-size:18rpx;background:#c68937;border-radius:4px;color:#fff;padding:5rpx 2rpx 5rpx 8rpx;margin-left:10rpx}.views-jian{font-size:10px}.tabbar-box{width:516rpx;margin:276rpx auto 0}.tabbar-box .item{position:relative;flex:1;z-index:5;min-width:0;height:80rpx;border-radius:40rpx 0 0 40rpx;overflow:hidden}.tabbar-box .item:last-child{border-radius:0 40rpx 40rpx 0}.tabbar-box .item:last-child .bg{height:68rpx;top:0;border-radius:12rpx 0 0 12rpx;-webkit-transform-origin:center top;transform-origin:center top;-webkit-transform:perspective(80rpx) rotateX(10deg) translateX(20rpx);transform:perspective(80rpx) rotateX(10deg) translateX(20rpx)}.tabbar-box .item.on .bg{background:#2a7efb}.tabbar-box .item.on .inner{color:#fff}.tabbar-box .bg{position:absolute;bottom:0;z-index:2;width:100%;height:68rpx;border-radius:0 12rpx 12rpx 0;background:#fff;-webkit-transform-origin:center bottom;transform-origin:center bottom;-webkit-transform:perspective(80rpx) rotateX(-10deg) translateX(-20rpx);transform:perspective(80rpx) rotateX(-10deg) translateX(-20rpx)}.tabbar-box .inner{position:absolute;z-index:3;width:260rpx;height:80rpx;text-align:center;line-height:80rpx;font-weight:500;font-size:28rpx;color:#333}.tabbar-box .iconfont{vertical-align:middle;margin-right:16rpx;font-size:32rpx}
|
||||
@@ -0,0 +1 @@
|
||||
require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/admin/refund/index"],{"2cde":function(t,i,n){},"3b59":function(t,i,n){"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e=n("6af6"),s={components:{splitOrder:function(){n.e("components/splitOrder/index").then(function(){return resolve(n("551a"))}.bind(null,n)).catch(n.oe)}},data:function(){return{refundMoney:0,isSplit:0,isAll:!1,splitGoods:[],goodsChecked:[],cart_ids:[]}},computed:{total:function(){var t=this;return this.goodsChecked.reduce((function(i,n){return t.$util.$h.Add(i,t.$util.$h.Mul(n.refundPrice,n.surplus_num))}),0)},numTotal:function(){var t=this;return this.goodsChecked.reduce((function(i,n){var e=n.surplus_num;return t.$util.$h.Add(i,e)}),0)}},watch:{total:function(t,i){this.refundMoney=t}},onLoad:function(t){this.order_id=t.id,this.listId=t.listId,this.getIndex()},methods:{allChange:function(){this.isAll=!this.isAll,this.cart_ids=[],this.goodsChecked=[];for(var t=0;t<this.splitGoods.length;t++)this.splitGoods[t].checked=this.isAll,this.splitGoods[t].checked&&(this.goodsChecked.push(this.splitGoods[t]),this.cart_ids.push(this.splitGoods[t].id))},refundTypeChange:function(t){this.isSplit=t,this.goodsChecked=t?[]:this.splitGoods},splitList:function(){var t=this;(0,e.orderSplitInfo)(this.listId).then((function(t){var i=t.data;i.forEach((function(t){t.checked=!1,t.numShow=t.surplus_num}))})).catch((function(i){return t.$util.Tips({title:i})}))},getIndex:function(){var t=this,i=this;(0,e.getAdminOrderDetail)(i.order_id).then((function(i){var n=i.data.cartInfo,e=n.map((function(i){return{id:i.id,checked:!1,numShow:i.cart_num-i.refund_num,surplus_num:i.cart_num-i.refund_num,cart_info:i,refundPrice:t.$util.$h.Div(i.refund_price,i.cart_num)}}));t.splitGoods=e,t.goodsChecked=e})).catch((function(t){i.$util.Tips({title:t.msg})}))},getList:function(t){for(var i=[],n=[],e=0;e<t.length;e++)t[e].checked&&(i.push(t[e]),n.push(t[e].id));this.goodsChecked=i,this.cart_ids=n,this.isAll=this.goodsChecked.length==this.splitGoods.length},openRefund:function(){var t,i=this,n={refund_price:this.refundMoney,type:1,is_split_order:this.isSplit};t=this.goodsChecked.map((function(t){var i=t.id,n=t.surplus_num;return{cart_id:i,cart_num:n}})),n.cart_ids=t,(0,e.openRefund)(this.listId,n).then((function(t){t.data.order_id?i.$util.Tips({title:t.msg},{tab:4,url:"/pages/admin/orderDetail/index?id="+t.data.order_id+"&types="}):i.$util.Tips({title:t.msg},{tab:3,url:1})})).catch((function(t){i.$util.Tips({title:t})}))}}};i.default=s},"4a1b":function(t,i,n){"use strict";n.r(i);var e=n("3b59"),s=n.n(e);for(var d in e)["default"].indexOf(d)<0&&function(t){n.d(i,t,(function(){return e[t]}))}(d);i["default"]=s.a},"5f63":function(t,i,n){"use strict";n.r(i);var e=n("5fdb"),s=n("4a1b");for(var d in s)["default"].indexOf(d)<0&&function(t){n.d(i,t,(function(){return s[t]}))}(d);n("ed9b");var u=n("828b"),o=Object(u["a"])(s["default"],e["b"],e["c"],!1,null,"295cc4d1",null,!1,e["a"],void 0);i["default"]=o.exports},"5fdb":function(t,i,n){"use strict";n.d(i,"b",(function(){return e})),n.d(i,"c",(function(){return s})),n.d(i,"a",(function(){}));var e=function(){var t=this.$createElement;this._self._c},s=[]},"8d5c":function(t,i,n){"use strict";(function(t,i){var e=n("47a9");n("f076");e(n("3240"));var s=e(n("5f63"));t.__webpack_require_UNI_MP_PLUGIN__=n,i(s.default)}).call(this,n("3223")["default"],n("df3c")["createPage"])},ed9b:function(t,i,n){"use strict";var e=n("2cde"),s=n.n(e);s.a}},[["8d5c","common/runtime","common/vendor"]]]);
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"navigationBarTitleText": "立即退款",
|
||||
"usingComponents": {
|
||||
"split-order": "/components/splitOrder/index"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
<view class="refund data-v-295cc4d1"><view class="money-section data-v-295cc4d1"><view class="acea-row row-middle item data-v-295cc4d1"><view class="data-v-295cc4d1">退款金额</view><input class="input data-v-295cc4d1" type="text" data-event-opts="{{[['input',[['__set_model',['','refundMoney','$event',[]]]]]]}}" value="{{refundMoney}}" bindinput="__e"/><text class="iconfont icon-ic_edit data-v-295cc4d1"></text></view><view class="acea-row row-middle item data-v-295cc4d1"><view class="data-v-295cc4d1">退款类型</view><view class="acea-row row-right radio-group data-v-295cc4d1"><view data-event-opts="{{[['tap',[['refundTypeChange',[0]]]]]}}" class="{{['acea-row','row-middle','radio-item','data-v-295cc4d1',(!isSplit)?'on':'']}}" bindtap="__e"><text class="{{['iconfont','data-v-295cc4d1',isSplit?'icon-ic_unselect':'icon-ic_Selected']}}"></text>整单退款 </view><view data-event-opts="{{[['tap',[['refundTypeChange',[1]]]]]}}" class="{{['acea-row','row-middle','radio-item','data-v-295cc4d1',(isSplit)?'on':'']}}" bindtap="__e"><text class="{{['iconfont','data-v-295cc4d1',isSplit?'icon-ic_Selected':'icon-ic_unselect']}}"></text>分单退款 </view></view></view></view><block wx:if="{{isSplit}}"><split-order vue-id="04be1292-1" splitGoods="{{splitGoods}}" select_all="{{false}}" data-event-opts="{{[['^getList',[['getList']]]]}}" bind:getList="__e" class="data-v-295cc4d1" bind:__l="__l"></split-order></block><view class="footer acea-row row-middle data-v-295cc4d1"><block wx:if="{{isSplit}}"><view data-event-opts="{{[['tap',[['allChange',['$event']]]]]}}" class="all acea-row row-middle data-v-295cc4d1" bindtap="__e"><text class="{{['iconfont','data-v-295cc4d1',isAll?'icon-a-ic_CompleteSelect':'icon-ic_unselect']}}"></text> 全选 </view></block><view class="btn-box data-v-295cc4d1"><view data-event-opts="{{[['tap',[['openRefund',['$event']]]]]}}" class="btn data-v-295cc4d1" style="{{'width:'+(isSplit?'auto':'100%')+';'}}" bindtap="__e"> 确认 <block wx:if="{{isSplit}}"><text class="data-v-295cc4d1">{{"("+numTotal+")"}}</text></block></view></view></view></view>
|
||||
@@ -0,0 +1 @@
|
||||
.refund.data-v-295cc4d1{padding:22rpx 20rpx}.money-section.data-v-295cc4d1{padding:12rpx 0;border-radius:24rpx;background:#fff}.money-section .item.data-v-295cc4d1{height:80rpx;padding:0 24rpx;font-size:28rpx;color:#333}.money-section .input.data-v-295cc4d1{flex:1;height:80rpx;text-align:right;font-family:Regular;font-size:36rpx;color:#ff7e00}.money-section .icon-ic_edit.data-v-295cc4d1{margin-left:8rpx;font-size:32rpx;color:#999}.money-section .radio-group.data-v-295cc4d1{flex:1}.money-section .radio-item.data-v-295cc4d1{font-size:28rpx;color:#999}.money-section .radio-item + .radio-item.data-v-295cc4d1{margin-left:48rpx}.money-section .radio-item .iconfont.data-v-295cc4d1{margin-right:12rpx;font-size:32rpx}.money-section .radio-item.on.data-v-295cc4d1{color:#333}.money-section .radio-item.on .iconfont.data-v-295cc4d1{color:#2a7efb}.footer.data-v-295cc4d1{position:fixed;bottom:0;left:0;width:100%;padding:16rpx 20rpx 16rpx 32rpx;padding-bottom:calc(16rpx + constant(safe-area-inset-bottom));padding-bottom:calc(16rpx + env(safe-area-inset-bottom));background:#fff}.footer .btn.data-v-295cc4d1{display:inline-block;height:64rpx;padding:0 40rpx;border-radius:32rpx;background:#2a7efb;font-weight:500;font-size:26rpx;line-height:64rpx;color:#fff}.footer .all.data-v-295cc4d1{font-size:26rpx;color:#333}.footer .all .iconfont.data-v-295cc4d1{margin-right:12rpx;font-size:40rpx;color:#ccc}.footer .all .iconfont.icon-a-ic_CompleteSelect.data-v-295cc4d1{color:#2a7efb}.footer .btn-box.data-v-295cc4d1{flex:1;text-align:right}.footer .btn-box .btn.data-v-295cc4d1{text-align:center}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"price-change": "/pages/admin/components/PriceChange/index",
|
||||
"custom-form": "/components/customForm/index",
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"navigationBarTitleText": "售后订单",
|
||||
"navigationStyle": "custom",
|
||||
"usingComponents": {
|
||||
"loading": "/components/Loading/index",
|
||||
"price-change": "/pages/admin/components/PriceChange/index",
|
||||
"empty-page": "/components/emptyPage",
|
||||
"nav-bar": "/components/NavBar"
|
||||
}
|
||||
}
|
||||
BIN
pro_v3.5.1/public/statics/mp_view/pages/admin/static/adorn.png
Normal file
|
After Width: | Height: | Size: 335 B |
BIN
pro_v3.5.1/public/statics/mp_view/pages/admin/static/coupon.png
Normal file
|
After Width: | Height: | Size: 955 B |
|
After Width: | Height: | Size: 5.0 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.3 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
After Width: | Height: | Size: 1.9 KiB |