/* pages/item/item.wxss */ .meta { display: flex; flex-direction: column; align-items: center; height: 1000rpx; padding: 50rpx 40rpx; } .poster { height: 50%; margin: 20rpx; } .title { font-size: 42rpx; color: #444; } .info { font-size: 15px; color: #888; margin-left: 20px; padding: 20px 10px; line-height: 28px; } .summary { margin: 30rpx auto; } .label { display: block; } .content { color: #666; font-size: 20rpx; padding: 10rpx; } .mainBottom{ padding-top: 30px; } .main{ margin-top: -20px; } .fontColorBox, .fontColorBox1 { /* 文字默认颜色 */ color: black; } .navBox { /* 顶部tab盒子样式 */ width: 100%; height: 108rpx; background: white; display: flex; align-items: center; justify-content: center; } .navBox view:last-child { /* 最后一个tab标题的样式 */ padding-left: 20%; } .titleBox { /* 未选中文字的样式 */ color: rgb(168, 170, 175); font-size: 30rpx; display: flex; flex-direction: column; align-items: center; } .lineBox,.notLineBox{ /* 选中及未选中底线共同样式 */ width: 32rpx; height: 8rpx; } .lineBox { /* 选中底线样式 */ background: rgb(43, 44, 45); margin-top: 16rpx; border-radius: 4rpx; } .notLineBox { /* 未选中底线样式 */ background: transparent; } .swiperTtemBox { /* 底部内容样式 */ height: 100vh; overflow: scroll; margin: 12rpx 0rpx; background: white; font-size: 28rpx; }