From edd35a251b58b1fad17015deda92324f74458434 Mon Sep 17 00:00:00 2001
From: unknown <unknown@example.com>
Date: 星期三, 17 八月 2022 00:05:30 +0800
Subject: [PATCH] 台账模块、智能咨询模块
---
pages/notice/notice.wxml | 32 +++++++++++++++++++++++++++++---
1 files changed, 29 insertions(+), 3 deletions(-)
diff --git a/pages/notice/notice.wxml b/pages/notice/notice.wxml
index 6f4d14f..ec340f0 100644
--- a/pages/notice/notice.wxml
+++ b/pages/notice/notice.wxml
@@ -1,4 +1,6 @@
<!--pages/notice/notice.wxml-->
+<import src="/template/nodata/nodata.wxml"></import>
+
<view class="page">
<view class="swiper-tab">
<scroll-view scroll-left="{{navScrollLeft}}" scroll-x="true" show-scrollbar="false" scroll-with-animation="true">
@@ -12,11 +14,35 @@
<block wx:for="{{pageList}}" wx:for-item="page" wx:key="n">
<swiper-item>
<view class="page{{index}}">
- <image src="{{page.url}}" mode="aspectFit" style="width: 100%;"></image>
- <image src="{{page.url}}" mode="aspectFit" style="width: 100%;"></image>
- <image src="{{page.url}}" mode="aspectFit" style="width: 100%;"></image>
+ <block wx:if="{{page.length > 0}}">
+ <view wx:for="{{page}}" wx:for-item="notice" wx:key="index">
+ <view class="fyui-box fyui-box__text">
+ <view class="fyui-box__hd">
+ <image src="/res/icons/notice.png" class=""></image>
+ <view class="title">
+ <view>宸ヤ綔閫氱煡</view>
+ <text>{{notice.updateTime}}</text>
+ </view>
+ </view>
+ <view class="fyui-box__bd">
+ <!-- <view class="fyui-box__content tag">鐩稿叧琛屼笟 -> {{item.fileIndustry}}</view> -->
+ <view class="fyui-box__content des">{{notice.content}}</view>
+ </view>
+ <view class="fyui-box__ft">
+ <text class="detail">鏌ョ湅璇︽儏 ></text>
+ <button wx:if="{{notice.needSigned}}" class="sign" size="mini" type="{{notice.hasSigned ? 'default' : 'primary'}}" plain="{{notice.hasSigned}}" loading="">
+ {{notice.hasSigned ? '宸茬鏀�' : '绛炬敹'}}
+ </button>
+ </view>
+ </view>
+ </view>
+ <view class="page__ft"></view>
+ </block>
+ <template is="nodataPage" wx:else></template>
</view>
</swiper-item>
</block>
</swiper>
+
+
</view>
\ No newline at end of file
--
Gitblit v1.9.3