You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gitProject1/src/miniprogram/pages/profile/profile.wxml

57 lines
1.8 KiB

<view class="body">
<form bindsubmit="submit">
<view class="button-container" >
<button bindtap="navigateToPageTpro">Be a teacher</button>
</view>
<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="submit">重置</button>
</view>
</form>
</view>