<view class="box">
  <scroll-view scroll-view class="container mt16 br_8" scroll-x="false" scroll-y="true" upper-threshold="50" lower-threshold="50" scroll-top="0" scroll-left="0" scroll-into-view scroll-with-animation="false" enable-back-to-top="false" bindscrolltoupper bindscrolltolower bindscroll>
    <view class="box" wx:for="{{annunciateList}}" bindtap="editAnnunciate" data-info="{{item}}" wx:for-index="index" hover-class="none" hover-stop-propagation="false">
      <view class="subset {{index != 0 ? 'bt1' : ''}}">
        <view class="left">
          <view class="name" hover-class="none" hover-stop-propagation="false" style="min-width:148px">
            <view class="f16" hover-class="none" hover-stop-propagation="false">{{item.title}}</view>
            <!-- <view class="mark ml8 {{item.agencyRole == 1 ? 't-icon t-icon-chuangjianren' : (item.agencyRole == 2 ? 't-icon t-icon-guanliyuan':'t-icon t-icon-chengyuan')}}"></view> -->
            <!-- <view class="mark {{item.agencyRole == 2 ? 't-icon t-icon-guanliyuan' : ''}}"></view>
            <view class="mark {{item.agencyRole == 3 ? 't-icon t-icon-chengyuan' : ''}}"></view>-->
          </view>
          <view class="tel c6 f16">
            {{(item.userName || '') + (item.tel || '')}}
            <i class="iconfont icon-gengduo11 f16 cccc ml4"></i>
          </view>
        </view>
        <!-- <view class="" hover-class="none" hover-stop-propagation="false">
          <view class="edit" wx:if="{{isEdit}}" bindtap='editMember' data-info='{{item}}'>编辑</view>
          <view class="delete ysd-base-color" bindtap='showDelModal' data-id='{{item.id}}' wx:if="{{item.agencyRole != 1 && !isEdit}}">删除</view>
        </view>-->
      </view>
    </view>
  </scroll-view>
  <view class="f14 c6 ml10 mt8 c9" wx:if="{{noData}}" hover-class="none" hover-stop-propagation="false">您目前没有配置通告联系人，系统默认您为联系人。</view>
  <view class="preview" hover-class="none" hover-stop-propagation="false">
    <!-- wx:if="{{userInfo.noticeEndStr}}" -->
    <view class="title bb1 fw500 pl10" hover-class="none" hover-stop-propagation="false">预览</view>
    <view class="content" hover-class="none" hover-stop-propagation="false">
      <view class wx:if="{{userInfo.noticeEndStr}}" style="white-space:pre-line">{{userInfo.noticeEndStr}}</view>
      <view class="f14 c6" wx:else hover-class="none" hover-stop-propagation="false">
        <!-- 您目前没有配置通告联系人，系统默认您为联系人。 -->
        <view class="mt8 c3 fw400" hover-class="none" hover-stop-propagation="false">{{userInfo.agencyStatus == 1 ? (userInfo.noticeEndStr ? userInfo.noticeEndStr : ('详情咨询：' + userInfo.tel)) : ('详情咨询：' + serviceInfo.userName + (serviceInfo.workPhone || '-'))}}</view>
      </view>
    </view>
  </view>
  <view class="addMember mt10 fw500" hover-class="thover" bindtap="addContact">
    <view class="add">
      <view class="iconfont icon-tianjia" style="display:inline-block" />添加联系人
    </view>
  </view>
</view>
