littleFlower.wxml 1.6 KB

12345678910111213141516171819202122232425262728293031323334
  1. <view class="little-flower-box">
  2. <view class="green-placerholder"></view>
  3. <view class="sign-in-title">已连续签到1天</view>
  4. <view class="sign-in-box">
  5. <view wx:for="{{dateList}}" wx:key="{{index}}" class="date-item">
  6. <view class="date-left">
  7. <view class="date-circle" style="background: {{item.style === 'red' ? '#f75642' : '#fff'}}; color: {{item.style === 'red' ? '#fff' : '#f75642'}} ">
  8. +{{item.mark}}
  9. </view>
  10. <view class="date-time">{{item.time}}</view>
  11. </view>
  12. <view class="cross-red-line" wx:if="{{index !== 6}}"></view>
  13. </view>
  14. </view>
  15. <view class="flower-title">小小任务条,朗读好习惯</view>
  16. <scroll-view class="mission-box">
  17. <view class="mission-item" wx:for="{{misssionList}}" wx:key="{{index}}">
  18. <view>
  19. <view>{{item.title}}</view>
  20. <view class="mission-bonus">
  21. <image class="bonus-icon" src="../../../static/image/flower_small.png" />
  22. {{item.bonus}}
  23. </view>
  24. </view>
  25. <view class="mission-status">{{item.ifFinished ? '已完成' : '未完成'}}</view>
  26. </view>
  27. </scroll-view>
  28. <view class="explain">
  29. <view class="explain-gut">小红花有什么用?</view>
  30. <view class="explain-gut">我们会启动很多好玩的活动,</view>
  31. <view class="explain-gut">到时候你将会有大大的惊喜哦!</view>
  32. <view class="explain-gut">请继续积攒小红花吧!</view>
  33. </view>
  34. </view>