joinMedia.wxml 1.6 KB

1
  1. <view class="table"><view class="content"><view class="left">姓名</view><input type="text" value="{{name}}" placeholder="请输入姓名" data-event-opts="{{[['input',[['__set_model',['','name','$event',[]]]]]]}}" bindinput="__e"/></view><view class="content"><view class="left">联系电话</view><input type="number" value="{{phone}}" placeholder="请输入联系电话" data-event-opts="{{[['input',[['__set_model',['','phone','$event',[]]]]]]}}" bindinput="__e"/></view><view class="content"><view class="left">职务</view><picker class="input" range="{{choosePost}}" data-event-opts="{{[['change',[['bindPickerType',['$event']]]]]}}" bindchange="__e"><view class="{{['box-right',(post=='')?'hui':'']}}">{{post||'请选择职务'}}</view></picker></view><block wx:if="{{$root.g0}}"><view class="content"><view class="left">学历</view><picker class="input" range="{{xlList}}" data-event-opts="{{[['change',[['bindXl',['$event']]]]]}}" bindchange="__e"><view class="{{['box-right',(xl=='')?'hui':'']}}">{{xl||'请选择学历'}}</view></picker></view><view class="content"><view class="left">生日</view><picker class="input" mode="date" data-event-opts="{{[['change',[['bindBrith',['$event']]]]]}}" bindchange="__e"><view class="{{['box-right',(brith=='')?'hui':'']}}">{{brith||'请选择生日'}}</view></picker></view><view class="content"><view class="left">职称</view><input type="text" value="{{zc}}" placeholder="请输入职称(如高级工程师)" data-event-opts="{{[['input',[['__set_model',['','zc','$event',[]]]]]]}}" bindinput="__e"/></view></block><view data-event-opts="{{[['tap',[['commit']]]]}}" class="button" bindtap="__e">提交</view></view>