| | |
| | | <!--components/chat-components/summary/deviceLastValue/deviceLastValue.wxml--> |
| | | <text>components/chat-components/summary/deviceLastValue/deviceLastValue.wxml</text> |
| | | <view > |
| | | <view class="font-bold w-full" style="text-align: center;line-height: 17rpx;"> |
| | | <text> |
| | | {{data.title}} |
| | | </text> |
| | | </view> |
| | | <view class="mt-22" style="max-height: 500rpx;overflow-y:auto;"> |
| | | <van-collapse value="{{ activeNames }}" bind:change="onChange"> |
| | | <van-collapse-item content-class="padding-0" title="{{item.OTITLE}}" wx:for="{{data.values}}" wx:key="ONAME"> |
| | | <view> |
| | | <view class="flex-items-center justify-between pb-18" style="border-top:{{subIndex===0 ? '0':'2rpx' }} solid gray" wx:for-item="subItem" wx:for-index="subIndex" wx:for="{{data.rows}}" wx:key="id"> |
| | | <text style="line-height: 30rpx;"> |
| | | {{subItem.title}} |
| | | </text> |
| | | |
| | | <text class="w-120" style="line-height: 30rpx;"> |
| | | {{item[subItem.id]}} |
| | | </text> |
| | | </view> |
| | | </view> |
| | | |
| | | </van-collapse-item> |
| | | |
| | | </van-collapse> |
| | | </view> |
| | | |
| | | </view> |