123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- .study {
- background: #F9F9F9;
- padding-bottom: 100rpx;
- }
- .study .top-box {
- background: #fff;
- padding: 0 30rpx;
- }
- .study .top-box .search-box {
- position: relative;
- height: 80rpx;
- background: #FFFFFF;
- border-radius: 40rpx 40rpx 40rpx 40rpx;
- margin-bottom: 24rpx;
- background: #F9F9F9;
- }
- .study .top-box .search-box .icon {
- width: 37rpx;
- height: 37rpx;
- position: absolute;
- top: 50%;
- left: 36rpx;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%);
- }
- .study .top-box .search-box .search {
- line-height: 80rpx;
- height: 80rpx;
- padding-left: 100rpx;
- padding-right: 130rpx;
- }
- .study .top-box .search-box .btn {
- position: absolute;
- top: 8rpx;
- right: 10rpx;
- width: 108rpx;
- height: 64rpx;
- line-height: 64rpx;
- background: linear-gradient(180deg, #9DC1FF 0%, #1C92FD 100%);
- color: #fff;
- font-size: 28rpx;
- border-radius: 32rpx;
- padding: 0;
- }
- .study .top-box .banner {
- width: 100%;
- height: 240rpx;
- }
- .study .top-box .type-box {
- display: flex;
- }
- .study .top-box .type-box .type-item {
- flex: 1;
- text-align: center;
- padding: 30rpx 0;
- }
- .study .top-box .type-box .type-item .icon {
- width: 64rpx;
- height: 64rpx;
- }
- .study .top-box .type-box .type-item .sub-title {
- font-size: 24rpx;
- font-weight: 400;
- color: #121212;
- margin-top: 16rpx;
- }
- .study .content {
- padding: 0 30rpx;
- }
- .study .content .title-box {
- display: flex;
- align-items: center;
- justify-content: space-between;
- margin: 30rpx 0;
- }
- .study .content .title-box .title {
- font-size: 32rpx;
- font-weight: bold;
- color: #0F0F0F;
- position: relative;
- z-index: 1;
- }
- .study .content .title-box .title::before {
- content: '';
- position: absolute;
- top: 50%;
- left: -10rpx;
- z-index: 0;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%);
- width: 52rpx;
- height: 52rpx;
- border-radius: 50%;
- background: linear-gradient(180deg, #9DC1FF 0%, #1C92FD 100%);
- opacity: .6;
- }
- .study .content .title-box .more {
- font-size: 24rpx;
- font-weight: 400;
- color: #121212;
- display: flex;
- }
- .study .content .hot-list {
- display: flex;
- justify-content: space-between;
- }
- .study .content .hot-list .item {
- width: 332rpx;
- height: 302rpx;
- background: #FFFFFF;
- border-radius: 16rpx;
- }
- .study .content .hot-list .item .icon {
- width: 100%;
- height: 164rpx;
- }
- .study .content .hot-list .item .title {
- font-size: 28rpx;
- font-weight: bold;
- color: #0F0F0F;
- padding: 20rpx;
- }
- .study .content .hot-list .item .author-info {
- display: flex;
- align-items: center;
- }
- .study .content .hot-list .item .author-info .head {
- width: 48rpx;
- height: 48rpx;
- border-radius: 50%;
- background: #999;
- margin-left: 20rpx;
- }
- .study .content .hot-list .item .author-info .name {
- font-size: 24rpx;
- font-weight: 400;
- color: #999999;
- margin-left: 10rpx;
- }
- .study .content .list .item {
- background: #fff;
- padding: 20rpx;
- border-radius: 16rpx;
- display: flex;
- margin-bottom: 20rpx;
- }
- .study .content .list .item .icon {
- width: 164rpx;
- height: 164rpx;
- }
- .study .content .list .item .info {
- margin-left: 20rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- flex: 1;
- }
- .study .content .list .item .info .title {
- font-size: 28rpx;
- font-weight: bold;
- color: #0F0F0F;
- }
- .study .content .list .item .info .types {
- font-size: 24rpx;
- font-weight: 400;
- color: #999999;
- }
- .study .content .list .item .info .author-info {
- display: flex;
- align-items: center;
- }
- .study .content .list .item .info .author-info .head {
- width: 48rpx;
- height: 48rpx;
- border-radius: 50%;
- background: #999;
- }
- .study .content .list .item .info .author-info .name {
- font-size: 24rpx;
- font-weight: 400;
- color: #999999;
- margin-left: 10rpx;
- }
- .study .content .list .item .play {
- width: 40rpx;
- height: 40rpx;
- align-self: center;
- }
|