Browse Source

(*) 小程序布设展示优化

master
liujiangyong 2 years ago
parent
commit
f55494b5c7
  1. 2
      weapp/package/pointsStatus/pointsStatus.wxml
  2. 4
      weapp/package/pointsStatus/pointsStatus.wxss

2
weapp/package/pointsStatus/pointsStatus.wxml

@ -8,7 +8,7 @@
data-id="{{item.pointId}}"
data-show="{{item.show}}"
class="point"
style="left:{{(item.position.relativeX * 100) + '%'}}; top:{{(item.position.relativeY * 100) + '%'}}"
style="left:calc({{(item.position.relativeX * 100) + '%'}} - 3px); top:calc({{(item.position.relativeY * 100) + '%'}} - 3px)"
bind:tap="calcTooltip"
></image>
<view

4
weapp/package/pointsStatus/pointsStatus.wxss

@ -10,8 +10,8 @@
.image-box .point {
position: absolute;
width: 10px;
height: 10px;
width: 12px;
height: 12px;
}
.image-box .tooltip {

Loading…
Cancel
Save