优化聊天界面
This commit is contained in:
@@ -73,7 +73,7 @@ Component({
|
||||
})
|
||||
}
|
||||
let _this = this;
|
||||
let userID = wx.getStorageSync('user_id');
|
||||
let userID = wx.getStorageSync('user_id_'+usertype);
|
||||
setInterval(() => {
|
||||
let index_info = wx.getStorageSync(userID+'_index_info');
|
||||
let wenzhen_info = wx.getStorageSync(userID+'_wenzhen_info');
|
||||
@@ -103,12 +103,12 @@ Component({
|
||||
// },
|
||||
onChange(e) {
|
||||
console.log("custom tab bar onChange");
|
||||
let userID = wx.getStorageSync('user_id');
|
||||
const usertype = wx.getStorageSync('usertype');
|
||||
let userID = wx.getStorageSync('user_id_'+usertype);
|
||||
let idcard_status = wx.getStorageSync(userID+'_idcard_status');
|
||||
let iden_auth_status = wx.getStorageSync(userID+'_iden_auth_status');
|
||||
let multi_point_status = wx.getStorageSync(userID+'_multi_point_status');
|
||||
let is_bind_bank = wx.getStorageSync(userID+'_is_bind_bank');
|
||||
const usertype = wx.getStorageSync('usertype');
|
||||
|
||||
console.log("idcard_status: ", idcard_status);
|
||||
console.log("iden_auth_status: ", iden_auth_status);
|
||||
@@ -123,7 +123,6 @@ Component({
|
||||
})
|
||||
return;
|
||||
}
|
||||
console.log(111);
|
||||
if(iden_auth_status != 1 && usertype != 3){
|
||||
this.setData({
|
||||
dialog_visible: true,
|
||||
@@ -132,7 +131,6 @@ Component({
|
||||
})
|
||||
return;
|
||||
}
|
||||
console.log(222);
|
||||
if(is_bind_bank != 1 && usertype != 3){
|
||||
this.setData({
|
||||
dialog_visible: true,
|
||||
@@ -141,7 +139,6 @@ Component({
|
||||
})
|
||||
return;
|
||||
}
|
||||
console.log(333);
|
||||
let url = this.data.items[e.detail].pagePath;
|
||||
console.log(url);
|
||||
wx.switchTab({
|
||||
|
||||
Reference in New Issue
Block a user