<!--pages/myNewsDetail/myNewsDetail.wxml-->
<custom-navi text="消息" back="{{true}}" home="{{true}}"></custom-navi>
<view class='myNewsDetail'>
  <view class='firstpage' wx:if="{{attach_dat_type=='ORGNAZATION'}}">
    <view class='title_firstpage'>{{messageDat.title}}</view>
    <text class='content_firstpage'>{{messageDat.comment}}</text>
    <!-- <view class='btn_firstpage'>
      <view>取消</view>
      <view style='background:#698FBB'>确认</view>
    </view> -->
  </view>
  <view class='con_checkJoinCircle' wx:if="{{attach_dat_type=='CIRCLE'}}">
    <view style="text-align:center;">
      <view style="font-size:20px;font-weight:600;margin-bottom:10px;">{{messageDat.title}}</view>
      <view style="margin-bottom:10px;">{{attachDat.title}}</view>
      <view style="margin-bottom:10px;">{{messageDat.comment}}</view>
    </view>
    <view class='btn' wx:if="{{messageDat.is_operated==false}}" >
      <van-button type="primary" bind:click="tongyi" size="large" custom-style="margin-bottom:10px;height:35px;border-radius:8px">同意</van-button>
      <van-button type="default" bind:click="jujue" size="large" custom-style="height:35px;border-radius:8px">拒绝</van-button>
      <!-- <view bindtap='jujue'>拒绝</view>
      <view class='agreen' bindtap='tongyi'>同意</view> -->
    </view>
  </view>
  <view class='listVolunteers' bindtap="into" wx:if="{{attach_dat_type=='VOLUNTEER'}}">
    <view>
      <view class='left_listVolunteers'>
        <image src='{{attachDat.front_image}}'></image>
        <text>{{attachDat.status_title}}</text>
        <view></view>
      </view>
      <view class='right_listVolunteers'>
        <text>{{attachDat.title}}</text>
        <view>
          <text>征集范围：{{attachDat.scope}}\n</text>
          <text>征集人数：{{attachDat.max_member}}人\n</text>
          <text>发布单位：{{attachDat.author}}\n</text>
          <text>报名截止：{{attachDat.enroll_time}}</text>
        </view>
      </view>
    </view>
  </view>
</view>
<van-toast id="van-toast" />
