diff --git a/components/message/chat/chat-layout.vue b/components/message/chat/chat-layout.vue
index 3262f05..84d8c70 100644
--- a/components/message/chat/chat-layout.vue
+++ b/components/message/chat/chat-layout.vue
@@ -73,7 +73,7 @@
auto-blur :placeholder="showInfo.placeholder" v-model="content" @input="onInput"
@focus="onFocus" @blur="onBlur"> -->
+ @input="onInput" style="word-break: break-all; word-wrap: break-word;">
-
+
¥
{{ Number(transferData.amount).toFixed(2) }}
@@ -55,16 +55,16 @@
-
+
+ mode="aspectFill">
-
+
{{ transferData.recipient }}
@@ -83,7 +83,7 @@
mode="aspectFill">
-
+
{{ transferData.promoTitle }}
{{ transferData.promoTag }}
diff --git a/pages/index/index.nvue b/pages/index/index.nvue
index 46b245d..130a889 100644
--- a/pages/index/index.nvue
+++ b/pages/index/index.nvue
@@ -115,7 +115,7 @@
-
{{ item.name }}
@@ -277,7 +277,7 @@ const otherList = [{
},
{
icon: "/static/image/index/qita/danliao.png",
- name: "视频单聊",
+ name: "视频聊天",
path: "/pages/other/video-chat/video-chat"
},
{
@@ -416,19 +416,19 @@ onShow(() => {
// #endif
})
function isShowBankIdCard(item) {
- if (item.name != '银行卡' && item.name != '身份证' && item.name != '工资条' && item.name != '高考') {
- return true
- } else if (item.name == '银行卡' && data.bank) {
- return true
- } else if (item.name == '身份证' && data.idcard) {
- return true
- } else if (item.name == '工资条' && data.payslip) {
- return true
- } else if (item.name == '高考' && data.score) {
- return true
- } else {
- return false
- }
+ if (item.name != '银行卡' && item.name != '身份证' && item.name != '工资条' && item.name != '高考') {
+ return true
+ } else if (item.name == '银行卡' && data.bank) {
+ return true
+ } else if (item.name == '身份证' && data.idcard) {
+ return true
+ } else if (item.name == '工资条' && data.payslip) {
+ return true
+ } else if (item.name == '高考' && data.score) {
+ return true
+ } else {
+ return false
+ }
}
/**
* 获取用户数据(从服务器)
diff --git a/pages/other/video-chat/video-chat.vue b/pages/other/video-chat/video-chat.vue
index b0c3bbc..2412c07 100644
--- a/pages/other/video-chat/video-chat.vue
+++ b/pages/other/video-chat/video-chat.vue
@@ -1,4 +1,6 @@
+
+
@@ -22,8 +24,8 @@
-
+
{{ videoData.chat.other.name }}
@@ -72,35 +74,27 @@
+ :src="videoData.micOn ? '/static/image/other/video-call/mic-on.png' : '/static/image/other/video-call/unMic.png'">
-
{{ videoData.micOn ? '麦克风已开' : '麦克风已关' }}
+ :src="videoData.cameraOn ? '/static/image/other/video-call/camera-on.png' : '/static/image/other/video-call/unCamera.png'">
-
{{ videoData.cameraOn ? '摄像头已开' : '摄像头已关' }}
-
+
背景模糊
-
+
翻转
@@ -112,8 +106,8 @@
src="/static/image/other/video-call/hangup.png">
-
+
@@ -224,7 +218,7 @@
+ :src="videoData.micOn ? '/static/image/other/video-call/mic-on.png' : '/static/image/other/video-call/unMic.png'">
+ :src="videoData.speakerOn ? '/static/image/other/video-call/speaker-on.png' : '/static/image/other/video-call/unSpeaker.png'">
-
{{ videoData.speakerOn ? '扬声器已开' : '扬声器已关' }}
+ :src="videoData.cameraOn ? '/static/image/other/video-call/camera-on.png' : '/static/image/other/video-call/unCamera.png'">
-
{{ videoData.cameraOn ? '摄像头已开' : '摄像头已关' }}
-
+
-
+
@@ -333,7 +319,7 @@
{{
- videoData.chat.me.videoUrl }}
+ getFileName(videoData.chat.me.videoUrl) }}
@@ -344,7 +330,7 @@
{{
- videoData.chat.other.videoUrl }}
+ getFileName(videoData.chat.other.videoUrl) }}
@@ -404,6 +390,13 @@ const getVideoUrl = (url) => {
return url
}
+// 提取完整路径中的文件名
+const getFileName = (path) => {
+ if (!path) return ''
+ // 兼容处理正反斜杠
+ return path.split('/').pop().split('\\').pop()
+}
+
const buttonGroup = computed(() => [
{
name: "编辑时间",
@@ -629,6 +622,12 @@ onShow(() => {
// #ifdef APP-PLUS
util.setAndroidSystemBarColor('#FFFFFF')
+
+ // 强制隐藏安卓底部的系统虚拟导航栏(实现全面屏沉浸)
+ // if (plus.navigator.hideSystemNavigation) {
+ // plus.navigator.hideSystemNavigation()
+ // }
+
// 保存定时器引用,以便在页面卸载时清理
statusBarTimer = setTimeout(() => {
plus.navigator.setStatusBarStyle("light");
@@ -636,6 +635,31 @@ onShow(() => {
// #endif
})
+// #ifdef APP-PLUS
+// const restoreSystemNavigation = () => {
+// if (plus.os.name === 'Android') {
+// try {
+// const main = plus.android.runtimeMainActivity();
+// if (main) {
+// const window = main.getWindow();
+// const decorView = window.getDecorView();
+// const View = plus.android.importClass("android.view.View");
+// const uiOptions = decorView.getSystemUiVisibility();
+// // 移除隐藏导航栏的 flag,保留其他的(如状态栏文字颜色设定)
+// const newUiOptions = uiOptions & ~View.SYSTEM_UI_FLAG_HIDE_NAVIGATION & ~View.SYSTEM_UI_FLAG_IMMERSIVE_STICKY;
+// decorView.setSystemUiVisibility(newUiOptions);
+
+// // 重新恢复底部导航栏的透明背景(与 pages.json 全局设定保持一致)
+// const Color = plus.android.importClass("android.graphics.Color");
+// window.setNavigationBarColor(Color.TRANSPARENT);
+// }
+// } catch (e) {
+// console.log('恢复系统导航栏失败:', e);
+// }
+// }
+// }
+// #endif
+
// 页面隐藏时清理定时器,防止返回时出错
onHide(() => {
// 清理状态栏定时器
@@ -656,6 +680,11 @@ onHide(() => {
stopTimer() // 停止计时
+
+ // #ifdef APP-PLUS
+ // restoreSystemNavigation()
+ // #endif
+
console.log('🚪 页面隐藏,已清理定时器和状态')
})
@@ -674,6 +703,10 @@ onUnmounted(() => {
data.dragState.longPressTimer = null
}
+ // #ifdef APP-PLUS
+ // restoreSystemNavigation()
+ // #endif
+
console.log('🧹 页面卸载,已清理所有定时器')
})
@@ -1390,7 +1423,6 @@ const stopTimer = () => {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
- background-color: #4a4a4a;
display: flex;
align-items: center;
justify-content: center;
@@ -1604,6 +1636,7 @@ const stopTimer = () => {
width: 92rpx;
height: 92rpx;
position: absolute;
+ border-radius: 12rpx;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
@@ -1673,4 +1706,26 @@ const stopTimer = () => {
height: 410rpx;
border-radius: 20rpx;
}
+
+.shadow-up {
+ position: fixed;
+ top: 0;
+ left: 0;
+ width: 750rpx;
+ height: 240rpx;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
+ border-radius: 0rpx 0rpx 0rpx 0rpx;
+ z-index: 2;
+}
+
+.shadow-down {
+ position: fixed;
+ bottom: 0;
+ left: 0;
+ width: 750rpx;
+ height: 240rpx;
+ background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%);
+ border-radius: 0rpx 0rpx 0rpx 0rpx;
+ z-index: 2;
+}
diff --git a/pages/other/video-group-chat/video-group-chat.vue b/pages/other/video-group-chat/video-group-chat.vue
index bda86e1..9596f7c 100644
--- a/pages/other/video-group-chat/video-group-chat.vue
+++ b/pages/other/video-group-chat/video-group-chat.vue
@@ -1027,7 +1027,6 @@ const stopTimer = () => {
width: 120rpx;
height: 120rpx;
border-radius: 50%;
- background-color: #4a4a4a;
display: flex;
align-items: center;
justify-content: center;
diff --git a/pages/other/wx-payment-success/wx-payment-success.vue b/pages/other/wx-payment-success/wx-payment-success.vue
index 5f3551a..dbbbab5 100644
--- a/pages/other/wx-payment-success/wx-payment-success.vue
+++ b/pages/other/wx-payment-success/wx-payment-success.vue
@@ -9,7 +9,7 @@
-
+
{{ paymetInfo.productName }}
{{
@@ -140,13 +140,6 @@ const paymetInfo = ref({
});
onShow(() => {
- const cachedInfo = storage.get('wx_payment_success_info');
- if (cachedInfo) {
- paymetInfo.value = cachedInfo;
- } else {
- paymetInfo.value = { productName: '王者荣耀', money: 168 };
- }
-
// #ifdef APP-PLUS&&!APP-HARMONY
util.setAndroidSystemBarColor('#FFFFFF')
setTimeout(() => {
@@ -156,6 +149,12 @@ onShow(() => {
})
onLoad(async () => {
+ const cachedInfo = storage.get('wx_payment_success_info');
+ if (cachedInfo) {
+ paymetInfo.value = cachedInfo;
+ } else {
+ paymetInfo.value = { productName: '王者荣耀', money: 168 };
+ }
// 微信支付成功页面埋点
proxy.$apiUserEvent('all', {
diff --git a/static/image/other/game/sanjiaozhou/kill.png b/static/image/other/game/sanjiaozhou/kill.png
index 2a26277..c07401a 100644
Binary files a/static/image/other/game/sanjiaozhou/kill.png and b/static/image/other/game/sanjiaozhou/kill.png differ
diff --git a/static/image/other/video-call/unCamera.png b/static/image/other/video-call/unCamera.png
new file mode 100644
index 0000000..eb063e2
Binary files /dev/null and b/static/image/other/video-call/unCamera.png differ
diff --git a/static/image/other/video-call/unMic.png b/static/image/other/video-call/unMic.png
new file mode 100644
index 0000000..47a4cba
Binary files /dev/null and b/static/image/other/video-call/unMic.png differ
diff --git a/static/image/other/video-call/unSpeaker.png b/static/image/other/video-call/unSpeaker.png
new file mode 100644
index 0000000..1921ffb
Binary files /dev/null and b/static/image/other/video-call/unSpeaker.png differ
diff --git a/static/image/other/video-call/xuanzhuan.png b/static/image/other/video-call/xuanzhuan.png
index ddf2e50..6ab4be0 100644
Binary files a/static/image/other/video-call/xuanzhuan.png and b/static/image/other/video-call/xuanzhuan.png differ
diff --git a/static/image/other/video-call/xvnibeijing.png b/static/image/other/video-call/xvnibeijing.png
index c5b0a37..f91d6c6 100644
Binary files a/static/image/other/video-call/xvnibeijing.png and b/static/image/other/video-call/xvnibeijing.png differ