@import "../../../../themes/page.scss"; @import "../../searc-list.scss"; /* module/diet/pages/diet-info/diet-info.wxss */ .diet-box{ background: #fff; border-radius: 12px; /* 使用负外边距实现上浮,配合下方占位保持整体高度不变 */ margin-top: -30px; } .hero-placeholder { height: 30px; /* 顶部圆角放在占位元素上,形成整块卡片的上圆角 */ border-top-left-radius: 12px; border-top-right-radius: 12px; margin-top: -30px; } .diet-title{ font-size: 40rpx; color: #040000; font-weight: bold; padding: 24px 12px 0; margin: 0 12px; border-bottom: 0.5px solid #E7E7E7; height: 60px; } .list-wrapper { .list-title { padding: 16px 17px 0; color: #000000; font-size: 32rpx; font-weight: bold; } .box-wrapper { margin: 6px 12px; padding: 13px 16px 16px 2px; font-size: 14px; border-radius: 4px; color: #000000; border-bottom: 0.5px solid #E7E7E7; // box-shadow: inset 0px 0px 12px * 3 0px rgba(29,111,246,0.38); } .item-wrapper { display: flex; justify-content: space-between; align-items: center; margin: 0 18px; min-height: 40px; font-size: 14px; color: #000000; border-bottom: 1px dotted #E7E7E7; } }