intro.wxml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <block wx:if="{{!type}}">
  2. <swiper indicator-dots="true" autoplay="{{true}}" interval="3000" duration="500" style="height:550rpx;width:100%;">
  3. <block wx:for="{{data.imgs}}" wx:key="*this">
  4. <swiper-item>
  5. <view class="swiper-item">
  6. <image src="{{item}}" mode="widthFix"></image>
  7. </view>
  8. </swiper-item>
  9. </block>
  10. </swiper>
  11. <view class="content link">
  12. <view>
  13. {{data.title}}
  14. <image src="../../images/lou.png" mode="widthFix"></image>
  15. </view>
  16. <view wx:if="{{data.phone}}" bindtap="phone">
  17. {{data.phone}}
  18. <image src="../../images/phone.png" mode="widthFix"></image>
  19. </view>
  20. <view wx:if="{{data.address}}" bindtap="openMap">
  21. {{data.address}}
  22. <image src="../../images/addr.png" mode="widthFix"></image>
  23. </view>
  24. </view>
  25. <editor style="height:calc(100vh - 300px);padding: 0px 10px;" read-only="{{true}}" id="editor" class="ql-container">
  26. </editor>
  27. </block>
  28. <view wx:else class="content">
  29. <!-- <view class="title">{{data.title}}</view> -->
  30. <editor style="height:100vh;margin-top:10px;" read-only="{{true}}" id="editor" class="ql-container">
  31. </editor>
  32. </view>