<!--pages/module_consult/consultdetailqa/consultdetailqa.wxml-->
|
<view class="page">
|
<view class="page__hd">
|
<view class="fyui-box fyui-box__text">
|
<view class="fyui-box__hd">
|
<view>{{question.cqContent}}</view>
|
</view>
|
<view class="fyui-box__bd">
|
<view class="q-tag" bindtap="openDialog">
|
<block wx:for="{{questionTag}}" wx:key="index">
|
<image src="{{item.icon}}"></image>
|
</block>
|
<!-- <image wx:if="{{question.cqIsPunish}}" src="/res/icons/cq_punish.png"></image>
|
<image wx:if="{{question.cqIsIllegal}}" src="/res/icons/cq_illegal.png"></image>
|
<image wx:if="{{question.cqIsSupervise}}" src="/res/icons/cq_supervise.png"></image>
|
<image wx:if="{{question.cqIsShotspot}}" src="/res/icons/cq_shotspot.png"></image> -->
|
</view>
|
</view>
|
<view class="fyui-box__ft" style="flex-direction: column;">
|
<view>共{{answers.length}}条回答</view>
|
<view class="q-link-group">
|
<view wx:if="{{question.cqIsAssociated}}" class="q-link">
|
<image src="/res/icons/link_1.png"></image>
|
相关条目
|
</view>
|
</view>
|
</view>
|
</view>
|
</view>
|
<view class="page__bd">
|
<block wx:for="{{answers}}" wx:for-index="index" wx:key="index">
|
<view class="fyui-box fyui-box__text">
|
<view class="fyui-box__hd">
|
<image class="user-avator" src="/res/icons/con_qa.png"></image>
|
<view>
|
<view class="user-name">环保智能助手</view>
|
<view class="user-tag">环保智能助手</view>
|
</view>
|
</view>
|
<view class="fyui-box__bd">
|
<!-- <view class="fyui-box__content tag">相关行业 -> {{item.fileIndustry}}</view> -->
|
<rich-text nodes="{{item.saContent}}" class=""></rich-text>
|
</view>
|
<view class="a-tag-group">
|
<view class="a-tag">
|
<image class="image-16" src="/res/icons/favourite.png"></image>156
|
</view>
|
<view class="a-tag">
|
<image class="image-16" src="/res/icons/like.png"></image>156
|
</view>
|
</view>
|
</view>
|
<view wx:if="{{index < answers.length - 1}}" class="next-answer"></view>
|
<view wx:else class="next-answer">——到底了——</view>
|
</block>
|
</view>
|
<view class="page__ft">
|
<mp-loading duration="{{900}}" type="dot-gray" show="{{showloading}}" animated="{{true}}"></mp-loading>
|
</view>
|
|
<mp-actionSheet bindactiontap="btnClick" show="{{showDialog}}" actions="{{groups}}" showCancel="{{false}}">
|
<view slot="{{'actionSlot' + '1'}}" class="custom-action">
|
<image class="custom-action__bg" src="/res/icons/bg_star.png"></image>
|
<block wx:for="{{questionTag}}" wx:key="index">
|
<view class="custom-action__tag" style="{{questionTag.length == 1 ? 'flex: 1;' : ''}}">
|
<image src="{{item.icon}}"></image>
|
<view>{{item.name}}</view>
|
</view>
|
</block>
|
</view>
|
</mp-actionSheet>
|
</view>
|