123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <!--pages/role/editIntroducer.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" value="{{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" value="{{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" value="{{userInfo.area}}"/> -->
- <picker mode="region" name="area" bindchange="bindRegionChange" value="{{region}}" placeholder="请选择所在地区">
- <!-- <text class="tui-input" wx:if="{{region==''}}">请选择所在地区</text> -->
- <text class="tui-input">{{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="请输入介绍人密码" maxlength="50" password="true" catchinput="inputedit" data-name="userInfo.password" value="{{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="editIntroducer">提交</button>
- <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
- </view>
- </form>
- </view>
|