Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
hello_taobao
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
wildfirecode13
hello_taobao
Commits
381bdd91
Commit
381bdd91
authored
Sep 11, 2020
by
汪欢
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab2.dui88.com/wanghongyuan/hello_taobao
parents
884d7a11
5c073ba0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
9 deletions
+9
-9
pageshou_ye.axml
dist/pages/pageshou_ye/pageshou_ye.axml
+1
-1
pageshou_ye.js
dist/pages/pageshou_ye/pageshou_ye.js
+8
-8
No files found.
dist/pages/pageshou_ye/pageshou_ye.axml
View file @
381bdd91
...
...
@@ -6,7 +6,7 @@
<image class="wen_an" src={{resList['2a026ac4-0a9c-497b-9469-2da99f935821'].url}} />
<image onTap="onPrizeBtnClick" a:if="{{myPrizeBtnVisible}}" class="jiang_pinicon" src={{resList['b7517eae-3bc2-4456-935a-e6e3e1fe995e'].url}} />
<image a:if="{{ruleModalBtnVisible}}" class="gui_zeicon" onTap="showRuleModal" src={{resList['d826a2f1-a3ec-4764-aad2-f6cacc43cfce'].url}} />
<text a:if="{{ruleModalBtnVisible}}" class="can_yu_ren_shu">已有{{joinCount
* 20
}}人参与</text>
<text a:if="{{ruleModalBtnVisible}}" class="can_yu_ren_shu">已有{{joinCount}}人参与</text>
</view>
<rule-modal a:if="{{ruleModalVisible}}" onModalClose="ruleModalClose"><text>{{ruleData}}</text></rule-modal>
\ No newline at end of file
dist/pages/pageshou_ye/pageshou_ye.js
View file @
381bdd91
...
...
@@ -31,16 +31,16 @@ Page({
},
gotoVipPage
()
{
let
{
endTime
,
startTime
}
=
this
.
data
API
.
getVipInfo
().
then
(
res
=>
{
let
{
endTime
,
startTime
}
=
this
.
data
;
// 判断活动时间
let
currentTime
=
new
Date
().
getTime
();
if
(
currentTime
<
startTime
)
{
commonToast
(
'活动未开始'
);
}
// if (currentTime > endTime) {
// commonToast('活动已结束');
// }
return
;
};
API
.
getVipInfo
().
then
(
res
=>
{
if
(
!
res
.
data
.
isVip
)
{
commonToast
(
'立即加入会员,即可开始盖楼'
)
...
...
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