Files
nianxx-h5/src/components/SwipeCards/styles/index.scss
duanshuwen ac8f5b5f64 feat: add new features, update theme and build config
- Add 40+ new UI components including chat modules, discovery cards, photo galleries, FAQ and booking tools
- Standardize brand color across all styles by replacing $theme-color-500 SCSS variables with #0ccd58
- Add sass 1.58.3 dependency and update vite config for modern scss compiler support
- Refactor existing components (AddCarCrad, login page) and remove unused /quick/list router route
- Add utility functions for URL parameter handling
- Add static assets including custom znicons font, component images and icons
- Fix scss syntax issues and deprecation warnings
2026-05-26 22:49:52 +08:00

61 lines
910 B
SCSS

.card {
height: 308px;
}
.card-item {
inset: 0;
will-change: transform, opacity;
height: 277px;
box-shadow: 0 8px 8px rgba(0, 0, 0, 0.08);
border-radius: 20px;
}
.inner-card {
width: 100%;
height: 100%;
}
/* 商品大图部分:撑满除相册外的空间 */
.goods-image-wrapper {
width: 100%;
height: 193px;
}
.album-item {
width: 96px;
height: 60px;
}
.album-title {
background: rgba(0, 0, 0, 0.5);
height: 20px;
}
/* 底部价格与购买按钮 */
.card-footer {
border-top: 1px solid rgba(0, 0, 0, 0.04);
}
.card-footer .price-left {
display: flex;
align-items: baseline;
color: #171717;
}
.buy-btn {
background-color: #0ccd58;
color: #fff;
margin-top: 12px;
padding: 12px 24px;
border-radius: 12px;
font-size: 14px;
line-height: 1;
display: inline-flex;
align-items: center;
justify-content: center;
}
.buy-btn:active {
opacity: 0.9;
}