瀏覽代碼

[首页][修改][限时,字段]

tags/河北版C.8.1.01
hurui 5 年之前
父節點
當前提交
e30eb3cdbd
共有 1 個檔案被更改,包括 3 行新增5 行删除
  1. +3
    -5
      pages/main/index.js

+ 3
- 5
pages/main/index.js 查看文件

@@ -68,10 +68,7 @@ Page({
credit: 0, credit: 0,
score: '0', score: '0',
page: 1 ,// 刷新进入页面时已经加载了第一页数据,onReachBottom时 page++,从第2页开始加载 page: 1 ,// 刷新进入页面时已经加载了第一页数据,onReachBottom时 page++,从第2页开始加载
// Ttitle:'',
// xstitle:null,
// priceStr:null,
// salePriceStr:null,

}, },
close: function() { close: function() {
this.setData({ this.setData({
@@ -510,10 +507,11 @@ Page({
} }
}).then(res => { }).then(res => {
if (res && res.data) { if (res && res.data) {
console.log(res.data.title)
that.setData({ that.setData({
name: res.data.name, name: res.data.name,
cover: res.data.cover, cover: res.data.cover,
Ttitle: res.data.title,
title: res.data.title,
id: res.data.id, id: res.data.id,
showTopic: true showTopic: true
}) })


Loading…
取消
儲存