Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
mongo-ui
Commits
3c89a6a2
Commit
3c89a6a2
authored
Sep 04, 2020
by
郝聪敏
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/update_swiper' into 'master'
fix: swiper resize验证 See merge request
!229
parents
ab9effc5
3f859e43
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
+7
-5
index.vue
src/views/Home/Activity/index.vue
+7
-5
No files found.
src/views/Home/Activity/index.vue
View file @
3c89a6a2
...
...
@@ -54,7 +54,7 @@
</div>
<div
class=
"activity-draw"
v-if=
"status !== 'HAS_WINNING'"
>
<p
class=
"activity-draw-tips"
v-if=
"status === 'HAS_CHANCE'"
>
您有1次抽奖机会
</p>
<div
class=
"activity-draw-button"
@
click=
"
resize
"
>
立即抽奖 100%领钱
</div>
<div
class=
"activity-draw-button"
@
click=
"
drawLottery
"
>
立即抽奖 100%领钱
</div>
</div>
<div
class=
"activity-withdrawal"
>
<p>
累计可提现红包
</p>
...
...
@@ -142,6 +142,11 @@ export default {
this
.
getLotteryRecord
();
}
},
mounted
()
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
swiper
.
resize
();
});
},
computed
:
{
voteButtonText
()
{
let
text
=
"
去投票
"
;
...
...
@@ -224,10 +229,7 @@ export default {
this
.
$nextTick
(()
=>
{
this
.
$refs
.
swiper
.
resize
();
});
});
},
resize
()
{
this
.
$refs
.
swiper
.
resize
();
},
500
);
},
// 客户端不支持
saveImg
()
{
...
...
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