<!--pages/apply/index.wxml-->

<view class="content">
    <view class="text"> 即将加入{{tenement.name}} </view>
    <view class="nickName">
      <van-field
        required
        value="{{ name }}"
        label="你的昵称"
        placeholder="请输入你的昵称"
        border="{{ false }}"
        bind:change="onChangeName"
      />
    </view>
  <view class="contentWrapper">
    <view class="operate">
      <van-button type="default" block style="flex: 1;" bind:click="exit">退出</van-button>
      <van-button type="info" block style="flex:1;margin-left: 20rpx;"  open-type="getPhoneNumber" bind:getphonenumber="getPhoneNumber">确认</van-button>
    </view>
  </view>
</view>
