/* 给css变量的默认底色,用来兜底使用 */ .t-swipe { width: 100%; margin: 0 auto; background-color: var(--color-background); margin-top: 40rpx; } .t-swipe-item { font-size: 32rpx; color: #333333; height: 100%vw; } .t-swipe-item-con { height: 300rpx; line-height: 300rpx; width: 100%; } .t-swipe-item-con-view { background-color: var(--color-card); text-indent: 1em; position: relative; height: 100%; color: var(--color-text-primary); } .t-swipe-item-con-view::after { content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 1px; max-height: 1px; min-height: 1px; transform: scaleY(0.5); background-color: var(--color-border); } .t-swipe-item-con-btn { display: flex; justify-content: center; align-items: center; } .t-swipe-item-con-btn-icon { font-size: 32px; } .left-slot { display: flex; align-items: center; justify-content: center; width: 100%; } .box{ width: 100%; display: flex; /* 启用 Flexbox 布局 */ flex-direction: column; /* 设置主轴为竖直方向 */ align-items: center; /* 在交叉轴(水平方向)上居中对齐 */ } .kuang{ width: 75%; height: 240rpx; border: 1px solid #de868f; margin-top: 30rpx; margin-left: 25rpx; border-radius: 20px; } .image{ width: 100px; height: 100px; border-radius: 20px; position: relative; top: 25rpx; } .wenzi{ width: 65%; height: 180rpx; position: relative; left: 220rpx; bottom: 450rpx; } .text{ font-weight: bolder; margin-left: 10rpx; position: relative; top: 30rpx; right: 10rpx; } .box1{ font-size: 13px; width: 100rpx; background-color: cornflowerblue; margin-top: 20rpx; margin-left: 10rpx; color: white; position: relative; top: 88rpx; right: 210rpx; } .dingwei{ position: relative; } .yy3{ width: 10px; height: 20px; position: relative; left: 210rpx; bottom: 70rpx; background-color: #4095e5; }