fix(微信登录): 登录页 logo 改用 image 组件,避免小程序尺寸样式丢失

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
吴昊天 2026-10-27 14:32:27 +08:00
parent 066cd52f8c
commit 6e1050af1e

View File

@ -16,7 +16,7 @@
</view>
<!-- #endif -->
<view class="merchant-msg">
<img :src="configData.wap_login_logo" />
<image class="logo" :src="configData.wap_login_logo" mode="aspectFit" />
<view class="name">
{{ configData.site_name }}
</view>
@ -628,7 +628,8 @@ page {
position: relative;
/* #endif */
img {
/* 用 image + class,避免小程序把 img 编译成 image 后尺寸样式丢失 */
.logo {
width: 152rpx;
height: 152rpx;
border-radius: 50%;