Commit 7e561a19 authored by 罗超's avatar 罗超

1

parent ce352710
...@@ -753,4 +753,8 @@ export default { ...@@ -753,4 +753,8 @@ export default {
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: cover; background-size: cover;
} }
.charts::-webkit-scrollbar {
/*隐藏滚轮*/
display: none !important;
}
</style> </style>
<template> <template>
<view class="setPage"> <view class="setPage">
<button class="saveBtn" size='mini' type="primary" @click="save" :disabled="loading">保存</button>
<view class="topBox"> <view class="topBox">
<image <image
src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/bg.png" src="https://viitto-1301420277.cos.ap-chengdu.myqcloud.com/Static/mallManage/bg.png"
...@@ -399,7 +400,7 @@ ...@@ -399,7 +400,7 @@
style="width: 100%" style="width: 100%"
/> />
</view> </view>
<view class="rightBox" style="border: none" @click="showBox10 = true"> <view class="rightBox" @click="showBox10 = true">
<view class="name">商品面议联系方式</view> <view class="name">商品面议联系方式</view>
<view class="flex-center"> <view class="flex-center">
<view class="weeek">{{ concatTypeStr }}</view> <view class="weeek">{{ concatTypeStr }}</view>
...@@ -456,8 +457,9 @@ ...@@ -456,8 +457,9 @@
<view class="name">余额功能</view> <view class="name">余额功能</view>
<u-switch <u-switch
v-model="msg.BalanceFun" v-model="msg.BalanceFun"
active-value="1" :active-value="1"
inactive-value="0" :inactive-value="0"
@change="BalanceFun"
></u-switch> ></u-switch>
</view> </view>
</view> </view>
...@@ -469,12 +471,13 @@ ...@@ -469,12 +471,13 @@
style="width: 100%" style="width: 100%"
/> />
</view> </view>
<view class="rightBox"> <view class="rightBox" style="border: none">
<view class="name">储值卡功能</view> <view class="name">储值卡功能</view>
<u-switch <u-switch
v-model="msg.DepositFun" v-model="msg.DepositFun"
active-value="1" :active-value="1"
inactive-value="0" :inactive-value="0"
@change="DepositFun"
></u-switch> ></u-switch>
</view> </view>
</view> </view>
...@@ -627,6 +630,7 @@ export default { ...@@ -627,6 +630,7 @@ export default {
}, },
data() { data() {
return { return {
loading:false,
showBox1: false, showBox1: false,
username: "", username: "",
showBox2: false, showBox2: false,
...@@ -638,15 +642,6 @@ export default { ...@@ -638,15 +642,6 @@ export default {
showBox8: false, showBox8: false,
showBox9: false, showBox9: false,
showBox10: false, showBox10: false,
// msg: {
// business: false,
// businessTime: 1,
// delOrderTime: 0,
// incomeDay: 1,
// afterSaleDay: 1,
// integral: 0, //积分抵扣
// IntegralRule: "", //积分使用规则
// },
msg: { msg: {
ID: "", ID: "",
MallName: "饭粒汪", //商城名称 MallName: "饭粒汪", //商城名称
...@@ -915,11 +910,17 @@ export default { ...@@ -915,11 +910,17 @@ export default {
} }
}, },
save() { save() {
this.loading=true
this.requestAdmin( this.requestAdmin(
"/api/MallBase/AddOrUpdateMallBase", "/api/MallBase/AddOrUpdateMallBase",
this.msg, this.msg,
(res) => { (res) => {
console.log(574, res); this.loading=false
uni.showToast({
title: res.message,
icon:'none'
});
this.getSetup();
} }
); );
}, },
...@@ -968,6 +969,12 @@ export default { ...@@ -968,6 +969,12 @@ export default {
.join("、"); .join("、");
}); });
}, },
BalanceFun(e){
this.msg.BalanceFun=Number(e)
},
DepositFun(e){
this.msg.DepositFun=Number(e)
},
}, },
onLoad() { onLoad() {
uni.setNavigationBarTitle({ uni.setNavigationBarTitle({
...@@ -1176,4 +1183,11 @@ export default { ...@@ -1176,4 +1183,11 @@ export default {
/*隐藏滚轮*/ /*隐藏滚轮*/
display: none; display: none;
} }
.saveBtn{
margin: 0;
position: fixed;
top: 20rpx;
right: 20rpx;
z-index: 5;
}
</style> </style>
\ No newline at end of file
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