1234567891011121314151617181920212223242526272829303132333435363738394041424344 |
- <!--pages/role/addIntroducer.wxml-->
- <view class="container">
- <form bindsubmit="formSubmit" bindreset="formReset">
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title"><text style="color:red;">*</text>姓名:</view>
- <input placeholder-class="phcolor" class="tui-input" name="realname" placeholder="请输入介绍人姓名" maxlength="50" catchinput="inputedit" data-name="userInfo.realname"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title"><text style="color:red;">*</text>电话:</view>
- <input placeholder-class="phcolor" class="tui-input" name="telephone" placeholder="请输入电话号码"
- maxlength="11" type="number" catchinput="inputedit" data-name="userInfo.telephone"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title"><text style="color:red;">*</text>地区:</view>
- <!-- <input placeholder-class="phcolor" class="tui-input" name="area" placeholder="请选择所在地区"
- maxlength="50" catchinput="inputedit" data-name="userInfo.area"/> -->
- <picker mode="region" name="area" bindchange="bindRegionChange" value="{{region}}">
- <text class="tui-input" wx:if="{{region==''}}">请选择所在地区</text>
- <text class="tui-input" wx:if="{{region!=''}}">{{region[0]}}{{region[1]}}{{region[2]}}</text>
- </picker>
- </view>
- </tui-list-cell>
-
- <tui-list-cell hover="{{false}}">
- <view class="tui-line-cell">
- <view class="tui-title">介绍人密码:</view>
- <input placeholder-class="phcolor" class="tui-input" name="password" placeholder="000000" maxlength="50" catchinput="inputedit" data-name="userInfo.password"/>
- </view>
- </tui-list-cell>
-
- <view class="tui-btn-box">
- <button class="btn-primary margin-bottom-xs" hover-class="btn-hover" formType="submit" type="primary" bindtap="addIntroducer">提交</button>
- <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
- </view>
- </form>
- </view>
|