@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: 690rpx; height: 256rpx; bottom: 10px; left: 50%; padding: 30rpx; background-color: rgba(0, 0, 0, 0.26); 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 { margin-bottom: 20rpx; width: 506rpx; height: 48rpx; color: #ffffff; font-family: PingFang SC; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .teachingDetail .backPic .card .cardTop .icons { flex: 1; display: flex; align-items: center; justify-content: space-between; } .teachingDetail .backPic .card .cardTop .icons .icon { width: 48rpx; height: 48rpx; display: flex; align-items: center; justify-content: center; } .teachingDetail .backPic .card .col { margin-bottom: 10rpx; font-weight: 100; color: #f0edea; } .teachingDetail .backPic .card .tag { display: flex; } .teachingDetail .teaData { width: 750rpx; display: flex; padding: 20rpx 30rpx; justify-content: space-between; } .teachingDetail .teaData .cla { width: 49%; background: linear-gradient(to bottom, #fcfcff 30%, #e8ecfd 100%); border-radius: 10px; padding: 35rpx 30rpx; color: #424f85; } .teachingDetail .teaData .cla .tit1 { margin-bottom: 10rpx; font-weight: bold; } .teachingDetail .teaData .cla2 { width: 45%; background: linear-gradient(to bottom, #fcfcff 10%, #fef3ea 100%); border-radius: 10px; padding: 35rpx 30rpx; color: #855e42; } .teachingDetail .teaData .cla2 .tit1 { margin-bottom: 10rpx; font-weight: bold; } .teachingDetail .creator { display: flex; padding: 30rpx; background-color: #ffffff; align-items: center; margin-top: 20rpx; border-radius: 10px; } .teachingDetail .creator image { width: 96rpx; height: 96rpx; border-radius: 50%; margin-right: 20rpx; } .teachingDetail .creator .creName { font-weight: bold; } .teachingDetail .member { background-color: #ffffff; margin-top: 20rpx; padding: 30rpx; border-radius: 10px; } .teachingDetail .member .memberTop { display: flex; justify-content: space-between; margin-bottom: 10px; } .teachingDetail .member .pers { display: flex; justify-content: space-between; align-items: center; } .teachingDetail .member .pers .per { display: flex; flex-direction: column; } .teachingDetail .member .pers .per image { width: 72rpx; height: 72rpx; border-radius: 50%; } .teachingDetail .member .pers .per .perName { text-align: center; } .teachingDetail .btnBlock { position: fixed; bottom: 0; width: 750rpx; background-color: #ffffff; padding: 2vh 0; } .teachingDetail .btnBlock .btn { width: 432rpx; height: 88rpx; font-weight: 500; display: flex; justify-content: center; align-items: center; margin: auto; background-color: #0056a8; color: #ffffff; }