feat(CP活动): 添加图片最小高度

This commit is contained in:
hzj 2026-02-24 18:35:33 +08:00
parent bcebfd0faa
commit dfb98e0870
2 changed files with 7 additions and 1 deletions

View File

@ -50,6 +50,7 @@
</div> </div>
</div> </div>
<!-- 倒计时 -->
<itemCenter <itemCenter
style="min-height: 31.33vw" style="min-height: 31.33vw"
:imgUrl="imageUrl(`timeBg`)" :imgUrl="imageUrl(`timeBg`)"

View File

@ -1,6 +1,11 @@
<template> <template>
<div style="width: 100%"> <div style="width: 100%">
<itemCenter :imgUrl="BorderImgUrl" :flip="true" :contentStyle="`display:block;`"> <itemCenter
:style="{ minHeight: ranking == '1' ? '58.51vw' : '39.07vw' }"
:imgUrl="BorderImgUrl"
:flip="true"
:contentStyle="`display:block;`"
>
<!-- 第一名 --> <!-- 第一名 -->
<div v-if="isTopOne" style="width: 98vw; height: 80%; position: relative"> <div v-if="isTopOne" style="width: 98vw; height: 80%; position: relative">
<!-- 查看个人信息按钮 --> <!-- 查看个人信息按钮 -->