yujialong 1 month ago
parent 76a82ea333
commit 9f825f4ea8
  1. 2
      src/pages/Subscribe/index.less
  2. 1
      src/pages/Subscribe/index.tsx
  3. 10
      src/pages/UserHome/UserSubscribe/index.less

@ -205,6 +205,8 @@
.subscribe_content_singleItem_cover {
width: 100%;
height: 5.8rem;
max-height: 5.8rem;
min-height: 5.8rem;
border-radius: .75rem;
margin-bottom: .625rem;
}

@ -593,6 +593,7 @@ export default function Subscribe() {
<Image
className='subscribe_content_singleItem_cover'
src={item.PrdtCover}
mode='widthFix'
lazyLoad
></Image>
<View className='subscribe_content_singleItem_title'>{item.PrdtTitle}</View>

@ -1,11 +1,9 @@
.subscribe_bg {
width: 100vw;
height: 100vh;
background: #fafafa;
padding: 0 1rem;
.subscribe_scrollview {
width: calc(100% - 2rem);
height: 100vh;
background: #fafafa;
display: flex;
@ -75,7 +73,7 @@
position: relative;
width: 100%; /* 或者任意宽度 */
padding-top: calc((1 / 1) * 100%); /* 计算高度以保持16:9比例 */
.item_content_image0 {
position: absolute;
top: 0;
@ -99,7 +97,7 @@
position: relative;
width: 100%; /* 或者任意宽度 */
padding-top: calc((9 / 16) * 100%); /* 计算高度以保持16:9比例 */
.shade {
position: absolute;
top: 0;
@ -119,7 +117,7 @@
margin: auto;
}
}
.item_content_image1 {
position: absolute;
top: 0;
@ -177,4 +175,4 @@
}
}
}
}
}

Loading…
Cancel
Save