|
|
|
|
@ -1,37 +1,20 @@ |
|
|
|
|
<template> |
|
|
|
|
<div class="text-template-box aaa" v-if="introduce"> |
|
|
|
|
<div class="text-template-box" v-if="introduce"> |
|
|
|
|
<div |
|
|
|
|
class="text-folding-box" |
|
|
|
|
:class="showTotal ? 'total-introduce' : 'detailed-introduce'" |
|
|
|
|
ref="textFolding" |
|
|
|
|
> |
|
|
|
|
<div class="question-answer-con" v-if="introduce" ref="desc"> |
|
|
|
|
<policy-list |
|
|
|
|
:data="itemlist" |
|
|
|
|
:tips1="tips1" |
|
|
|
|
:tips2="tips2" |
|
|
|
|
@descHeightChange="descHeightChange" |
|
|
|
|
/> |
|
|
|
|
<policy-list :data="itemlist" :tips1="tips1" :tips2="tips2" @descHeightChange="descHeightChange" /> |
|
|
|
|
<xuqi-policy-list :data="itemlist" @descHeightChange="descHeightChange" /> |
|
|
|
|
<p |
|
|
|
|
:class="{ connectionArtificial: disabled }" |
|
|
|
|
v-html="replacementRagEmoticon(introduce)" |
|
|
|
|
:data-qaid="itemlist && itemlist.qaId ? itemlist.qaId : ''" |
|
|
|
|
></p> |
|
|
|
|
<p :class="{ connectionArtificial: disabled }" v-html="replacementRagEmoticon(introduce)" |
|
|
|
|
:data-qaid="itemlist && itemlist.qaId ? itemlist.qaId : ''"></p> |
|
|
|
|
</div> |
|
|
|
|
<div |
|
|
|
|
v-if="intents && intents.length > 0" |
|
|
|
|
:class=" |
|
|
|
|
reqAndResType === '05' ? 'content-question-answer--grid' : 'content-question-answer' |
|
|
|
|
" |
|
|
|
|
> |
|
|
|
|
<button |
|
|
|
|
:class="hasClicked ? 'answer-items setGrey' : 'answer-items'" |
|
|
|
|
v-for="(items, index) in intents" |
|
|
|
|
:key="index" |
|
|
|
|
:disabled="disabled" |
|
|
|
|
@click.stop="richCallAnswer(items)" |
|
|
|
|
> |
|
|
|
|
<div v-if="intents && intents.length > 0" :class="reqAndResType === '05' ? 'content-question-answer--grid' : 'content-question-answer' |
|
|
|
|
"> |
|
|
|
|
<button :class="hasClicked ? 'answer-items setGrey' : 'answer-items'" v-for="(items, index) in intents" |
|
|
|
|
:key="index" :disabled="disabled" @click.stop="richCallAnswer(items)"> |
|
|
|
|
{{ items.intent }} |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|
@ -46,15 +29,9 @@ |
|
|
|
|
</div> --> |
|
|
|
|
<!-- 本次注释进入人工服务 --> |
|
|
|
|
</div> |
|
|
|
|
<div |
|
|
|
|
class="unfold-box" |
|
|
|
|
:class="exchangeButton ? 'unfold-bg' : 'unfold-style'" |
|
|
|
|
v-if="showExchangeButton" |
|
|
|
|
> |
|
|
|
|
<a href="javascript:;" @click="showTotalIntro" |
|
|
|
|
>{{ exchangeButton ? '展开' : '收起' |
|
|
|
|
}}<em class="look-more-icon" :class="!exchangeButton ? 'active' : ''"></em |
|
|
|
|
></a> |
|
|
|
|
<div class="unfold-box" :class="exchangeButton ? 'unfold-bg' : 'unfold-style'" v-if="showExchangeButton"> |
|
|
|
|
<a href="javascript:;" @click="showTotalIntro">{{ exchangeButton ? '展开' : '收起' |
|
|
|
|
}}<em class="look-more-icon" :class="!exchangeButton ? 'active' : ''"></em></a> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</template> |
|
|
|
|
@ -114,10 +91,11 @@ function autoLaunchWeapp() { |
|
|
|
|
const key = `weapp_auto_jump_${props.itemlist?.timestamp || ''}` |
|
|
|
|
if (sessionStorage.getItem(key)) return |
|
|
|
|
sessionStorage.setItem(key, '1') |
|
|
|
|
console.log(m[1], 11111) |
|
|
|
|
setTimeout(() => { |
|
|
|
|
console.log(21212,m); |
|
|
|
|
wx.miniProgram.navigateTo({ url: m[1] }) |
|
|
|
|
}, 300) |
|
|
|
|
}, 500) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
|
@ -133,13 +111,16 @@ onMounted(() => { |
|
|
|
|
function initGlobalCallbacks() { |
|
|
|
|
try { |
|
|
|
|
window.getLink = (item) => { |
|
|
|
|
console.log(item, 1) |
|
|
|
|
utils.AppToHttpHtml(item) |
|
|
|
|
} |
|
|
|
|
window.jumpOpenLink = (item) => { |
|
|
|
|
console.log(item, 2) |
|
|
|
|
utils.AppToHttpHtml(item) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
console.log(1) |
|
|
|
|
window.jumpOpenWeb = (type, url, urlType) => { |
|
|
|
|
console.log(type, url, urlType, 1111) |
|
|
|
|
let params = {} |
|
|
|
|
if (type === 'YY_0000') { |
|
|
|
|
params = { |
|
|
|
|
|