1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- <!--parents/pages/information/information.wxml-->
- <import src="../../../templates/loading/loading.wxml" />
- <view class='container'>
- <template is='loading' wx:if='{{!isLoaded}}'></template>
- <view class='wrapper' wx:else>
- <view class='list' >
- <view class='li' bindtap='uploadImgCtl'>
- <view class="uploadImg">
- <image class='{{vip.imgUrl ? "li-imageTip" : "li-image"}}' src='{{vip.imgUrl ? baseImgUrl + vip.imgUrl : "../../../assets/cameare.png"}}'></image>
- <view class="upload-text" wx:if='{{!vip.imgUrl}}'>上传头像</view>
- <view class="upload-Model" wx:if='{{vip.imgUrl}}'>
- <view class="upload-refrehtext">更换头像</view>
- </view>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>孩子姓名 (实名制必填)</view>
- <input class='li-input' type='text' placeholder='请填写姓名' placeholder-class='input-placeholder' value='{{vip.childName}}' bindinput='inputCtl' data-type='childName'></input>
- </view>
- <view class='li'>
- <view class='li-label'>家长姓名 (实名制必填)</view>
- <input class='li-input' type='text' placeholder='请填写家长姓名' placeholder-class='input-placeholder' value='{{vip.parentName}}' bindinput='inputCtl' data-type='parentName'></input>
- </view>
- <view class='li'>
- <view class='li-label'>所读年级 (必填)</view>
- <picker bindchange='pickerGradeCtl' value='{{gradeIndex}}' range='{{gradeArray}}'>
- <view class='li-picker'>{{vip.grade || '请选择就读年级'}}</view>
- </picker>
- <view class="icon">
- <image class="image" src='../../../assets/arrow_gray.png' />
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>家长角色 (必填)</view>
- <picker bindchange='pickerRoleCtl' value='{{parentRoleIndex}}' parentRolevalue='{{vip.parentRole}}' range='{{parentRoleArray}}'>
- <view class='li-picker'>{{vip.parentRole?vip.parentRole : '其他'}}</view>
- </picker>
- <view class="icon">
- <image class="image" src='../../../assets/arrow_gray.png' />
- </view>
- </view>
- <view class='li' data-url='president/pages/School_library/School_library' data-zindex='3' data-paras='{{({isAdd:1,childName:vip.childName,sex:vip.sex,grade:vip.grade,school:vip.school,phone:vip.phone,parentRole:vip.parentRole,parentName:vip.parentName,imgUrl:vip.imgUrl})}}' bindtap='redirectTo' >
- <view class='li-label'>所读学校 (必填)</view>
- <view class='li-picker'>{{vip.school|| '请填写就读学校'}}</view>
- <view class="icon">
- <image class="image" src='../../../assets/arrow_gray.png' />
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>孩子性别 (选填)</view>
- <picker bindchange='pickerSexCtl' value='{{sexIndex}}' range='{{sexArray}}'>
- <view class='li-picker'>{{vip.sex == 1 ? '男' : vip.sex == 2 ? '女' : '请选择性别'}}</view>
- </picker>
- <view class="icon">
- <image class="image" src='../../../assets/arrow_gray.png' />
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>联系方式 (选填)</view>
- <input class='li-input' type='text' placeholder='' placeholder-class='input-placeholder' value='{{vip.phone}}' bindinput='inputCtl' data-type='phone'></input>
- </view>
- </view>
- <view class='footer-box'>
- <view class='footer-box-item' wx:for='{{footerArray}}' wx:key='index' data-type='{{item.type}}' bindtap='submitCtl'>{{item.text}}</view>
- </view>
- </view>
- </view>
|