Commit 92bc1b6a authored by sujie@126.com's avatar sujie@126.com

dd

parent f03d5fe0
......@@ -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) {
......
/*
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}`,
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment