123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293 |
- <!--pages/kids_information/kids_information.wxml-->
- <import src="../../templates/picker/picker.wxml" />
- <view class='container'>
- <view class='wrapper' wx:if='{{isShow}}'>
- <view class='list'>
- <view class='li'>
- <view class='li-label'>孩子姓名(实名制必填)<text class='li-label-star'>*</text></view>
- <view class='li-content'>
- <input class='li-input' type='text' placeholder='请填写姓名' placeholder-class='input-placeholder' value='{{childName}}' bindblur='inputCtl' data-type='childName'></input>
- </view>
- </view>
-
- <view class='li'>
- <view class='li-label'>家长姓名(实名制必填)<text class='li-label-star'>*</text></view>
- <view class='li-content'>
- <input class='li-input' type='text' placeholder='请填写家长姓名' placeholder-class='input-placeholder' value='{{parentName}}' bindblur='inputCtl' data-type='parentName'></input>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>所读年级(必填)<text class='li-label-star'>*</text> </view>
- <view class='li-content' data-type='grade' data-index='0' bindtap='pickerCtl'>
- <view class='li-text'>{{grade || '请选择就读年级'}}</view>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>所读学校(必填)<text class='li-label-star'>*</text> </view>
- <view class='li-content li-arrow' data-url='school' data-method='{{({school,vipId,isAddChild,type,childName,parentName,grade,isWechat,derver,libId,leagueName})}}' bindtap='redirectCtl'>
- <view class='li-text'>{{school|| '请选择就读学校'}}</view>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>家长角色(必填)<text class='li-label-star'>*</text> </view>
- <view class='li-content' data-type='parentRole' data-index='4' bindtap='pickerCtl'>
- <view class='li-text'>{{parentRole || '请选择家长角色'}}</view>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>所属机构(选填)</view>
- <view class='li-content li-arrow' data-url='studyHouse' data-method='{{({isWechat:1,isAddOrgam:1,school,vipId,isAddChild,type,childName,parentName,grade,derver,sex,parentRole})}}' bindtap='redirectCtl'>
- <view class='li-text'>{{leagueName?leagueName:'无'}}</view>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>孩子头像(选填)</view>
- <view class='li-content' bindtap='uploadHeadIconCtl'>
- <image class='li-image' wx:if='{{imgUrl}}' src='{{baseImgUrl + imgUrl}}'></image>
- <view class='li-text' wx:else>请上传头像</view>
- </view>
- </view>
-
- <!-- <view class='li'>
- <view class='li-label'>学号ID</view>
- <view class='li-content'>
- <view class='li-text'>123456789</view>
- </view>
- </view> -->
- <view class='li'>
- <view class='li-label'>孩子性别(选填)</view>
- <view class='li-content' data-type='sex' data-index='2' bindtap='pickerCtl'>
- <view class='li-text'>{{sex == 1 ? '男' : sex == 2 ? '女' : '请选择性别'}}</view>
- </view>
- </view>
-
-
- <view class='li'>
- <view class='li-label'>联系方式(选填)</view>
- <view class='li-content'>
- <input class='li-input' type='number' placeholder='请填写绑定手机号' placeholder-class='input-placeholder' value='{{phone}}' bindblur='inputCtl' bindinput='' data-type='phone'></input>
- </view>
- </view>
- <view class='li'>
- <view class='li-label'>常用教辅(选填)</view>
- <view class='li-content li-arrow' bindtap='addTeaching'>
- <view class='li-text'>{{isAdd?'已添加':'未添加'}}</view>
- </view>
- </view>
-
-
- <view class='button' bindtap="addChildren">保存</view>
- </view>
-
- </view>
- <template is='picker' wx:if='{{isShowPickerModel}}' data='{{...pickerData[pickerIndex],pickerIndex}}'></template>
- </view>
|