band.wxml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <camera device-position="back" flash="auto" binderror="errorCamara" id="myCamera" wx:if="{{showcamara}}"
  2. style="width: 100%; height:100vh;">
  3. <cover-view class="mcover-view" style='width: 100%; height:100%; top:45%' wx:if="{{!hidden}}">
  4. <cover-image class="dialog-body wh70" style='right:45%' src="/img/loading.gif" />
  5. </cover-view>
  6. <cover-view class="mcover-bar" wx:if="{{hidden}}">
  7. <cover-view class="mcover-view">
  8. <cover-view>
  9. <cover-image class="dialog-body circle wh60" src="/img/img_gallery.png" bindtap="chooseImg" />
  10. </cover-view>
  11. <cover-view class="dialog-body camara" bindtap="takePhoto">
  12. <cover-view class="camara-1"></cover-view>
  13. </cover-view>
  14. <cover-view>
  15. <cover-image class="dialog-body circle wh60" src="/img/img_close.png" bindtap="goBack" />
  16. </cover-view>
  17. </cover-view>
  18. </cover-view>
  19. </camera>
  20. <scroll-view scroll-y="true" wx:else class="scroll-view">
  21. <cu-custom isBack="{{true}}">
  22. <view slot="backText">返回</view>
  23. <view slot="content">实名认证</view>
  24. </cu-custom>
  25. <view class='container' style="top: {{StatusBar}}px;">
  26. <view class="pt30">
  27. <view class="fs36 ml20 tc" bindtap="takeBand" >请上传银行卡号</view>
  28. </view>
  29. <view class="identify-box" style="heigth:300rpx;">
  30. <view class="identify-list-1" >
  31. <image wx:if="{{info.band_img}}" src="{{info.band_img+'?x-oss-process=image/resize,w_300'}}" mode="aspectFit"
  32. data-src="{{info.band_img}}" class="identify-img-1" bindtap="previewImage"/>
  33. <image wx:else src="/img/card.png" class="identify-img-1" bindtap="takeBand" />
  34. </view>
  35. </view>
  36. <form bindsubmit="saveBandInfo">
  37. <view class="cu-list menu" style="margin-top:40rpx;">
  38. <view class="cu-item">
  39. <view class="cu-form-group" >
  40. <text class="cuIcon-card text-grey"></text>
  41. <view class="title solids-right text-grey">银行卡号:</view>
  42. <input class="ml20" value="{{info.band_code}}" name="band_code"></input>
  43. </view>
  44. </view>
  45. <view class="cu-item">
  46. <view class="cu-form-group">
  47. <text class="cuIcon-info text-grey"></text>
  48. <view class="title solids-right text-grey">银行名称:</view>
  49. <input class ="ml20" value="{{info.band_name}}" name="band_name"></input>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="padding flex flex-direction" >
  54. <button class="cu-btn bg-green margin-tb-sm lg" form-type="submit">保存信息</button>
  55. </view>
  56. </form>
  57. </view>
  58. </scroll-view>