diff --git a/main.js b/main.js
index af89e99..62f5d60 100644
--- a/main.js
+++ b/main.js
@@ -29,7 +29,7 @@ export function createApp() {
app.config.globalProperties.$system = plus.os.name;
// #endif
app.config.globalProperties.$systemInfo = systemInfo
- uni.setStorageSync('version', '1.0.6.sp3')
+ uni.setStorageSync('version', '1.0.6.sp4')
app.config.globalProperties.$version = uni.getStorageSync('version')
app.use(globalMethods);
return {
diff --git a/pages.json b/pages.json
index 70cb421..651f1b5 100644
--- a/pages.json
+++ b/pages.json
@@ -420,6 +420,14 @@
"navigationBarTitleText" : "建设银行",
"navigationStyle": "custom"
}
+ },
+ {
+ "path" : "game/honor-of-kings",
+ "style" :
+ {
+ "navigationBarTitleText" : "王者荣耀",
+ "navigationStyle": "custom"
+ }
}
]
},
diff --git a/pages/index/index.nvue b/pages/index/index.nvue
index 8edaead..e5ce6e6 100644
--- a/pages/index/index.nvue
+++ b/pages/index/index.nvue
@@ -115,7 +115,8 @@
-
+
{{ item.name }}
@@ -304,6 +305,11 @@ const otherList = [{
name: "银行卡",
path: "/pages/other/bank/index"
},
+{
+ icon: "/static/image/index/qita/game.png",
+ name: "王者主页",
+ path: "/pages/other/game/honor-of-kings"
+},
]
const data = reactive({
@@ -318,8 +324,8 @@ const data = reactive({
vision: "",
platform: '', // 添加平台信息,
qqgroup: {},
- idcard:false,
- bank:false
+ idcard: false,
+ bank: false
})
const {
@@ -392,20 +398,20 @@ onShow(() => {
}, 800);
// #endif
})
-function isShowBankIdCard(item){
- if(item.name=='银行卡'||item.name=='身份证'){
- console.log(item.name!='银行卡'||item.name!='身份证')
- console.log(item.name=='银行卡'&&data.bank)
- console.log(item.name=='银行卡'&&data.bank)
+function isShowBankIdCard(item) {
+ if (item.name == '银行卡' || item.name == '身份证') {
+ console.log(item.name != '银行卡' || item.name != '身份证')
+ console.log(item.name == '银行卡' && data.bank)
+ console.log(item.name == '银行卡' && data.bank)
}
-
- if(item.name!='银行卡'&&item.name!='身份证'){
+
+ if (item.name != '银行卡' && item.name != '身份证') {
return true
- }else if(item.name=='银行卡'&&data.bank){
+ } else if (item.name == '银行卡' && data.bank) {
return true
- }else if(item.name=='身份证'&&data.idcard){
+ } else if (item.name == '身份证' && data.idcard) {
return true
- }else{
+ } else {
return false
}
}
@@ -422,7 +428,7 @@ const fetchUserData = async () => {
fetchUserInfo(),
fetchUserConfig()
])
-
+
// 处理用户信息结果
if (userResult.status === 'fulfilled') {
console.log('用户信息获取成功')
@@ -432,16 +438,16 @@ const fetchUserData = async () => {
// 处理用户配置结果
if (configResult.status === 'fulfilled') {
- console.log('用户配置获取成功',configResult)
+ console.log('用户配置获取成功', configResult)
} else {
console.error('获取用户配置失败:', configResult.reason)
}
-
- if(configResult.value.config['client.uniapp.bank']||false){
- data.bank=true
+
+ if (configResult.value.config['client.uniapp.bank'] || false) {
+ data.bank = true
}
- if(configResult.value.config['client.uniapp.idcard']||false){
- data.idcard=true
+ if (configResult.value.config['client.uniapp.idcard'] || false) {
+ data.idcard = true
}
// 刷新页面数据
setUserData()
diff --git a/pages/other/game/honor-of-kings.vue b/pages/other/game/honor-of-kings.vue
new file mode 100644
index 0000000..9870f94
--- /dev/null
+++ b/pages/other/game/honor-of-kings.vue
@@ -0,0 +1,812 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ item }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/static/image/index/qita/game.png b/static/image/index/qita/game.png
new file mode 100644
index 0000000..9d0f572
Binary files /dev/null and b/static/image/index/qita/game.png differ
diff --git a/static/image/other/game/wangzhe/avatar-frame-1.png b/static/image/other/game/wangzhe/avatar-frame-1.png
new file mode 100644
index 0000000..f6d1d3d
Binary files /dev/null and b/static/image/other/game/wangzhe/avatar-frame-1.png differ
diff --git a/static/image/other/game/wangzhe/avatar-frame-2.png b/static/image/other/game/wangzhe/avatar-frame-2.png
new file mode 100644
index 0000000..b456703
Binary files /dev/null and b/static/image/other/game/wangzhe/avatar-frame-2.png differ
diff --git a/static/image/other/game/wangzhe/avatar-frame-3.png b/static/image/other/game/wangzhe/avatar-frame-3.png
new file mode 100644
index 0000000..718ad99
Binary files /dev/null and b/static/image/other/game/wangzhe/avatar-frame-3.png differ
diff --git a/static/image/other/game/wangzhe/avatar-frame-4.png b/static/image/other/game/wangzhe/avatar-frame-4.png
new file mode 100644
index 0000000..7f99195
Binary files /dev/null and b/static/image/other/game/wangzhe/avatar-frame-4.png differ
diff --git a/static/image/other/game/wangzhe/female.png b/static/image/other/game/wangzhe/female.png
new file mode 100644
index 0000000..00ca22f
Binary files /dev/null and b/static/image/other/game/wangzhe/female.png differ
diff --git a/static/image/other/game/wangzhe/man.png b/static/image/other/game/wangzhe/man.png
new file mode 100644
index 0000000..8670845
Binary files /dev/null and b/static/image/other/game/wangzhe/man.png differ
diff --git a/static/image/other/game/wangzhe/style-1.jpg b/static/image/other/game/wangzhe/style-1.jpg
new file mode 100644
index 0000000..1f69c4d
Binary files /dev/null and b/static/image/other/game/wangzhe/style-1.jpg differ
diff --git a/static/image/other/game/wangzhe/style-2.jpg b/static/image/other/game/wangzhe/style-2.jpg
new file mode 100644
index 0000000..bcfdcd6
Binary files /dev/null and b/static/image/other/game/wangzhe/style-2.jpg differ
diff --git a/static/image/other/game/wangzhe/style-3.jpg b/static/image/other/game/wangzhe/style-3.jpg
new file mode 100644
index 0000000..244d06b
Binary files /dev/null and b/static/image/other/game/wangzhe/style-3.jpg differ
diff --git a/static/image/other/game/wangzhe/style-4.jpg b/static/image/other/game/wangzhe/style-4.jpg
new file mode 100644
index 0000000..06fbcd8
Binary files /dev/null and b/static/image/other/game/wangzhe/style-4.jpg differ