Skip to content

Commit 2bbe175

Browse files
committed
fix: 修复浮窗模式嵌入第三方,入口位置调整后引导图没有跟随变更位置
1 parent f89b98d commit 2bbe175

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

apps/application/template/embed.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ function initMaxkbStyle(root){
173173
}
174174
#maxkb .maxkb-tips {
175175
position: fixed;
176-
bottom: 30px;
177-
right: 66px;
176+
{{x_type}}:calc({{x_value}}px + 75px);
177+
{{y_type}}: calc({{y_value}}px + 0px);
178178
padding: 22px 24px 24px;
179179
border-radius: 6px;
180180
color: #ffffff;
@@ -191,8 +191,8 @@ function initMaxkbStyle(root){
191191
transform: rotate(45deg);
192192
box-sizing: border-box;
193193
/* left */
194-
right: -5px;
195-
bottom: 33px;
194+
{{x_type}}: -5px;
195+
{{y_type}}: 33px;
196196
border-left-color: transparent;
197197
border-bottom-color: transparent
198198
}

0 commit comments

Comments
 (0)