index.wxml 3.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <!-- 表单 -->
  2. <My_GeneralTemplate padBot="20rpx">
  3. <view class="store_message">
  4. <My_GreyRectangleForm title="品牌名" required>
  5. <van-field disabled="{{isDisabled}}" model:value="{{ fbrand }}" data-name="fbrand" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fbrand}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  6. </My_GreyRectangleForm>
  7. <My_GreyRectangleForm title="品牌LOGO" required>
  8. <My_UploadFiles id="UploadFiles" fisadministrator="{{isDisabled}}" fileList="{{attinfos}}" previewSize="57px" upType="Logo" maxCount='1' Tips="请上传logo图片" bindimageChange="imageChange"></My_UploadFiles>
  9. </My_GreyRectangleForm>
  10. <My_GreyRectangleForm title="品牌展示图片" required>
  11. <My_UploadFiles id="UploadFiles" fisadministrator="{{isDisabled}}" fileList="{{coverAttinfos}}" previewSize="57px" upType="LogoCover" maxCount='1' Tips="请上传logo图片" bindimageChange="coverImageChange"></My_UploadFiles>
  12. </My_GreyRectangleForm>
  13. <My_GreyRectangleForm title="经营类目" required>
  14. <view class="manage u-line-1 {{showSaleprodclass==''?'ismanage':''}}" style="opacity: {{isDisabled?'0.3':'1'}};" bindtap="showPop">{{showSaleprodclass==''?'点击选择':showSaleprodclass}}</view>
  15. </My_GreyRectangleForm>
  16. <My_GreyRectangleForm title="联系人" required>
  17. <van-field disabled="{{isDisabled}}" model:value="{{ fcontact }}" data-name="fcontact" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fcontact}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  18. </My_GreyRectangleForm>
  19. <My_GreyRectangleForm title="联系方式" required>
  20. <van-field disabled="{{isDisabled}}" model:value="{{ fphonenumber }}" data-name="fphonenumber" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fphonenumber}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  21. </My_GreyRectangleForm>
  22. <My_GreyRectangleForm title="注册公司名" required>
  23. <van-field disabled="{{isDisabled}}" model:value="{{ fagentname }}" data-name="fagentname" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fagentname}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  24. </My_GreyRectangleForm>
  25. <import src="/wxParse/wxParse" />
  26. <My_GreyRectangleForm title="公司介绍" required>
  27. <view style="width: 400rpx; text-align: right; color: #4BBECF; text-decoration: underline;" catchtap="toRichText">
  28. 编辑/预览
  29. </view>
  30. </My_GreyRectangleForm>
  31. <My_GreyRectangleForm title="地址" required>
  32. <van-field autosize type="textarea" disabled="{{isDisabled}}" model:value="{{ faddress }}" data-name="faddress" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.faddress}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  33. </My_GreyRectangleForm>
  34. <My_GreyRectangleForm title="统一社会代码">
  35. <van-field disabled="{{isDisabled}}" model:value="{{ fdutyparagraph }}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  36. </My_GreyRectangleForm>
  37. </view>
  38. </My_GeneralTemplate>
  39. <!-- 弹出层 -->
  40. <van-action-sheet show="{{ popups }}" bind:close="showPop">
  41. <My_Checkbox title="经营类目" saleprodclass="{{saleprodclass}}" bind:saleprodChange="saleprodChange"></My_Checkbox>
  42. </van-action-sheet>
  43. <!-- 提交按钮 -->
  44. <view wx:if="{{!isDisabled}}" class="submit_but">
  45. <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">{{butText}}</van-button>
  46. </view>