12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <view class="entery-container">
- <block wx:if="{{!showCreateForm}}">
- <button class="permission-btn" open-type="getPhoneNumber" bindgetphonenumber="getPhoneNumber">获取手机号</button>
- <button class="permission-btn" bindtap="getUser">获取用户信息</button>
- <button class="permission-btn" bindtap="fillInfo">填写信息</button>
- </block>
- <block wx:else>
- <view class="form-box">
- <view class="avatar">
- <view class="img-item" bindtap="handleChooseMedia">
- <image class="logo-img" src="{{logoImgSrc}}"></image>
- </view>
- </view>
- <view class="form">
- <view class="form-item username">
- <view class="title">真实姓名:</view>
- <view class="username-input">
- <input class="weui-input" style="width:270rpx;" placeholder="请输入" placeholder-style="font-size: 26rpx;font-family: PingFangSC-Regular, PingFang SC;font-weight: 400;color: #999999;text-align:right"/>
- </view>
- </view>
- <view class="form-item form-item-date date">
- <view class="title">生日:</view>
- <picker class="my-picker" mode="date" bindchange="bindDateChange">
- <view class="picker-item ittflex">
- <text class="picker-text">{{pickerText}}</text>
- </view>
- </picker>
- </view>
- <view class="form-item sex">
- <view class="title">性别:</view>
- <view class="radio">
- <block wx:for="{{sexList}}" wx:key="unique">
- <view class="radio-item">
- <view class="radio-cricle {{index == sexActive ? 'radio-cricle-active' : ''}}" data-index="{{index}}" bindtap="handleSex">
- <view class="inner-cricle"></view>
- </view>
- <text class="radio-text">{{item.title}}</text>
- </view>
- </block>
- </view>
- </view>
- <view class="submit-btn" bindtap="handleConfirmBind">确认绑定</view>
- </view>
- </view>
- </block>
- </view>
|