<!--index.wxml-->
<view class="h-div v-center top">
  <image class="img" src="/images/home/icon_top-bg.png" mode="aspectFill" />
  <image class="avatar" catchtap="toSkip" data-url="/pages/account/info/index" src="/images/home/avatar.png" mode="aspectFit" />
  <view class="v-div" catchtap="toSkip" data-url="/pages/account/info/index">
    <text class="name">{{userInfo.chinaName}}</text>
    <text class="point">党员</text>
  </view>
</view>
<!-- 为民服务 -->
<view class="service">
  <image class="serviceImg" src="/images/home/icon_top-bg.png"/>
  <view class="title">为民服务</view>
  <view class="con">点击直接上报群众问题！</view>
</view>


<!-- 消息 -->
<swiper class="item-bg swiper-msg" autoplay indicator-dots indicator-active-color='#ffffff'>
  <swiper-item class="item" wx:for="{{notice}}" wx:key="{{item}}">
    <image catchtap="toMsgDetail" data-item="{{item}}" class="img" src="{{baseImgUrl+item.coverImg}}" mode="widthFix"></image>
    <text class="title ellipsis">{{item.title}}</text>
  </swiper-item>
</swiper>