@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .container.data-v-53c8c079 { padding: 0 0 30rpx; background-color: #f0f4f7; } .container .top.data-v-53c8c079 { position: relative; } .container .top .bg.data-v-53c8c079 { width: 100%; } .container .top .top-box.data-v-53c8c079 { position: absolute; bottom: -90rpx; width: 100%; padding: 30rpx; background: linear-gradient(to bottom, rgba(255, 255, 255, 0.5) 0%, rgba(255, 255, 255, 0.9) 20%, white 100%); border-radius: 16rpx; } .container .top .top-box .title.data-v-53c8c079 { font-size: 34rpx; } .container .top .top-box .txt.data-v-53c8c079 { margin-top: 20rpx; display: flex; align-items: center; } .container .top .top-box .txt image.data-v-53c8c079 { width: 36rpx; height: 36rpx; margin: 0 8rpx; } .container .top .top-box .txt text.data-v-53c8c079 { font-size: 28rpx; color: #595959; } .container .container-body.data-v-53c8c079 { margin-top: 110rpx; padding: 0 24rpx; } .container .container-body .center-box.data-v-53c8c079 { background-color: #ffffff; padding: 10rpx 24rpx 50rpx; border-radius: 16rpx; } .container .container-body .center-box .progress-box.data-v-53c8c079 { display: flex; align-items: center; margin: 50rpx 0 30rpx; } .container .container-body .center-box .progress-box image.data-v-53c8c079 { width: 38rpx; height: 38rpx; } .container .container-body .center-box .progress-box .title.data-v-53c8c079 { margin: 0 10rpx 0 4rpx; font-size: 34rpx; } .container .container-body .center-box .progress-box .txt.data-v-53c8c079 { font-size: 28rpx; color: #595959; } .container .container-body .center-box .progress.data-v-53c8c079 { display: flex; align-items: center; } .container .container-body .center-box .progress text.data-v-53c8c079 { font-size: 26rpx; margin-left: 12rpx; } .container .container-body .list.data-v-53c8c079 { padding: 20rpx; background-color: #ffffff; border-radius: 16rpx; display: flex; justify-content: space-between; align-items: center; box-sizing: border-box; margin-top: 20rpx; } .container .container-body .list .img-box.data-v-53c8c079 { width: 240rpx; height: 150rpx; border-radius: 16rpx; overflow: hidden; position: relative; flex-shrink: 0; } .container .container-body .list .img-box .sub.data-v-53c8c079 { background-color: rgba(0, 0, 0, 0.8); padding: 4rpx 16rpx; color: #ffffff; position: absolute; top: 0; left: 0; font-size: 24rpx; border-radius: 8rpx; } .container .container-body .list .img-box image.data-v-53c8c079 { width: 100%; height: 100%; } .container .container-body .list .right.data-v-53c8c079 { height: 150rpx; margin-left: 20rpx; flex: 1; display: flex; flex-direction: column; justify-content: space-between; min-width: 0; } .container .container-body .list .right .title.data-v-53c8c079 { font-size: 30rpx; font-weight: 500; overflow: hidden; text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 2; /* 控制显示行数 */ -webkit-box-orient: vertical; word-break: break-all; /* 允许单词内换行 */ max-height: 80rpx; /* 根据字体大小调整 */ line-height: 40rpx; /* 行高与字体大小匹配 */ width: 100%; /* 确保宽度占满容器 */ } .container .container-body .list .right .bottom.data-v-53c8c079 { display: flex; justify-content: flex-end; align-items: center; font-size: 26rpx; } .container .container-body .list .right .bottom .tip.data-v-53c8c079 { background: linear-gradient(to right, #fcecd0, #ffffff); padding: 8rpx 12rpx; border-radius: 22rpx; color: #f2931d; } .container .container-body .list .right .bottom .tip image.data-v-53c8c079 { width: 36rpx; height: 36rpx; margin-right: 4rpx; } .container .container-body .list .right .bottom .btn.data-v-53c8c079 { background-color: #fdf0e7; padding: 8rpx 16rpx; color: #f38600; border-radius: 12rpx; } .container .container-body .list .right .bottom .btn-red.data-v-53c8c079 { background-color: #ff512f; padding: 8rpx 18rpx; color: #ffffff; border-radius: 12rpx; }