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
b3e36f30
Commit
b3e36f30
authored
Sep 07, 2020
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
d664f868
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
7 deletions
+18
-7
pageshou_ye.js
dist/pages/pageshou_ye/pageshou_ye.js
+18
-7
No files found.
dist/pages/pageshou_ye/pageshou_ye.js
View file @
b3e36f30
'use strict'
;
'use strict'
;
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
resList
from
'../../resconfig/resList'
;
//import API from '../../api';
import
API
from
'../../api'
;
const
app
=
getApp
();
const
{
tbcc
}
=
app
;
const
{
commonToast
,
getAuthUserInfo
,
navigateToOutside
}
=
tbcc
.
tb
;
Page
({
Page
({
data
:
{
data
:
{
ruleModalVisible
:
false
ruleModalVisible
:
false
},
},
onLoad
(
props
)
{
onLoad
(
props
)
{
...
@@ -12,22 +15,30 @@ Page({
...
@@ -12,22 +15,30 @@ Page({
resList
:
resList
resList
:
resList
});
});
},
},
gotoVipPage
()
{
API
.
getVipInfo
().
then
(
res
=>
{
if
(
!
res
.
vip
)
navigateToOutside
(
res
.
url
)
else
my
.
redirectTo
({
url
:
'/pages/pagehuo_dong_ye/pagehuo_dong_ye'
});
})
},
handleStart
(){
handleStart
()
{
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'
});
});
},
},
showRuleModal
(){
showRuleModal
()
{
this
.
setData
({
this
.
setData
({
ruleModalVisible
:
true
ruleModalVisible
:
true
})
})
},
},
ruleModalClose
(){
ruleModalClose
()
{
this
.
setData
({
this
.
setData
({
ruleModalVisible
:
false
ruleModalVisible
:
false
})
})
}
}
...
...
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