reservation.wxml 3.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. <!--pages/Components/reservation/reservation.wxml-->
  2. <view class="main {{bottomFlag == true?'bottomStyle':''}}">
  3. <view class="main-item" catchtap="backIndexPage">
  4. <image lazy-load class="mi-icon" mode="aspectFill" src="{{imageUrl ? imageUrl+'home0615.png' : ''}}"></image>
  5. <text>主页</text>
  6. </view>
  7. <view class="main-item" catchtap="advisory">
  8. <image lazy-load class="mi-icon" mode="aspectFill" src="{{imageUrl ? imageUrl+'phone0615.png' : ''}}"></image>
  9. <text>咨询</text>
  10. </view>
  11. <view class="main-item" bindtap="hideBg">
  12. <image lazy-load class="mi-icon" mode="aspectFill" src="{{imageUrl ? imageUrl+'share0615.png' : ''}}"></image>
  13. <text>分享</text>
  14. </view>
  15. <button class="listen" disabled="{{true}}" hidden="{{!isBuy}}">{{isBuyText}}</button>
  16. <button class="listen {{disabled?'disabled':''}}" disabled="{{disabled}}" hidden="{{isBuy}}" catchtap="jumpPage"
  17. data-url="{{buttonURL}}">{{buttonText}}</button>
  18. <view class="bg" hidden="{{bgShow}}" bindtap="hideBg"></view>
  19. <view class="btn-view" hidden="{{bgShow}}" animation="{{animationDataShare}}">
  20. <view class="share-view">
  21. <button open-type="share">
  22. <image lazy-load src="{{wechatImg}}" />
  23. <view>发送给朋友</view>
  24. </button>
  25. <button bindtap="showSaveImg">
  26. <image lazy-load src="{{pyqImg}}"></image>
  27. <view>生成海报</view>
  28. </button>
  29. </view>
  30. <view class="button-line"></view>
  31. <button bindtap="hideBg">取消</button>
  32. </view>
  33. <cover-view class="showModel" hidden="{{!showSaveImage}}">
  34. <cover-view class="show-top">
  35. <cover-image catchtap="closeSaveImage" class="show-close" mode="aspectFill"
  36. src="{{codeImg ? codeImg+'close0604.png':''}}" />
  37. </cover-view>
  38. <cover-view class="show-box">
  39. <!-- <view class="sb-top">
  40. <image class="sb-top-avatar" mode="aspectFill" src="{{codeImg ? codeImg+'202020602-background.png':''}}"></image>
  41. <open-data class="avatar" type="userAvatarUrl"></open-data>
  42. <view class="sb-right">
  43. <view class="sb-right-name">
  44. <open-data type="userNickName"></open-data>
  45. </view>
  46. <view>在艾克思朗参加了</view>
  47. </view>
  48. </view> -->
  49. <cover-view class="show-bottom">
  50. <cover-image class="sb-image" mode="aspectFit" src="{{posterConfig.images[0].url}}"></cover-image>
  51. <cover-view class="sb-mix_title">{{posterConfig.texts[0].text}}</cover-view>
  52. <cover-view class="sb-title">{{posterConfig.texts[1].text}}</cover-view>
  53. <cover-view class="sb-QRcode">
  54. <cover-image class="QRcode-image" mode="aspectFill" src="{{posterConfig.images[1].url}}"></cover-image>
  55. <cover-view class="QR-title">{{posterConfig.texts[2].text}}{{posterConfig.texts[3].text}}</cover-view>
  56. </cover-view>
  57. </cover-view>
  58. </cover-view>
  59. </cover-view>
  60. <view class="isPosterBg" hidden="{{!showSaveImage}}"></view>
  61. <view class="isPoster" hidden="{{!showSaveImage}}">
  62. <poster hidden="{{!showSaveImage}}" id="poster" config="{{posterConfig}}" bind:success="onPosterSuccess">
  63. <view class="save-image">保存图片</view>
  64. </poster>
  65. </view>
  66. </view>