123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- .study {
- background: #FFFFFF;
- padding: 20rpx;
- }
- .study .type-box {
- display: flex;
- justify-content: space-between;
- }
- .study .type-box .left {
- width: 224rpx;
- }
- .study .type-box .right {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- align-content: space-between;
- padding-left: 20rpx;
- }
- .study .type-box .right .type-item .icon {
- width: 224rpx;
- height: 124rpx;
- border-radius: 16rpx;
- vertical-align: bottom;
- }
- .study .type-box .type-item {
- position: relative;
- }
- .study .type-box .type-item .glass {
- position: absolute;
- bottom: 0%;
- left: 0%;
- width: 100%;
- height: 72rpx;
- padding-left: 16rpx;
- box-sizing: border-box;
- border-radius: 0 0 16rpx 16rpx;
- background: linear-gradient(180deg, rgba(0, 188, 255, 0) 0%, var(--colour) 100%);
- }
- .study .type-box .type-item .glass .title {
- font-weight: bold;
- color: #FFFFFF;
- font-size: 24rpx;
- margin-top: 8rpx;
- }
- .study .type-box .type-item .glass .type {
- font-weight: 400;
- color: #FFFFFF;
- font-size: 16rpx;
- margin-top: 6rpx;
- }
- .study .type-box .type-item .icon {
- width: 224rpx;
- height: 268rpx;
- border-radius: 16rpx;
- vertical-align: bottom;
- }
- .study .swiper {
- height: 272rpx;
- border-radius: 16rpx;
- margin-top: 28rpx;
- }
- .study .swiper .swiper-item {
- width: 100%;
- height: 100%;
- border-radius: 16rpx;
- object-fit: cover;
- }
- .study .more-title {
- display: flex;
- justify-content: space-between;
- align-items: center;
- }
- .study .more-title .more-box {
- display: flex;
- align-items: center;
- font-size: 24rpx;
- color: #AAAAAA;
- }
- .study .more-title .more-box .more {
- width: 20rpx;
- height: 20rpx;
- display: block;
- margin-left: 6rpx;
- }
- .study .type-title {
- font-weight: bold;
- color: #222222;
- font-size: 32rpx;
- margin: 30rpx 0 20rpx;
- }
- .study .tab-box {
- display: flex;
- }
- .study .tab-box .tab {
- padding: 10rpx 24rpx;
- color: #AAAAAA;
- background: #EEEEEE;
- font-size: 28rpx;
- margin-right: 20rpx;
- border-radius: 30rpx;
- }
- .study .tab-box .tab.active {
- color: #3B83FF;
- background: #CEE0FF;
- }
- .study .list {
- display: flex;
- justify-content: space-between;
- flex-wrap: wrap;
- }
- .study .list .item {
- box-shadow: 0rpx 0rpx 24rpx 2rpx rgba(0, 0, 0, 0.08);
- border-radius: 16rpx;
- width: 344rpx;
- height: 424rpx;
- margin-top: 20rpx;
- display: flex;
- flex-direction: column;
- }
- .study .list .item .info {
- padding: 20rpx;
- flex: 1;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .study .list .item .info .title {
- color: #222222;
- font-size: 24rpx;
- width: 100%;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- /* 显示的最大行数 */
- overflow: hidden;
- }
- .study .list .item .info .user-info {
- display: flex;
- align-items: center;
- margin-top: 20rpx;
- }
- .study .list .item .info .user-info .head {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- }
- .study .list .item .info .user-info .user-name {
- color: #AAAAAA;
- font-size: 20rpx;
- margin-left: 12rpx;
- }
- .study .zs-list {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- }
- .study .zs-list .store-item {
- box-shadow: 0rpx 0rpx 24rpx 2rpx rgba(0, 0, 0, 0.08);
- border-radius: 16rpx;
- width: 344rpx;
- margin-top: 20rpx;
- }
- .study .zs-list .store-item .info {
- padding: 20rpx;
- }
- .study .zs-list .store-item .info .title {
- color: #222222;
- font-size: 24rpx;
- width: 100%;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- /* 显示的最大行数 */
- overflow: hidden;
- }
- .study .zs-list .store-item .info .user-info {
- display: flex;
- align-items: center;
- margin-top: 20rpx;
- }
- .study .zs-list .store-item .info .user-info .head {
- width: 40rpx;
- height: 40rpx;
- border-radius: 50%;
- }
- .study .zs-list .store-item .info .user-info .user-name {
- color: #AAAAAA;
- font-size: 20rpx;
- margin-left: 12rpx;
- }
|