feat 切换城市不显示

develop
GJW200011 4 years ago
parent 2e32e84645
commit b9b2184a20

@ -99,19 +99,17 @@ Page({
return return
} }
let key = wx.getStorageSync('key') let key = wx.getStorageSync('key')
// console.log(key);
// console.log(key.indexOf(res.id));
if(key.indexOf(res.id)!=-1){ if(key.indexOf(res.id)!=-1){
// console.log('我尊在'); this.setData({
isGiftMarkShow:true
})
return return
} }
this.setData({ this.setData({
screen_list: res, screen_list: res,
isActionMarkShow: true, isActionMarkShow: true,
isGiftMarkShow:false
}) })
}) })
wx.stopPullDownRefresh()
}, },
// 获取演出列表方法封装 // 获取演出列表方法封装
get_show_list(city_id, sort_type, page) { get_show_list(city_id, sort_type, page) {
@ -229,8 +227,8 @@ Page({
// wx.reLaunch({ // wx.reLaunch({
// url: '/pages/index/index/index' // url: '/pages/index/index/index'
// }) // })
wx.stopPullDownRefresh()
this.refresh_info(getApp().globalData.city_id) this.refresh_info(getApp().globalData.city_id)
}, },
/** /**

Loading…
Cancel
Save