| | |
| | | <!--pages/module_consult/consultresult/consultresult.wxml--> |
| | | <import src="/template/nodata.wxml"></import> |
| | | |
| | | <view class="page"> |
| | | <view class="page__hd"> |
| | | <view><text>{{keyword}}</text>的法律法规 ></view> |
| | | </view> |
| | | <view class="page__bd"> |
| | | <view class="fyui-panel"> |
| | | <view wx:for="{{result}}" wx:key="index" data-index="{{index}}" bindtap="gotoDetail"> |
| | | <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">相关行业 -> {{item.fileIndustry}}</view> |
| | | <view class="fyui-box__content">{{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> |
| | | <block wx:if="{{result.length > 0}}"> |
| | | <block wx:for="{{result}}" wx:key="i1" wx:for-item="catagory" wx:for-index="i1"> |
| | | <view class="page__hd"> |
| | | <view><text style="color: #57E4CB;">{{keyword}}</text>的{{catagory.typeName}} ></view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <view class="page__bd"> |
| | | <view class="fyui-panel"> |
| | | <block wx:if="{{catagory.typeId === 1}}"> |
| | | <view wx:for="{{catagory.contents}}" wx:key="i2" wx:for-index="i2" data-index="{{i1}},{{i2}}" bindtap="gotoDetail"> |
| | | <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">相关行业 -> {{item.fileIndustry}}</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> |
| | | </view> |
| | | |
| | | </block> |
| | | <block wx:else="{{catagory.typeId === 2}}"> |
| | | <view wx:for="{{catagory.contents}}" wx:key="i2" wx:for-index="i2" data-index="{{i1}},{{i2}}" bindtap="gotoDetail"> |
| | | <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"> |
| | | <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> |
| | | <!-- <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> |
| | | </view> |
| | | <view class="btn-more" data-typeid="{{catagory.typeId}}" bindtap="gotoMore">查看更多</view> |
| | | </view> |
| | | </block> |
| | | </block> |
| | | <template wx:else is="nodataPage"></template> |
| | | <view class="page__ft"></view> |
| | | </view> |
| | | </view> |