add.wxml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <!-- 前台导入wxmlUtil.wxs -->
  2. <wxs src='/utils/wxmlUtil.wxs' module="wxmlUtil"></wxs>
  3. <!-- 单据信息 -->
  4. <loading wx:if="{{loading}}"></loading>
  5. <!--
  6. <view class="top">
  7. <view class="top-center">
  8. <van-radio-group value="{{ radioFollowUp }}" class="radio" bind:change="onRadioFollowUp">
  9. <view style="flex: 1;">
  10. <van-radio name="1" style="margin: 2vw;font-size: 15px;" checked-color="#3E69F6">{{$t['customerReception']}} <text wx:if="{{pageFlag!='edit'}}" style='color:red;font-size:15px;'>*</text>
  11. <view style="color: #95A8CB;font-size: 25rpx;">
  12. {{$t['retainedReception']}}
  13. </view>
  14. </van-radio>
  15. </view>
  16. <view style="flex: 1;">
  17. <van-radio name="2" style="margin: 2vw;font-size: 15px;" checked-color="#3E69F6">{{$t['strangeReception']}}
  18. <view style="color: #95A8CB;font-size: 25rpx;">
  19. {{$t['noPhoneReception']}}
  20. </view>
  21. </van-radio>
  22. </view>
  23. </van-radio-group>
  24. </view>
  25. </view> -->
  26. <dk-form id="{{formName}}" routeObjName="{{routeObjName}}" cardList="{{cardList}}" contentObj="{{contentObj}}" model:value="{{formData}}" bind:changePhoneblur="changePhoneblur" bind:chooseData="chooseData" table="{{table}}">
  27. </dk-form>
  28. <view style="height: 200rpx;"></view>
  29. <!-- 购物车 -->
  30. <view style="position: fixed;bottom: 230rpx;right: 30rpx;" wx:if="{{formType !=='detail'}}">
  31. <view bind:tap="toShopping" class="btn-add-class">
  32. <van-icon name="cart-o" color="#FFFFFF" size="60rpx" />
  33. </view>
  34. </view>
  35. <!-- <view style="position: fixed;bottom: 230rpx;right: 30rpx;" wx:if="{{formType =='detail'}}">
  36. <view bind:tap="toEdit" class="btn-add-class-2">
  37. <van-icon name="edit" color="#FFFFFF" size="60rpx" />
  38. </view>
  39. </view> -->
  40. <!-- 编辑 -->
  41. <view wx:if="{{formType =='detail'}}" style="position: fixed;bottom: 230rpx;right: 30rpx;z-index: 99;" bindtap="toEdit">
  42. <image src="{{imageUrl + 'edit.png'}} " class="edit-class" />
  43. </view>
  44. <!-- 保存 -->
  45. <dk-save-button model:value="{{btnFormData}}" wx:if="{{formType !=='detail'}}" btnAutoWidthFlag="{{true}}" btnRightFlag="{{true}}" buttonList="{{buttonSaveList}}" contentList="{{contentSaveList}}" bind:open="subscribeMessage"></dk-save-button>