first commit
This commit is contained in:
21
pages/policy/policy.wxml
Normal file
21
pages/policy/policy.wxml
Normal file
@@ -0,0 +1,21 @@
|
||||
<view class="policy-page">
|
||||
<!-- 搜索框 -->
|
||||
<view class="search-bar">
|
||||
<input type="text" placeholder="请输入关键字搜索" confirm-type="search" />
|
||||
</view>
|
||||
|
||||
<!-- 政策列表 -->
|
||||
<view class="policy-list">
|
||||
<!-- 循环遍历政策数据 -->
|
||||
<block wx:for="{{policies}}" wx:key="unique">
|
||||
<!-- 每项政策使用圆角矩形卡片展示 -->
|
||||
<view class="policy-card">
|
||||
<view class="policy-item">
|
||||
<view class="title">{{item.title}}
|
||||
</view>
|
||||
<view class="date">发布时间:{{item.date}}</view>
|
||||
</view>
|
||||
</view>
|
||||
</block>
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user