12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <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="username" placeholder="请输入账户" maxlength="50" catchinput="inputedit" data-name="user.username"/>
- </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="realname" placeholder="请输入代理名称" maxlength="50" catchinput="inputedit" data-name="user.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="password" placeholder="请输入密码"
- maxlength="50" catchinput="inputedit" data-name="user.password"/>
- </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="agentPhone" placeholder="请输入联系方式"
- maxlength="11" type="number" catchinput="inputedit" data-name="user.agentPhone"/>
- </view>
- </tui-list-cell>
- <tui-list-cell hover="{{false}}" wx:if="{{userInfo.mgvmRole==3}}">
- <view class="tui-line-cell">
- <view class="tui-title">代理分成%:</view>
- <input placeholder-class="phcolor" class="tui-input" name="areaDivide" placeholder="请输入代理分成百分比" maxlength="50" catchinput="inputedit" type="number" data-name="user.areaDivide"/>
- </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="addStore">提交</button>
- <button class="btn-primary btn-gray" hover-class="btn-gray-hover" formType="reset">重置</button>
- </view>
- <time-picker pickerShow="{{isPickerShow}}" id="picker" wx:if="{{isPickerRender}}" bind:hidePicker="pickerHide"
- bind:setPickerTime="setPickerTime" config="{{pickerConfig}}"></time-picker>
- </form>
- </view>
|