@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .teaching_case { display: flex; justify-content: space-between; margin-bottom: 10px; background-color: #ffffff; padding: 20rpx 30rpx; } .teaching_case .img { width: 180rpx; height: 180rpx; } .teaching_case .img image { width: 100%; height: 100%; } .teaching_case .right { padding-left: 15px; flex: 1; width: 100rpx; display: flex; flex-direction: column; align-content: flex-end; } .teaching_case .right .title { display: flex; margin-bottom: 5px; } .teaching_case .right .title .tag { border: 1px #00b2b6 solid; font-size: 12px; display: flex; white-space: nowrap; justify-content: center; align-items: center; padding: 2px 4px; border-radius: 3px; margin-right: 10rpx; color: #00b2b6; } .teaching_case .right .title text { font-weight: bold; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .teaching_case .right .introduce { font-size: 16px; color: #a7a7a7; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .teaching_case .right .operate { display: flex; justify-content: space-between; align-items: flex-end; flex-grow: 1; } .teaching_case .right .operate .left { display: flex; justify-content: space-between; align-items: center; } .teaching_case .right .operate .left .opr { display: flex; align-items: center; } .teaching_case .right .operate .left .opr text { padding-left: 10rpx; } .teaching_case .right .operate .left .pernum { color: #666666; font-size: 14px; } .teaching_case .right .operate .left .price { font-size: 18px; font-weight: bold; color: #f8a551; padding-right: 10rpx; } .teaching_case .right .operate .btn { z-index: 5; font-size: 12px; background-color: #3081e8; color: #fff; border-radius: 30px; margin: 0; float: right; letter-spacing: 1px; }