Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
marketing
Overview
Overview
Details
Activity
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
陈玉桐
marketing
Commits
a2af4889
Commit
a2af4889
authored
Nov 13, 2019
by
陈玉桐
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
eb598ec9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
0 deletions
+22
-0
tool.vue
src/views/tool.vue
+22
-0
No files found.
src/views/tool.vue
View file @
a2af4889
...
...
@@ -118,6 +118,7 @@ export default {
currentDay
:
''
,
enrollStatus
:
''
,
uploadPic
:
''
,
// 上传的头像地址
status
:
''
,
activityId
:
''
,
...
...
@@ -191,10 +192,21 @@ export default {
this
.
backgroundColor
=
response
.
data
.
backgroundColor
this
.
days
=
response
.
data
.
days
this
.
enrollStatus
=
response
.
data
.
enrollStatus
this
.
status
=
response
.
data
.
status
})
},
methods
:
{
create
()
{
if
(
this
.
status
==
2
){
me
.
tipDialogText
=
'活动已结束'
me
.
tipDialogShow
=
true
return
}
if
(
this
.
status
==
3
){
me
.
tipDialogText
=
'活动暂未开始'
me
.
tipDialogShow
=
true
return
}
if
(
!
this
.
uploadPic
){
this
.
tipDialogText
=
'您还未上传照片'
this
.
tipDialogShow
=
true
...
...
@@ -221,6 +233,16 @@ export default {
},
upload
()
{
if
(
this
.
enrollStatus
==
1
){
//已报名
if
(
this
.
status
==
2
){
me
.
tipDialogText
=
'活动已结束'
me
.
tipDialogShow
=
true
return
}
if
(
this
.
status
==
3
){
me
.
tipDialogText
=
'活动暂未开始'
me
.
tipDialogShow
=
true
return
}
let
me
=
this
wx
.
chooseImage
({
count
:
1
,
// 默认9
...
...
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