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
ca750f71
Commit
ca750f71
authored
Sep 08, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
cb98a6a2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
pageshou_ye.axml
dist/pages/pageshou_ye/pageshou_ye.axml
+1
-1
pageshou_ye.js
dist/pages/pageshou_ye/pageshou_ye.js
+6
-4
No files found.
dist/pages/pageshou_ye/pageshou_ye.axml
View file @
ca750f71
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
<image class="tu" src={{resList['41567d28-d1c4-454f-8bb4-4bcb6a103be0'].url}} />
<image class="tu" src={{resList['41567d28-d1c4-454f-8bb4-4bcb6a103be0'].url}} />
<image a:if="{{startBtnVisible}}" class="an_niu" onTap="handleStart" src={{resList['9720b3cc-2faa-4bac-8244-d5f0d018a6e7'].url}} />
<image a:if="{{startBtnVisible}}" class="an_niu" onTap="handleStart" src={{resList['9720b3cc-2faa-4bac-8244-d5f0d018a6e7'].url}} />
<image class="wen_an" src={{resList['2a026ac4-0a9c-497b-9469-2da99f935821'].url}} />
<image class="wen_an" src={{resList['2a026ac4-0a9c-497b-9469-2da99f935821'].url}} />
<image a:if="{{myPrizeBtnVisible}}" class="jiang_pinicon" src={{resList['b7517eae-3bc2-4456-935a-e6e3e1fe995e'].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}} />
<image a:if="{{ruleModalBtnVisible}}" class="gui_zeicon" onTap="showRuleModal" src={{resList['d826a2f1-a3ec-4764-aad2-f6cacc43cfce'].url}} />
</view>
</view>
...
...
dist/pages/pageshou_ye/pageshou_ye.js
View file @
ca750f71
...
@@ -31,9 +31,6 @@ Page({
...
@@ -31,9 +31,6 @@ Page({
},
},
handleStart
()
{
handleStart
()
{
// API.submit({ grade: 1, floor: 10 });
console
.
log
(
'change'
)
console
.
log
(
'change'
)
my
.
redirectTo
({
my
.
redirectTo
({
url
:
'/pages/pagehuo_dong_ye/pagehuo_dong_ye'
url
:
'/pages/pagehuo_dong_ye/pagehuo_dong_ye'
...
@@ -44,6 +41,11 @@ Page({
...
@@ -44,6 +41,11 @@ Page({
ruleModalVisible
:
true
ruleModalVisible
:
true
})
})
},
},
onPrizeBtnClick
()
{
my
.
navigateTo
({
url
:
'/pages/myprize/myprize'
});
},
ruleModalClose
()
{
ruleModalClose
()
{
this
.
setData
({
this
.
setData
({
...
@@ -55,7 +57,7 @@ Page({
...
@@ -55,7 +57,7 @@ Page({
API
.
getActivityBaseInfoById
(),
API
.
getActivityBaseInfoById
(),
API
.
getVipInfo
(),
API
.
getVipInfo
(),
]);
]);
vipInfo
.
isVip
=
true
;
//
vipInfo.isVip = true;
if
(
vipInfo
.
isVip
&&
activity
.
data
.
isUserJoin
)
{
if
(
vipInfo
.
isVip
&&
activity
.
data
.
isUserJoin
)
{
my
.
redirectTo
({
url
:
'/pages/pagehuo_dong_ye/pagehuo_dong_ye'
});
my
.
redirectTo
({
url
:
'/pages/pagehuo_dong_ye/pagehuo_dong_ye'
});
}
else
{
}
else
{
...
...
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