Files
shopxo-uniapp/common/css/page.css

1404 lines
26 KiB
CSS
Raw Permalink Normal View History

2023-12-15 13:48:24 +08:00
/* #ifdef H5 */
body {
background: #333 !important;
}
page {
min-height: 100%;
}
a {
text-decoration: none;
}
/**
2024-09-19 18:09:42 +08:00
* 页面宽度最大1600rpx并居中
2023-12-15 13:48:24 +08:00
*/
page,
iframe,
2025-10-30 18:47:31 +08:00
.page-width-max,
2023-12-15 13:48:24 +08:00
.uni-page-head,
.uni-tabbar,
.open-location,
.home-top-nav-content,
.search-content-fixed,
.trn-nav-top,
.goods-buy-nav,
.popup-bottom,
.popup-top,
.quick-movable-container,
.online-service-movable-container,
.bottom-fixed,
.buy-nav,
.bottom-nav,
2023-12-15 13:48:24 +08:00
.plugins-popupscreen .content,
.cart-buy-nav,
.bg-img,
.pa-w,
2024-10-08 17:58:35 +08:00
.plugins-realstore-cart-content,
2024-10-08 18:25:34 +08:00
.tabs-content,
2024-12-24 21:49:26 +08:00
.header-around,
.plugins-realstore-detail-base-mode-nav {
2024-09-19 18:09:42 +08:00
max-width: 1600rpx !important;
2023-12-15 13:48:24 +08:00
margin: 0 auto !important;
}
2024-09-28 18:04:03 +08:00
.plugins-realstore-buy-type-choice,
.plugins-categorylimit-warm-tips-content {
2024-09-19 18:09:42 +08:00
max-width: 1400rpx !important;
margin: 0 auto !important;
}
2023-12-15 13:48:24 +08:00
.trn-nav-top,
.nav-more-view,
.quick-movable-container,
.online-service-movable-container,
2024-12-24 21:49:26 +08:00
.plugins-realstore-cart-content,
.plugins-realstore-detail-base-mode-nav {
2023-12-15 13:48:24 +08:00
left: auto !important;
}
iframe,
.bottom-fixed {
right: 0 !important;
}
.web-html-content iframe {
width: 100% !important;
max-height: 500rpx !important;
}
2024-09-28 15:29:10 +08:00
@media only screen and (min-width: 1600rpx) {
2024-09-28 18:04:03 +08:00
.cart-buy-nav,
.goods-buy-nav {
2024-09-28 15:29:10 +08:00
left: calc(50% - 780rpx) !important;
width: 1560rpx !important;
}
}
2023-12-15 13:48:24 +08:00
/**
* 隐藏导航栏内容仅展示返回按钮
*/
uni-page-head {
position: absolute;
2024-09-19 18:09:42 +08:00
margin-top: -1999998rpx;
2023-12-15 13:48:24 +08:00
z-index: 99;
}
.uni-page-head-bd {
display: none !important;
}
.uni-page-head-btn {
position: fixed;
left: auto;
2024-09-28 20:42:27 +08:00
bottom: 320rpx;
2023-12-15 13:48:24 +08:00
background: rgba(0, 0, 0, 0.6);
2024-09-19 18:09:42 +08:00
box-shadow: 0 0 20rpx rgb(0 0 0 / 30%);
margin: 0 0 0 20rpx;
border-radius: 100rpx;
width: 62rpx;
height: 62rpx;
2023-12-15 13:48:24 +08:00
text-align: center;
2024-09-19 18:09:42 +08:00
padding: 4rpx 6rpx 0 0;
2023-12-15 13:48:24 +08:00
}
.uni-page-head-btn .uni-btn-icon {
color: #fff !important;
}
.uni-app--showtabbar uni-page-wrapper,
uni-page-head[uni-page-head-type=default]~uni-page-wrapper {
height: calc(100% - var(--window-bottom)) !important;
}
/* #endif */
/**
* 公共样式框架样式覆盖
*/
page {
2024-07-04 11:08:59 +08:00
background: #f8f8f8;
2023-12-15 13:48:24 +08:00
color: #4a4a4a;
}
input[type="text"],
input[type="number"],
input[type="idcard"],
input[type="digit"],
textarea {
2024-09-25 13:50:13 +08:00
appearance: none;
2023-12-15 13:48:24 +08:00
-webkit-appearance: none;
2024-09-19 18:09:42 +08:00
border-radius: 10rpx;
2023-12-15 13:48:24 +08:00
box-sizing: border-box;
}
page,
textarea,
.a-textarea-control textarea {
font-size: 28rpx;
}
button:after,
button:before {
border: 0;
border-radius: 0;
}
/**
* 模块分割间距
*/
.spacing {
padding-top: 20rpx;
}
.spacing-mt-10 {
margin-top: 20rpx;
}
.spacing-mb-10 {
margin-bottom: 20rpx;
}
.spacing-mb {
margin-bottom: 24rpx;
}
.spacing-mt {
margin-top: 24rpx;
}
/**
* 常用样式
*/
.max-w {
max-width: 100%;
}
.max-h {
max-height: 100%;
}
.max-h-8h {
max-height: 80vh;
}
.max-h-7h {
max-height: 70vh;
}
.max-h-6h {
max-height: 60vh;
}
2023-12-15 13:48:24 +08:00
.min-w {
min-width: 100%;
}
.min-h {
min-height: 100%;
}
.fl {
float: left;
}
.fr {
float: right;
}
2024-02-26 13:00:57 +08:00
.min-wh {
min-width: 100vw !important;
}
.min-ht {
min-height: 100vh !important;
}
.wh {
width: 100vw !important;
}
.ht {
height: 100vh !important;
}
2023-12-15 13:48:24 +08:00
.wh-auto {
width: 100% !important;
}
2026-03-18 19:05:03 +08:00
.ht-auto {
height: 100% !important;
2026-03-04 15:10:38 +08:00
}
2023-12-15 13:48:24 +08:00
.tc {
text-align: center;
}
.tl {
text-align: left;
}
.tr {
text-align: right;
}
.oh {
overflow: hidden;
}
2024-04-02 11:35:05 +08:00
.oa {
overflow: auto;
}
2024-09-26 14:57:24 +08:00
.ou {
overflow: unset !important;
}
2023-12-15 13:48:24 +08:00
.dis-none {
display: none !important;
}
.dis-block {
display: block !important;
}
.dis-inline {
display: inline !important;
}
.dis-inline-block {
display: inline-block !important;
}
2024-10-15 00:31:55 +08:00
.dis-inline-grid {
display: inline-grid;
}
2023-12-15 13:48:24 +08:00
.va-t {
vertical-align: top;
}
.va-m {
vertical-align: middle;
}
.va-b {
vertical-align: text-bottom;
}
.pf {
position: fixed;
}
.pa {
position: absolute;
}
.pr {
position: relative;
}
2024-08-23 16:03:12 +08:00
.ps {
position: sticky;
}
2023-12-15 13:48:24 +08:00
.z-i {
z-index: 1 !important;
}
.z-i-deep {
z-index: 2 !important;
}
2026-02-12 21:14:58 +08:00
.z-i-deeps {
z-index: 3 !important;
}
2025-04-17 11:14:25 +08:00
.z-i-deep-middle {
z-index: 100 !important;
}
2024-09-19 18:09:42 +08:00
.z-i-deep-must {
2024-09-25 18:46:50 +08:00
z-index: 999 !important;
2024-09-19 18:09:42 +08:00
}
2023-12-15 13:48:24 +08:00
.bs-bb {
box-sizing: border-box;
}
.radius-0 {
border-radius: 0 !important;
}
.radius {
border-radius: 10rpx !important;
}
2024-03-07 17:57:01 +08:00
.radius-md {
border-radius: 16rpx !important;
}
.radius-lg {
border-radius: 32rpx !important;
}
2023-12-15 13:48:24 +08:00
.round {
2024-09-29 14:09:26 +08:00
border-radius: 100rpx !important;
2023-12-15 13:48:24 +08:00
}
.circle {
border-radius: 50% !important;
}
.fw-b {
font-weight: 500;
}
.fw-n {
font-weight: 400;
}
2023-12-15 13:48:24 +08:00
.auto {
margin: 0 auto;
}
.cp {
/* #ifdef H5 */
cursor: pointer;
/* #endif */
}
/**
* 透明度
*/
.opacity-min {
opacity: 0.3;
}
.opacity {
opacity: 0.6;
}
.opacity-max {
opacity: 0.8;
}
/**
* 底部浮动
*/
.bottom-fixed {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
box-sizing: border-box;
z-index: 2;
2024-09-29 01:18:25 +08:00
padding: 20rpx;
2023-12-15 13:48:24 +08:00
}
2024-09-29 23:58:39 +08:00
.bottom-fixed .item {
box-shadow: 0rpx 4rpx 8rpx 0px rgba(0, 0, 0, 0.16);
}
2023-12-15 13:48:24 +08:00
/**
* 底部右侧浮动+
*/
.buttom-right-submit {
position: fixed;
bottom: 50rpx;
right: 50rpx;
width: 100rpx;
height: 100rpx;
line-height: 86rpx;
2024-09-19 18:09:42 +08:00
box-shadow: 0 0 20rpx 4rpx #c4c4c4;
2023-12-15 13:48:24 +08:00
font-size: 76rpx;
}
/**
* 兼容底部横线底部内边距
*/
.bottom-line-exclude {
/* #ifndef APP */
padding-bottom: calc(env(safe-area-inset-bottom) - 40rpx);
/* #endif */
}
2025-11-27 17:28:29 +08:00
.bottom-line-exclude-bottom {
/* #ifdef APP | MP */
padding-bottom: calc(env(safe-area-inset-bottom) - 40rpx); /* 兼容iOS底部安全区域 */
/* #endif */
}
2023-12-15 13:48:24 +08:00
/**
* 页面底部浮动增加底部边距
*/
.page-bottom-fixed {
2024-09-29 01:18:25 +08:00
padding-bottom: 120rpx !important;
2023-12-15 13:48:24 +08:00
}
/**
* 价格
*/
.sales-price {
color: #E22C08;
font-weight: bold;
font-size: 28rpx;
}
.original-price {
color: #999;
font-size: 24rpx;
text-decoration: line-through;
}
/**
* 边框 灰色四边红色黄色绿色灰色无边线
*/
.br {
2024-09-19 18:09:42 +08:00
border: 2rpx solid #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-b {
2024-09-19 18:09:42 +08:00
border-bottom: 2rpx solid #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-t {
2024-09-19 18:09:42 +08:00
border-top: 2rpx solid #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-l {
2024-09-19 18:09:42 +08:00
border-left: 2rpx solid #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-r {
2024-09-19 18:09:42 +08:00
border-right: 2rpx solid #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-f5 {
2024-09-19 18:09:42 +08:00
border: 2rpx solid #f5f5f5 !important;
2023-12-15 13:48:24 +08:00
}
.br-b-f5 {
2024-09-19 18:09:42 +08:00
border-bottom: 2rpx solid #f5f5f5 !important;
2023-12-15 13:48:24 +08:00
}
.br-t-f5 {
2024-09-19 18:09:42 +08:00
border-top: 2rpx solid #f5f5f5 !important;
2023-12-15 13:48:24 +08:00
}
.br-l-f5 {
2024-09-19 18:09:42 +08:00
border-left: 2rpx solid #f5f5f5 !important;
2023-12-15 13:48:24 +08:00
}
.br-r-f5 {
2024-09-19 18:09:42 +08:00
border-right: 2rpx solid #f5f5f5 !important;
2023-12-15 13:48:24 +08:00
}
.br-f9 {
2024-09-19 18:09:42 +08:00
border: 2rpx solid #f9f9f9 !important;
2023-12-15 13:48:24 +08:00
}
.br-b-f9 {
2024-09-19 18:09:42 +08:00
border-bottom: 2rpx solid #f9f9f9 !important;
2023-12-15 13:48:24 +08:00
}
.br-t-f9 {
2024-09-19 18:09:42 +08:00
border-top: 2rpx solid #f9f9f9 !important;
2023-12-15 13:48:24 +08:00
}
.br-l-f9 {
2024-09-19 18:09:42 +08:00
border-left: 2rpx solid #f9f9f9 !important;
2023-12-15 13:48:24 +08:00
}
.br-r-f9 {
2024-09-19 18:09:42 +08:00
border-right: 2rpx solid #f9f9f9 !important;
2023-12-15 13:48:24 +08:00
}
.br-e {
2024-09-19 18:09:42 +08:00
border: 2rpx solid #eeeeee !important;
2023-12-15 13:48:24 +08:00
}
.br-b-e {
2024-09-19 18:09:42 +08:00
border-bottom: 2rpx solid #eeeeee !important;
2023-12-15 13:48:24 +08:00
}
.br-t-e {
2024-09-19 18:09:42 +08:00
border-top: 2rpx solid #eeeeee !important;
2023-12-15 13:48:24 +08:00
}
.br-l-e {
2024-09-19 18:09:42 +08:00
border-left: 2rpx solid #eeeeee !important;
2023-12-15 13:48:24 +08:00
}
.br-r-e {
2024-09-19 18:09:42 +08:00
border-right: 2rpx solid #eeeeee !important;
2023-12-15 13:48:24 +08:00
}
2024-03-10 10:47:37 +08:00
.br-c {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #cccccc !important;
2024-03-10 10:47:37 +08:00
}
.br-b-c {
2024-09-19 18:09:42 +08:00
border-bottom: 2rpx solid #cccccc !important;
2024-03-10 10:47:37 +08:00
}
.br-t-c {
2024-09-19 18:09:42 +08:00
border-top: 2rpx solid #cccccc !important;
2024-03-10 10:47:37 +08:00
}
.br-l-c {
2024-09-19 18:09:42 +08:00
border-left: 2rpx solid #cccccc !important;
2024-03-10 10:47:37 +08:00
}
.br-r-c {
2024-09-19 18:09:42 +08:00
border-right: 2rpx solid #cccccc !important;
2024-03-10 10:47:37 +08:00
}
2023-12-20 17:55:20 +08:00
.br-white {
2024-09-19 18:09:42 +08:00
border: 2rpx solid #FFF !important;
2023-12-20 17:55:20 +08:00
}
2023-12-15 13:48:24 +08:00
.br-red {
2024-09-19 18:09:42 +08:00
border: 2rpx solid #E22C08 !important;
2023-12-15 13:48:24 +08:00
}
.br-yellow {
2024-09-19 18:09:42 +08:00
border: 2rpx solid #f6c133 !important;
2023-12-15 13:48:24 +08:00
}
.br-green {
2024-09-19 18:09:42 +08:00
border: 2rpx solid #52C41A !important;
2023-12-15 13:48:24 +08:00
}
.br-grey {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #dddddd !important;
2023-12-15 13:48:24 +08:00
}
.br-grey-d {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #dddddd !important;
2023-12-15 13:48:24 +08:00
}
.br-grey-f5 {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #f5f5f5 !important;
2023-12-15 13:48:24 +08:00
}
2023-12-20 17:55:20 +08:00
.br-grey-f7 {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #f7f7f7 !important;
2023-12-20 17:55:20 +08:00
}
2023-12-15 13:48:24 +08:00
.br-grey-9 {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #999999 !important;
2023-12-15 13:48:24 +08:00
}
.br-blue {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #2196F3 !important;
2023-12-15 13:48:24 +08:00
}
.br-black {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #333333 !important;
2023-12-15 13:48:24 +08:00
}
.br-base {
2024-09-19 18:09:42 +08:00
border: solid 2rpx #666 !important;
2023-12-15 13:48:24 +08:00
}
.br-0 {
border: 0 !important;
box-shadow: none;
}
.br-top-shadow {
2024-09-19 18:09:42 +08:00
box-shadow: 0rpx -4rpx 10rpx 0rpx rgba(0, 0, 0, 0.03);
2023-12-15 13:48:24 +08:00
}
/**
* 虚线边框灰色四边红色黄色绿色灰色
*/
.br-dashed {
2024-09-19 18:09:42 +08:00
border: dashed 2rpx #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-b-dashed {
2024-09-19 18:09:42 +08:00
border-bottom: dashed 2rpx #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-t-dashed {
2024-09-19 18:09:42 +08:00
border-top: dashed 2rpx #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-l-dashed {
2024-09-19 18:09:42 +08:00
border-left: dashed 2rpx #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-r-dashed {
2024-09-19 18:09:42 +08:00
border-right: dashed 2rpx #EEEEEE !important;
2023-12-15 13:48:24 +08:00
}
.br-dashed-red {
2024-09-19 18:09:42 +08:00
border: dashed 2rpx #E22C08 !important;
2023-12-15 13:48:24 +08:00
}
.br-dashed-yellow {
2024-09-19 18:09:42 +08:00
border: dashed 2rpx #f6c133 !important;
2023-12-15 13:48:24 +08:00
}
.br-dashed-green {
2024-09-19 18:09:42 +08:00
border: dashed 2rpx #1AAD19 !important;
2023-12-15 13:48:24 +08:00
}
.br-dashed-grey {
2024-09-19 18:09:42 +08:00
border: dashed 2rpx #d6d6d6 !important;
2023-12-15 13:48:24 +08:00
}
/**
* 统一颜色
2024-04-24 00:52:22 +08:00
* 文本价格色基础色白色黑色灰色浅灰色红色黄色绿色蓝色
2023-12-15 13:48:24 +08:00
*/
2024-04-24 00:52:22 +08:00
.cr-price {
color: #E22C08;
}
2023-12-15 13:48:24 +08:00
.cr-base {
color: #666 !important;
}
.cr-white {
color: #fff !important;
}
.cr-black {
color: #333 !important;
}
.cr-grey,
.cr-grey-9 {
color: #999 !important;
}
.cr-grey-c {
color: #ccc !important;
}
.cr-grey-d {
color: #ddd !important;
}
.cr-grey-white {
color: #e7e7e7 !important;
}
.cr-red {
color: #E22C08 !important;
}
.cr-yellow {
color: #f6c133 !important;
}
.cr-orange {
color: #F37B1D !important;
}
2023-12-15 13:48:24 +08:00
.cr-green {
color: #1AAD19 !important;
}
.cr-blue {
color: #2196F3 !important;
}
2024-10-15 14:28:00 +08:00
.cr-blue-dark {
color: #B3BFCB !important;
}
2025-07-04 15:55:20 +08:00
.cr-gray {
color: gray !important;
}
2023-12-15 13:48:24 +08:00
/**
* 统一背景色
* 白色绿色红色黄色灰色
*/
.bg-white {
background-color: #fff !important;
}
.bg-green {
background-color: #1AAD19 !important;
}
.bg-red {
background-color: #E64340 !important;
}
.bg-yellow {
background-color: #f6c133 !important;
}
.bg-grey {
background-color: #d6d6d6 !important;
}
.bg-grey-d {
background-color: #dddddd !important;
}
.bg-grey-e {
background-color: #eeeeee !important;
}
.bg-base,
2023-12-15 13:48:24 +08:00
.bg-grey-f5 {
background-color: #f5f5f5 !important;
}
2023-12-20 17:55:20 +08:00
.bg-grey-f7 {
background-color: #f7f7f7 !important;
}
2023-12-15 13:48:24 +08:00
.bg-grey-f8 {
background-color: #f8f8f8 !important;
}
.bg-grey-f9 {
background-color: #f9f9f9 !important;
}
.bg-blue {
background-color: #2196F3 !important;
}
.bg-black {
background-color: #333333 !important;
}
.bg-white-disabled,
button[disabled].bg-white {
2024-08-23 20:08:56 +08:00
background-color: #fff !important;
2023-12-15 13:48:24 +08:00
color: #ccc !important;
}
.bg-green-disabled,
button[disabled].bg-green {
background-color: #94de94 !important;
color: #d5f5d5 !important;
}
.bg-red-disabled,
button[disabled].bg-red {
background-color: #ffbaba !important;
color: #ffdfdf !important;
}
.bg-yellow-disabled,
button[disabled].bg-yellow {
background-color: #fff1cb !important;
color: #fbd777 !important;
}
.bg-grey-disabled,
button[disabled].bg-grey {
background-color: #ececec !important;
color: #ababab !important;
}
/**
* 表单
*/
.form-container .form-gorup {
padding: 24rpx;
}
.form-container .form-gorup .form-gorup-item-left {
float: left;
padding-right: 20rpx;
}
.form-container .form-gorup .form-gorup-item-right {
float: right;
padding-left: 20rpx;
2024-09-19 18:09:42 +08:00
border-left: 2rpx solid #f7f7f7;
2023-12-15 13:48:24 +08:00
}
.form-container .form-gorup .form-gorup-item-left,
.form-container .form-gorup .form-gorup-item-right {
2024-09-19 18:09:42 +08:00
width: calc(50% - 20rpx - 2rpx);
2023-12-15 13:48:24 +08:00
}
.form-container .form-gorup-submit {
padding: 20rpx 0;
}
.form-container .form-gorup:not(.form-gorup-submit) {
background: #fff;
}
.form-container .form-group-tips,
.form-container .form-group-tips-must {
margin-left: 6rpx;
font-size: 24rpx;
color: #ccc;
}
.form-container .form-group-tips-must {
color: #f00;
}
.form-container .form-gorup input,
.form-container .form-gorup textarea,
2024-11-14 09:32:06 +08:00
.form-container .form-gorup .picker,
.form-container .form-gorup .form-gorup-value {
2023-12-15 13:48:24 +08:00
border-radius: 0;
width: 100%;
box-sizing: border-box;
font-size: 28rpx;
}
.form-container .form-gorup input,
.form-container .form-gorup .picker,
2024-11-14 09:32:06 +08:00
.form-container .form-gorup .radio-gorup,
.form-container .form-gorup .form-gorup-value {
2023-12-15 13:48:24 +08:00
height: 70rpx;
line-height: 70rpx;
}
.form-container .form-gorup textarea {
padding: 0;
height: 150rpx !important;
margin-top: 20rpx;
}
.form-container .form-gorup-text {
padding: 20rpx 10rpx;
}
.form-container .form-gorup .switch {
margin: 30rpx 0 20rpx 0;
}
.form-container .form-gorup .radio-gorup .radio radio {
transform: scale(0.7);
}
.form-container .form-gorup .radio-gorup .radio:not(:last-child) {
margin-right: 50rpx;
}
2024-11-14 09:32:06 +08:00
.form-container .form-gorup.row {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
}
.form-container .form-gorup.row .form-gorup-title {
width: 180rpx;
}
2023-12-15 13:48:24 +08:00
/**
* 表单图片上传
*/
.form-container-upload .form-gorup-title {
margin-bottom: 20rpx;
}
.form-container-upload .form-upload-data .item {
margin: 10rpx 10rpx 0 0;
position: relative;
}
.form-container-upload .form-upload-data .delete-icon {
position: absolute;
top: 0;
right: 0;
color: #e5e5e5;
background-color: #d9534f;
padding: 5rpx 18rpx;
font-size: 36rpx;
2024-09-19 18:09:42 +08:00
border: 2rpx solid #eee;
2023-12-15 13:48:24 +08:00
border-radius: 50rpx;
line-height: 44rpx;
z-index: 1;
}
.form-container-upload .form-upload-data image {
width: 140rpx;
height: 140rpx;
padding: 5rpx;
2024-09-19 18:09:42 +08:00
border: 2rpx solid #eee;
2023-12-15 13:48:24 +08:00
display: block;
border-radius: 10rpx;
}
/**
* 箭头符号
*/
.arrow-right {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAYAAACpSkzOAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAGqADAAQAAAABAAAAGgAAAABMybYKAAACJElEQVRIDWNgGAWDPQQYCTkwNTXVhZmZ2RKIp02dOvUtIfW45JlwSSCJp3NwcDT9/ft3S0ZGhg6SOElMghYBfdL47du306ysrBZAk3empaUFkGQDVDEzIU1nzpx5ZWxsvP7////SQEutgXSIiYnJV19f35MHDhz4T0g/TJ6gRSCFZ8+e/aaoqLiRjY3tDxMTkx3QQs9Pnz7JmJmZHQY65AfMMHw0wcSArhmYOIJBCQMYlGK/fv06ArQ4Zfr06TfR1aHzifIRsqZz585dNzU13f/7928LdnZ2U2Ai8QMG7Q2gr+8gq0Nnk+wjmAFZWVkSf/78mQL0WTCQBgVfhaSk5OSGhoZ/MDXINMk+gmk+ffr0F15e3nWCgoL/gMFnD8TeX758YQXG2T6YGmSaYPJGVozOBqa6P8BUeB0o/h0Ybwz//v1TQFcD47PAGKTSoaGhzEDf1AJ9Us3IyMgCjLO5wPgqw2UOWRbl5uaKAlPcZBYWlnBg/PwCGl4yY8aMPqCFOPMVyYkBWDLoAg1eAExxRkBfPAUGXebMmTM34/IJTJwki9LT0/2BrgblISmgj44DDUkBWnINZhg+miiLgEmW6dmzZ2VASxqBwcUGDK5FQLqIlNKcoEXJyclCQB/0AVNVPNCCv0BXN7x796599erVIDbRgGBiALp8IjA+Yn78+PESaGoOMKjWEG06kkKC+QgY2Zd//vy5DZhHPMi1BMm+UeYgDgEAf6bHwBiHBjoAAAAASUVORK5CYII=');
background-size: 26rpx 26rpx;
background-repeat: no-repeat;
background-position: center right;
}
.arrow-bottom {
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABRklEQVRYR+2UsUrFMBSGT9LBN3AQR4vQNO0gPoA6Cy5XZ1ddfZbr6nwdXFwVH8AlJacg2cTFN7BLjkQQwtW2STvcJRlL8/8fX3LCYMOLbbgfEkAykAwkA4MGEHEhhLif81gZY3bzPP/oy+gFQMSCiJCIjqSUL1MgjDFbXdd9AcB1WZbL/zIGDWitVwCwmAKhlNrOsuyTMYYAcC6EaKMB3IZfCMbYiRDiOcQEIu4RkRkrd1lBU+CZOJVSPg5BNE1zwDl/DSkPBvBNENGFlNIdzZ+FiMdE9BRaHgXgQ1hrL6uquvMJ2rY9s9Y+xJRHA/gQnPOroihu3Tc3rkS0ii2fBLB2MW8A4H1q+WQAH+InZGTUhi5t0BT0BWitDQDsMMYO++Z8bGxnAbhwpdR+XddvY0XRT/HUwNh9sw3EFq7/nwCSgWQgGfgGWR6PIRYTYskAAAAASUVORK5CYII=');
background-size: 38rpx 38rpx;
background-repeat: no-repeat;
background-position: center right;
}
/**
* 信息提示加载页面图片
*/
.data-loding image {
width: 120rpx;
height: 120rpx;
background-size: 80% 80% !important;
}
/**
* 元素漂出可视页面
*/
.drift {
position: fixed;
2024-09-19 18:09:42 +08:00
left: -2000rpx;
2023-12-15 13:48:24 +08:00
}
/**
* 导航分割
*/
.spacing-nav-title {
margin-bottom: 20rpx
}
.spacing-nav-title .text-wrapper {
display: inline-block;
font-size: 32rpx;
font-weight: 500;
color: #333;
}
/**
* 关键字标签展示
*/
.word-list .word-icon {
border-radius: 4rpx;
border: 2rpx solid #FFCAC0;
color: #FFCAC0;
padding: 0 12rpx;
line-height: 40rpx;
}
.word-list .word-icon:not(:last-child) {
margin-right: 20rpx;
}
.word-list image {
max-width: 100%;
margin: 0 auto;
}
/**
* 文字超出部分使用省略号
*/
.single-text {
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
2025-11-28 14:09:09 +08:00
/* #ifndef APP-NVUE */
2023-12-15 13:48:24 +08:00
max-width: 100%;
2025-11-28 14:09:09 +08:00
/* #endif */
2023-12-15 13:48:24 +08:00
}
.multi-text {
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
2024-09-25 13:50:13 +08:00
line-clamp: 2;
2023-12-15 13:48:24 +08:00
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
min-height: 76rpx;
line-height: 38rpx;
font-size: 28rpx;
white-space: initial;
}
2024-09-10 17:54:16 +08:00
.text-line-1 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 1;
/* 添加标准属性以增加兼容性 */
line-clamp: 1;
-webkit-box-orient: vertical;
2025-04-01 18:50:16 +08:00
word-break: break-all;
2024-09-10 17:54:16 +08:00
overflow-wrap: break-word;
word-wrap: break-word;
2025-12-04 18:14:59 +08:00
/* #ifdef APP-NVUE */
lines: 1;
/* #endif */
2024-09-10 17:54:16 +08:00
}
.text-line-2 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
/* 添加标准属性以增加兼容性 */
line-clamp: 2;
-webkit-box-orient: vertical;
2025-04-01 18:50:16 +08:00
word-break: break-all;
2024-09-10 17:54:16 +08:00
overflow-wrap: break-word;
2025-02-27 14:59:08 +08:00
word-wrap: break-word;
2025-12-04 18:14:59 +08:00
/* #ifdef APP-NVUE */
lines: 2;
/* #endif */
2025-02-27 14:59:08 +08:00
}
.text-line-3 {
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
/* 添加标准属性以增加兼容性 */
line-clamp: 3;
-webkit-box-orient: vertical;
word-break: break-word;
overflow-wrap: break-word;
2024-09-10 17:54:16 +08:00
word-wrap: break-word;
2025-12-04 18:14:59 +08:00
/* #ifdef APP-NVUE */
lines: 3;
/* #endif */
2024-09-10 17:54:16 +08:00
}
2024-04-02 14:58:19 +08:00
/**
* 文字超出部分换行
*/
.warp {
word-break: break-all;
}
/**
* 文字不换行
*/
.nowrap {
white-space: nowrap;
}
2023-12-15 13:48:24 +08:00
/**
* 基础导航
*/
.nav-base {
height: 80rpx;
line-height: 80rpx;
}
.nav-base .item {
/* #ifdef H5 */
cursor: pointer;
/* #endif */
}
/**
* 导航下划线
*/
.nav-active-line {
position: relative;
}
.nav-active-line::before {
content: '';
2024-07-11 21:06:38 +08:00
width: 24rpx;
height: 6rpx;
2023-12-15 13:48:24 +08:00
background: transparent;
2024-07-11 21:06:38 +08:00
border-radius: 6rpx;
2023-12-15 13:48:24 +08:00
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
}
/**
2024-02-26 13:00:57 +08:00
* 滚动页面高度
2023-12-15 13:48:24 +08:00
*/
.scroll-box {
height: 100vh;
}
/**
* 存在基础导航
*/
.scroll-box-ece-nav {
height: calc(100vh - 80rpx);
}
/**
* 滚动水平左右滑动
*/
.scroll-view-horizontal {
white-space: nowrap;
box-sizing: border-box;
width: 100%;
}
/**
* 滚动水平左右滑动内容宽度处理
*/
.rolling-horizontal .scroll-view-horizontal {
width: calc(100% + 20rpx);
}
/**
* 公共操作栏按钮样式
*/
.item-operation button:not(:first-child) {
margin-left: 20rpx;
}
.item-operation button {
padding: 0 35rpx;
height: 58rpx;
line-height: 58rpx;
display: inline-flex;
2024-01-15 18:39:38 +08:00
align-items: center;
2023-12-15 13:48:24 +08:00
}
/**
* 单页预览
*/
.single-page-top {
padding-top: 110rpx;
}
/**
* 上一篇下一篇
*/
2024-03-25 01:47:55 +08:00
.last-next-data .item {
2023-12-15 13:48:24 +08:00
width: calc(100% - 120rpx);
}
2026-03-31 23:09:19 +08:00
/**
* 文本横向滚动
*/
.text-srcoll {
white-space: nowrap;
overflow-x: auto;
}
.text-srcoll::-webkit-scrollbar {
width: 0;
height: 0;
display: none;
}
2023-12-15 13:48:24 +08:00
/**
* 商品列表
*/
.goods-list .cart-badge-icon {
top: -18rpx;
right: 8rpx;
}
.goods-list .error-msg {
position: absolute;
top: 0;
left: 0;
background: rgb(253 253 253 / 60%);
z-index: 1;
2024-09-19 18:09:42 +08:00
filter: blur(0.6rpx);
2023-12-15 13:48:24 +08:00
}
.goods-data-grid-list .item .error-msg,
.goods-data-rolling-list .item .error-msg {
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
}
/**
* 商品列表 - 列表
*/
.goods-data-list .error-msg,
.goods-data-list .goods-img {
width: 190rpx !important;
height: 190rpx !important;
}
.goods-data-list .goods-img.cover-tall {
height: 230rpx !important;
}
2023-12-15 13:48:24 +08:00
.goods-data-list .base {
width: calc(100% - 220rpx);
}
.goods-data-list .base .base-bottom {
2024-04-23 22:33:08 +08:00
width: calc(100% - 60rpx);
2023-12-15 13:48:24 +08:00
}
.goods-data-list .error-msg {
top: 24rpx;
left: 24rpx;
line-height: 190rpx;
}
/*
* 商品列表 - 滚动
*/
.goods-data-rolling-list .swiper {
height: 310rpx !important;
}
.goods-data-rolling-list .item .error-msg,
.goods-data-rolling-list .item .goods-img {
height: 210rpx !important;
}
.goods-data-rolling-list .item .goods-img.cover-tall {
height: 260rpx !important;
}
2023-12-15 13:48:24 +08:00
.goods-data-rolling-list .item .error-msg {
line-height: 210rpx;
}
/**
* 商品列表 - 九方格
*/
.goods-data-grid-list .item {
width: calc(50% - 12rpx);
padding-bottom: 24rpx;
margin-bottom: 24rpx;
}
.goods-data-grid-list .item .goods-img {
height: 340rpx !important;
}
.goods-data-grid-list .item .goods-img.cover-tall {
height: 420rpx !important;
}
2023-12-15 13:48:24 +08:00
.goods-data-grid-list .item:nth-of-type(2n + 1) {
margin-right: 12rpx;
}
.goods-data-grid-list .item:nth-of-type(2n) {
margin-left: 12rpx;
}
.goods-data-grid-list .item .error-msg {
line-height: 341rpx;
}
.goods-data-grid-list .item .open-grid-btn {
width: calc(100% - 80rpx);
min-height: 50rpx;
line-height: 50rpx;
}
2023-12-15 13:48:24 +08:00
/**
* 头部客服信息弹窗
*/
/**
* 客服
*/
.header-service .item:first-child {
border-top: 0 !important;
}
.header-service .qrcode .item:not(:last-child) {
2024-05-06 11:21:10 +08:00
margin-right: 40rpx;
2023-12-15 13:48:24 +08:00
}
.header-service image {
2024-05-06 11:21:10 +08:00
width: 200rpx;
height: 200rpx;
2023-12-15 13:48:24 +08:00
}
.header-service .chat-info image {
width: 40rpx;
height: 40rpx;
}
/**
* css伪类文本之间的分割线
*/
.divider-l,
.divider-r,
.divider-t,
.divider-b,
.divider-l-f5,
.divider-r-f5,
.divider-t-f5,
.divider-b-f5,
.divider-l-d,
.divider-r-d,
.divider-t-d,
.divider-b-d {
position: relative;
}
.divider-l-f5::before,
.divider-r-f5::after,
.divider-t-f5::before,
.divider-b-f5::after {
background: #f5f5f5 !important;
}
.divider-l-d::before,
.divider-r-d::after,
.divider-t-d::before,
.divider-b-d::after {
background: #dddddd !important;
}
.divider-l::before,
.divider-l-f5::before,
.divider-l-d::before {
content: '';
width: 2rpx;
height: 65%;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
background: #EEEEEE;
}
.divider-r::after,
.divider-r-f5::after,
.divider-r-d::after {
content: '';
width: 2rpx;
height: 65%;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
background: #EEEEEE;
}
.divider-t::before,
.divider-t-f5::before,
.divider-t-d::before {
content: '';
width: 100%;
height: 2rpx;
position: absolute;
top: 0;
background: #EEEEEE;
}
.divider-b::after,
.divider-b-f5::after,
.divider-b-d::after {
content: '';
width: 100%;
height: 2rpx;
position: absolute;
bottom: 0;
background: #EEEEEE;
}
/**
* 标题左侧边线
*/
.title-left-border {
position: relative;
padding-left: 20rpx;
}
.title-left-border::before {
content: '';
width: 8rpx;
height: 32rpx;
border-radius: 6rpx;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
/**
* 导航菜单左侧边线
*/
.nav-left-border {
position: relative;
padding-left: 20rpx;
}
.nav-left-border::before {
content: '';
width: 6rpx;
height: 40rpx;
border-radius: 6rpx;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
}
2024-09-09 16:50:45 +08:00
/**
* 延迟动画
*/
.animate-linear {
transition: all 0.3s linear;
}
2023-12-15 13:48:24 +08:00
/**
* 呼吸
*/
/* <div class="breathe"></div> */
.breathe {
background-color: #FF7C74;
border-radius: 100%;
width: 12rpx;
height: 12rpx;
position: relative;
}
.breathe::before,
.breathe::after {
content: '';
background-color: rgba(255, 124, 116, 0.7);
border-radius: 50%;
position: absolute;
animation: loading 2s infinite ease-in-out;
}
.breathe::before {
2024-09-19 18:09:42 +08:00
width: 24rpx;
height: 24rpx;
top: -6rpx;
left: -6rpx;
2023-12-15 13:48:24 +08:00
}
.breathe::after {
2024-09-19 18:09:42 +08:00
width: 36rpx;
height: 36rpx;
top: -12rpx;
left: -12rpx;
2023-12-15 13:48:24 +08:00
}
@keyframes loading {
0% {
opacity: 0.5;
-webkit-transform: scale(1);
}
50% {
opacity: 0.7;
-webkit-transform: scale(1.12);
}
100% {
opacity: 0.5;
-webkit-transform: scale(1);
}
}
/**
* 扩散效果
*/
/* <div class="spread margin-left-xxxl">
<div class="ring"></div>
<div class="ring"></div>
<div class="ring"></div>
</div> */
.spread {
background-color: #FF7C74;
height: 16rpx;
width: 16rpx;
border-radius: 100%;
position: relative;
z-index: 1;
}
.spread .ring {
position: absolute;
background-color: inherit;
height: 100%;
width: 100%;
border-radius: 100%;
opacity: .8;
/* 速度为1.5 * 层数 = 实际运行速度,速度修改则 animation-delay 属性也修改相同速度 */
animation: pulsing 4.5s ease-out infinite;
}
/* 速度为1*层数 */
.spread .ring:nth-of-type(1) {
-webkit-animation-delay: -1.5s;
animation-delay: -1.5s;
}
/* 速度为1*层数 */
.spread .ring:nth-of-type(2) {
-webkit-animation-delay: -3s;
animation-delay: -3s;
}
@keyframes pulsing {
100% {
transform: scale(3);
opacity: 0
}
}
/**
* 通知
*/
.uni-noticebar {
padding: 0 !important;
margin: 0 !important;
}
/**
* 顶部搜索按钮宽度
*/
.top-search-width {
width: calc(100% - 250rpx) !important;
/* #ifdef MP-ALIPAY */
width: calc(100% - 290rpx) !important;
/* #endif */
2023-12-15 13:48:24 +08:00
}
/**
* 小程序端距离顶部位置的控制
*/
.weixin-nav-padding-top {
/* #ifndef H5 */
2024-09-19 18:09:42 +08:00
padding-top: calc(var(--status-bar-height) + 10rpx);
2023-12-15 13:48:24 +08:00
/* #endif */
2024-10-31 14:03:30 +08:00
}
/* 数字和文字超出范围不整体换行 */
.text-word-break {
word-break: break-all;
overflow-wrap: break-word;
word-wrap: break-word;
}
/* 指示器上下显示 */
.indicator_up_down_location {
position: absolute;
z-index: 1;
padding-top: 20rpx;
padding-bottom: 20rpx;
display: flex;
flex-direction: column;
}
.indicator_up_down_location .dot-item {
margin: 6rpx 0;
}
/* 指示器左右显示 */
.indicator_about_location {
position: absolute;
z-index: 1;
padding-right: 20rpx;
padding-left: 20rpx;
display: flex;
}
.indicator_about_location .dot-item {
margin: 0 6rpx;
2025-11-26 11:14:15 +08:00
}
.box-border-box {
box-sizing: border-box;
2021-10-02 11:24:40 +08:00
}