chat girldetail 图集制作

This commit is contained in:
2025-09-19 15:19:59 +08:00
parent fb0a9abcce
commit 6ed9f82a6e
41 changed files with 1607 additions and 1508 deletions
+34
View File
@@ -0,0 +1,34 @@
//app.js
App({
onLaunch: function () {
// show localstorage
let logs = wx.getStorageSync('logs') || []
logs.unshift(Date.now())
wx.setStorageSync('logs', logs)
// login
wx.login({
success: res => {
// get custom login info res
}
})
// get user settings
wx.getSetting({
success: res => {
if (res.authSetting['scope.userInfo']) {
// Already authorized, you can directly call getUserInfo to get the avatar nickname without popping up
wx.getUserInfo({
success: res => {
// get custom user info res
this.globalData.userInfo = res.userInfo;
}
})
}
}
})
},
globalData: {
userInfo: null
}
})