Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
W
wechatapp.shangjiadao.com
Project
Project
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
wangxuelai
wechatapp.shangjiadao.com
Commits
92bc1b6a
Commit
92bc1b6a
authored
Sep 03, 2019
by
sujie@126.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dd
parent
f03d5fe0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
15 deletions
+20
-15
index.js
business/pages/clockdetail/index.js
+19
-8
index.js
src/pages/readthemeindex/index.js
+1
-7
No files found.
business/pages/clockdetail/index.js
View file @
92bc1b6a
...
...
@@ -209,14 +209,25 @@ Page({
},
// 跟打卡列表组件相关联的操作
goClock
()
{
if
(
this
.
data
.
clock
.
subject
.
subject_type
==
1
)
{
wx
.
navigateTo
({
url
:
`/business/pages/themeindex/index?id=
${
this
.
data
.
id
}
&tid=
${
this
.
data
.
tid
}
&sid=
${
this
.
data
.
sid
}
`
})
}
else
if
(
this
.
data
.
clock
.
subject
.
subject_type
==
2
)
{
wx
.
navigateTo
({
url
:
`/business/pages/calendarthemeindex/index?id=
${
this
.
data
.
id
}
&tid=
${
this
.
data
.
tid
}
&sid=
${
this
.
data
.
sid
}
`
})
const
thisSubject
=
this
.
data
.
clock
.
subject
;
switch
(
thisSubject
.
subject_type
)
{
case
1
:
wx
.
navigateTo
({
url
:
`/business/pages/themeindex/index?id=
${
this
.
data
.
id
}
&tid=
${
this
.
data
.
tid
}
&sid=
${
this
.
data
.
sid
}
`
})
break
;
case
2
:
wx
.
navigateTo
({
url
:
`/business/pages/calendarthemeindex/index?id=
${
this
.
data
.
id
}
&tid=
${
this
.
data
.
tid
}
&sid=
${
this
.
data
.
sid
}
`
})
break
;
case
3
:
wx
.
navigateTo
({
url
:
`/business/pages/morethemeindex/index?id=
${
this
.
data
.
id
}
&tid=
${
thisSubject
.
unlock_mode_id
}
&sid=
${
this
.
data
.
sid
}
`
})
break
;
default
:
break
;
}
},
delComments
(
e
)
{
...
...
src/pages/readthemeindex/index.js
View file @
92bc1b6a
/*
time: 2018-10-31
author: wxl
*/
import
{
judgeIsClock
,
clockList
,
...
...
@@ -435,9 +432,6 @@ Page({
})
},
contactShop
()
{
// this.setData({
// concatDiaShow: true
// })
wx
.
navigateTo
({
url
:
`/src/pages/contactindex/index?sid=
${
this
.
data
.
circleInfo
.
school_id
}
`
,
})
...
...
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