<view class="main" wx:key="index">
  <image class="vimg" src="{{vote.imgSrc}}"></image>
  <view class="vinfos">
    <view class="infotitle">
      {{vote.votename}}
    </view>

    <view class="infoinfotitle">
      内容描述:
    </view>
    <view class="info">
      <text class="infos">{{vote.votedetail}}</text>
    </view>
    <view class="itt">
      <view class="it">时间</view>
      <text decode class="infotime">
        {{vote.dateTime1}}
        至&nbsp;————————————————>
        {{vote.dateTime2}}</text>
    </view>
  </view>

  <!-- wx:if="{{vote.ispublic==true}}" -->
  <view class="blocker">
  </view>

</view>
<!-- 底部固定 -->
<view class="bt" style="position: fixed; left: 0rpx; top: 1002rpx">
  <view class="btbt">
    <button class="l1" style="position: absolute; left: 0rpx; top: -8rpx" bindtap="attenion" data-attention="{{vote.attention}}">
      <block wx:if="{{vote.attention}}">
        <image class="like" src="{{'/images/关注.png'}}"></image>
        <view class="lt">已关注</view>
      </block>
      <block wx:if="{{!vote.attention}}">
        <image class="like" src="{{'/images/未关注.png'}}"></image>
        <view class="lt">关注</view>
      </block>
    </button>
    <button class="vote2" wx:if="{{canvote2==false}}">公告已注销</button>
    <button class="vote2" wx:if="{{canvote==true&&canvote2}}">公告开放中</button>
    <button class="l2" open-type="share" wx:if="{{vote.canshare==true}}">
      <image class="share" src="../../images/转发.png"></image>
      <view class="lt">转发</view>
    </button>
  </view>
</view>