feat: use wx.createUserInfoButton to get weixin's avarta

This commit is contained in:
jakciehan
2026-05-14 22:41:32 +08:00
parent c4bd390478
commit 9359139186
13 changed files with 1181 additions and 184 deletions
+11 -14
View File
@@ -21,7 +21,6 @@ module.exports = {
// Menu Scene
// ============================================================
'menu.title': '坦克探险',
'profile.welcome': '欢迎 {name}',
'menu.subtitle': '经典坦克对战',
'menu.classic': '经典模式',
'menu.endless': '无尽模式',
@@ -31,8 +30,8 @@ module.exports = {
'menu.skin': '皮肤',
'menu.ranking': '排行榜',
'menu.settings': '设置',
'menu.profile': '个人资料',
'menu.chat': '聊天室',
'menu.tapToAuth': '点击授权头像',
// ============================================================
// Room Scene (PVP)
@@ -209,7 +208,6 @@ module.exports = {
'settings.sound': '音效',
'settings.music': '音乐',
'settings.vibration': '振动',
'settings.profile': '个人资料',
// ============================================================
// Shop Scene (Simplified)
@@ -229,17 +227,6 @@ module.exports = {
// ============================================================
// Profile Scene
// ============================================================
'profile.title': '个人资料',
'profile.nickname': '昵称',
'profile.signature': '个性签名',
'profile.description': '个人空间描述',
'profile.changeAvatar': '更换头像',
'profile.tapToEdit': '点击编辑',
'profile.save': '保存',
// ============================================================
// Chat Room Scene
// ============================================================
@@ -333,4 +320,14 @@ module.exports = {
'skin.owned': '已拥有',
'skin.equipSuccess': '✓ 已装备!',
'skin.purchaseSuccess': '✓ 已解锁!',
// ============================================================
// Privacy Authorization
// ============================================================
'privacy.title': '用户隐私保护提示',
'privacy.body': '为了在游戏中展示你的昵称和头像,我们需要使用你的微信基本信息。\n\n你可以在《隐私政策》中了解具体的信息使用方式和范围。\n\n如果你不同意,将以匿名身份参与游戏。',
'privacy.policyLink': '👉 查看《隐私政策》',
'privacy.agree': '同意',
'privacy.decline': '不同意',
'privacy.footer': '同意后仅用于游戏内展示,不会向第三方提供',
};