Commit 7c3ca1ba authored by sujie@126.com's avatar sujie@126.com

dd

parent 21dca1a2
export default {
imageRoot: 'https://cdn.img.shangjiadao.cn/qingxiao/daka/images/',
// host: 'https://qxapi.qingxiao.online/daka',
// host2: 'https://wx.m.shangjiadao.cn',
host: 'https://qxapi.qingxiao.online/daka',
host2: 'https://wx.m.shangjiadao.cn',
storageVersion: '5.0',
imageVersion: '20200117',
host: 'https://clock.wp53.cn',
host2: 'https://test.wp53.cn',
// host: 'https://clock.wp53.cn',
// host2: 'https://test.wp53.cn',
appId: 'wxc1246ea029394785',
miniProgram: {
clock: 'wxdeee20e52a1fd7ee'
......
......@@ -284,10 +284,11 @@ Page({
},
onShow: function (options) { // Do something when page show.
let pages = getCurrentPages();
console.log(pages, 'pages')
this.setData({
hasmore: true,
advertisementshow: true,
hasBack: pages.length>2 ? true : false
hasBack: pages.length>1 ? true : false
})
this.data.clockPage = 1;
if (this.data.integral !== undefined && Number(this.data.integral) > 0) {
......
......@@ -199,7 +199,7 @@ Page({
})
return false
}
wx.redirectTo({
wx.navigateTo({
url: `/src/pages/morethemeindex/index?id=${this.data.moreTheme.class_id}&tid=${this.data.tid}`
});
},
......@@ -223,7 +223,7 @@ Page({
icon: 'none',
duration: 2000
})
wx.redirectTo({
wx.navigateTo({
url: `/src/pages/morethemeindex/index?id=${this.data.moreTheme.class_id}&tid=${this.data.tid}`
});
} else {
......@@ -522,7 +522,7 @@ Page({
})
return false
}
wx.redirectTo({
wx.navigateTo({
url: `/src/pages/morethemeindex/index?id=${this.data.moreTheme.class_id}&tid=${this.data.tid}`
});
}
......
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