diff --git a/pages/main/index.js b/pages/main/index.js index bc608cf..32dc67e 100644 --- a/pages/main/index.js +++ b/pages/main/index.js @@ -68,10 +68,7 @@ Page({ credit: 0, score: '0', page: 1 ,// 刷新进入页面时已经加载了第一页数据,onReachBottom时 page++,从第2页开始加载 - // Ttitle:'', - // xstitle:null, - // priceStr:null, - // salePriceStr:null, + }, close: function() { this.setData({ @@ -510,10 +507,11 @@ Page({ } }).then(res => { if (res && res.data) { + console.log(res.data.title) that.setData({ name: res.data.name, cover: res.data.cover, - Ttitle: res.data.title, + title: res.data.title, id: res.data.id, showTopic: true })