312 lines
8.0 KiB
Plaintext
312 lines
8.0 KiB
Plaintext
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
/**
|
||
* 这里是uni-app内置的常用样式变量
|
||
*
|
||
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
*
|
||
*/
|
||
/**
|
||
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
*
|
||
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
*/
|
||
/* 颜色变量 */
|
||
/* 行为相关颜色 */
|
||
/* 文字基本颜色 */
|
||
/* 背景颜色 */
|
||
/* 边框颜色 */
|
||
/* 尺寸变量 */
|
||
/* 文字尺寸 */
|
||
/* 图片尺寸 */
|
||
/* Border Radius */
|
||
/* 水平间距 */
|
||
/* 垂直间距 */
|
||
/* 透明度 */
|
||
/* 文章场景相关 */
|
||
.page-content.data-v-d044a737 {
|
||
min-height: 100vh;
|
||
background-color: #f2f3f5;
|
||
--nut-menu-bar-box-shadow: none;
|
||
--nut-menu-item-content-padding: 20rpx;
|
||
--nut-menu-item-content-max-height: 900rpx;
|
||
--nut-searchbar-input-height: 40px;
|
||
}
|
||
.data-v-d044a737 .titleClass .nut-menu__title-text {
|
||
font-size: 30rpx;
|
||
font-weight: bold;
|
||
color: black;
|
||
}
|
||
.top-bar.data-v-d044a737 {
|
||
background: #fff;
|
||
align-items: center;
|
||
text-align: center;
|
||
padding: 20rpx 60rpx;
|
||
}
|
||
.goods-item.data-v-d044a737 {
|
||
display: flex;
|
||
flex-direction: row;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
padding: 20rpx;
|
||
background-color: #ffffff;
|
||
margin-bottom: 20rpx;
|
||
gap: 20rpx;
|
||
}
|
||
.goods-item .goods-item-image.data-v-d044a737 {
|
||
width: 180rpx;
|
||
height: 180rpx;
|
||
}
|
||
.goods-item .goods-item-image .goods-item-image-img.data-v-d044a737 {
|
||
width: 100%;
|
||
height: 100%;
|
||
}
|
||
.goods-item .goods-item-content.data-v-d044a737 {
|
||
display: flex;
|
||
flex: 1;
|
||
flex-direction: column;
|
||
justify-content: space-between;
|
||
/* 首尾贴边,中间均分 */
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-header.data-v-d044a737 {
|
||
display: flex;
|
||
align-items: center;
|
||
padding: 6rpx 0;
|
||
gap: 20rpx;
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-body.data-v-d044a737 {
|
||
padding: 6rpx 0;
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-body .goods-item-content-body-desc.data-v-d044a737 {
|
||
color: #7c7c7c;
|
||
font-size: 26rpx;
|
||
/* 关键属性 */
|
||
display: -webkit-box;
|
||
/* 使用弹性盒子布局 */
|
||
-webkit-box-orient: vertical;
|
||
/* 垂直方向排列 */
|
||
-webkit-line-clamp: 2;
|
||
/* 限制显示两行 */
|
||
overflow: hidden;
|
||
/* 超出部分隐藏 */
|
||
text-overflow: ellipsis;
|
||
/* 超出时显示省略号 */
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-stock.data-v-d044a737 {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-stock .goods-item-content-stock-desc.data-v-d044a737 {
|
||
font-size: 26rpx;
|
||
color: #999999;
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-stock .goods-item-content-status-desc.data-v-d044a737 {
|
||
font-size: 26rpx;
|
||
color: red;
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-footer.data-v-d044a737 {
|
||
padding: 6rpx 0;
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-footer .goods-item-content-footer-btn.data-v-d044a737 {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
align-items: center;
|
||
gap: 10rpx;
|
||
}
|
||
.goods-item .goods-item-content .goods-item-content-footer .goods-item-content-footer-btn .share-btn.data-v-d044a737 {
|
||
border-radius: 50rpx;
|
||
border: 2rpx solid red;
|
||
font-size: 26rpx;
|
||
align-items: center;
|
||
height: 54rpx;
|
||
color: red;
|
||
display: flex;
|
||
justify-content: center;
|
||
}
|
||
.filter-types.data-v-d044a737 {
|
||
display: flex;
|
||
justify-content: flex-start;
|
||
flex-direction: row;
|
||
align-items: center;
|
||
overflow: auto;
|
||
gap: 10rpx;
|
||
padding: 10rpx;
|
||
height: 60rpx;
|
||
background-color: #fff;
|
||
border-bottom: 2rpx solid gainsboro;
|
||
border-top: 2rpx solid gainsboro;
|
||
}
|
||
.filter-types .filter-type-inner.data-v-d044a737 {
|
||
align-items: center;
|
||
background-color: rgba(0, 0, 0, 0.05);
|
||
border-radius: 16rpx;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex: 0 0 auto;
|
||
font-size: 28rpx;
|
||
gap: 15rpx;
|
||
padding: 10rpx 20rpx;
|
||
}
|
||
.filter-types .filter-type-inner.active.data-v-d044a737 {
|
||
background-color: rgba(250, 44, 25, 0.1);
|
||
color: var(--nutui-color-primary);
|
||
}
|
||
.tabs-container.data-v-d044a737 {
|
||
display: flex;
|
||
}
|
||
.tabs-container .tab-pane-inner.data-v-d044a737 {
|
||
height: 600rpx;
|
||
}
|
||
.tabs-container .tabs-inner.data-v-d044a737 {
|
||
overflow-y: scroll;
|
||
height: 600rpx;
|
||
width: 160rpx;
|
||
background-color: #F5F5F5;
|
||
}
|
||
.tabs-container .tabs-inner .tab-inner.data-v-d044a737 {
|
||
display: flex;
|
||
height: 60rpx;
|
||
padding: 10rpx;
|
||
font-size: 28rpx;
|
||
display: flex;
|
||
align-items: center;
|
||
background: #F5F5F5;
|
||
}
|
||
.tabs-container .tabs-inner .tab-inner text.data-v-d044a737 {
|
||
width: 100%;
|
||
overflow: hidden;
|
||
text-overflow: ellipsis;
|
||
white-space: nowrap;
|
||
text-align: center;
|
||
}
|
||
.tabs-container .tabs-inner .tab-inner-active.data-v-d044a737 {
|
||
background-color: rgba(250, 44, 25, 0.1);
|
||
color: var(--nutui-color-primary);
|
||
}
|
||
.degree-inner.data-v-d044a737 {
|
||
display: flex;
|
||
flex: 1;
|
||
flex-wrap: wrap;
|
||
gap: 10rpx;
|
||
width: 100%;
|
||
margin-bottom: 60rpx;
|
||
}
|
||
.degree-item.data-v-d044a737 {
|
||
align-items: center;
|
||
background-color: rgba(0, 0, 0, 0.05);
|
||
border-radius: 10rpx;
|
||
box-sizing: border-box;
|
||
display: flex;
|
||
flex: 0 0 auto;
|
||
font-size: 26rpx;
|
||
gap: 10rpx;
|
||
justify-content: center;
|
||
min-height: 80rpx;
|
||
width: calc(50% - 10rpx);
|
||
}
|
||
.degree-item.active.data-v-d044a737 {
|
||
background-color: rgba(250, 44, 25, 0.1);
|
||
color: var(--nutui-color-primary);
|
||
}
|
||
.product-btns.data-v-d044a737 {
|
||
display: flex;
|
||
width: 100%;
|
||
padding: 20rpx 0;
|
||
}
|
||
.product-btns .reset.data-v-d044a737 {
|
||
flex: 1;
|
||
}
|
||
.product-btns .confirm.data-v-d044a737 {
|
||
flex: 2;
|
||
}
|
||
.degree-btns.data-v-d044a737 {
|
||
display: flex;
|
||
width: 100%;
|
||
}
|
||
.degree-btns .reset.data-v-d044a737 {
|
||
flex: 1;
|
||
/* 重置按钮占 1 份 */
|
||
}
|
||
.degree-btns .confirm.data-v-d044a737 {
|
||
flex: 2;
|
||
/* 确认按钮占 2 份 */
|
||
}
|
||
.main-nav-container.data-v-d044a737 {
|
||
display: flex;
|
||
justify-content: space-between;
|
||
background-color: #fff;
|
||
padding: 20rpx;
|
||
}
|
||
.nav-button.data-v-d044a737 {
|
||
display: flex;
|
||
align-items: center;
|
||
width: 45%;
|
||
height: 160rpx;
|
||
border-radius: 20rpx;
|
||
overflow: hidden;
|
||
padding: 0 10rpx;
|
||
}
|
||
.phone-button.data-v-d044a737 {
|
||
background: linear-gradient(135deg, #6a5ae0, #8d7bfb);
|
||
color: white;
|
||
}
|
||
.parts-button.data-v-d044a737 {
|
||
background: linear-gradient(135deg, #ff6b6b, #ee5253);
|
||
color: white;
|
||
}
|
||
.nav-button-bg.data-v-d044a737 {
|
||
position: absolute;
|
||
right: 0;
|
||
top: 0;
|
||
height: 100%;
|
||
width: 50%;
|
||
opacity: 0.2;
|
||
object-fit: cover;
|
||
}
|
||
.nav-button-icon.data-v-d044a737 {
|
||
width: 90rpx;
|
||
height: 90rpx;
|
||
margin-right: 20rpx;
|
||
z-index: 2;
|
||
}
|
||
.nav-button-content.data-v-d044a737 {
|
||
z-index: 2;
|
||
display: flex;
|
||
flex-direction: column;
|
||
}
|
||
.nav-button-title.data-v-d044a737 {
|
||
font-size: 34rpx;
|
||
font-weight: bold;
|
||
margin-bottom: 8rpx;
|
||
}
|
||
.nav-button-desc.data-v-d044a737 {
|
||
font-size: 24rpx;
|
||
opacity: 0.85;
|
||
} |