@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .caseBox { padding: 23rpx 0 34rpx; } .search { display: flex; justify-content: space-between; padding: 0 30rpx; } .search .left { flex: 1; line-height: 80rpx; background-color: #FAFBFD; border-radius: 40rpx; display: flex; } .search .left .uni-input { flex: 1; height: 100%; font-size: 28rpx; } .search .selectbtn { width: 80rpx; height: 80rpx; border-radius: 50%; background-color: #494949; margin-left: 28rpx; display: flex; justify-content: center; align-items: center; } .search .selectbtn image { width: 36rpx; height: 32rpx; } .screen { white-space: nowrap; width: 100%; margin-bottom: 39rpx; } .item { display: inline-block; border-radius: 50rpx; padding: 15rpx 35rpx; color: #333; font-size: 22rpx; } .item image { width: 32rpx; height: 32rpx; } .item.active { background-color: #494949; color: #fff; } .product { display: flex; flex-wrap: wrap; padding: 0 30rpx; } .product .product-item { width: 332rpx; margin-right: 26rpx; margin-bottom: 45rpx; } .product .product-item:nth-child(2n) { margin-top: 48rpx; margin-right: 0; margin-bottom: 0; } .product .product-item image { width: 332rpx; height: 280rpx; border-radius: 40rpx; margin-bottom: 12rpx; } .product .product-item view { display: flex; align-items: center; } .product .product-item text:first-child { font-size: 20rpx; font-weight: 500; padding: 5rpx; } .product .product-item text:last-child { margin-left: 11rpx; font-size: 30rpx; font-weight: 500; color: #333; } .product .product-item .bg-blue { color: #3887FD; background-color: #EEF1FF; } .product .product-item .bg-green { color: #6FCC26; background-color: #EEFEE7; } .allsel { display: flex; margin-top: 26rpx; padding-bottom: 56rpx; } .allsel .sel-left { padding-left: 30rpx; } .allsel .sel-left .category { width: 140rpx; height: 68rpx; border-radius: 10rpx; background-color: #FAFAFA; color: #999999; font-size: 26rpx; font-weight: 500; text-align: center; line-height: 68rpx; margin-top: 16rpx; } .allsel .sel-left .category:first-child { margin-top: 0; } .allsel .sel-left .category.active { background-color: #494949; color: #fff; } .allsel .sel-right { flex: 1; display: flex; flex-wrap: wrap; } .allsel .sel-right .classification { width: 33.3%; text-align: center; color: #333; font-size: 26rpx; margin-top: 52rpx; } .allsel .sel-right .classification:nth-child(1) { margin-top: 0; } .allsel .sel-right .classification:nth-child(2) { margin-top: 0; } .allsel .sel-right .classification:nth-child(3) { margin-top: 0; } .allsel .sel-right .classify-text { margin-top: 14rpx; }