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
e44e28af
Commit
e44e28af
authored
May 29, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
e27970c4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
24 deletions
+22
-24
customSet.vue
src/components/UserMan/customSet.vue
+22
-24
No files found.
src/components/UserMan/customSet.vue
View file @
e44e28af
...
...
@@ -14,7 +14,7 @@
<div
class=
"el-scrollbar__view"
>
<div>
<div
class=
"el-image"
style=
"display: block; width: 100%; height: 150px;"
>
<img
:src=
"getIconLink(addMsg.HeadImage
Path
)"
class=
"el-image__inner"
>
<img
:src=
"getIconLink(addMsg.HeadImage)"
class=
"el-image__inner"
>
</div>
<div
style=
"background: rgb(255, 255, 255); height: 40px; padding: 0px 14px;"
>
<div
flex=
"cross:center"
...
...
@@ -56,7 +56,7 @@
{{
addMsg
.
ButtonText
}}
</div>
<div
class=
"el-image"
style=
"display: block; width: 100%;"
>
<img
:src=
"getIconLink(addMsg.BottomImage
Path
)"
class=
"el-image__inner"
>
<img
:src=
"getIconLink(addMsg.BottomImage)"
class=
"el-image__inner"
>
</div>
</div>
</div>
...
...
@@ -75,28 +75,28 @@
<el-form
style=
"padding:20px 0;background:#fff"
ref=
"addMsg"
:model=
"addMsg"
label-width=
"100px"
>
<el-form-item
label=
"头部图片"
>
<el-button
@
click=
"openChangeDig(1)"
size=
"mini"
>
选择文件
</el-button>
<el-button
@
click=
"addMsg.HeadImage
Path
=HeadImagePath"
size=
"mini"
type=
"primary"
>
恢复默认
</el-button>
<el-button
@
click=
"addMsg.HeadImage=HeadImagePath"
size=
"mini"
type=
"primary"
>
恢复默认
</el-button>
<div
style=
"position: relative;margin-top:10px;width:80px;cursor: move;"
>
<img
@
click=
"openChangeDig(1)"
v-if=
"addMsg.HeadImage
Path
==''"
style=
"width:100px;height:100px"
<img
@
click=
"openChangeDig(1)"
v-if=
"addMsg.HeadImage==''"
style=
"width:100px;height:100px"
src=
"../../assets/img/default.png"
alt=
""
>
<div
v-else
class=
"app-image"
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.HeadImage
Path
) + ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.HeadImage) + ')',backgroundSize:'cover'}">
</div>
<button
@
click=
"addMsg.HeadImage
Path
=''"
type=
"button"
<button
@
click=
"addMsg.HeadImage=''"
type=
"button"
class=
"el-button del-btn el-button--danger el-button--mini is-circle"
><i
class=
"el-icon-close"
></i></button>
</div>
</el-form-item>
<el-form-item
label=
"底部图片"
>
<el-button
@
click=
"openChangeDig(2)"
size=
"mini"
>
选择文件
</el-button>
<el-button
@
click=
"addMsg.BottomImage
Path
=BottomImagePath"
size=
"mini"
type=
"primary"
>
恢复默认
</el-button>
<el-button
@
click=
"addMsg.BottomImage=BottomImagePath"
size=
"mini"
type=
"primary"
>
恢复默认
</el-button>
<div
style=
"position: relative;margin-top:10px;width:80px;cursor: move;"
>
<img
@
click=
"openChangeDig(2)"
v-if=
"addMsg.BottomImage
Path
==''"
style=
"width:100px;height:100px"
<img
@
click=
"openChangeDig(2)"
v-if=
"addMsg.BottomImage==''"
style=
"width:100px;height:100px"
src=
"../../assets/img/default.png"
alt=
""
>
<div
v-else
class=
"app-image"
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.BottomImage
Path
) + ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.BottomImage) + ')',backgroundSize:'cover'}">
</div>
<button
@
click=
"addMsg.BottomImage
Path
=''"
type=
"button"
<button
@
click=
"addMsg.BottomImage=''"
type=
"button"
class=
"el-button del-btn el-button--danger el-button--mini is-circle"
><i
class=
"el-icon-close"
></i></button>
</div>
...
...
@@ -242,43 +242,43 @@
<div
class=
"title"
>
栏目
</div>
<div
class=
"form-body el-row fxzx"
>
<div
flex=
"dir-left"
style=
"border-radius: 3px; width: 70%; margin-left: 2.5%;"
>
<span
@
click=
"openIcon(3,addMsg.DistributionCommissionName,addMsg.DistributionCommissionImage
Path
)"
<span
@
click=
"openIcon(3,addMsg.DistributionCommissionName,addMsg.DistributionCommissionImage)"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.DistributionCommissionImage
Path
) + ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.DistributionCommissionImage) + ')',backgroundSize:'cover'}">
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
DistributionCommissionName
}}
</div>
</span>
<span
@
click=
"openIcon(4,addMsg.DistributionOrderName,addMsg.DistributionOrderImage
Path
)"
<span
@
click=
"openIcon(4,addMsg.DistributionOrderName,addMsg.DistributionOrderImage)"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.DistributionOrderImage
Path
) + ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.DistributionOrderImage) + ')',backgroundSize:'cover'}">
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
DistributionOrderName
}}
</div>
</span>
<span
@
click=
"openIcon(5,addMsg.WithdrawDetialsName,addMsg.WithdrawDetialsImage
Path
)"
<span
@
click=
"openIcon(5,addMsg.WithdrawDetialsName,addMsg.WithdrawDetialsImage)"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.WithdrawDetialsImage
Path
) + ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.WithdrawDetialsImage) + ')',backgroundSize:'cover'}">
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
WithdrawDetialsName
}}
</div>
</span>
<span
@
click=
"openIcon(6,addMsg.MyTeamName,addMsg.MyTeamImage
Path
)"
<span
@
click=
"openIcon(6,addMsg.MyTeamName,addMsg.MyTeamImage)"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.MyTeamImage
Path
) + ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.MyTeamImage) + ')',backgroundSize:'cover'}">
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
MyTeamName
}}
</div>
</span>
<span
@
click=
"openIcon(7,addMsg.PromoteQRCodeName,addMsg.PromoteQRCodeImage
Path
)"
<span
@
click=
"openIcon(7,addMsg.PromoteQRCodeName,addMsg.PromoteQRCodeImage)"
flex=
"dir:top main:center cross:center"
style=
"cursor: pointer; height: 100px; width: 100px; border: 1px solid rgb(227, 227, 227); margin-left: -1px;"
>
<div
class=
"app-image"
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.PromoteQRCodeImage
Path
) + ')',backgroundSize:'cover'}">
:style=
"
{backgroundImage:'url(' + getIconLink(addMsg.PromoteQRCodeImage) + ')',backgroundSize:'cover'}">
</div>
<div
style=
"margin-top: 8px;"
>
{{
addMsg
.
PromoteQRCodeName
}}
</div>
</span>
...
...
@@ -757,11 +757,9 @@
},
SelectId
(
msg
)
{
if
(
this
.
imgType
==
1
)
{
this
.
addMsg
.
HeadImage
=
msg
.
selectId
;
this
.
addMsg
.
HeadImagePath
=
msg
.
url
;
this
.
addMsg
.
HeadImage
=
msg
.
url
;
}
else
if
(
this
.
imgType
==
2
)
{
this
.
addMsg
.
BottomImage
=
msg
.
selectId
;
this
.
addMsg
.
BottomImagePath
=
msg
.
url
;
this
.
addMsg
.
BottomImage
=
msg
.
url
;
}
else
if
(
this
.
imgType
==
3
)
{
this
.
addMsg
.
DistributionCommissionImage
=
msg
.
selectId
;
this
.
addMsg
.
DistributionCommissionImagePath
=
msg
.
url
;
...
...
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