|
|
|
@ -108,14 +108,14 @@ class Index extends Component<any, any> {
|
|
|
|
const mobile = Taro.getStorageSync("mobile");
|
|
|
|
const mobile = Taro.getStorageSync("mobile");
|
|
|
|
if (isFirst) {
|
|
|
|
if (isFirst) {
|
|
|
|
this.checkShowPrivacyPopup();
|
|
|
|
this.checkShowPrivacyPopup();
|
|
|
|
|
|
|
|
this.GetSitePopupList();
|
|
|
|
|
|
|
|
this.GetSiteCarousel();
|
|
|
|
// this.GetOtherSetting(); // 获取小程序设置:商城地址和版本
|
|
|
|
// this.GetOtherSetting(); // 获取小程序设置:商城地址和版本
|
|
|
|
|
|
|
|
|
|
|
|
if (mobile) {
|
|
|
|
if (mobile) {
|
|
|
|
this.GetNoReadMessageNum(); // 查询是否有消息
|
|
|
|
this.GetNoReadMessageNum(); // 查询是否有消息
|
|
|
|
this.RefreshWxUserInfo();
|
|
|
|
this.RefreshWxUserInfo();
|
|
|
|
|
|
|
|
|
|
|
|
this.GetSitePopupList();
|
|
|
|
|
|
|
|
this.GetSiteCarousel();
|
|
|
|
|
|
|
|
// if (!this.state.isShowIndexFlag) {
|
|
|
|
// if (!this.state.isShowIndexFlag) {
|
|
|
|
// // 仅初次进入首页运行
|
|
|
|
// // 仅初次进入首页运行
|
|
|
|
// this.GetSitePopupList();
|
|
|
|
// this.GetSitePopupList();
|
|
|
|
|