<view class="gaptop gapleft txtb txtsub">姓名</view>
<view class="wrp fg">
  <input value="{{user.realname}}" bindinput="input" data-key="realname"></input>
</view>
<view class="gaptop gapleft txtb txtsub">性别</view>
<view class="wrp fg">
  <radio-group class="row" bindchange="input" data-key="gender">
    <radio class="gapright" value="男" checked="{{user.gender == '男'}}">
      <text>男</text>
    </radio>
    <radio value="女" checked="{{user.gender == '女'}}">
      <text>女</text>
    </radio>
  </radio-group>
</view>
<view class="gaptop gapleft txtb txtsub">出生年月</view>
<view class="wrp fg">
  <picker mode="date" class="flexible" start='1940-01-01' end='{{endDate}}' value="{{user.birthday}}" bindchange="input" data-key="birthday">
    <view class="row crosscenter full">
      <view class="flexible subtxt">{{user.birthday||'　'}}</view>
    </view>
  </picker>
</view>
<view class="gaptop gapleft txtb txtsub">联系方式</view>
<view class="wrp fg">
  <input maxlength="11" type="number" bindinput="input" data-key="mobile"></input>
</view>
<view class="gaptop gapleft txtb txtsub">自我介绍</view>
<view class="wrp fg">
  <textarea placeholder="介绍一下，让更多朋友认识你" bindinput="input" data-key="brief_intro"></textarea>
</view>

<view class="row bot maincenter flexible" style="padding: 2em 0">
  <view class="btn danger" bindtap="clickRegister">注册</view>
</view>

<view class="sponsorsContainer txtcenter">
  <view class="level" wx:for="{{sponsors}}" wx:key>
    <!-- <view class="levelTitle">
      <view>{{item.title}}</view>
    </view> -->
    <view class="row around wrap">
      <view class="bor fg" style="margin-bottom: 1em">
        <image src="{{item.pic_show}}" mode="scaleToFill"></image>
      </view>
    </view>
  </view>
</view>