riku
2022-09-06 bf580d5477d65f5eefb70a8fb9a6b37eaf0ae9bb
pages/module_consult/consulthome/consulthome.wxml
@@ -60,7 +60,7 @@
            </view>
          </block>
          <block wx:else="{{i1 == 2}}">
          <block wx:elif="{{i1 == 2}}">
            <view wx:for="{{page}}" wx:key="i2" wx:for-index="i2" data-index="{{i1}},{{i2}}" bindtap="gotoItem">
              <view class="fyui-box  fyui-box__text">
                <view class="fyui-box__hd">
@@ -82,6 +82,76 @@
              </view>
            </view>
          </block>
          <block wx:elif="{{i1 == 3}}">
            <view wx:for="{{page}}" wx:key="i2" wx:for-index="i2" data-index="{{i1}},{{i2}}" bindtap="gotoQA">
              <view class="fyui-box  fyui-box__text">
                <view class="fyui-box__hd">
                  <text class="fyui-box__content des subtitle">{{item.cqContent}}</text>
                </view>
                <view class="fyui-box__bd answer">
                  <!-- <view class="fyui-box__content tag">相关行业 -> {{item.fileIndustry}}</view> -->
                  <view class="tag2">答:</view>
                  <rich-text class="tag2 des" nodes="{{item.answer}}"></rich-text>
                </view>
                <view class="fyui-box__ft">
                  <text class="tag3">提问时间:{{item.cqCreateTime}}</text>
                  <text class="tag3">回复时间:{{item.cqCreateTime}}</text>
                  <!-- <text class="keyword">关键词:</text>
                <view class="keyword-item"><text wx:for="{{item.keywords}}" wx:for-index="i" wx:for-item="word" wx:key="i">{{word}}</text></view> -->
                </view>
              </view>
            </view>
          </block>
          <block wx:elif="{{i1 == 4}}">
            <view wx:for="{{page}}" wx:key="i2" wx:for-index="i2" data-index="{{i1}},{{i2}}" bindtap="gotoCase">
              <view class="fyui-box fyui-box__text">
                <view class="fyui-box__hd">
                  <text class="fyui-box__content des subtitle">{{item.ecTitle}}</text>
                </view>
                <view class="fyui-box__bd">
                  <view class="case-bd">
                    <rich-text class="tag2 des" nodes="{{item.ecSummary}}"></rich-text>
                    <image wx:if="{{item.ecAppendixUrl.length > 0}}" src="{{item.ecAppendixUrl[0]}}" mode="aspectFill"></image>
                  </view>
                </view>
                <view class="fyui-box__ft">
                  <text class="tag3">案发地址:{{item.ecProvinceName + item.ecCityName}}</text>
                  <text class="tag3">案发时间:{{item.ecOccurDate}}</text>
                </view>
                <view class="fyui-box__ft_2">
                  <view style="white-space: nowrap;">涉及:</view>
                  <view class="case-tag-group">
                    <view class="case-tag" wx:if="{{item.ecIsPunish}}">
                      <image src="/res/icons/cq_punish.png"></image>
                      <text>行政处罚</text>
                    </view>
                    <view class="case-tag" wx:if="{{item.ecIsDetained}}">
                      <image src="/res/icons/cq_detained.png"></image>
                      <text>行政拘留</text>
                    </view>
                    <view class="case-tag" wx:if="{{item.ecIsIllegal}}">
                      <image src="/res/icons/cq_illegal.png"></image>
                      <text>刑事责任</text>
                    </view>
                    <view class="case-tag" wx:if="{{item.ecIsShotspot}}">
                      <image src="/res/icons/cq_shotspot.png"></image>
                      <text>环保热点</text>
                    </view>
                    <view class="case-tag" wx:if="{{item.ecIsSupervise}}">
                      <image src="/res/icons/cq_supervise.png"></image>
                      <text>督察要点</text>
                    </view>
                    <view class="case-tag" wx:if="{{item.ecIsMinor}}">
                      <image src="/res/icons/cq_minor.png"></image>
                      <text>轻微违法</text>
                    </view>
                  </view>
                </view>
              </view>
            </view>
          </block>
        </block>
        <view wx:else class="page__ft">