1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- <!--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" style='background:{{vip.imgUrl ? "" : "#EBEBEB"}}'>
- <image class='li-imageTip' src='{{vip.imgUrl?baseImgUrl + vip.imgUrl : "../../../assets/default_headicon.png"}}' wx:if='{{vip.imgUrl}}'></image>
- <view class="upload-text" wx:if='{{!vip.imgUrl}}'>
- <image class='li-image' src='../../../assets/cameare.png'></image>
- <view>上传头像</view>
- </view>
- <view class="upload-Model" wx:if='{{vip.imgUrl}}' bindtap='uploadImgCtl'>
- <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}}' 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='parents/pages/School_library/School_library' data-zindex='3' data-paras='{{({isAdd:options.isAdd,childName:vip.childName,sex:vip.sex,grade:vip.grade,school:vip.school,phone:vip.phone,parentRole:vip.parentRole,parentName:vip.parentName,imgUrl:vip.imgUrl,zindex:options.zindex,vipId:options.vipId,league_name:vip.league_name})}}' bindtap='navigateTo' >
- <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' data-url='parents/pages/library/library' data-zindex='3' data-paras='{{({isAdd:options.isAdd,childName:vip.childName,sex:vip.sex,grade:vip.grade,school:vip.school,phone:vip.phone,parentRole:vip.parentRole,parentName:vip.parentName,imgUrl:vip.imgUrl,zindex:options.zindex,vipId:options.vipId,league_name:vip.league_name})}}' bindtap='navigateTo' wx:if='{{options.isAdd==1}}' >
- <view class='li-label'>选定图书馆 (必填)</view>
- <view class='li-picker'>{{vip.league_name|| '请选择图书馆'}}</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>
|