unknown
2022-08-16 edd35a251b58b1fad17015deda92324f74458434
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!--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">
      <block wx:for="{{tabList}}" wx:key="i">
        <view class="swiper-tab-list {{currentTab==index ? 'on' : ''}}" data-current="{{index}}" bindtap="swichNav">{{item.name}}</view>
      </block>
    </scroll-view>
  </view>
 
  <swiper current="{{currentTab}}" class="swiper-box" duration="300" bindchange="bindChange" style="height: {{pageheight}};">
    <block wx:for="{{pageList}}" wx:for-item="page" wx:key="n">
      <swiper-item>
        <view class="page{{index}}">
          <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>