riku
2022-09-14 2206df0da6499846c78a358cf95ca33c218a5c5d
pages/m_consult/consultproblem/consultproblem.wxml
@@ -3,36 +3,18 @@
<view class="page">
  <view class="page__hd">
  <view class="flex-h">
    <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 class="more">共{{totalCount}}个问题</view>
  </view>
  <view class="page__bd">
    <c-result-item results="{{questions}}" loading="{{loading}}" needLoadMore="{{needLoadMore}}"></c-result-item>
  </view>
  <view class="page__ft"></view>
  <mp-sidebar show="{{showMenu}}" menus="{{menus}}" items="{{items}}" bindsubmit="chooseMenu"></mp-sidebar>
</view>