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
7e8905a3
Commit
7e8905a3
authored
May 27, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改页面
parent
a9bd9b45
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
12 deletions
+6
-12
navigationIcon.vue
src/components/StoreDesign/navigationIcon.vue
+5
-11
modal.vue
src/components/sallCenter/plugin/modal.vue
+1
-1
No files found.
src/components/StoreDesign/navigationIcon.vue
View file @
7e8905a3
...
...
@@ -63,10 +63,7 @@
<el-form-item
label=
"导航图标"
prop=
"NavIconImg"
>
<div>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"建议尺寸:88*88"
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=
"navNavIconImg"
>
...
...
@@ -189,13 +186,10 @@
}
})
},
//上传图片
UploadImage
(
file
)
{
this
.
UploadFileToTencent
(
this
.
FileType
().
UserNavIconImg
,
file
.
file
,
res
=>
{
if
(
res
.
resultCode
==
1
)
{
this
.
addMsg
.
NavIconImg
=
res
.
FileUrl
;
}
})
//选择图片
SelectId
(
msg
)
{
this
.
addMsg
.
NavIconImg
=
this
.
getIconLink
(
msg
.
url
);
this
.
choicImg
=
false
;
},
submitform
(
addMsg
)
{
//提交创建、修改表单
...
...
src/components/sallCenter/plugin/modal.vue
View file @
7e8905a3
...
...
@@ -194,7 +194,7 @@
},
//选择图片
SelectId
(
msg
)
{
this
.
data
.
list
[
this
.
comImgIndex
].
picUrl
=
msg
.
url
;
this
.
data
.
list
[
this
.
comImgIndex
].
picUrl
=
this
.
getIconLink
(
msg
.
url
)
;
this
.
choicImg
=
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