<view class="body">
  <view class="button-container" >
    <button bindtap="navigateToPageTpro">去入驻</button>
  </view>

  <button class="avatar-wrapper" hover-class="none" open-type="chooseAvatar" bind:chooseavatar="onChooseAvatar">
    <image class="avatar" src="{{avatarUrl}}"></image>
  </button> 

  <form bindsubmit="submit">
      
    <view class="section">
      <view class="title">昵称：</view>
      <input type="nickname" class="input" name="nickname" placeholder="昵称" />
    </view>

    <view class="section">
      <view class="title">性别：</view>
      <radio-group class="mg" name="gender">
        <label >
          <radio value="man" />
          男
        </label>
        <label >
          <radio value="woman" />
          女
        </label>
      </radio-group>
    </view>

    <view class="section">
      <view class="title">年龄：</view>
      <picker bindchange="dateChange" fields="year" value="{{birthday}}" mode="date" class="input" name="birthday">
        <view class="picker">出生年：{{birthday}}</view>
      </picker>
    </view>
    
    <view class="section">
      <view class="title">地区：</view>
      <picker bindchange="regionChange" value="{{region}}" value="{{region}}"mode="region" class="input" name="region">
        <view class="picker">当前选择：{{region}}</view>
      </picker>
    </view>

    <view class="section">
      <view class="title">可以添加到你的联系方式：</view>
      <input type="input" class="input" name="contact" placeholder="请输入" />
    </view>

    <view class="section">
      <view class="title">你的基本情况：</view>
      <input type="input" class="input" name="information" placeholder="请输入" />
    </view>

    <view class="area">
      <button style="margin:30rpx 0" type="primary"
      form-type="submit">提交</button>
      <button style="margin:30rpx 0" type="reset"
      form-type="reset">重置</button>
    </view>
  </form>
</view>