|
|
|
@ -30,7 +30,8 @@ |
|
|
|
|
stepCircle: index > active, |
|
|
|
|
}">{{ index + 1 }} |
|
|
|
|
</view> |
|
|
|
|
<view class="stepText" :style="{ color: index <= active ? '#000000' : '#bcc3cd' }">{{ item.title||'' }} |
|
|
|
|
<view class="stepText" :style="{ color: index <= active ? '#000000' : '#bcc3cd' }"> |
|
|
|
|
{{ item.title||'' }} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view v-if="index !== 3" class="circles"> |
|
|
|
@ -63,7 +64,8 @@ |
|
|
|
|
<!-- <ua-markdown :source="mdvalue" /> --> |
|
|
|
|
<view class="btnBox"> |
|
|
|
|
<view class="btn" @click="handleBtn(text)" v-for="(text, index) in item.options" :key="index"> |
|
|
|
|
{{ text||'' }}</view> |
|
|
|
|
{{ text||'' }} |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view v-if="item.answerOptions && item.answerOptions.length > 0 && item.optionType == 1" |
|
|
|
|
style="display: flex; flex-wrap: wrap;" :class="item.answerOptions.length > 1 ? '' : 'btnBox'"> |
|
|
|
@ -104,8 +106,8 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="btnBox" |
|
|
|
|
v-if="item.answerOptions && item.answerOptions.length > 0 && item.optionType == 1"> |
|
|
|
|
<view class="btn" @click="handleGroup(item)">确认</view> |
|
|
|
|
<view class="btn" @click="handleGroup2(i)">清空</view> |
|
|
|
|
<view class="btn" @click="handleGroup(item)">确认</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- v-if="isShowYindao && item.isOver" --> |
|
|
|
|
<view class="yindao" @click="clickYinDao(item.reference)"> |
|
|
|
@ -511,6 +513,14 @@ |
|
|
|
|
if (JSON.stringify(data.reference) != '{}') { |
|
|
|
|
if (data.reference.content != null && data.reference.title != null) { |
|
|
|
|
this.isShowYindao = true |
|
|
|
|
this.$nextTick(() => { |
|
|
|
|
if (item.isOver) { |
|
|
|
|
this.msgList.forEach(item => { |
|
|
|
|
item.data = item.data + |
|
|
|
|
`<img src=${yindaoPng} width=20px height=20px class=yindao/>` |
|
|
|
|
}) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|
} else { |
|
|
|
|
this.isShowYindao = false |
|
|
|
|
} |
|
|
|
@ -614,8 +624,10 @@ |
|
|
|
|
this.scrollBottom(); |
|
|
|
|
|
|
|
|
|
if (newdata == data) { |
|
|
|
|
this.msgList[this.msgList.length - 1].data += `<image src="../../static/nav/yindao.png" style="height: 40rpx; width: 40rpx;"></image>` |
|
|
|
|
console.log('this.msgList[this.msgList.length - 1].data', this.msgList[this.msgList.length - 1].data) |
|
|
|
|
this.msgList[this.msgList.length - 1].data += |
|
|
|
|
`<image src="../../static/nav/yindao.png" style="height: 40rpx; width: 40rpx;"></image>` |
|
|
|
|
console.log('this.msgList[this.msgList.length - 1].data', this.msgList[this.msgList |
|
|
|
|
.length - 1].data) |
|
|
|
|
if (optionType == 0 || optionType == 1) { |
|
|
|
|
this.msgList[this.msgList.length - 1].optionType = optionType; |
|
|
|
|
this.msgList[this.msgList.length - 1].answerOptions = |
|
|
|
@ -986,6 +998,7 @@ |
|
|
|
|
transform: scale(1); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.yindao { |
|
|
|
|
padding: 15rpx; |
|
|
|
|
margin: 0 5px; |
|
|
|
@ -994,6 +1007,7 @@ |
|
|
|
|
word-spacing: 0.1em; |
|
|
|
|
color: rgba(0, 102, 255, 1) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.custom-pop-head { |
|
|
|
|
width: 100%; |
|
|
|
|
padding: 20rpx 0; |
|
|
|
@ -1002,16 +1016,19 @@ |
|
|
|
|
justify-content: space-between; |
|
|
|
|
border-bottom: 1px solid #E6E6E6; |
|
|
|
|
margin-bottom: 20rpx; |
|
|
|
|
|
|
|
|
|
.left { |
|
|
|
|
color: #666666; |
|
|
|
|
font-size: 16px; |
|
|
|
|
margin-right: 20rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
font-size: 18px; |
|
|
|
|
margin-left: 20rpx; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.custom-pop-content { |
|
|
|
|
margin: 20rpx; |
|
|
|
|
font-size: 16px; |
|
|
|
|