|
...
|
...
|
@@ -13,6 +13,7 @@ Page({ |
|
|
|
total:0,
|
|
|
|
},
|
|
|
|
ids:[],
|
|
|
|
id:0,
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 生命周期函数--监听页面加载
|
|
...
|
...
|
@@ -56,7 +57,7 @@ Page({ |
|
|
|
},
|
|
|
|
getListData(fouce=false){
|
|
|
|
App.Reserve.GetListFromScheAndRes({
|
|
|
|
flag:this.data.tabFlag,
|
|
|
|
flag:0,
|
|
|
|
openid:getApp().openid,
|
|
|
|
},fouce).then(res => {
|
|
|
|
let data=this.formatList(res.data);
|
|
...
|
...
|
@@ -104,14 +105,13 @@ Page({ |
|
|
|
us.init();
|
|
|
|
})
|
|
|
|
},
|
|
|
|
shareSetting(){
|
|
|
|
console.log('this.topicVal',this.topicVal)
|
|
|
|
if(this.topicVal && this.data.detail.openid==getApp().openid){
|
|
|
|
App.Reserve.SetTopicFromShare({
|
|
|
|
rid:this.id,
|
|
|
|
topic:this.topicVal
|
|
|
|
})
|
|
|
|
}
|
|
|
|
share(e){
|
|
|
|
this.id=e.target.id.replace('userinfo-share-','');
|
|
|
|
console.log('userinfo-share.share.id',this.id)
|
|
|
|
},
|
|
|
|
shareSetting(e){
|
|
|
|
console.log('shareSetting',e)
|
|
|
|
//this.data.detail.openid==getApp().openid
|
|
|
|
let nickname="";
|
|
|
|
try{
|
|
|
|
nickname=util.cache('userInfo').nickName;
|
...
|
...
|
|