recommend.wxml 2.9 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="{{recommendData.weekPageThemeConfig.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. <view class="get-gem">
  32. <text>本宝石获取方法</text>
  33. <text>学习完每门课程,并与XXXPK成功获取</text>
  34. </view>
  35. <view class="get-medal">
  36. <text>勋章获取方法</text>
  37. <text>1,{{recommendData.weekPageThemeConfig.metalsStrategy}}</text>
  38. <text>2,学习完每门课程,获取宝石</text>
  39. <text>3,学习完每门课程,获取宝石</text>
  40. </view>
  41. </view>
  42. <view class="recommend-strategy">
  43. <view class="this-week">
  44. <image src="../image/strategy.png"></image>
  45. <view class="medal-name">
  46. <text>春季攻略</text>
  47. <text>春季剧情即将开始</text>
  48. </view>
  49. </view>
  50. <view class="strategy-con">
  51. <view>春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽春季攻略,怎样打败怪兽</view>
  52. <text class="unfold">{{downUp}}</text>
  53. </view>
  54. </view>
  55. </view>
  56. </scroll-view>
  57. </view>
  58. </view>