no message

This commit is contained in:
2025-09-06 11:35:08 +08:00
parent 40e5e0ff8d
commit f1791ace40
5 changed files with 111 additions and 3 deletions
+7
View File
@@ -321,6 +321,13 @@
"navigationBarTextStyle": "black"
}
},
{
"path": "setting/kefu",
"style": {
"navigationStyle": "custom",
"navigationBarTextStyle": "black"
}
},
{
"path": "dongjian/index",
"style": {
+4 -1
View File
@@ -372,7 +372,10 @@ export default {
jumpTool(item) {
// 客服
if (item.id === 7) {
this.serviceShow = true;
// this.serviceShow = true;
uni.navigateTo({
url:'/pages/rwa_package/setting/kefu'
})
} else if (item.id === 9) {// 实名认证
const currentUserData = this.currentUserData;
console.log('currentUserData',this.currentUserData)
@@ -103,7 +103,7 @@
</view>
<view class="left_item">
<up-image src="/static/product/kefu.png" width="20" height="20" bgColor="#f1f6ff00"
@click="serviceShow = true;"></up-image>
@click="onZiXun"></up-image>
<view>咨询</view>
</view>
<view class="left_item" v-if="!ji">
@@ -291,6 +291,11 @@ export default {
},
methods: {
onZiXun(){
uni.navigateTo({
url:'/pages/rwa_package/setting/kefu'
})
},
getValue,
onSwiper(index) {
uni.previewImage({
+72
View File
@@ -0,0 +1,72 @@
<template>
<view class="content">
<TopSafe></TopSafe>
<view class="setting-view">
<iframe :src="h5Url" frameborder="no" border="0" class="web-view">
</iframe>
</view>
<!-- 腾讯电子签H5 → 集成到UniApp -->
</view>
</template>
<script>
import { getUserInfo,uploadAvatar } from '@/api/auth.js';
import { uploadImage, uploadImg } from '@/api/common.js';
import { IMG_TYPE } from '@/utils/enumUtils.js';
import { BASE_URL, Authorization } from '@/utils/config.js';
import { getStorageFun, TOKEN_NAME,clear } from '@/utils/auth.js';
import Header from '@/components/common/header.vue';
import TopSafe from '@/components/common/top-safe.nvue'
import MyBtn from '@/components/common/my-btn.vue'
import func from '@/utils/func.js';
export default {
components: { Header, TopSafe,MyBtn },
data() {
return {
h5Url:'https://www.aigcyun.cn/uniChat/#/?phN1TlflX8LhBw9Poz6%2BdPiXiWnidS%2Fcejlk1Q%2BZkH77Pa573QQamrrxTZmiujWx',
andUrl:'https://www.aigcyun.cn/H5/#chat?skillGroupId=5257&enterpriseId=1435'
};
},
onShow() {
this.init();
},
onLoad() {
// this.userinfo();
},
methods: {
init() {
// this.userinfo()
},
}
}
</script>
<style lang="scss" scoped>
.web-view{
height:100%;
width:100%;
position: relative;
}
.setting-view {
width: 100%;
height: calc(100% - var(--status-bar-height));
display: flex;
flex-direction: column;
align-items: center;
overflow-y: auto;
box-sizing: border-box;
position: relative;
}
</style>
<style>
.chatModel{
height:calc(100% - var(--status-bar-height));
margin-top:var(--status-bar-height);
}
</style>
+22 -1
View File
@@ -1,5 +1,5 @@
<template>
<view class="content-one">
<view class="content-two" >
<TopSafe></TopSafe>
<view class="head-view">
<view class="head-search" @click="onJumpSearch">
@@ -100,6 +100,27 @@ export default {
</script>
<style lang="scss" scoped>
.content-two{
display: flex;
min-width: 750rpx;
max-width: 750rpx;
// #ifdef H5
height: calc(100vh - 100rpx);
//#endif
// #ifndef H5
height:500rpx;
//#endif
height: calc(100vh - 20rpx - var(--window-bottom));
padding: 0;
margin: 0;
flex-direction: column;
align-items: center;
position: fixed;
top:0;
left:0;
overflow: hidden;
background-color: $app-bj;
}
.head-view{
width:100%;
// height: