Commit 94738682 authored by 罗超's avatar 罗超

1

parent 0320d97c
This diff is collapsed.
...@@ -164,14 +164,16 @@ export default { ...@@ -164,14 +164,16 @@ export default {
color:"#CCCED5", color:"#CCCED5",
active_color:"#446dfc", active_color:"#446dfc",
text:"订单", text:"订单",
},{ },
url:"/pages/MallMange/goods", // {
icon:"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/goods2.png", // url:"/pages/MallMange/goods",
active_icon:"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/goods.png", // icon:"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/goods2.png",
color:"#CCCED5", // active_icon:"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/goods.png",
active_color:"#446dfc", // color:"#CCCED5",
text:"商品", // active_color:"#446dfc",
},{ // text:"商品",
// },
{
url:"/pages/MallMange/set", url:"/pages/MallMange/set",
icon:"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/setup-fill2.png", icon:"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/setup-fill2.png",
active_icon:"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/setup-fill.png", active_icon:"https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/setup-fill.png",
...@@ -182,11 +184,9 @@ export default { ...@@ -182,11 +184,9 @@ export default {
}; };
}, },
mounted() { mounted() {
console.log("B join...");
this.flagTypeInfo = this.$uiConfig.is_bang; this.flagTypeInfo = this.$uiConfig.is_bang;
let tempSystem = uni.getSystemInfoSync(); let tempSystem = uni.getSystemInfoSync();
this.platforms = tempSystem.platform; this.platforms = tempSystem.platform;
this.$nextTick(() => { this.$nextTick(() => {
// #ifdef APP-NVUE || APP-PLUS || APP-PLUS-NVUE ||APP-VUE // #ifdef APP-NVUE || APP-PLUS || APP-PLUS-NVUE ||APP-VUE
if (this.platforms == "android") { if (this.platforms == "android") {
...@@ -197,17 +197,6 @@ export default { ...@@ -197,17 +197,6 @@ export default {
}); });
this.activeHandler(); this.activeHandler();
}, },
// activated(){
// if(uni.getStorageSync("navs")){
// this.navs = uni.getStorageSync("navs")??[];
// }else{
// setTimeout(()=>{
// this.navs = uni.getStorageSync("navs")??[];
// this.activeHandler();
// },3000)
// }
// this.activeHandler();
// },
methods: { methods: {
activeHandler() { activeHandler() {
let t = getCurrentPages(); let t = getCurrentPages();
...@@ -220,7 +209,6 @@ export default { ...@@ -220,7 +209,6 @@ export default {
queryString = "?" + queryString.substring(1, queryString.length); queryString = "?" + queryString.substring(1, queryString.length);
} }
this.crtPath = "/" + t[t.length - 1].route + queryString; this.crtPath = "/" + t[t.length - 1].route + queryString;
console.log(23,this.crtPath);
this.navs.forEach((x, i) => { this.navs.forEach((x, i) => {
if (x.url == this.crtPath) { if (x.url == this.crtPath) {
this.active = i; this.active = i;
......
...@@ -19,12 +19,12 @@ ...@@ -19,12 +19,12 @@
width: 100rpx; width: 100rpx;
" "
> >
<image <!-- <image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/qr_code.png" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/qr_code.png"
class="ewmimg" class="ewmimg"
mode="aspectFill" mode="aspectFill"
/> />
<view class="name2">收款码</view> <view class="name2">收款码</view> -->
</view> </view>
</view> </view>
<view class="msgBox flex-center"> <view class="msgBox flex-center">
...@@ -419,7 +419,8 @@ export default { ...@@ -419,7 +419,8 @@ export default {
(_self.payType == "支付金额" ? "元" : "") (_self.payType == "支付金额" ? "元" : "")
); );
} else { } else {
return category + " " + item.name + ":" + item.data + "元"; return category + " " + item.name + ":" + item.data +
(_self.payType == "支付金额" ? "元" : "");
} }
}, },
}); });
...@@ -534,7 +535,6 @@ export default { ...@@ -534,7 +535,6 @@ export default {
}; };
this.requestAdmin("/api/user/GetDistributorRemitPageList", msg, (res) => { this.requestAdmin("/api/user/GetDistributorRemitPageList", msg, (res) => {
this.txNumber=res.data.count this.txNumber=res.data.count
console.log(533,this.txNumber)
}); });
}, },
}, },
......
...@@ -324,11 +324,11 @@ export default { ...@@ -324,11 +324,11 @@ export default {
}; };
}, },
methods: { methods: {
goOrderSearch(){ goOrderSearch() {
uni.navigateTo({ uni.navigateTo({
url: '/pages/MallMange/orderSearch?type='+this.orderType url: "/pages/MallMange/orderSearch?type=" + this.orderType,
}); });
}, },
//筛选时间 //筛选时间
confirm() { confirm() {
if (this.orderType === 1) { if (this.orderType === 1) {
...@@ -566,13 +566,16 @@ export default { ...@@ -566,13 +566,16 @@ export default {
}); });
this.getOrderStatus(); this.getOrderStatus();
this.getAfterSalesOrderstatus(); this.getAfterSalesOrderstatus();
if (options?.orderType) { if (options.orderType) {
this.orderType = parseInt(options.orderType); this.orderType = parseInt(options.orderType);
} }
if (options?.tab) {
this.currentTab = parseInt(options.tab);
}
if (this.orderType === 1) { if (this.orderType === 1) {
if (options.tab) {
this.currentTab = parseInt(options.tab);
this.msg.OrderStatus = parseInt(options.tab)
}
this.getList(); this.getList();
} else if (this.orderType === 2) { } else if (this.orderType === 2) {
this.getList2(); this.getList2();
......
...@@ -8,10 +8,10 @@ ...@@ -8,10 +8,10 @@
:show-action="false" v-model="msg2.ReOrderNo"></u-search> :show-action="false" v-model="msg2.ReOrderNo"></u-search>
</view> </view>
<view class="flex-center" v-if="orderType==1" @click="getList1"> <view class="flex-center" v-if="orderType==1" @click="getList1">
搜索1 搜索
</view> </view>
<view class="flex-center" v-if="orderType==2" @click="getList2"> <view class="flex-center" v-if="orderType==2" @click="getList2">
搜索2 搜索
</view> </view>
</view> </view>
<view v-if="orderList.length > 0" <view v-if="orderList.length > 0"
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<view class="topBox"> <view class="topBox">
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/bg.png" mode="widthFix" <image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/bg.png" mode="widthFix"
class="bg" /> class="bg" />
<view class="headImgBox"></view> <view class="headImgBox">
<image src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/home2.png" style="width:100%;height:100%" mode="aspectFit" />
</view>
<view class="nameBox">{{ msg.MallName }} <view class="nameBox">{{ msg.MallName }}
<u-icon name="edit" style="margin-left: 10rpx" @click="showBox1 = true"></u-icon> <u-icon name="edit" style="margin-left: 10rpx" @click="showBox1 = true"></u-icon>
</view> </view>
...@@ -314,7 +316,7 @@ ...@@ -314,7 +316,7 @@
</view> </view>
<view class="rightBox"> <view class="rightBox">
<view class="name">余额功能</view> <view class="name">余额功能</view>
<u-switch v-model="msg.BalanceFun" :active-value="1" :inactive-value="0" @change="BalanceFun"> <u-switch v-model="msg.BalanceFun" @change="BalanceFun">
</u-switch> </u-switch>
</view> </view>
</view> </view>
...@@ -325,7 +327,7 @@ ...@@ -325,7 +327,7 @@
</view> </view>
<view class="rightBox" style="border: none"> <view class="rightBox" style="border: none">
<view class="name">储值卡功能</view> <view class="name">储值卡功能</view>
<u-switch v-model="msg.DepositFun" :active-value="1" :inactive-value="0" @change="DepositFun"> <u-switch v-model="msg.DepositFun" @change="DepositFun">
</u-switch> </u-switch>
</view> </view>
</view> </view>
...@@ -384,7 +386,7 @@ ...@@ -384,7 +386,7 @@
</view> </view>
<view class="rightBox" style="border: none"> <view class="rightBox" style="border: none">
<view class="name">开关</view> <view class="name">开关</view>
<u-switch v-model="msg.MinSwitch" :active-value="1" :inactive-value="0"></u-switch> <u-switch v-model="msg.MinSwitch" @change="MinSwitch"></u-switch>
</view> </view>
</view> </view>
<template v-if="msg.MinSwitch"> <template v-if="msg.MinSwitch">
...@@ -457,7 +459,7 @@ ...@@ -457,7 +459,7 @@
</view> </view>
<view class="rightBox" style="border: none"> <view class="rightBox" style="border: none">
<view class="name">开关</view> <view class="name">开关</view>
<u-switch v-model="msg.BuySwitch" :active-value="1" :inactive-value="0"></u-switch> <u-switch v-model="msg.BuySwitch" @change="BuySwitch"></u-switch>
</view> </view>
</view> </view>
<view class="boxItem"> <view class="boxItem">
...@@ -838,7 +840,9 @@ ...@@ -838,7 +840,9 @@
}, },
//获取设置数据 //获取设置数据
getSetup() { getSetup() {
this.loading=true
this.requestAdmin("/api/MallBase/GetMallBaseInfo", {}, (res) => { this.requestAdmin("/api/MallBase/GetMallBaseInfo", {}, (res) => {
this.loading=false
this.msg = res.data; this.msg = res.data;
//支付方式 //支付方式
this.payTypeArr.forEach((e) => { this.payTypeArr.forEach((e) => {
...@@ -893,6 +897,12 @@ ...@@ -893,6 +897,12 @@
DepositFun(e) { DepositFun(e) {
this.msg.DepositFun = Number(e) this.msg.DepositFun = Number(e)
}, },
MinSwitch(e) {
this.msg.MinSwitch = Number(e)
},
BuySwitch(e) {
this.msg.BuySwitch = Number(e)
},
}, },
onLoad() { onLoad() {
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
...@@ -942,7 +952,7 @@ ...@@ -942,7 +952,7 @@
border-radius: 50%; border-radius: 50%;
border: 4rpx solid #fff; border: 4rpx solid #fff;
overflow: hidden; overflow: hidden;
background-color: #f00; background-color: #5FAAFE;
} }
.nameBox { .nameBox {
......
This diff is collapsed.
...@@ -745,6 +745,8 @@ export default { ...@@ -745,6 +745,8 @@ export default {
margin: 40rpx 0 40rpx 28rpx; margin: 40rpx 0 40rpx 28rpx;
padding: 20rpx; padding: 20rpx;
width: 500rpx; width: 500rpx;
border-radius: 10rpx;
font-size: 30rpx;
} }
.userManInput { .userManInput {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment