mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-28 13:31:04 +00:00
fix(微信登录): 登录页 logo 改用 image 组件,避免小程序尺寸样式丢失
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
parent
066cd52f8c
commit
6e1050af1e
@ -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%;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user