148 lines
3.5 KiB
Plaintext
148 lines
3.5 KiB
Plaintext
@charset "UTF-8";
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
/* 轮播图 */
|
||
.column-box {
|
||
background: #fff;
|
||
font-size: 24rpx;
|
||
color: #888;
|
||
}
|
||
.column-box .swiper-category {
|
||
width: 100%;
|
||
background: #fff;
|
||
font-size: 24rpx;
|
||
color: #666;
|
||
border-radius: 10rpx;
|
||
}
|
||
.column-box .swiper-category .swiper-category-item {
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
align-items: flex-start;
|
||
flex-wrap: wrap;
|
||
background: #fff;
|
||
}
|
||
.column-box .swiper-category .swiper-category-item .column-item {
|
||
margin-top: 20rpx;
|
||
float: left;
|
||
}
|
||
.column-box .swiper-category .swiper-category-item .column-item .column-img {
|
||
width: 100rpx;
|
||
height: 100rpx;
|
||
margin: 0 auto;
|
||
}
|
||
.column-box .swiper-category .swiper-category-item .column-item .column-no-img {
|
||
width: 100rpx;
|
||
height: 100rpx;
|
||
border-radius: 50%;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
font-size: 36rpx;
|
||
color: #fff;
|
||
}
|
||
.column-box .swiper-category .swiper-category-item .column-item .column-text {
|
||
margin-top: 10rpx;
|
||
text-align: center;
|
||
color: #454A53;
|
||
width: 100%;
|
||
padding: 0 10%;
|
||
display: block;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
text-overflow: ellipsis;
|
||
}
|
||
.column-box .scroll-x {
|
||
white-space: nowrap;
|
||
background: #fff;
|
||
padding: 20rpx 0;
|
||
}
|
||
.column-box .scroll-x .scroll-x-item {
|
||
position: relative;
|
||
display: inline-block;
|
||
vertical-align: text-top;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.column-box .scroll-x .column-item {
|
||
margin-top: 20rpx;
|
||
float: left;
|
||
}
|
||
.column-box .scroll-x .column-item .column-img {
|
||
width: 100rpx;
|
||
height: 100rpx;
|
||
margin: 0 auto;
|
||
}
|
||
.column-box .scroll-x .column-item .column-text {
|
||
margin-top: 10rpx;
|
||
text-align: center;
|
||
color: #454A53;
|
||
width: 100%;
|
||
padding: 0 10%;
|
||
display: block;
|
||
overflow: hidden;
|
||
white-space: nowrap;
|
||
text-overflow: ellipsis;
|
||
}
|
||
.column-box .dots {
|
||
background: white;
|
||
display: flex;
|
||
align-items: center;
|
||
justify-content: center;
|
||
width: 100%;
|
||
padding-top: 20rpx;
|
||
}
|
||
.column-box .dots .dot {
|
||
height: 16rpx;
|
||
width: 16rpx;
|
||
background: #ddd;
|
||
border-radius: 8rpx;
|
||
margin: 0 8rpx;
|
||
}
|
||
.column-box .ink-bar-box {
|
||
background: #fff;
|
||
padding-bottom: 20rpx;
|
||
}
|
||
.column-box .ink-bar-box .ui-tabs-ink-bar-wrapper {
|
||
width: 60rpx;
|
||
background: #ddd;
|
||
position: relative;
|
||
left: 345rpx;
|
||
bottom: 0;
|
||
height: 8rpx;
|
||
-webkit-transform-origin: 50% 50%;
|
||
transform-origin: 50% 50%;
|
||
transition: width 250ms ease-out, left 250ms ease-out;
|
||
overflow: hidden;
|
||
border-radius: 4rpx;
|
||
}
|
||
.column-box .ink-bar-box .ui-tabs-ink-bar-wrapper .ui-tabs-ink-bar {
|
||
position: absolute;
|
||
width: 30rpx;
|
||
background: #e74d45;
|
||
height: 8rpx;
|
||
border-radius: 4rpx;
|
||
}
|