index.wxml 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <!--logs.wxml-->
  2. <view class="registeredBox">
  3. <view class="itemBox">
  4. <t-input label="slot" model:value="{{name}}"><text slot="label">姓名<text style="color: #e34d59"> *</text></text></t-input>
  5. <t-input label="slot" model:value="{{email}}"><text slot="label">账号<text style="color: #e34d59"> *</text></text></t-input>
  6. <t-input label="slot" type="password" model:value="{{password}}"><text slot="label">密码<text style="color: #e34d59"> *</text></text></t-input>
  7. <t-input label="slot" model:value="{{nickname}}"><text slot="label">昵称<text style="color: #e34d59"> *</text></text></t-input>
  8. <t-input label="slot" model:value="{{mobile}}"><text slot="label">手机号<text style="color: #e34d59"> *</text></text></t-input>
  9. <t-input label="性别" model:value="{{sex_zh}}" bindtap="selectSex" disabled/>
  10. <t-input wx:if="{{user_type === 'FL002'}}" label="slot" model:value="{{car}}"><text slot="label">车牌号<text style="color: #e34d59"> *</text></text></t-input>
  11. <t-input wx:if="{{user_type == 'FL001' && user_type}}" label="slot" model:value="{{address}}"><text slot="label">地址<text style="color: #e34d59"> *</text></text></t-input>
  12. <t-input wx:if="{{user_type !== 'FL001' && user_type}}" label="slot" model:value="{{address}}"><text slot="label">回收站<text style="color: #e34d59"> *</text></text></t-input>
  13. </view>
  14. <view class="btnBox">
  15. <t-button class="content-margin-left" bind:tap="userSave" theme="primary">保存</t-button>
  16. </view>
  17. </view>
  18. <t-picker
  19. visible="{{sexVisible}}"
  20. title="选择性别"
  21. cancelBtn="取消"
  22. confirmBtn="确认"
  23. bindchange="onPickerChange"
  24. bindconfirm="onPickerConfirm"
  25. bindcancel="onPickerCancel"
  26. >
  27. <t-picker-item options="{{sexs}}" value="{{sex}}" bindchange="onColumnChange"></t-picker-item>
  28. </t-picker>
  29. <t-toast id="t-toast" />