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
7b39d937
Commit
7b39d937
authored
Jun 02, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
890d75d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
14 deletions
+18
-14
copyrightset.vue
src/components/StoreDesign/copyrightset.vue
+18
-14
No files found.
src/components/StoreDesign/copyrightset.vue
View file @
7b39d937
...
...
@@ -21,7 +21,6 @@
.copyrightset
.el-button--small
{
padding
:
9px
25px
;
}
</
style
>
<
template
>
<div
class=
"copyrightset"
>
...
...
@@ -38,14 +37,14 @@
<el-form-item
label=
"底部版权图标"
>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:160*50"
placement=
"top-start"
>
<el-upload
class=
"avatar-uploader"
action=
""
accept=
"image/jpeg,image/gif,image/png,image/bmp"
:show-file-list=
"false"
:http-request=
"UploadImage"
>
<el-button
size=
"small"
>
选择图片
</el-button>
</el-upload>
<el-button
size=
"small"
@
click=
"choicImg=true"
>
选择图片
</el-button>
</el-tooltip>
</div>
<div
class=
"indexApp_image"
>
<img
v-if=
"copyRightMsg.CopyRightImg"
:src=
"copyRightMsg.CopyRightImg"
alt=
""
/>
<div
class=
"zk_pic_box"
@
click=
"choicImg=true"
flex=
"main:center cross:center"
style=
"width:100px;height:100px;margin-top:10px;"
:style=
"
{backgroundImage:'url(' + copyRightMsg.CopyRightImg + ')'}">
<i
v-if=
"copyRightMsg.CopyRightImg==''"
class=
"el-icon-picture-outline"
></i>
<el-button
type=
"danger"
v-if=
"copyRightMsg.CopyRightImg!=''"
class=
"image-delete"
size=
"mini"
icon=
"el-icon-close"
@
click
.
stop=
"copyRightMsg.CopyRightImg=''"
circle
></el-button>
</div>
</el-form-item>
<el-form-item
label=
"底部版权链接"
>
...
...
@@ -66,15 +65,22 @@
<el-button
size=
"small"
type=
"danger"
@
click=
"getMenu()"
>
确 定
</el-button>
</span>
</el-dialog>
<!-- 选择图片文件 -->
<el-dialog
title=
"选择文件"
:visible
.
sync=
"choicImg"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
></ChooseImg>
</el-dialog>
</div>
</
template
>
<
script
>
import
chooseMenu
from
"../common/chooseMenu.vue"
;
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
export
default
{
data
()
{
return
{
//是否线下链接弹窗
isShowLink
:
false
,
//选择图片弹窗
choicImg
:
false
,
//修改版权MSG
copyRightMsg
:
{
MallBaseId
:
0
,
//小程序Id
...
...
@@ -86,7 +92,8 @@
};
},
components
:
{
chooseMenu
chooseMenu
,
ChooseImg
},
created
()
{
...
...
@@ -99,12 +106,9 @@
this
.
isShowLink
=
false
;
},
//选择图片
UploadImage
(
file
)
{
this
.
UploadFileToTencent
(
this
.
FileType
().
UserImg
,
file
.
file
,
res
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
copyRightMsg
.
CopyRightImg
=
res
.
FileUrl
;
}
})
SelectId
(
msg
)
{
this
.
copyRightMsg
.
CopyRightImg
=
this
.
getIconLink
(
msg
.
url
);
this
.
choicImg
=
false
;
},
//版权信息
GetCopyRight
()
{
...
...
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