riku
2022-09-06 bf580d5477d65f5eefb70a8fb9a6b37eaf0ae9bb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<!--pages/module_consult/consultproblem/consultproblem.wxml-->
<import src="/template/nodata.wxml"></import>
 
<view class="page">
  <view class="page__hd">
    <text style="color: #57E4CB;">{{selected[0].name}} > {{selected[1].name}}</text>
    <view class="filter" bindtap="openChooseType">
      <image src="/res/icons/filter.png" class="image-16"></image>
      筛选
    </view>
  </view>
  <view class="page__bd">
    <block wx:if="{{!loading}}">
      <block wx:if="{{questions.length > 0}}">
        <block wx:for="{{questions}}" wx:key="index">
          <view class="fyui-box  fyui-box__text" bindtap="gotoQA" data-index="{{index}}">
            <view class="fyui-box__hd">
              <text class="fyui-box__content des subtitle">{{item.cqContent}}</text>
            </view>
            <view class="fyui-box__bd answer">
              <view>答:</view>
              <rich-text class="des" nodes="{{item.answer}}"></rich-text>
            </view>
            <view class="fyui-box__ft">
              <text class="tag3">提问时间:{{item.cqCreateTime}}</text>
              <text class="tag3">回复时间:{{item.cqCreateTime}}</text>
            </view>
          </view>
          <view wx:if="{{index == questions.length - 1}}" class="next-answer">——到底了——</view>
        </block>
      </block>
      <template wx:else is="nodataPage"></template>
    </block>
    <mp-loading duration="{{900}}" type="dot-gray" show="{{loading}}" animated="{{true}}"></mp-loading>
  </view>
  
  <mp-sidebar show="{{showMenu}}" menus="{{menus}}" items="{{items}}" bindsubmit="chooseMenu"></mp-sidebar>
</view>