Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
Compass
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
zong
Compass
Commits
fb8b6bf3
Commit
fb8b6bf3
authored
5 years ago
by
biao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlib.occloud.net/biao/ZhiNanZhen
* 'master' of
http://gitlib.occloud.net/biao/ZhiNanZhen
: 1
parents
c730d6ef
743d3e13
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletion
+7
-1
index.js
src/wx/pages/index/index.js
+7
-1
No files found.
src/wx/pages/index/index.js
View file @
fb8b6bf3
...
...
@@ -175,6 +175,12 @@ Page({
method
:
'GET'
,
dataType
:
'json'
,
success
:
function
(
res
)
{
var
role
=
res
.
data
.
result
.
role
;
if
((
role
==
4
||
role
==
5
||
role
==
6
)
&&
res
.
data
.
result
.
childAge
==
0
){
wx
.
navigateTo
({
url
:
'/pages/ageChange/ageChange'
,
})
}
//设定页面数据
that
.
setData
({
volunteerEventList
:
res
.
data
.
result
.
volunteerEventList
,
...
...
@@ -291,7 +297,7 @@ Page({
classDetails
(
e
)
{
let
medidaId
=
e
.
currentTarget
.
dataset
[
'index'
]
wx
.
navigateTo
({
url
:
'../classDetails/classDetails?medi
d
aId='
+
medidaId
,
url
:
'../classDetails/classDetails?mediaId='
+
medidaId
,
});
wx
.
setNavigationBarTitle
({
title
:
'公益课堂'
...
...
This diff is collapsed.
Click to expand it.
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