<import src="/template/nodata.wxml"></import>
|
|
<view>
|
<block wx:if="{{results.length > 0}}">
|
<view wx:for="{{results}}" wx:key="index" data-index="{{index}}" data-type="{{item.typeId}}" bindtap="gotoDetail">
|
<block wx:if="{{item.typeId == 1}}">
|
<view class="fyui-box fyui-box__text">
|
<view class="fyui-box__hd">
|
{{item.name}}
|
</view>
|
<view class="fyui-box__bd">
|
<view class="fyui-box__content tag">
|
<view>文件类别:{{item.fileType}}</view>
|
<view>生效时间:{{item.effectiveDate}}</view>
|
<view wx:if="{{item.referenceNumber}}">文号:{{item.referenceNumber}}</view>
|
<view>相关行业 -> {{item.fileIndustry}}</view>
|
</view>
|
<view class="fyui-box__content des">{{item.des}}</view>
|
</view>
|
<view class="fyui-box__ft">
|
<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>
|
</block>
|
|
<block wx:elif="{{item.typeId == 2}}">
|
<view class="fyui-box fyui-box__text">
|
<view class="fyui-box__hd">
|
<rich-text nodes="{{item.des}}" class="fyui-box__content des subtitle"></rich-text>
|
</view>
|
<view class="fyui-box__bd">
|
<!-- <view class="fyui-box__content tag">相关行业 -> {{item.fileIndustry}}</view> -->
|
<text class="tag2">所属章节:{{item.chapterName}} {{item.name ? ' ' + item.name : ''}}</text>
|
<text class="tag2">所属文件:《{{item.fileName}}》</text>
|
<text class="tag2" wx:if="{{item.referenceNumber}}">所属文号:{{item.referenceNumber}}</text>
|
</view>
|
<view class="fyui-box__ft_2">
|
<text class="tag3 {{item.effective? '' : 'tag3_disable'}}">{{item.effective ? '生效中':'已失效' }}</text>
|
<text class="tag3 {{item.relatedItems? '' : 'tag3_disable'}}">{{item.relatedItems ? '关联条目' + item.relatedItems + '个 >':'无关联条目' }}</text>
|
<text class="tag3 {{item.relatedCases? '' : 'tag3_disable'}}">{{item.relatedCases ? '关联案例' + item.relatedCases + '个 >':'无关联案例' }}</text>
|
</view>
|
</view>
|
</block>
|
|
<block wx:elif="{{item.typeId == 3}}">
|
<view class="fyui-box fyui-box__text">
|
<view class="fyui-box__hd">
|
<text class="fyui-box__content des subtitle">{{item.name}}</text>
|
</view>
|
<view class="fyui-box__bd">
|
<view class="case-bd">
|
<rich-text class="tag2 des" nodes="{{item.des}}"></rich-text>
|
<image wx:if="{{item.imgUrl}}" src="{{item.imgUrl}}" mode="aspectFill"></image>
|
</view>
|
</view>
|
<view class="fyui-box__ft">
|
<text>案发地址:{{item.provinceName + item.cityName}}</text>
|
<text>案发时间:{{item.occurDate}}</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.punish}}">
|
<image src="/res/icons/cq_punish.png"></image>
|
<text>行政处罚</text>
|
</view>
|
<view class="case-tag" wx:if="{{item.detained}}">
|
<image src="/res/icons/cq_detained.png"></image>
|
<text>行政拘留</text>
|
</view>
|
<view class="case-tag" wx:if="{{item.illegal}}">
|
<image src="/res/icons/cq_illegal.png"></image>
|
<text>刑事责任</text>
|
</view>
|
<view class="case-tag" wx:if="{{item.shotSpot}}">
|
<image src="/res/icons/cq_shotspot.png"></image>
|
<text>环保热点</text>
|
</view>
|
<view class="case-tag" wx:if="{{item.supervise}}">
|
<image src="/res/icons/cq_supervise.png"></image>
|
<text>督察要点</text>
|
</view>
|
<view class="case-tag" wx:if="{{item.minor}}">
|
<image src="/res/icons/cq_minor.png"></image>
|
<text>轻微违法</text>
|
</view>
|
</view>
|
</view>
|
</view>
|
</block>
|
|
<block wx:elif="{{item.typeId == 4}}">
|
<view class="fyui-box fyui-box__text">
|
<view class="fyui-box__hd">
|
<text class="fyui-box__content des subtitle">{{item.name}}</text>
|
</view>
|
<view class="fyui-box__bd answer">
|
<view class="tag2">答:</view>
|
<rich-text class="tag2 des" nodes="{{item.des}}"></rich-text>
|
</view>
|
<view class="fyui-box__ft">
|
<text>提问时间:{{item.time}}</text>
|
<text>回复时间:{{item.time}}</text>
|
</view>
|
</view>
|
</block>
|
</view>
|
</block>
|
<mp-loadingstatus scrollable="{{scrollable}}" loading="{{loading}}" needLoadMore="{{needLoadMore}}" nodata="{{results.length == 0}}" bindgotoMore="gotoMore"></mp-loadingstatus>
|
</view>
|