|
|
@ -1,4 +1,3 @@ |
|
|
<!-- policy-interpretation.wxml --> |
|
|
|
|
|
<view class="container"> |
|
|
<view class="container"> |
|
|
<!-- 头部区域 --> |
|
|
<!-- 头部区域 --> |
|
|
<view class="header"> |
|
|
<view class="header"> |
|
|
@ -70,18 +69,16 @@ |
|
|
<block wx:for="{{filteredPolicies}}" wx:key="id"> |
|
|
<block wx:for="{{filteredPolicies}}" wx:key="id"> |
|
|
<view class="policy-card" data-id="{{item.id}}" bindtap="onPolicyTap"> |
|
|
<view class="policy-card" data-id="{{item.id}}" bindtap="onPolicyTap"> |
|
|
<view class="policy-header"> |
|
|
<view class="policy-header"> |
|
|
<view class="policy-tag {{item.type}}">{{item.typeText}}</view> |
|
|
|
|
|
<view class="policy-date">{{item.date}}</view> |
|
|
|
|
|
|
|
|
<view class="policy-tag {{item.type}}">{{item.policyCategory}}</view> |
|
|
|
|
|
<view class="policy-date">{{item.releaseDate}}</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="policy-title">{{item.title}}</view> |
|
|
<view class="policy-title">{{item.title}}</view> |
|
|
|
|
|
|
|
|
<view class="policy-content"> |
|
|
|
|
|
<text class="policy-summary">{{item.summary}}</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="policy-footer"> |
|
|
<view class="policy-footer"> |
|
|
<view class="policy-source">{{item.source}}</view> |
|
|
|
|
|
|
|
|
<view class="policy-source">{{item.issuingAgency}}</view> |
|
|
<image class="policy-arrow" src="/pagesB/images/you.png" mode=""/> |
|
|
<image class="policy-arrow" src="/pagesB/images/you.png" mode=""/> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -100,89 +97,29 @@ |
|
|
<view class="policy-info-row"> |
|
|
<view class="policy-info-row"> |
|
|
<view class="info-item"> |
|
|
<view class="info-item"> |
|
|
<text class="info-label">政策类型:</text> |
|
|
<text class="info-label">政策类型:</text> |
|
|
<text class="info-value">{{currentPolicy.typeText}}</text> |
|
|
|
|
|
|
|
|
<text class="info-value">{{currentPolicy.policyCategory}}</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="info-item"> |
|
|
<view class="info-item"> |
|
|
<text class="info-label">发布日期:</text> |
|
|
<text class="info-label">发布日期:</text> |
|
|
<text class="info-value">{{currentPolicy.date}}</text> |
|
|
|
|
|
|
|
|
<text class="info-value">{{currentPolicy.releaseDate}}</text> |
|
|
</view> |
|
|
</view> |
|
|
<view class="info-item"> |
|
|
<view class="info-item"> |
|
|
<text class="info-label">发布单位:</text> |
|
|
<text class="info-label">发布单位:</text> |
|
|
<text class="info-value">{{currentPolicy.source}}</text> |
|
|
|
|
|
|
|
|
<text class="info-value">{{currentPolicy.issuingAgency}}</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<view class="section"> |
|
|
|
|
|
<view class="section-title">政策要点</view> |
|
|
|
|
|
<view class="section-content"> |
|
|
|
|
|
<block wx:for="{{currentPolicy.keyPoints}}" wx:key="index"> |
|
|
|
|
|
<view class="key-point">{{index + 1}}. {{item}}</view> |
|
|
|
|
|
</block> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="section"> |
|
|
<view class="section"> |
|
|
<view class="section-title">详细解读</view> |
|
|
<view class="section-title">详细解读</view> |
|
|
<view class="section-content"> |
|
|
<view class="section-content"> |
|
|
<text class="interpretation-text">{{currentPolicy.interpretation}}</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="section"> |
|
|
|
|
|
<view class="section-title">适用对象</view> |
|
|
|
|
|
<view class="section-content"> |
|
|
|
|
|
<view class="applicable-objects"> |
|
|
|
|
|
<block wx:for="{{currentPolicy.applicableObjects}}" wx:key="index"> |
|
|
|
|
|
<view class="object-tag">{{item}}</view> |
|
|
|
|
|
</block> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="section"> |
|
|
|
|
|
<view class="section-title">申报指南</view> |
|
|
|
|
|
<view class="section-content"> |
|
|
|
|
|
<block wx:for="{{currentPolicy.applicationGuide}}" wx:key="index"> |
|
|
|
|
|
<view class="guide-item"> |
|
|
|
|
|
<view class="guide-step">{{index + 1}}</view> |
|
|
|
|
|
<view class="guide-text">{{item}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</block> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="section"> |
|
|
|
|
|
<view class="section-title">专家建议</view> |
|
|
|
|
|
<view class="section-content"> |
|
|
|
|
|
<view class="expert-advice"> |
|
|
|
|
|
<view class="advice-header"> |
|
|
|
|
|
<image class="expert-avatar" src="/images/expert.png"></image> |
|
|
|
|
|
<view class="expert-info"> |
|
|
|
|
|
<text class="expert-name">张农业</text> |
|
|
|
|
|
<text class="expert-title">农业政策研究员</text> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
<view class="advice-content">{{currentPolicy.expertAdvice}}</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="section"> |
|
|
|
|
|
<view class="section-title">相关链接</view> |
|
|
|
|
|
<view class="section-content"> |
|
|
|
|
|
<block wx:for="{{currentPolicy.relatedLinks}}" wx:key="index"> |
|
|
|
|
|
<view class="link-item" bindtap="onLinkTap" data-url="{{item.url}}"> |
|
|
|
|
|
<text class="link-text">{{item.name}}</text> |
|
|
|
|
|
<image class="link-icon" src="/images/link.png"></image> |
|
|
|
|
|
</view> |
|
|
|
|
|
</block> |
|
|
|
|
|
|
|
|
<rich-text class="interpretation-text" space="emsp" nodes="{{currentPolicy.issuingAgency}}"></rich-text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</scroll-view> |
|
|
</scroll-view> |
|
|
|
|
|
|
|
|
<view class="modal-footer"> |
|
|
<view class="modal-footer"> |
|
|
<button class="btn btn-secondary" bindtap="hidePolicyDetail">关闭</button> |
|
|
<button class="btn btn-secondary" bindtap="hidePolicyDetail">关闭</button> |
|
|
<button class="btn btn-primary" bindtap="onSavePolicy">收藏此政策</button> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
@ -190,6 +127,5 @@ |
|
|
<!-- 底部导航提示 --> |
|
|
<!-- 底部导航提示 --> |
|
|
<view class="bottom-tip"> |
|
|
<view class="bottom-tip"> |
|
|
<text class="tip-text">已加载 {{filteredPolicies.length}} 条政策解读</text> |
|
|
<text class="tip-text">已加载 {{filteredPolicies.length}} 条政策解读</text> |
|
|
<text class="tip-text">数据仅供参考,具体以官方发布为准</text> |
|
|
|
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |