You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
1.2 KiB

<!-- package/pointsStatus/pointsStatus.wxml -->
<view wx:if="{{image}}" class="image-box">
<image src="{{imgUrl + image}}" class="image"></image>
<view wx:for="{{setedPoints}}">
<image
src="/images/circle.png"
id="{{'point' + item.pointId}}"
data-id="{{item.pointId}}"
data-show="{{item.show}}"
class="point"
style="left:calc({{(item.position.relativeX * 100) + '%'}} - 3px); top:calc({{(item.position.relativeY * 100) + '%'}} - 3px)"
bind:tap="calcTooltip"
></image>
<view
wx:if="{{item.show}}"
class="tooltip"
style="left:calc({{(item.position.relativeX * 100) + '%'}} - {{item.sub}}px); top:calc({{(item.position.relativeY * 100) + '%'}} + 10px);"
>
<view>设备编号:{{item.pointInfo.equipmentNo || '--'}}</view>
<view>设备型号:{{item.pointInfo.equipmentModel || '--'}}</view>
<view>设备状态:{{item.status}}</view>
</view>
</view>
</view>
<van-empty wx:else description="暂无布设图" />
<view class="describe">简介:{{describe || '--'}}</view>