|
|
@@ -37,23 +37,32 @@
|
|
|
"
|
|
|
v-for="(itemChild, itemIndex) in item.aiResponseMobiles"
|
|
|
:key="itemIndex">
|
|
|
- <p style="word-break: break-all">{{ itemChild.voiceText }}</p>
|
|
|
- <p style="word-break: break-all">{{ itemChild.description }}</p>
|
|
|
- <p v-for="(sbpm, pmsb) in itemChild.textList" :key="pmsb" v-html="sbpm"></p>
|
|
|
- <div v-if="(itemChild.type = 'answer_radio')">
|
|
|
- <div
|
|
|
- v-for="(sbpm, pmsb) in itemChild.optionsList"
|
|
|
- :key="pmsb"
|
|
|
- style="margin-top: 10px">
|
|
|
- <p
|
|
|
- style="text-decoration: underline; color: #1c84c6; word-break: break-all"
|
|
|
- @click="choiceSelct(sbpm, itemChild)">
|
|
|
- <img
|
|
|
- src="./../../assets/Icon/clcik.png"
|
|
|
- style="width: 20px; float: left" /><span v-html="sbpm.radioName"></span>
|
|
|
- </p>
|
|
|
- </div>
|
|
|
- </div>
|
|
|
+ <template v-if="itemChild.type == 'AI_WIRING_SCENE'">
|
|
|
+ <p
|
|
|
+ style="text-decoration: underline; color: #1c84c6; word-break: break-all"
|
|
|
+ @click="choiceSelct(itemChild)">
|
|
|
+ <img src="./../../assets/Icon/clcik.png" style="width: 20px; float: left" />
|
|
|
+ <span>跳转高销额列表</span>
|
|
|
+ </p>
|
|
|
+ </template>
|
|
|
+ <template v-else>
|
|
|
+ <p style="word-break: break-all">{{ itemChild.voiceText }}</p>
|
|
|
+ <p style="word-break: break-all">{{ itemChild.description }}</p>
|
|
|
+ <p v-for="(sbpm, pmsb) in itemChild.textList" :key="pmsb" v-html="sbpm"></p>
|
|
|
+ <div v-if="(itemChild.type = 'answer_radio')">
|
|
|
+ <div
|
|
|
+ v-for="(sbpm, pmsb) in itemChild.optionsList"
|
|
|
+ :key="pmsb"
|
|
|
+ style="margin-top: 10px">
|
|
|
+ <p
|
|
|
+ style="text-decoration: underline; color: #1c84c6; word-break: break-all"
|
|
|
+ @click="choiceSelct(sbpm, itemChild)">
|
|
|
+ <img
|
|
|
+ src="./../../assets/Icon/clcik.png"
|
|
|
+ style="width: 20px; float: left" /><span v-html="sbpm.radioName"></span>
|
|
|
+ </p>
|
|
|
+ </div></div
|
|
|
+ ></template>
|
|
|
</div>
|
|
|
</van-col>
|
|
|
<van-col span="4"></van-col>
|
|
|
@@ -473,11 +482,14 @@ export default {
|
|
|
this.aiDialogueGgreet();
|
|
|
},
|
|
|
choiceSelct(val, val2) {
|
|
|
- if (val.type == '高销额') {
|
|
|
+ if (val.type == 'AI_WIRING_SCENE') {
|
|
|
+ localStorage.setItem(val.type, val.content);
|
|
|
// 跳转高销额列表
|
|
|
this.$router.push({
|
|
|
path: '/topStore',
|
|
|
- query: {},
|
|
|
+ query: {
|
|
|
+ AItype: val.type,
|
|
|
+ },
|
|
|
});
|
|
|
} else {
|
|
|
let loading1 = this.$toast.loading({
|