| @@ -87,6 +87,10 @@ | |||||
| "WechatSI": { | "WechatSI": { | ||||
| "version": "0.3.4", | "version": "0.3.4", | ||||
| "provider": "wx069ba97219f66d99" | "provider": "wx069ba97219f66d99" | ||||
| }, | |||||
| "digital-human-plugin": { | |||||
| "version": "3.0.0", | |||||
| "provider": "wxb827be471e4dce7b" | |||||
| } | } | ||||
| }, | }, | ||||
| "uniStatistics": { | "uniStatistics": { | ||||
| @@ -8,12 +8,12 @@ | |||||
| "style": { | "style": { | ||||
| "navigationBarBackgroundColor": "#008EF2", | "navigationBarBackgroundColor": "#008EF2", | ||||
| "navigationBarTextStyle": "white", | "navigationBarTextStyle": "white", | ||||
| "navigationStyle": "custom" | |||||
| // "mp-weixin": { | |||||
| // "usingComponents": { | |||||
| // "digital-human": "plugin://digital-human-plugin/core" | |||||
| // } | |||||
| // } | |||||
| "navigationStyle": "custom", | |||||
| "mp-weixin": { | |||||
| "usingComponents": { | |||||
| "digital-human": "plugin://digital-human-plugin/core" | |||||
| } | |||||
| } | |||||
| } | } | ||||
| }, | }, | ||||
| { | { | ||||
| @@ -1,7 +1,13 @@ | |||||
| <template> | <template> | ||||
| <view class="boox"> | <view class="boox"> | ||||
| <!-- <digital-human :width="400" rootStyle="position: fixed; left: 50%; top: 100rpx; transform: translateX(-50%);"></digital-human> --> | |||||
| <digital-human :width="0" | |||||
| rootStyle="position: fixed; left: 50%; top: 100rpx; transform: translateX(-50%);z-index: -1;"> | |||||
| </digital-human> | |||||
| <!-- | |||||
| <view class="topBox" | |||||
| style="position: fixed;left: 50%; bottom: 0; transform: translateX(-50%);z-index: 999999;width: 100vw;height: 40vh;background-color: #1890FF;"> | |||||
| </view> | |||||
| --> | |||||
| <view class="booximg"> | <view class="booximg"> | ||||
| <image v-if="domainObj.domain == 'zh.aihxz.com'" class="img" | <image v-if="domainObj.domain == 'zh.aihxz.com'" class="img" | ||||
| src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/wabIndexs.png" mode=""></image> | src="https://autoiot.oss-cn-beijing.aliyuncs.com/static/wabIndexs.png" mode=""></image> | ||||
| @@ -49,9 +55,9 @@ | |||||
| var app = getApp(); | var app = getApp(); | ||||
| var config = require("../../config"); | var config = require("../../config"); | ||||
| const domainObj = require('@/utils/domain.js'); | const domainObj = require('@/utils/domain.js'); | ||||
| // import human from './mathManIndex.js' | |||||
| import human from './mathManIndex.js' | |||||
| export default { | export default { | ||||
| // mixins: [human], | |||||
| mixins: [human], | |||||
| data() { | data() { | ||||
| return { | return { | ||||
| domainObj: domainObj, // 域名 | domainObj: domainObj, // 域名 | ||||
| @@ -21,6 +21,7 @@ module.exports = { | |||||
| "wordInfo": 2 | "wordInfo": 2 | ||||
| }, | }, | ||||
| "character": "furao-casual-v4", | "character": "furao-casual-v4", | ||||
| "autoStart": true, | |||||
| "characterConfig": { | "characterConfig": { | ||||
| "characters": { | "characters": { | ||||
| "furao-casual-v4": { | "furao-casual-v4": { | ||||
| @@ -88,6 +89,7 @@ module.exports = { | |||||
| "batch": 16, | "batch": 16, | ||||
| "minLoadFrameNum": 50 | "minLoadFrameNum": 50 | ||||
| }, | }, | ||||
| "chatConfig": { | "chatConfig": { | ||||
| "class": "CXHubChat", | "class": "CXHubChat", | ||||
| "url": "https://commercial-fab.xiaoice.com/api/hub/organizations/org-qufangwang/agents/64af7b926e1ba4813c4bd6d7/environments/draft/sessions", | "url": "https://commercial-fab.xiaoice.com/api/hub/organizations/org-qufangwang/agents/64af7b926e1ba4813c4bd6d7/environments/draft/sessions", | ||||
| @@ -97,6 +99,7 @@ module.exports = { | |||||
| }], | }], | ||||
| "csChatUrl": "https://commercial-fab.xiaoice.com/api/hub/organizations/org-qufangwang/characters//sessions" | "csChatUrl": "https://commercial-fab.xiaoice.com/api/hub/organizations/org-qufangwang/characters//sessions" | ||||
| }, | }, | ||||
| "logConfig": { | "logConfig": { | ||||
| "class": "AliTraceLogger", | "class": "AliTraceLogger", | ||||
| "metaData": { | "metaData": { | ||||
| @@ -106,6 +109,7 @@ module.exports = { | |||||
| "agentId": "64af7b926e1ba4813c4bd6d7" | "agentId": "64af7b926e1ba4813c4bd6d7" | ||||
| } | } | ||||
| }, | }, | ||||
| "talkConfig": { | "talkConfig": { | ||||
| "class": "CarouselTalk", | "class": "CarouselTalk", | ||||
| "url": "https://commercial-fab.xiaoice.com", | "url": "https://commercial-fab.xiaoice.com", | ||||
| @@ -146,7 +150,7 @@ module.exports = { | |||||
| gesture: "" | gesture: "" | ||||
| }, | }, | ||||
| { | { | ||||
| text: `我叫陈喆玲`, | |||||
| text: `我叫韩晓东`, | |||||
| gesture: "" | gesture: "" | ||||
| }, | }, | ||||
| ]; | ]; | ||||