recommend.wxml 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!--pages/recommend/recommend.wxml-->
  2. <view class="container">
  3. <!-- 标题 -->
  4. <tarbar id="tarbar" />
  5. <!-- 内容 -->
  6. <view class="content">
  7. <scroll-view scroll-y="true" scroll-with-animation="true" scroll-with-animation="true" enable-back-to-top="true">
  8. <view class="recommend">
  9. <!-- 本周推荐 -->
  10. <target wxObjectives="{{wxObjectives}}"/>
  11. <view class="recommend-exchange">
  12. <view class="auto-img">
  13. <swiper indicator-dots="{{indicatorDots}}"
  14. autoplay="true" duration="1000" circular="true" indicator-dots="true">
  15. <block wx:for="{{recommendData.weekStory.autoImageVOList}}" wx:key="{{index}}">
  16. <swiper-item>
  17. <image src="{{item.img}}"/>
  18. </swiper-item>
  19. </block>
  20. </swiper>
  21. </view>
  22. <view class="exchange-medal">
  23. <view class="this-week">
  24. <image src="{{recommendData.weekMetals.img}}"></image>
  25. <view class="medal-name">
  26. <text>本周勋章“{{recommendData.weekMetals.name}}”</text>
  27. <text class="{{recommendData.userDiamond >= 7 ? 'none' : ''}}">还差{{7 - recommendData.userDiamond}}个宝石即可兑换</text>
  28. </view>
  29. </view>
  30. </view>
  31. <!--
  32. <view class="get-gem">
  33. </view>
  34. -->
  35. <view class="get-medal">
  36. <text wx:for="{{metalsStrategy}}" wx:key="{{index}}">{{item}}</text>
  37. </view>
  38. </view>
  39. <!--
  40. <view class="recommend-strategy">
  41. <view class="this-week">
  42. <image src="../image/strategy.png"></image>
  43. <view class="medal-name">
  44. <text>春季攻略</text>
  45. <text>春季剧情即将开始</text>
  46. </view>
  47. </view>
  48. <view class="strategy-con">
  49. <view>春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽</view>
  50. <text class="unfold">{{downUp}}</text>
  51. </view>
  52. </view>
  53. -->
  54. </view>
  55. </scroll-view>
  56. </view>
  57. </view>