Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
longhui_web
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
杨硕
longhui_web
Commits
1a1e895f
Commit
1a1e895f
authored
Jun 26, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pc端修改
parent
415f651a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
businessadd.vue
src/views/business/businessadd.vue
+3
-3
No files found.
src/views/business/businessadd.vue
View file @
1a1e895f
...
...
@@ -58,7 +58,7 @@
<div
v-if=
"!imgUrl"
class=
"upload-trademark"
>
<i
class=
"el-icon-plus"
style=
"width: 20px;height: 20px;margin-top: 10px;"
/>
<div
class=
"upload-trademark-title"
>
上传竖版封面
</div></div>
<div
v-if=
"!imgUrl"
slot=
"tip"
class=
"el-upload__tip"
>
支持文件格式:.jpg .gpeg .png.单个文件不能超过4M
</div>
<div
v-if=
"!imgUrl"
slot=
"tip"
class=
"el-upload__tip"
>
推荐上传图片大小为165px*220px
</div>
</el-upload>
</el-form-item>
<el-form-item
label=
"横版封面"
prop=
"image"
>
...
...
@@ -80,7 +80,7 @@
<i
class=
"el-icon-plus"
style=
"width: 20px;height: 20px;margin-top: 10px;"
/>
<div
class=
"upload-trademark-title"
>
上传封面
</div>
</div>
<div
v-if=
"!imgageUrl"
slot=
"tip"
class=
"el-upload__tip"
>
支持文件格式:.jpg .gpeg .png.单个文件不能超过4M
</div>
<div
v-if=
"!imgageUrl"
slot=
"tip"
class=
"el-upload__tip"
>
推荐上传图片大小为314px*192px
</div>
</el-upload>
</el-form-item>
</el-form>
...
...
@@ -194,7 +194,7 @@ export default {
if
(
image
.
width
===
314
&&
image
.
height
===
192
)
{
resolve
(
file
)
}
else
{
reject
(
new
Error
(
'请上传尺寸为
165px*220
px的图片'
))
reject
(
new
Error
(
'请上传尺寸为
314px*192
px的图片'
))
}
}
}
...
...
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