update: 蓝驰公众号、打电话悬浮框组件多种昂显示场景适配

This commit is contained in:
mixtan 2025-09-30 11:34:40 +08:00
parent 87e67fa36a
commit 966ff03967

View File

@ -299,7 +299,7 @@
</swiper> </swiper>
</view> </view>
<view v-if="item.eltmType == 8" class="mTel" :style="{ 'background-color': item.bgColor, top: initY + 'px' }" <view v-if="item.eltmType == 8" class="mTel" :style="{ 'background-color': item.bgColor, top: mobileY + 'px' }"
:data-tel="item.eltm8.tel" @tap="callTel"> :data-tel="item.eltm8.tel" @tap="callTel">
<label class="iconfont icon-dianhua--copy" <label class="iconfont icon-dianhua--copy"
:style="{ 'font-size': '30px', color: item.eltm8.fontColor }"></label> :style="{ 'font-size': '30px', color: item.eltm8.fontColor }"></label>
@ -994,7 +994,8 @@ export default {
showLoginPopup: false, showLoginPopup: false,
chatUrl: "", chatUrl: "",
initX: "690", initX: "690",
initY: "1336", initY: "667",
mobileY: "375",
}; };
}, },
mounted() { mounted() {
@ -1012,6 +1013,7 @@ export default {
initX: data.width - 50, initX: data.width - 50,
initY: data.height / 2, initY: data.height / 2,
}); });
that.mobileY = data.height / 2;
} }
} }
) )
@ -1580,4 +1582,5 @@ width: 122rpx;
border-radius: 100%; border-radius: 100%;
} }
} }
</style> </style>