Commit 1c4c58ac by 杨明

url

1 parent 9ae07511
......@@ -40,10 +40,10 @@ export default {
this.list = res
},
jump(data) {
let url = data.agentUrl
if(!url) return
let {agentUrl,domainName} = data
if(!agentUrl) return
uni.navigateTo({
url: `/pages/common/aiWebview?url=${url}`
url: `/pages/common/aiWebview?url=${agentUrl}&domain=${domainName}`
})
}
}
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-28 18:19:19
* @LastEditors: yangming@didihu.com.cn yangming@didihu.com.cn
* @LastEditTime: 2025-04-27 15:28:57
* @LastEditTime: 2025-04-29 15:52:21
* @FilePath: \gl-tape\pages\common\webview.vue
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->
......@@ -37,7 +37,8 @@ export default {
2:'比亚迪',
3:'其他'
}[channelType]
this.url = `${options.url}?business_type=${ bussinessType}&brand=${brand}&one_id=${uuid}&platformType=1`
// this.url = `${options.url}?business_type=${ bussinessType}&brand=${brand}&one_id=${uuid}&platformType=1&domain=${options.domain}`
this.url='http://assistant.test.glsx.com.cn/chat/jHpvpOmuMWPxYxKo?business_type=12&brand=%E9%97%AE%E7%95%8C&one_id=266&platformType=2&no_header=1&domain=http://aiassistant.test.glsx.com.cn'
setTimeout(() => {
const currentWebview = this.$scope.$getAppWebview()
const wv = currentWebview.children()[0]
......@@ -62,6 +63,7 @@ export default {
background: url('https://img02.glsx.com.cn/weapp/resource/saas/ai/ai-app-bg.jpg');
padding-top: 30px;
z-index: 9999;
background-size: 100% 100%;
position: fixed;
height: 10%;
width: 100%;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!