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
0730c115
Commit
0730c115
authored
Jun 29, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员权益添加等级卡片和描述卡片
parent
5ab3b7c9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
+10
-6
activityadd.vue
src/views/activity/activityadd.vue
+10
-6
No files found.
src/views/activity/activityadd.vue
View file @
0730c115
...
@@ -88,7 +88,7 @@
...
@@ -88,7 +88,7 @@
>
>
<!--
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"avatar"
>
-->
<!--
<img
v-if=
"imageUrl"
:src=
"imageUrl"
class=
"avatar"
>
-->
<div
v-if=
"imageUrl"
style=
"position: relative"
>
<div
v-if=
"imageUrl"
style=
"position: relative"
>
<i
class=
"el-icon-error"
style=
"position: absolute;top: 5px;right: 5px;color: #efefef;z-index: 999"
@
click=
"handleRemove"
/>
<i
class=
"el-icon-error"
style=
"position: absolute;top: 5px;right: 5px;color: #efefef;z-index: 999"
@
click=
"handleRemove"
/>
<el-image
<el-image
class=
"avatar"
class=
"avatar"
:src=
"imageUrl"
:src=
"imageUrl"
...
@@ -172,6 +172,7 @@ export default {
...
@@ -172,6 +172,7 @@ export default {
}
}
}
}
return
{
return
{
icondisable
:
false
,
srcList
:
[],
srcList
:
[],
pickoptions
:
{
pickoptions
:
{
disabledDate
:
time
=>
{
disabledDate
:
time
=>
{
...
@@ -284,6 +285,7 @@ export default {
...
@@ -284,6 +285,7 @@ export default {
this
.
imageUrl
=
baseURL
+
this
.
form
.
imgUrl
this
.
imageUrl
=
baseURL
+
this
.
form
.
imgUrl
this
.
richtexttype
=
'2'
this
.
richtexttype
=
'2'
this
.
formdisable
=
true
this
.
formdisable
=
true
this
.
icondisable
=
true
// this.endtimedisable = true
// this.endtimedisable = true
this
.
numinputdisable
=
true
this
.
numinputdisable
=
true
this
.
uploaddisable
=
true
this
.
uploaddisable
=
true
...
@@ -324,11 +326,13 @@ export default {
...
@@ -324,11 +326,13 @@ export default {
return
isJPG
&&
isLt2M
return
isJPG
&&
isLt2M
},
},
handleRemove
(
file
,
fileList
)
{
handleRemove
(
file
,
fileList
)
{
console
.
log
(
file
,
fileList
)
if
(
!
this
.
icondisable
){
this
.
imageUrl
=
''
console
.
log
(
file
,
fileList
)
setTimeout
(()
=>
{
this
.
imageUrl
=
''
this
.
uploaddisable
=
false
setTimeout
(()
=>
{
},
500
)
this
.
uploaddisable
=
false
},
500
)
}
},
},
upload
(
file
)
{
upload
(
file
)
{
const
formData
=
new
FormData
()
const
formData
=
new
FormData
()
...
...
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