@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .teachingDetail { padding-bottom: 80px; } .teachingDetail .backPic { width: 750rpx; position: relative; } .teachingDetail .backPic image { width: 100%; display: block; } .teachingDetail .backPic .card { position: absolute; width: 650rpx; height: 130px; bottom: 10px; left: 50%; padding: 30rpx 20rpx; -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px); border-radius: 10px; -webkit-transform: translate(-50%, 0); transform: translate(-50%, 0); border: 1rpx #667870 solid; color: #ffffff; } .teachingDetail .backPic .card .cardTop { display: flex; justify-content: space-between; } .teachingDetail .backPic .card .cardTop .title { font-weight: bold; font-size: 20px; } .teachingDetail .backPic .card .col { margin-bottom: 10rpx; font-weight: 100; } .teachingDetail .backPic .card .tag { display: flex; } .teachingDetail .teaData { width: 750rpx; display: flex; padding: 20px 30rpx; justify-content: space-between; } .teachingDetail .teaData .cla { width: 49%; background: linear-gradient(to bottom, #fcfcff 30%, #e8ecfd 100%); border-radius: 10px; padding: 20px 10px; color: #424f85; } .teachingDetail .teaData .cla .tit1 { font-size: 22px; margin-bottom: 10px; font-weight: bold; } .teachingDetail .teaData .cla .tit2 { margin-bottom: 5px; } .teachingDetail .teaData .cla2 { width: 45%; background: linear-gradient(to bottom, #fcfcff 10%, #fef3ea 100%); border-radius: 10px; padding: 20px 10px; color: #855e42; } .teachingDetail .teaData .cla2 .tit1 { font-size: 22px; margin-bottom: 10px; font-weight: bold; } .teachingDetail .teaData .cla2 .tit2 { margin-bottom: 5px; } .teachingDetail .creator { display: flex; padding: 10px 30px; background-color: #ffffff; align-items: center; margin-top: 20px; border-radius: 10px; } .teachingDetail .creator image { width: 60px; height: 60px; border-radius: 50%; margin-right: 20rpx; } .teachingDetail .creator .creName { font-weight: bold; } .teachingDetail .member { background-color: #ffffff; margin-top: 20px; padding: 10px 10px; border: 10px; border-radius: 10px; } .teachingDetail .member .memberTop { display: flex; justify-content: space-between; margin-bottom: 10px; } .teachingDetail .member .pers { display: flex; justify-content: space-around; align-items: center; } .teachingDetail .member .pers .per { display: inline-block; } .teachingDetail .member .pers .per image { width: 40px; height: 40px; border-radius: 50%; } .teachingDetail .member .pers .per .perName { font-size: 14px; text-align: center; } .teachingDetail .btnBlock { position: fixed; bottom: 0; width: 750rpx; background-color: #ffffff; padding: 20px 0; } .teachingDetail .btnBlock .btn { width: 50%; margin: auto; background-color: #0056a8; color: #ffffff; font-size: 14px; }