Commit 6ef6b346 authored by lvtz's avatar lvtz

fix

parents 2a853778 f30a5876
This diff is collapsed.
{
"navigationBarTitleText": "闯关打卡",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#00B1FC",
"navigationBarTextStyle": "white",
"usingComponents": {
"sjd-media-show": "../../../components/sjdmediashow",
"clock-item": "../../components/clockitem",
"empty-content": "../../../components/emptycontent",
"poster-box": "../../../components/posterbox",
"go-top": "../../components/goTop",
"list-loading": "../../../components/listloading",
"comment-editor": "../../../components/commenteditor",
"btn-drag":"../../../components/btndrag",
"expiredTip": "../../components/expiredTip",
"comment-editor-type-choose": "../../components/commentEditorTypeChoose"
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
{
"navigationBarTitleText": "闯关打卡",
"navigationBarTitleText": "作业打卡",
"enablePullDownRefresh": true,
"navigationBarBackgroundColor": "#00B1FC",
"navigationBarTextStyle": "white",
"usingComponents": {
"sjd-media-show": "../../../components/sjdmediashow",
"clock-item": "../../components/clockitem",
......@@ -13,6 +11,7 @@
"comment-editor": "../../../components/commenteditor",
"btn-drag":"../../../components/btndrag",
"expiredTip": "../../components/expiredTip",
"comment-editor-type-choose": "../../components/commentEditorTypeChoose"
"comment-editor-type-choose": "../../components/commentEditorTypeChoose",
"commentClockItemShare": "../../components/commentClockItemShare"
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
......@@ -127,7 +127,9 @@ Page({
goThemeDetail (e) {
const { index, item } = e.currentTarget.dataset;
if (item.id > 0) {
wx.navigateTo({
url: `/business/pages/morethemeindex/index?mid=${this.data.tid}&tid=${item.id}&sid=${this.data.sid}`,
})
} else {
const { item, index, } = e.currentTarget.dataset;
wx.navigateTo({
......
......@@ -30,7 +30,7 @@ Page({
sid: 0,
addSort: 0,
sort: 0,
from: 'edit', // 新建页面进来 编辑关卡 index 主题页面进来新建关卡
from: 'edit', // 新建页面进来 编辑关卡 index 主题页面进来新建关卡 detail 闯关打卡关卡详情
id: 0,
index: 0,
currentSortIndex: 0,
......@@ -324,6 +324,10 @@ Page({
prevPage.setData({
[`lockSubjects[${this.data.sort-1}]`]: {...paramsData, id: data.id, clock_people: 0, review_clock_record_count: 0},
});
} else if (this.data.from == 'detail') {
prevPage.setData({
needRefresh: true,
});
}
wx.navigateBack({
delta: 1, // 回退前 delta(默认为1) 页面
......
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