爱简收旧衣按件回收前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

360 lines
8.4 KiB

/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.inspect-container.data-v-e802c881 {
min-height: 100vh;
background: #f8f8f8;
display: flex;
flex-direction: column;
}
.nav-bar.data-v-e802c881 {
display: flex;
align-items: center;
height: calc(150rpx + var(--status-bar-height));
padding: 0 32rpx;
padding-top: var(--status-bar-height);
background: #fff;
position: fixed;
top: 0;
left: 0;
right: 0;
z-index: 999;
box-sizing: border-box;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.03);
}
.nav-bar .back.data-v-e802c881 {
padding: 20rpx;
margin-left: -20rpx;
}
.nav-bar .nav-title.data-v-e802c881 {
flex: 1;
text-align: center;
font-size: 32rpx;
font-weight: 500;
color: #222;
}
.nav-bar .nav-icons.data-v-e802c881 {
display: flex;
align-items: center;
gap: 12px;
}
.main-content.data-v-e802c881 {
margin-top: calc(150rpx + var(--status-bar-height));
display: flex;
background: none;
}
.category-nav.data-v-e802c881 {
width: 80px;
background: #fff;
border-radius: 24px 0 0 24px;
padding: 24px 0;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
height: 100%;
overflow-y: auto;
position: relative;
z-index: 2;
}
.category-nav .category-item.data-v-e802c881 {
width: 64px;
height: 44px;
border-radius: 16px 0 0 16px;
display: flex;
align-items: center;
justify-content: flex-start;
font-size: 16px;
color: #222;
margin-bottom: 12px;
background: #fff;
position: relative;
transition: background 0.2s, color 0.2s, font-weight 0.2s;
padding-left: 12px;
}
.category-nav .category-item.active.data-v-e802c881 {
background: linear-gradient(90deg, #fff7e6 80%, #fff 100%);
color: #ffb400;
font-weight: bold;
}
.category-nav .category-item.active.data-v-e802c881::before {
content: "";
position: absolute;
left: 0;
top: 30%;
height: 40%;
width: 2px;
border-radius: 4px;
background: #ffb400;
bottom: auto;
}
.category-nav .category-item .category-badge.data-v-e802c881 {
position: absolute;
top: 6px;
right: 10px;
background: #ff4d4f;
color: #fff;
font-size: 12px;
border-radius: 50%;
width: 18px;
height: 18px;
display: flex;
align-items: center;
justify-content: center;
}
.goods-list.data-v-e802c881 {
flex: 1;
height: calc(100vh - 110rpx - var(--status-bar-height) - 80px);
padding: 0 0 0 16px;
overflow-y: auto;
background: none;
}
.goods-card.data-v-e802c881 {
background: #fff;
border-radius: 24px;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
margin-bottom: 18px;
padding: 18px 18px 0 18px;
}
.goods-card.unrecycle-card.data-v-e802c881 {
background: #fff;
border-radius: 24px;
box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
margin-bottom: 18px;
padding: 18px 18px 0 18px;
}
.goods-card.unrecycle-card .goods-header.data-v-e802c881 {
display: flex;
align-items: center;
margin-bottom: 12px;
}
.goods-card.unrecycle-card .goods-header .goods-img.data-v-e802c881 {
width: 56px;
height: 56px;
border-radius: 16px;
margin-right: 12px;
background: #f8f8f8;
object-fit: contain;
}
.goods-card.unrecycle-card .goods-header .goods-info.data-v-e802c881 {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 0;
}
.goods-card.unrecycle-card .goods-header .goods-info .goods-title-row.data-v-e802c881 {
display: flex;
align-items: baseline;
}
.goods-card.unrecycle-card .goods-header .goods-info .goods-title-row .goods-name.data-v-e802c881 {
font-size: 16px;
font-weight: bold;
color: #222;
margin-right: 8px;
}
.goods-card.unrecycle-card .goods-header .goods-info .goods-title-row .goods-price.data-v-e802c881 {
font-size: 15px;
color: #ffb400;
font-weight: bold;
}
.goods-card.unrecycle-card .goods-header .goods-info .goods-title-row .goods-price .goods-unit.data-v-e802c881 {
font-size: 13px;
color: #bbb;
}
.goods-card.unrecycle-card .goods-header .goods-info .goods-desc.data-v-e802c881 {
font-size: 13px;
color: #999;
margin-top: 4px;
}
.goods-card.unrecycle-card .goods-row.data-v-e802c881 {
display: flex;
align-items: center;
margin-bottom: 12px;
}
.goods-card.unrecycle-card .goods-row .row-label.data-v-e802c881 {
font-size: 14px;
color: #888;
width: 80px;
flex-shrink: 0;
}
.goods-card.unrecycle-card .goods-row .num-ctrl.data-v-e802c881 {
display: flex;
align-items: center;
}
.goods-card.unrecycle-card .goods-row .num-ctrl .num-btn.data-v-e802c881 {
width: 32px;
height: 32px;
border-radius: 50%;
background: #f6f6f6;
color: #bbb;
font-size: 20px;
border: none;
display: flex;
align-items: center;
justify-content: center;
margin: 0 6px;
}
.goods-card.unrecycle-card .goods-row .num-ctrl .num.data-v-e802c881 {
font-size: 16px;
color: #222;
width: 28px;
text-align: center;
}
.goods-card.unrecycle-card .goods-row .amount-input.data-v-e802c881 {
flex: 1;
height: 32px;
border-radius: 12px;
background: #f6f6f6;
border: none;
font-size: 15px;
color: #222;
padding-left: 10px;
margin-left: 8px;
}
.goods-header.data-v-e802c881 {
display: flex;
align-items: center;
margin-bottom: 12px;
}
.goods-header .goods-img.data-v-e802c881 {
width: 56px;
height: 56px;
border-radius: 16px;
margin-right: 12px;
background: #f8f8f8;
object-fit: contain;
}
.goods-header .goods-info.data-v-e802c881 {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
min-width: 0;
}
.goods-header .goods-info .goods-title-row.data-v-e802c881 {
display: flex;
align-items: baseline;
}
.goods-header .goods-info .goods-title-row .goods-name.data-v-e802c881 {
font-size: 16px;
font-weight: bold;
color: #222;
margin-right: 8px;
}
.goods-header .goods-info .goods-title-row .goods-price.data-v-e802c881 {
font-size: 15px;
color: #ffb400;
font-weight: bold;
}
.goods-header .goods-info .goods-title-row .goods-price .goods-unit.data-v-e802c881 {
font-size: 13px;
color: #bbb;
}
.goods-header .goods-info .goods-desc.data-v-e802c881 {
font-size: 13px;
color: #999;
margin-top: 4px;
}
.goods-row.data-v-e802c881 {
display: flex;
align-items: center;
margin-bottom: 12px;
}
.goods-row .row-label.data-v-e802c881 {
font-size: 14px;
color: #888;
width: 80px;
flex-shrink: 0;
}
.goods-row .num-ctrl.data-v-e802c881 {
display: flex;
align-items: center;
}
.goods-row .num-ctrl .num-btn.data-v-e802c881 {
width: 32px;
height: 32px;
border-radius: 50%;
background: #f6f6f6;
color: #bbb;
font-size: 20px;
border: none;
display: flex;
align-items: center;
justify-content: center;
margin: 0 6px;
}
.goods-row .num-ctrl .num.data-v-e802c881 {
font-size: 16px;
color: #222;
width: 28px;
text-align: center;
}
.goods-row .amount-input.data-v-e802c881 {
flex: 1;
height: 32px;
border-radius: 12px;
background: #f6f6f6;
border: none;
font-size: 15px;
color: #222;
padding-left: 10px;
margin-left: 8px;
}
.footer-btns.data-v-e802c881 {
position: fixed;
left: 0;
right: 0;
bottom: 0;
background: #fff;
display: flex;
gap: 16px;
padding: 12px 16px 24px 16px;
z-index: 101;
}
.footer-btns .btn-outline.data-v-e802c881 {
flex: 1;
height: 40px;
border-radius: 16px;
border: 1px solid #ffe09a;
color: #ffb400;
background: #fff0d2;
font-size: 15px;
font-weight: 500;
box-shadow: none;
padding: 0 18px;
}
.footer-btns .btn-main.data-v-e802c881 {
flex: 1;
height: 40px;
border-radius: 16px;
background: linear-gradient(90deg, #ffd01e 0%, #ffac04 100%);
color: #fff;
border: none;
font-size: 15px;
font-weight: 500;
box-shadow: none;
padding: 0 18px;
}