riku
2025-04-27 f46786f11c5c08ead7501a82e5a71430ad69b782
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<view wx:if="{{period && value.length > 0}}" class="summary-wrap">
  <view class="summary-count">
    <view class="summary-time"> {{period}}: </view>
    <view
      class="summary-count__item"
      wx:for="{{value}}"
      wx:for-index="index"
      wx:key="index"
      style="color: {{item.color}};"
    >
      <text> {{item.name}} </text><text> {{'(' + item.value + '),'}} </text>
    </view>
  </view>
</view>