index.wxml 4.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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;">
  28. 编辑/预览
  29. <!-- <template is="wxParse" data="{{wxParseData:article.nodes}}" /> -->
  30. </view>
  31. <!-- <van-field autosize type="textarea" disabled="{{isDisabled}}" model:value="{{ fintroduction }}" data-name="fintroduction" bind:focus='inputFocus' bindblur='inputBlur' error="{{errTips.fintroduction}}" input-class="input-class" placeholder="点击填写" border="{{ false }}" /> -->
  32. </My_GreyRectangleForm>
  33. <My_GreyRectangleForm title="地址" required>
  34. <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 }}" />
  35. </My_GreyRectangleForm>
  36. <My_GreyRectangleForm title="统一社会代码">
  37. <van-field disabled="{{isDisabled}}" model:value="{{ fdutyparagraph }}" input-class="input-class" placeholder="点击填写" border="{{ false }}" />
  38. </My_GreyRectangleForm>
  39. </view>
  40. </My_GeneralTemplate>
  41. <!-- 弹出层 -->
  42. <van-action-sheet show="{{ popups }}" bind:close="showPop">
  43. <My_Checkbox title="经营类目" saleprodclass="{{saleprodclass}}" bind:saleprodChange="saleprodChange"></My_Checkbox>
  44. </van-action-sheet>
  45. <!-- 提交按钮 -->
  46. <view wx:if="{{!isDisabled}}" class="submit_but">
  47. <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">{{butText}}</van-button>
  48. </view>