Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
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
黄媛媛
ElectricitySheep
Commits
e27970c4
Commit
e27970c4
authored
May 29, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
02c40ce3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
customSet.vue
src/components/UserMan/customSet.vue
+34
-0
No files found.
src/components/UserMan/customSet.vue
View file @
e27970c4
...
...
@@ -647,6 +647,7 @@
</el-form-item>
<el-form-item
label=
"图标"
prop=
"Password2"
>
<el-button
@
click=
"openChangeDig(imgType)"
size=
"small"
>
选择文件
</el-button>
<el-button
@
click=
"getIconMsg(iconMsg)"
size=
"small"
>
恢复默认
</el-button>
<div>
<img
style=
"width:80px;height:80px"
:src=
"getIconLink(iconMsg.Path)"
alt=
""
>
</div>
...
...
@@ -671,8 +672,19 @@
return
{
activeName
:
'first'
,
addMsg
:
{},
commonIndex
:
-
1
,
HeadImagePath
:
this
.
domainManager
().
ImageUrl
+
'/Upload/Set/1587968479000.png'
,
BottomImagePath
:
this
.
domainManager
().
ImageUrl
+
'/Upload/Set/1587968716000.png'
,
//分销佣金默认
fenxiaoMoren
:
this
.
domainManager
().
ImageUrl
+
'/Upload/Set/1587968503000.png'
,
//分销订单默认
fenxiaoOrder
:
this
.
domainManager
().
ImageUrl
+
'/Upload/Set/1587968517000.png'
,
//提现明细默认
tixianMoren
:
this
.
domainManager
().
ImageUrl
+
'/Upload/Set/1587968599000.png'
,
//我的团队默认
myTeamMoren
:
this
.
domainManager
().
ImageUrl
+
'/Upload/Set/1587968613000.png'
,
//推广二维码默认
tuiguangCode
:
this
.
domainManager
().
ImageUrl
+
'/Upload/Set/1587968626000.png'
,
imgType
:
1
,
changeState
:
false
,
iconDig
:
false
,
...
...
@@ -689,6 +701,7 @@
mounted
()
{},
methods
:
{
openIcon
(
index
,
name
,
path
)
{
this
.
commonIndex
=
index
;
this
.
imgType
=
index
;
this
.
iconDig
=
true
;
this
.
iconMsg
=
{
...
...
@@ -696,6 +709,27 @@
Path
:
path
,
}
},
//点击栏目下栏目编辑恢复默认
getIconMsg
(
iconMsg
){
switch
(
this
.
commonIndex
){
case
3
:
iconMsg
.
Path
=
this
.
fenxiaoMoren
;
break
;
case
4
:
iconMsg
.
Path
=
this
.
fenxiaoOrder
;
break
;
case
5
:
iconMsg
.
Path
=
this
.
tixianMoren
;
break
;
case
6
:
iconMsg
.
Path
=
this
.
myTeamMoren
;
break
;
case
7
:
iconMsg
.
Path
=
this
.
myTeamMoren
;
break
;
}
console
.
log
(
msg
,
'msg'
);
},
save
()
{
this
.
apipost
(
"/api/user/SetDistributorCustomInfo"
,
this
.
addMsg
,
res
=>
{
this
.
loading
=
false
;
...
...
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