details.wxml 1.6 KB

12345678910111213141516171819202122232425262728
  1. <My_GeneralTemplate overflowHidden="{{false}}" padBot="20rpx">
  2. <view style="padding: 0 30rpx; box-sizing: border-box;">
  3. <My_GreyRectangleForm title="商户名" required>
  4. <view class="right-text">{{partnerDetails.fbrand}}</view>
  5. </My_GreyRectangleForm>
  6. <My_GreyRectangleForm title="商户logo" required>
  7. <image class="logo" src="{{partnerDetails.attinfos[0].fobsurl}}" mode="aspectFill" catchtap="previewImg"></image>
  8. </My_GreyRectangleForm>
  9. <My_GreyRectangleForm title="是否合作">
  10. <van-switch checked="{{ checked }}" bind:change="onChange" />
  11. </My_GreyRectangleForm>
  12. <My_GreyRectangleForm title="合作方式" required>
  13. <input style="background-color: brown; position: absolute; opacity: 0;" readonly type="text" bindfocus="dropDownFocus" bindblur="dropDownBlur" />
  14. <view class="right-text">{{showType}}
  15. <van-icon size="12px" name="arrow-down" />
  16. </view>
  17. <van-transition show="{{dropDownList}}" class="pattern-item-box" name="fade-down">
  18. <view class="pattern-item" bindtap="modeSelect">
  19. <view wx:for="{{methodsList}}" data-index="{{index}}" data-name="{{item}}">{{item}}</view>
  20. </view>
  21. </van-transition>
  22. </My_GreyRectangleForm>
  23. </view>
  24. </My_GeneralTemplate>
  25. <!-- 提交按钮 -->
  26. <view class="submit_but">
  27. <van-button bindtap="submit" custom-class="custom-class" round color="linear-gradient(180deg, #82E0E9 0%, #4BBECF 100%);">保存</van-button>
  28. </view>