Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
viitto
mallapp
Commits
7e561a19
Commit
7e561a19
authored
Nov 04, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
ce352710
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
16 deletions
+34
-16
index.vue
pages/MallMange/index.vue
+4
-0
set.vue
pages/MallMange/set.vue
+30
-16
No files found.
pages/MallMange/index.vue
View file @
7e561a19
...
...
@@ -753,4 +753,8 @@ export default {
background-repeat
:
no-repeat
;
background-size
:
cover
;
}
.
charts
:
:-
webkit-scrollbar
{
/*隐藏滚轮*/
display
:
none
!
important
;
}
</
style
>
pages/MallMange/set.vue
View file @
7e561a19
<
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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment