no message
This commit is contained in:
@@ -293,7 +293,7 @@ export default {
|
||||
methods: {
|
||||
onZiXun(){
|
||||
uni.navigateTo({
|
||||
url:'/pages/rwa_package/setting/kefu'
|
||||
url:'/pages/rwa_package/setting/kefu?type=5260'
|
||||
})
|
||||
},
|
||||
getValue,
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="content">
|
||||
<TopSafe></TopSafe>
|
||||
<view class="setting-view">
|
||||
<view class="setting-view" v-if="h5Url">
|
||||
<iframe :src="h5Url" frameborder="no" border="0" class="web-view">
|
||||
|
||||
</iframe>
|
||||
@@ -25,19 +25,34 @@ 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'
|
||||
h5Url:'',
|
||||
|
||||
};
|
||||
},
|
||||
onShow() {
|
||||
this.init();
|
||||
},
|
||||
onLoad() {
|
||||
// this.userinfo();
|
||||
onLoad(option) {
|
||||
if(option.type ){
|
||||
this.init(option.type);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
init() {
|
||||
// this.userinfo()
|
||||
init(type) {
|
||||
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
@@ -1,9 +1,9 @@
|
||||
// export const BASE_URL="https://frontend.jdns360.com/api"; // 正式环境
|
||||
// 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.outer.tbmall.xin:6880' // 测试
|
||||
export const BASE_URL ='http://api.outer.tbmall.xin:6880' // 测试
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user