Riku
2024-08-12 7c3c82d429f86358142adceb080e8922f6a18aa0
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>