no message

This commit is contained in:
2025-09-06 19:30:06 +08:00
committed by charles
parent c906fb8dfe
commit f3a9e5c5a0
3 changed files with 26 additions and 11 deletions
@@ -293,7 +293,7 @@ export default {
methods: { methods: {
onZiXun(){ onZiXun(){
uni.navigateTo({ uni.navigateTo({
url:'/pages/rwa_package/setting/kefu' url:'/pages/rwa_package/setting/kefu?type=5260'
}) })
}, },
getValue, getValue,
+23 -8
View File
@@ -1,7 +1,7 @@
<template> <template>
<view class="content"> <view class="content">
<TopSafe></TopSafe> <TopSafe></TopSafe>
<view class="setting-view"> <view class="setting-view" v-if="h5Url">
<iframe :src="h5Url" frameborder="no" border="0" class="web-view"> <iframe :src="h5Url" frameborder="no" border="0" class="web-view">
</iframe> </iframe>
@@ -25,19 +25,34 @@ export default {
components: { Header, TopSafe,MyBtn }, components: { Header, TopSafe,MyBtn },
data() { data() {
return { return {
h5Url:'https://www.aigcyun.cn/uniChat/#/?phN1TlflX8LhBw9Poz6%2BdPiXiWnidS%2Fcejlk1Q%2BZkH77Pa573QQamrrxTZmiujWx', h5Url:'',
andUrl:'https://www.aigcyun.cn/H5/#chat?skillGroupId=5257&enterpriseId=1435'
}; };
}, },
onShow() { onShow() {
this.init();
}, },
onLoad() { onLoad(option) {
// this.userinfo(); if(option.type ){
this.init(option.type);
}
}, },
methods: { methods: {
init() { init(type) {
// this.userinfo() this.getUserInfo(type)
},
async getUserInfo(type) {
const result = await getUserInfo();
if (result && result.bizcode === 100) {
const data = result.data;
this.currentUserData = result.data || {};
let url = `https://www.aigcyun.cn/uniChat/#/?skillGroupId=${type}&enterpriseId=1435&extraData=`;
let addHyExtraData = {
customerId:data.id,
customerName:data.nickname,
};
this.h5Url = url + encodeURIComponent(JSON.stringify(addHyExtraData))
}
}, },
} }
+2 -2
View File
@@ -1,9 +1,9 @@
// export const BASE_URL="https://frontend.jdns360.com/api"; // 正式环境 // export const BASE_URL="https://frontend.jdns360.com/api"; // 正式环境
// export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境 // export const BASE_URL="http://cl55un59859.vicp.fun:24346"; // 测试环境
export const BASE_URL = "https://api.tbmall.xin"; //生产 // export const BASE_URL = "https://api.tbmall.xin"; //生产
// export const BASE_URL ='http://api.hm.a-d.work:6880/api' // 测试 // export const BASE_URL ='http://api.hm.a-d.work:6880/api' // 测试
// export const BASE_URL ='http://api.outer.tbmall.xin:6880' // 测试 export const BASE_URL ='http://api.outer.tbmall.xin:6880' // 测试