<view style="width: 1rpx;height: {{capsule.top-6+'px'}};" />
<view class="header" />
<!-- 自定义nav -->
<view style="position: fixed;top: 0; z-index: 999999999;">
    <view style="width: 100vw;height: {{capsule.top-6+'px'}};background-color:#085CDF;" />
    <view class="header">
        <navigator url="/pages/login/selectSite" open-type="reLaunch" class="header_title">
            {{user.sitename}}
            <van-icon name="arrow-down" />
        </navigator>
    </view>
</view>
<!-- 轮播区域 -->
<view class="banner">
    <view class="banner_oval" />
    <swiper class='banner_content' autoplay circular>
        <swiper-item wx:for="{{bannerList}}" wx:key="index">
            <image src="{{item.attinfos[0].url}}" mode="aspectFill" data-item="{{item}}" catchtap="bannerClick" />
        </swiper-item>
    </swiper>
</view>
<view style="height: 130rpx;" />
<!-- 滚动通知 -->
<view class="scroll-area" data-item="{{notice}}" catchtap="toMsg" wx:if="{{notice}}">
    <van-notice-bar custom-class='notice-bar' background="none" data-item="{{notice}}" color='#666' text="{{notice.message}}">
        <text slot="left-icon" data-item="{{notice}}" class="iconfont icon-a-shouyexiaoxigundongquxiaoxi" />
    </van-notice-bar>
</view>
<!-- 宫格区域 -->
<My_card custom-class='grld'>
    <navigator url="#" class="item" wx:for="{{gridList}}" wx:key="index" data-item="{{item}}" catchtap="applications">
        <view class="iconfont {{item.icon}}" />
        <text>{{item.name}}</text>
        <view wx:if="{{item.count}}" class="badge">{{item.count}}</view>
    </navigator>
</My_card>
<!-- 数据概况 
<block wx:if="{{per.query(subassembly,'homedatadisplay')}}">
    <view class="general-situation">
        <view class="title">
            <text class="iconfont icon-a-shouyeshujugaikuangzhanshishuju"></text>
            数据概况
        </view>
        <view class="time">更新于：2022-02-12</view>
    </view>
    <My_card custom-class='data-display' hover>
        <view class="item" wx:for="{{6}}" wx:key="index">
            <view class="label">销售额(￥)</view>
            <view class="nubmer">9999.99</view>
        </view>
    </My_card>
</block>
-->
<!-- 通告 -->
<My_card wx:if="{{annunciateList.length>0 && per.query(subassembly,'homenoticelist')}}" title='最新通告' class="annunciate">
    <view class="unread" slot='title-r' bindtap="toAnnunciate">
        <block wx:if="{{unreadNum!=0}}">
            {{unreadNum}}条未读
            <view class="circle" />
        </block>
        <block wx:else>查看全部</block>
        <van-icon class="icon" name="arrow" />
    </view>
    <block wx:for="{{annunciateList}}" wx:key="index">
        <navigator url="#" class="item-box" data-item="{{item}}" bindtap="toAnnunciateDetails">
            <Item item='{{item}}' />
        </navigator>
        <view wx:if="{{index!=annunciateList.length-1}}" style="width: 100%; border-top: 1rpx solid #EEEEEE; margin-left: 30rpx;" />
    </block>
</My_card>
<view style="height: 140rpx;" />
<wxs src='../../../utils/wxmlQueryPer.wxs' module="per" />