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

1

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