jiangping
2024-07-22 b7fd27a4a7ac72eef5fc142cae9bb63fe69ef233
wechat_jiaxuan/app.js
@@ -1,4 +1,6 @@
import { wxLoginCustomer } from './api/index'
import {
  wxLoginCustomer
} from './api/index'
App({
  globalData: {
    primary: '#B08771',
@@ -10,7 +12,8 @@
    if (WindowInfo.safeArea.top > 20) {
      this.globalData.bottomLift = WindowInfo.screenHeight - WindowInfo.safeArea.bottom;
    }
    //
    // 授权登录
    const member = wx.getStorageSync('member')
    wx.login({
      timeout: 5000,
      success(res) {
@@ -37,5 +40,7 @@
        console.log(err)
      }
    })
  }
})