lodge.wxml
455 Bytes
<view class="box">
<view class="box-title">租住比</view>
<view class="box-body">
<view class="children-box">
<view class="children-item" wx:for="{{lodgeDistribution}}">
<view class="icon" style="background: {{item.color}};"></view>
<view class="text">{{item.name}}:{{item.value}}%</view>
</view>
</view>
<circle width="200" Id="lodge3479" ratioList="{{lodgeDistribution}}"></circle>
</view>
</view>