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

1494 lines
24 KiB
CSS
Raw Normal View History

2021-11-30 18:57:18 +08:00
/* #ifdef H5 */
body {
2023-09-11 18:57:43 +08:00
background: #333 !important;
2021-11-30 18:57:18 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-30 18:57:18 +08:00
page {
2023-09-11 18:57:43 +08:00
min-height: 100%;
2023-08-31 14:26:22 +08:00
}
a {
2023-09-11 18:57:43 +08:00
text-decoration: none;
2023-08-31 14:26:22 +08:00
}
/**
* 页面宽度最大800px并居中
2021-12-01 01:42:14 +08:00
*/
2021-11-30 18:57:18 +08:00
page,
iframe,
.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,
2023-08-31 14:26:22 +08:00
.bottom-fixed,
.buy-nav,
.plugins-popupscreen .content,
2023-01-13 18:49:47 +08:00
.cart-buy-nav {
2023-09-11 18:57:43 +08:00
max-width: 800px !important;
margin: 0 auto !important;
2021-11-30 18:57:18 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-30 18:57:18 +08:00
.trn-nav-top,
.goods-buy-nav,
.nav-more-view,
.quick-movable-container,
2023-08-31 14:26:22 +08:00
.online-service-movable-container,
.buy-nav,
2023-01-13 18:49:47 +08:00
.cart-buy-nav {
2023-09-11 18:57:43 +08:00
left: auto !important;
2021-11-30 18:57:18 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-30 18:57:18 +08:00
iframe,
.bottom-fixed {
2023-09-11 18:57:43 +08:00
right: 0 !important;
2023-08-31 14:26:22 +08:00
}
.web-html-content iframe {
2023-09-11 18:57:43 +08:00
width: 100% !important;
max-height: 500rpx !important;
2021-11-30 18:57:18 +08:00
}
2023-08-31 14:26:22 +08:00
/**
* 隐藏导航栏内容仅展示返回按钮
*/
uni-page-head {
2023-09-11 18:57:43 +08:00
position: absolute;
margin-top: -999999px;
z-index: 99;
2023-08-31 14:26:22 +08:00
}
.uni-page-head-bd {
2023-09-11 18:57:43 +08:00
display: none !important;
2023-08-31 14:26:22 +08:00
}
.uni-page-head-btn {
2023-09-11 18:57:43 +08:00
position: fixed;
left: auto;
bottom: 70px;
background: rgba(0, 0, 0, 0.6);
box-shadow: 0 0 10px rgb(0 0 0 / 30%);
margin: 0 0 0 10px;
border-radius: 50px;
width: 31px;
height: 31px;
text-align: center;
padding: 2px 3px 0 0;
2023-08-31 14:26:22 +08:00
}
.uni-page-head-btn .uni-btn-icon {
2023-09-11 18:57:43 +08:00
color: #fff !important;
2023-08-31 14:26:22 +08:00
}
.uni-app--showtabbar uni-page-wrapper,
uni-page-head[uni-page-head-type=default]~uni-page-wrapper {
2023-09-11 18:57:43 +08:00
height: calc(100% - var(--window-bottom)) !important;
2023-08-31 14:26:22 +08:00
}
2021-11-30 18:57:18 +08:00
/* #endif */
2021-11-16 20:40:41 +08:00
/**
* 公共样式框架样式覆盖
2021-10-22 17:52:12 +08:00
*/
page {
2023-09-11 18:57:43 +08:00
background: #f5f5f5;
color: #4a4a4a;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
input[type="text"],
input[type="number"],
input[type="idcard"],
input[type="digit"],
textarea {
2023-09-11 18:57:43 +08:00
-webkit-appearance: none;
border-radius: 5px;
box-sizing: border-box;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
page,
2021-11-16 20:40:41 +08:00
textarea,
2021-10-22 17:52:12 +08:00
.a-textarea-control textarea {
2023-09-11 18:57:43 +08:00
font-size: 28rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
button:after,
button:before {
2023-09-11 18:57:43 +08:00
border: 0;
border-radius: 0;
2021-10-22 17:52:12 +08:00
}
2021-11-16 20:40:41 +08:00
/**
* 模块分割间距
2021-10-22 17:52:12 +08:00
*/
.spacing {
2023-09-11 18:57:43 +08:00
padding-top: 20rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.spacing-10 {
2023-09-11 18:57:43 +08:00
padding-top: 10rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.spacing-mb {
2023-09-11 18:57:43 +08:00
margin-bottom: 24rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.spacing-mt {
2023-09-11 18:57:43 +08:00
margin-top: 24rpx;
2021-11-16 20:40:41 +08:00
}
/**
* 常用样式
2023-08-31 14:26:22 +08:00
*/
.max-w {
2023-09-11 18:57:43 +08:00
max-width: 100%;
2023-08-31 14:26:22 +08:00
}
.max-h {
2023-09-11 18:57:43 +08:00
max-height: 100%;
2021-12-02 23:52:21 +08:00
}
2023-08-31 14:26:22 +08:00
.min-w {
2023-09-11 18:57:43 +08:00
min-width: 100%;
2023-08-31 14:26:22 +08:00
}
.min-h {
2023-09-11 18:57:43 +08:00
min-height: 100%;
2023-08-31 14:26:22 +08:00
}
2021-10-22 17:52:12 +08:00
.fl {
2023-09-11 18:57:43 +08:00
float: left;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.fr {
2023-09-11 18:57:43 +08:00
float: right;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.wh-auto {
2023-09-11 18:57:43 +08:00
width: 100% !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.ht-auto {
2023-09-11 18:57:43 +08:00
height: 100% !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.tc {
2023-09-11 18:57:43 +08:00
text-align: center;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.tl {
2023-09-11 18:57:43 +08:00
text-align: left;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.tr {
2023-09-11 18:57:43 +08:00
text-align: right;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.oh {
2023-09-11 18:57:43 +08:00
overflow: hidden;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.dis-none {
2023-09-11 18:57:43 +08:00
display: none !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.dis-block {
2023-09-11 18:57:43 +08:00
display: block !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.dis-inline {
2023-09-11 18:57:43 +08:00
display: inline !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.dis-inline-block {
2023-09-11 18:57:43 +08:00
display: inline-block !important;
2023-08-31 14:26:22 +08:00
}
2023-08-23 20:14:53 +08:00
.va-t {
2023-09-11 18:57:43 +08:00
vertical-align: top;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.va-m {
2023-09-11 18:57:43 +08:00
vertical-align: middle;
2023-08-31 14:26:22 +08:00
}
.va-b {
2023-09-11 18:57:43 +08:00
vertical-align: text-bottom;
2021-11-30 18:57:18 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-26 20:30:04 +08:00
.pf {
2023-09-11 18:57:43 +08:00
position: fixed;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.pa {
2023-09-11 18:57:43 +08:00
position: absolute;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.pr {
2023-09-11 18:57:43 +08:00
position: relative;
2023-08-31 14:26:22 +08:00
}
2023-09-14 13:46:06 +08:00
.z-i {
z-index: 1;
}
2023-09-14 19:09:04 +08:00
.z-i-deep {
z-index: 2;
}
2023-08-31 14:26:22 +08:00
.bs-bb {
2023-09-11 18:57:43 +08:00
box-sizing: border-box;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.radius-0 {
2023-09-11 18:57:43 +08:00
border-radius: 0 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.radius {
2023-09-11 18:57:43 +08:00
border-radius: 10rpx !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.round {
2023-09-11 18:57:43 +08:00
border-radius: 50rpx !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.circle {
2023-09-11 18:57:43 +08:00
border-radius: 50% !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.fw-b {
2023-09-11 18:57:43 +08:00
font-weight: 500;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.auto {
2023-09-11 18:57:43 +08:00
margin: 0 auto;
2023-08-31 14:26:22 +08:00
}
.lh-0 {
2023-09-11 18:57:43 +08:00
line-height: 0 !important;
2023-08-31 14:26:22 +08:00
}
.cp {
2023-09-11 18:57:43 +08:00
/* #ifdef H5 */
cursor: pointer;
/* #endif */
2021-11-16 20:40:41 +08:00
}
/**
* 透明度
*/
.opacity-min {
2023-09-11 18:57:43 +08:00
opacity: 0.3;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.opacity {
2023-09-11 18:57:43 +08:00
opacity: 0.6;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.opacity-max {
2023-09-11 18:57:43 +08:00
opacity: 0.8;
2021-11-16 20:40:41 +08:00
}
/**
* 底部浮动
2021-10-22 17:52:12 +08:00
*/
2021-11-30 18:57:18 +08:00
.bottom-fixed {
2023-09-11 18:57:43 +08:00
position: fixed;
left: 0;
bottom: 0;
border: none;
width: 100%;
box-sizing: border-box;
z-index: 2;
2023-08-31 14:26:22 +08:00
}
/**
* 页面底部浮动增加底部边距
2023-08-31 14:26:22 +08:00
*/
.page-bottom-fixed {
2023-09-11 18:57:43 +08:00
padding-bottom: 120rpx !important;
2021-11-16 20:40:41 +08:00
}
/**
* 主要类样式
*/
2021-10-22 17:52:12 +08:00
.margin-main {
2023-09-11 18:57:43 +08:00
margin: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.margin-top-main {
2023-09-11 18:57:43 +08:00
margin-top: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.margin-right-main {
2023-09-11 18:57:43 +08:00
margin-right: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.margin-bottom-main {
2023-09-11 18:57:43 +08:00
margin-bottom: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.margin-left-main {
2023-09-11 18:57:43 +08:00
margin-left: 24rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.margin-horizontal-main {
2023-09-11 18:57:43 +08:00
margin-left: 24rpx;
margin-right: 24rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.margin-vertical-main {
2023-09-11 18:57:43 +08:00
margin-top: 24rpx;
margin-bottom: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.padding-main {
2023-09-11 18:57:43 +08:00
padding: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.padding-top-main {
2023-09-11 18:57:43 +08:00
padding-top: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.padding-right-main {
2023-09-11 18:57:43 +08:00
padding-right: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.padding-bottom-main {
2023-09-11 18:57:43 +08:00
padding-bottom: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.padding-left-main {
2023-09-11 18:57:43 +08:00
padding-left: 24rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.padding-horizontal-main {
2023-09-11 18:57:43 +08:00
padding-left: 24rpx;
padding-right: 24rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.padding-vertical-main {
2023-09-11 18:57:43 +08:00
padding-top: 24rpx;
padding-bottom: 24rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.border-radius-main {
2023-09-11 18:57:43 +08:00
border-radius: 16rpx;
2023-08-31 14:26:22 +08:00
}
2023-04-08 22:13:02 +08:00
.border-radius-left-main {
2023-09-11 18:57:43 +08:00
border-top-left-radius: 16rpx;
border-bottom-left-radius: 16rpx;
2023-08-31 14:26:22 +08:00
}
2023-04-08 22:13:02 +08:00
.border-radius-right-main {
2023-09-11 18:57:43 +08:00
border-top-right-radius: 16rpx;
border-bottom-right-radius: 16rpx;
2023-08-31 14:26:22 +08:00
}
2023-09-14 13:46:06 +08:00
.border-radius-top-main {
border-top-left-radius: 16rpx;
border-top-right-radius: 16rpx;
}
.border-radius-bottom-main {
border-bottom-left-radius: 16rpx;
border-bottom-right-radius: 16rpx;
}
2023-08-31 14:26:22 +08:00
.border-radius-xs {
2023-09-11 18:57:43 +08:00
border-radius: 4rpx;
2023-08-31 14:26:22 +08:00
}
.border-radius-left-xs {
2023-09-11 18:57:43 +08:00
border-top-left-radius: 4rpx;
border-bottom-left-radius: 4rpx;
2023-08-31 14:26:22 +08:00
}
.border-radius-right-xs {
2023-09-11 18:57:43 +08:00
border-top-right-radius: 4rpx;
border-bottom-right-radius: 4rpx;
2023-08-31 14:26:22 +08:00
}
2023-09-14 13:46:06 +08:00
.border-radius-top-xs {
border-top-left-radius: 4rpx;
border-top-right-radius: 4rpx;
}
.border-radius-bottom-xs {
border-bottom-left-radius: 4rpx;
border-bottom-right-radius: 4rpx;
}
2023-08-31 14:26:22 +08:00
.border-radius-sm {
2023-09-11 18:57:43 +08:00
border-radius: 8rpx;
2023-08-31 14:26:22 +08:00
}
.border-radius-left-sm {
2023-09-11 18:57:43 +08:00
border-top-left-radius: 8rpx;
border-bottom-left-radius: 8rpx;
2023-08-31 14:26:22 +08:00
}
.border-radius-right-sm {
2023-09-11 18:57:43 +08:00
border-top-right-radius: 8rpx;
border-bottom-right-radius: 8rpx;
2021-11-16 20:40:41 +08:00
}
2023-09-14 13:46:06 +08:00
.border-radius-top-sm {
border-top-left-radius: 8rpx;
border-top-right-radius: 8rpx;
}
.border-radius-bottom-sm {
border-bottom-left-radius: 8rpx;
border-bottom-right-radius: 8rpx;
}
2021-11-16 20:40:41 +08:00
/**
* 价格
2021-10-22 17:52:12 +08:00
*/
.sales-price {
2023-09-11 18:57:43 +08:00
color: #E22C08;
font-weight: bold;
font-size: 28rpx;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.original-price {
2023-09-11 18:57:43 +08:00
color: #999;
font-size: 24rpx;
text-decoration: line-through;
2021-11-16 20:40:41 +08:00
}
/**
* 边框 灰色四边红色黄色绿色灰色无边线
2021-10-22 17:52:12 +08:00
*/
.br {
2023-09-11 18:57:43 +08:00
border: 1px solid #EEEEEE !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.br-b {
2023-09-11 18:57:43 +08:00
border-bottom: 1px solid #EEEEEE !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.br-t {
2023-09-11 18:57:43 +08:00
border-top: 1px solid #EEEEEE !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.br-l {
2023-09-11 18:57:43 +08:00
border-left: 1px solid #EEEEEE !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.br-r {
2023-09-11 18:57:43 +08:00
border-right: 1px solid #EEEEEE !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-red {
2023-09-11 18:57:43 +08:00
border: 1px solid #E22C08 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-yellow {
2023-09-11 18:57:43 +08:00
border: 1px solid #f6c133 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-green {
2023-09-11 18:57:43 +08:00
border: 1px solid #52C41A !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-gray {
2023-09-11 18:57:43 +08:00
border: solid 1px #d6d6d6 !important;
2023-08-31 14:26:22 +08:00
}
2022-02-10 11:32:17 +08:00
.br-blue {
2023-09-11 18:57:43 +08:00
border: solid 1px #2196F3 !important;
2023-08-31 14:26:22 +08:00
}
.br-base {
2023-09-11 18:57:43 +08:00
border: solid 1px #666 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-0 {
2023-09-11 18:57:43 +08:00
border: 0 !important;
box-shadow: none;
2021-10-22 17:52:12 +08:00
}
2021-11-16 20:40:41 +08:00
/**
* 虚线边框灰色四边红色黄色绿色灰色
2021-10-22 17:52:12 +08:00
*/
.br-dashed {
2023-09-11 18:57:43 +08:00
border: dashed 1px #EEEEEE !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.br-b-dashed {
2023-09-11 18:57:43 +08:00
border-bottom: dashed 1px #EEEEEE !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.br-t-dashed {
2023-09-11 18:57:43 +08:00
border-top: dashed 1px #EEEEEE !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.br-l-dashed {
2023-09-11 18:57:43 +08:00
border-left: dashed 1px #EEEEEE !important;
2021-10-22 17:52:12 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.br-r-dashed {
2023-09-11 18:57:43 +08:00
border-right: dashed 1px #EEEEEE !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-dashed-red {
2023-09-11 18:57:43 +08:00
border: dashed 1px #E22C08 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-dashed-yellow {
2023-09-11 18:57:43 +08:00
border: dashed 1px #f6c133 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-dashed-green {
2023-09-11 18:57:43 +08:00
border: dashed 1px #1AAD19 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.br-dashed-gray {
2023-09-11 18:57:43 +08:00
border: dashed 1px #d6d6d6 !important;
2021-11-16 20:40:41 +08:00
}
/**
* 统一颜色
* 文本基础色白色黑色灰色浅灰色红色黄色绿色蓝色
*/
.cr-base {
2023-09-11 18:57:43 +08:00
color: #666 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.cr-white {
2023-09-11 18:57:43 +08:00
color: #fff !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.cr-black {
2023-09-11 18:57:43 +08:00
color: #333 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.cr-gray {
2023-09-11 18:57:43 +08:00
color: #888 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.cr-grey {
2023-09-11 18:57:43 +08:00
color: #666 !important;
2023-08-31 14:26:22 +08:00
}
.cr-grey-9 {
2023-09-11 18:57:43 +08:00
color: #999 !important;
2023-08-31 14:26:22 +08:00
}
.cr-grey-c {
2023-09-11 18:57:43 +08:00
color: #ccc !important;
2023-08-31 14:26:22 +08:00
}
.cr-grey-d {
2023-09-11 18:57:43 +08:00
color: #ddd !important;
2023-08-31 14:26:22 +08:00
}
.cr-grey-white {
2023-09-11 18:57:43 +08:00
color: #e7e7e7 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.cr-red {
2023-09-11 18:57:43 +08:00
color: #E22C08 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.cr-yellow {
2023-09-11 18:57:43 +08:00
color: #f6c133 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.cr-green {
2023-09-11 18:57:43 +08:00
color: #1AAD19 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.cr-blue {
2023-09-11 18:57:43 +08:00
color: #2196F3 !important;
2021-11-16 20:40:41 +08:00
}
/**
* 统一背景色
* 白色绿色红色黄色灰色
*/
2021-10-22 17:52:12 +08:00
.bg-white {
2023-09-11 18:57:43 +08:00
background-color: #fff !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.bg-green {
2023-09-11 18:57:43 +08:00
background-color: #1AAD19 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.bg-red {
2023-09-11 18:57:43 +08:00
background-color: #E64340 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.bg-yellow {
2023-09-11 18:57:43 +08:00
background-color: #f6c133 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.bg-gray {
2023-09-11 18:57:43 +08:00
background-color: #d6d6d6 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
.bg-base {
2023-09-11 18:57:43 +08:00
background-color: #f5f5f5 !important;
2023-08-31 14:26:22 +08:00
}
.bg-blue {
2023-09-11 18:57:43 +08:00
background-color: #2196F3 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
button[disabled].bg-white {
2023-09-11 18:57:43 +08:00
background-color: #fdfdfd !important;
color: #ccc !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
button[disabled].bg-green {
2023-09-11 18:57:43 +08:00
background-color: #94de94 !important;
color: #d5f5d5 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
button[disabled].bg-red {
2023-09-11 18:57:43 +08:00
background-color: #ffbaba !important;
color: #ffdfdf !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
button[disabled].bg-yellow {
2023-09-11 18:57:43 +08:00
background-color: #fff1cb !important;
color: #fbd777 !important;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-22 17:52:12 +08:00
button[disabled].bg-gray {
2023-09-11 18:57:43 +08:00
background-color: #ececec !important;
color: #ababab !important;
2023-08-31 14:26:22 +08:00
}
/**
* 兼容底部横线底部内边距
*/
.bottom-line-exclude {
2023-09-11 18:57:43 +08:00
padding-bottom: calc(env(safe-area-inset-bottom) - 40rpx);
2021-11-16 20:40:41 +08:00
}
2021-10-02 11:24:40 +08:00
/**
* 表单
*/
.form-container .form-gorup {
2023-09-11 18:57:43 +08:00
padding: 20rpx;
margin-bottom: 20rpx;
border-radius: 20rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
.form-container .form-gorup .form-gorup-item-left {
2023-09-11 18:57:43 +08:00
float: left;
padding-right: 20rpx;
2023-08-31 14:26:22 +08:00
}
.form-container .form-gorup .form-gorup-item-right {
2023-09-11 18:57:43 +08:00
float: right;
padding-left: 20rpx;
border-left: 1px solid #f7f7f7;
2023-08-31 14:26:22 +08:00
}
.form-container .form-gorup .form-gorup-item-left,
.form-container .form-gorup .form-gorup-item-right {
2023-09-11 18:57:43 +08:00
width: calc(50% - 20rpx - 1px);
2023-08-31 14:26:22 +08:00
}
2021-11-16 20:40:41 +08:00
.form-container .form-gorup-submit {
2023-09-11 18:57:43 +08:00
padding: 20rpx 0;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.form-container .form-gorup:not(.form-gorup-submit) {
2023-09-11 18:57:43 +08:00
background: #fff;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container .form-gorup-title {
2023-09-11 18:57:43 +08:00
margin-bottom: 5rpx;
font-weight: 500;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container .form-group-tips,
.form-container .form-group-tips-must {
2023-09-11 18:57:43 +08:00
margin-left: 20rpx;
font-size: 24rpx;
color: #ccc;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container .form-group-tips-must {
2023-09-11 18:57:43 +08:00
color: #f00;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container .form-gorup input,
.form-container .form-gorup textarea,
.form-container .form-gorup .picker {
2023-09-11 18:57:43 +08:00
border-radius: 0;
width: 100%;
box-sizing: border-box;
font-size: 28rpx;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container .form-gorup input,
2023-08-31 14:26:22 +08:00
.form-container .form-gorup .picker,
.form-container .form-gorup .radio-gorup {
2023-09-11 18:57:43 +08:00
height: 70rpx;
line-height: 70rpx;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container .form-gorup textarea {
2023-09-11 18:57:43 +08:00
padding: 0;
height: 150rpx !important;
margin-top: 20rpx;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container .form-gorup-text {
2023-09-11 18:57:43 +08:00
padding: 20rpx 10rpx;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container .form-gorup .switch {
2023-09-11 18:57:43 +08:00
margin: 30rpx 0 20rpx 0;
2023-08-31 14:26:22 +08:00
}
.form-container .form-gorup .radio-gorup .radio radio {
2023-09-11 18:57:43 +08:00
transform: scale(0.7);
2023-08-31 14:26:22 +08:00
}
.form-container .form-gorup .radio-gorup .radio:not(:last-child) {
2023-09-11 18:57:43 +08:00
margin-right: 50rpx;
2021-10-02 11:24:40 +08:00
}
/**
* 表单图片上传
2021-11-16 20:40:41 +08:00
*/
.form-container-upload .form-gorup-title {
2023-09-11 18:57:43 +08:00
margin-bottom: 20rpx;
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container-upload .form-upload-data .item {
2023-09-11 18:57:43 +08:00
margin: 10rpx 10rpx 0 0;
position: relative;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container-upload .form-upload-data .delete-icon {
2023-09-11 18:57:43 +08:00
position: absolute;
top: 0;
right: 0;
color: #e5e5e5;
background-color: #d9534f;
padding: 5rpx 18rpx;
font-size: 36rpx;
border: 1px solid #eee;
border-radius: 50rpx;
line-height: 44rpx;
z-index: 1;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.form-container-upload .form-upload-data image {
2023-09-11 18:57:43 +08:00
width: 150rpx;
height: 150rpx;
padding: 5rpx;
border: 1px solid #eee;
display: block;
border-radius: 10rpx;
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.form-container-upload .upload-icon {
2023-09-11 18:57:43 +08:00
margin-top: 10rpx;
width: 160rpx;
height: 160rpx;
border: 1px dashed #e9e9e9;
display: block;
border-radius: 10rpx;
2021-11-16 20:40:41 +08:00
}
/**
* 通知公告
*/
2021-10-02 11:24:40 +08:00
.notice-content {
2023-09-11 18:57:43 +08:00
color: #666;
line-height: 42rpx;
font-size: 26rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.notice-content-blue {
2023-09-11 18:57:43 +08:00
background: #def2fd;
border: 1px solid #cfeeff;
color: #1490d2;
padding: 10rpx 20rpx;
font-size: 26rpx;
border-radius: 22rpx;
2021-11-16 20:40:41 +08:00
}
/**
* 箭头符号
2021-10-02 11:24:40 +08:00
*/
.arrow-right {
2023-09-11 18:57:43 +08:00
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;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.arrow-bottom {
2023-09-11 18:57:43 +08:00
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;
2021-11-16 20:40:41 +08:00
}
/**
* 信息提示加载页面图片
2021-10-02 11:24:40 +08:00
*/
.data-loding image {
2023-09-11 18:57:43 +08:00
width: 120rpx;
height: 120rpx;
background-size: 80% 80% !important;
2021-11-16 20:40:41 +08:00
}
/**
* 元素漂出可视页面
2021-10-02 11:24:40 +08:00
*/
.drift {
2023-09-11 18:57:43 +08:00
position: fixed;
left: -1000px;
2021-11-16 20:40:41 +08:00
}
/**
* 导航分割
2021-10-02 11:24:40 +08:00
*/
.spacing-nav-title {
2023-09-11 18:57:43 +08:00
margin-bottom: 20rpx
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.spacing-nav-title .text-wrapper {
2023-09-11 18:57:43 +08:00
display: inline-block;
font-size: 32rpx;
font-weight: 500;
color: #333;
2023-08-31 14:26:22 +08:00
}
/**
* 关键字标签展示
*/
.word-list .word-icon {
2023-09-11 18:57:43 +08:00
height: 36rpx;
line-height: 36rpx;
border-radius: 4rpx;
border: 2rpx solid #FFCAC0;
color: #FFCAC0;
padding: 0 8rpx;
2023-08-31 14:26:22 +08:00
}
.word-list .word-icon:not(:last-child) {
2023-09-11 18:57:43 +08:00
margin-right: 20rpx;
}
2023-08-31 14:26:22 +08:00
.word-list image {
2023-09-11 18:57:43 +08:00
max-width: 100%;
margin: 0 auto;
2021-11-16 20:40:41 +08:00
}
/**
* 文字超出部分使用省略号
2021-10-02 11:24:40 +08:00
*/
.single-text {
2023-09-11 18:57:43 +08:00
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
max-width: 100%;
2021-10-02 11:24:40 +08:00
}
2023-08-31 14:26:22 +08:00
2021-10-02 11:24:40 +08:00
.multi-text {
2023-09-11 18:57:43 +08:00
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
min-height: 76rpx;
line-height: 38rpx;
font-size: 28rpx;
white-space: initial;
2021-11-16 20:40:41 +08:00
}
/**
* 基础导航
*/
.nav-base {
2023-09-11 18:57:43 +08:00
height: 80rpx;
line-height: 80rpx;
2023-08-31 14:26:22 +08:00
}
.nav-base .item {
2023-09-11 18:57:43 +08:00
/* #ifdef H5 */
cursor: pointer;
/* #endif */
2021-11-16 20:40:41 +08:00
}
2023-09-04 14:24:47 +08:00
/**
* 导航下划线
*/
.nav-active-line {
2023-09-11 18:57:43 +08:00
position: relative;
2023-09-04 14:24:47 +08:00
}
.nav-active-line::before {
2023-09-11 18:57:43 +08:00
content: '';
width: 12px;
height: 2px;
background: transparent;
border-radius: 1px;
position: absolute;
left: 50%;
bottom: 0;
transform: translateX(-50%);
2023-09-04 14:24:47 +08:00
}
2021-11-16 20:40:41 +08:00
/**
* 滚动标签高度
*/
2021-10-02 11:24:40 +08:00
.scroll-box {
2023-09-11 18:57:43 +08:00
height: 100vh;
2021-11-16 20:40:41 +08:00
}
/**
* 存在基础导航
*/
2021-11-30 18:57:18 +08:00
.scroll-box-ece-nav {
2023-09-11 18:57:43 +08:00
height: calc(100vh - 80rpx);
2021-11-16 20:40:41 +08:00
}
/**
* 滚动水平左右滑动
*/
.scroll-view-horizontal {
2023-09-11 18:57:43 +08:00
white-space: nowrap;
box-sizing: border-box;
width: 100%;
2023-08-31 14:26:22 +08:00
}
/**
* 滚动水平左右滑动内容宽度处理
2023-08-31 14:26:22 +08:00
*/
.rolling-horizontal .scroll-view-horizontal {
2023-09-11 18:57:43 +08:00
width: calc(100% + 20rpx);
2021-11-16 20:40:41 +08:00
}
/**
* 公共操作栏按钮样式
*/
.item-operation button:not(:first-child) {
2023-09-11 18:57:43 +08:00
margin-left: 20rpx;
2021-11-16 20:40:41 +08:00
}
2023-08-31 14:26:22 +08:00
2021-11-16 20:40:41 +08:00
.item-operation button {
2023-09-11 18:57:43 +08:00
padding: 0 35rpx;
height: 58rpx;
line-height: 58rpx;
display: inline-flex;
2023-08-31 14:26:22 +08:00
}
/**
* 单页预览
*/
.single-page-top {
2023-09-11 18:57:43 +08:00
padding-top: 110rpx;
2023-08-31 14:26:22 +08:00
}
/**
* 上一篇下一篇
*/
.last-next-data navigator {
2023-09-11 18:57:43 +08:00
width: calc(100% - 120rpx);
2023-08-31 14:26:22 +08:00
}
/**
* 商品列表
*/
.goods-list .cart-badge-icon {
2023-09-11 18:57:43 +08:00
top: -18rpx;
right: 8rpx;
2023-08-31 14:26:22 +08:00
}
.goods-list .error-msg {
2023-09-11 18:57:43 +08:00
position: absolute;
top: 0;
left: 0;
background: rgb(253 253 253 / 60%);
z-index: 1;
filter: blur(0.3px);
2023-08-31 14:26:22 +08:00
}
.goods-data-grid-list .item .error-msg,
.goods-data-rolling-list .item .error-msg {
2023-09-11 18:57:43 +08:00
border-bottom-left-radius: 0 !important;
border-bottom-right-radius: 0 !important;
2023-08-31 14:26:22 +08:00
}
/**
* 商品列表 - 列表
*/
.goods-data-list .error-msg,
.goods-data-list .goods-img {
2023-09-11 18:57:43 +08:00
width: 190rpx !important;
height: 190rpx !important;
2023-08-31 14:26:22 +08:00
}
.goods-data-list .base {
2023-09-11 18:57:43 +08:00
width: calc(100% - 220rpx);
2023-08-31 14:26:22 +08:00
}
.goods-data-list .base .base-bottom {
2023-09-11 18:57:43 +08:00
width: calc(100% - 260rpx);
2023-08-31 14:26:22 +08:00
}
.goods-data-list .error-msg {
2023-09-14 19:09:04 +08:00
top: 24rpx;
left: 24rpx;
2023-09-11 18:57:43 +08:00
line-height: 190rpx;
2023-08-31 14:26:22 +08:00
}
/*
* 商品列表 - 滚动
*/
2023-08-31 14:26:22 +08:00
.goods-data-rolling-list .swiper {
2023-09-11 18:57:43 +08:00
height: 310rpx !important;
2023-08-31 14:26:22 +08:00
}
.goods-data-rolling-list .item .error-msg,
.goods-data-rolling-list .item .goods-img {
2023-09-11 18:57:43 +08:00
height: 210rpx !important;
2023-08-31 14:26:22 +08:00
}
.goods-data-rolling-list .item .error-msg {
2023-09-11 18:57:43 +08:00
line-height: 210rpx;
2023-08-31 14:26:22 +08:00
}
/**
* 商品列表 - 九方格
*/
2023-09-14 19:09:04 +08:00
.goods-data-grid-list .item {
2023-09-11 18:57:43 +08:00
width: calc(50% - 10rpx);
2023-09-13 14:01:36 +08:00
padding-bottom: 20rpx;
2023-09-11 18:57:43 +08:00
margin-bottom: 20rpx;
}
2023-08-31 14:26:22 +08:00
.goods-data-grid-list .item:nth-of-type(2n + 1) {
2023-09-11 18:57:43 +08:00
margin-right: 10rpx;
}
2023-08-31 14:26:22 +08:00
.goods-data-grid-list .item:nth-of-type(2n) {
2023-09-11 18:57:43 +08:00
margin-left: 10rpx;
2023-08-31 14:26:22 +08:00
}
2023-03-22 11:17:01 +08:00
.goods-data-grid-list .item .error-msg,
.goods-data-grid-list .item .goods-img {
2023-09-11 18:57:43 +08:00
height: 341rpx !important;
2023-08-31 14:26:22 +08:00
}
.goods-data-grid-list .item .error-msg {
2023-09-11 18:57:43 +08:00
line-height: 341rpx;
2023-08-31 14:26:22 +08:00
}
/**
* 头部客服信息弹窗
*/
2023-07-02 20:16:33 +08:00
/**
* 客服
*/
.header-service {
2023-09-11 18:57:43 +08:00
width: 400rpx;
left: 80rpx;
top: 210rpx;
z-index: 2;
font-size: 24rpx;
-webkit-box-shadow: 0 10px 10px rgb(0 0 0 / 30%);
box-shadow: 0 10px 10px rgb(0 0 0 / 30%);
2023-07-02 20:16:33 +08:00
}
2023-08-31 14:26:22 +08:00
.header-service .item:first-child {
2023-09-11 18:57:43 +08:00
border-top: 0 !important;
2023-08-31 14:26:22 +08:00
}
.header-service .qrcode .item:not(:last-child) {
2023-09-11 18:57:43 +08:00
margin-right: 20rpx;
2023-08-31 14:26:22 +08:00
}
2023-07-02 20:16:33 +08:00
.header-service image {
2023-09-11 18:57:43 +08:00
width: 130rpx;
height: 130rpx;
2023-08-31 14:26:22 +08:00
}
.header-service .chat-info image {
2023-09-11 18:57:43 +08:00
width: 40rpx;
height: 40rpx;
2023-08-31 14:26:22 +08:00
}
/**
* flex 布局
*/
.flex-row {
2023-09-11 18:57:43 +08:00
display: flex;
flex-direction: row;
2023-08-31 14:26:22 +08:00
}
.flex-col {
2023-09-11 18:57:43 +08:00
display: flex;
flex-direction: column;
2023-08-31 14:26:22 +08:00
}
.jc-sb {
2023-09-11 18:57:43 +08:00
justify-content: space-between;
2023-08-31 14:26:22 +08:00
}
2023-09-07 19:02:45 +08:00
.jc-c {
2023-09-11 18:57:43 +08:00
justify-content: center;
2023-09-07 19:02:45 +08:00
}
2023-08-31 14:26:22 +08:00
.jc-sa {
2023-09-11 18:57:43 +08:00
justify-content: space-around;
2023-08-31 14:26:22 +08:00
}
.jc-e {
2023-09-11 18:57:43 +08:00
justify-content: end;
}
2023-08-31 14:26:22 +08:00
.align-c {
2023-09-11 18:57:43 +08:00
align-items: center;
2023-08-31 14:26:22 +08:00
}
.align-e {
2023-09-11 18:57:43 +08:00
align-items: flex-end;
}
.align-s {
align-items: flex-start;
}
.align-b {
2023-09-11 18:57:43 +08:00
align-items: baseline;
}
2023-08-31 14:26:22 +08:00
.flex-warp {
2023-09-11 18:57:43 +08:00
flex-wrap: wrap;
2023-08-31 14:26:22 +08:00
}
.flex-nowrap {
2023-09-11 18:57:43 +08:00
flex-wrap: nowrap;
2023-08-31 14:26:22 +08:00
}
.flex-1 {
2023-09-11 18:57:43 +08:00
flex: 1;
2023-08-31 14:26:22 +08:00
}
.self-c {
2023-09-11 18:57:43 +08:00
align-self: center;
}
.self-b {
2023-09-11 18:57:43 +08:00
align-self: baseline;
}
.self-e {
2023-09-11 18:57:43 +08:00
align-self: flex-end;
}
2023-08-31 14:26:22 +08:00
.flex-width {
2023-09-11 18:57:43 +08:00
width: 0;
2023-08-31 14:26:22 +08:00
}
.flex-width-half {
2023-09-11 18:57:43 +08:00
width: 50%;
2023-08-31 14:26:22 +08:00
}
/**
2023-09-11 18:57:43 +08:00
* css伪类文本之间的分割线
2023-08-31 14:26:22 +08:00
*/
.divider-l,
.divider-r,
.divider-t,
.divider-b {
2023-09-11 18:57:43 +08:00
position: relative;
2023-08-31 14:26:22 +08:00
}
.divider-l::before {
2023-09-11 18:57:43 +08:00
content: '';
width: 2rpx;
height: 65%;
position: absolute;
left: 0;
top: 50%;
transform: translateY(-50%);
background: #EEEEEE;
2023-08-31 14:26:22 +08:00
}
.divider-r::after {
2023-09-11 18:57:43 +08:00
content: '';
width: 2rpx;
height: 65%;
position: absolute;
right: 0;
top: 50%;
transform: translateY(-50%);
background: #EEEEEE;
2023-08-31 14:26:22 +08:00
}
.divider-t::before {
2023-09-11 18:57:43 +08:00
content: '';
width: 100%;
height: 2rpx;
position: absolute;
top: 0;
background: #EEEEEE;
2023-08-31 14:26:22 +08:00
}
.divider-b::after {
2023-09-11 18:57:43 +08:00
content: '';
width: 100%;
height: 2rpx;
position: absolute;
bottom: 0;
background: #EEEEEE;
2023-08-31 14:26:22 +08:00
}
/**
* 标题左侧边线
*/
.title-left-border {
2023-09-11 18:57:43 +08:00
position: relative;
padding-left: 20rpx;
2023-08-31 14:26:22 +08:00
}
.title-left-border::before {
2023-09-11 18:57:43 +08:00
content: '';
width: 8rpx;
height: 32rpx;
border-radius: 6rpx;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
2023-08-31 14:26:22 +08:00
}
2023-09-05 17:38:15 +08:00
/**
* 导航菜单左侧边线
*/
.nav-left-border {
2023-09-11 18:57:43 +08:00
position: relative;
padding-left: 20rpx;
2023-09-05 17:38:15 +08:00
}
.nav-left-border::before {
2023-09-11 18:57:43 +08:00
content: '';
width: 6rpx;
height: 40rpx;
border-radius: 6rpx;
position: absolute;
top: 50%;
left: 0;
transform: translateY(-50%);
2023-09-05 17:38:15 +08:00
}
2023-08-31 14:26:22 +08:00
/**
* 细微偏移量
*/
2023-09-05 17:38:15 +08:00
.top-0 {
2023-09-11 18:57:43 +08:00
top: 0;
2023-09-05 17:38:15 +08:00
}
2023-08-31 14:26:22 +08:00
.top-xs {
2023-09-11 18:57:43 +08:00
top: 2rpx;
2023-08-31 14:26:22 +08:00
}
.top-sm {
2023-09-11 18:57:43 +08:00
top: 4rpx;
2023-08-31 14:26:22 +08:00
}
.top-md {
2023-09-11 18:57:43 +08:00
top: 6rpx;
2023-08-31 14:26:22 +08:00
}
.top-lg {
2023-09-11 18:57:43 +08:00
top: 8rpx;
2023-08-31 14:26:22 +08:00
}
.top-xl {
2023-09-11 18:57:43 +08:00
top: 10rpx;
2023-08-31 14:26:22 +08:00
}
2023-09-05 17:38:15 +08:00
.left-0 {
2023-09-11 18:57:43 +08:00
left: 0;
2023-09-05 17:38:15 +08:00
}
2023-08-31 14:26:22 +08:00
.left-xs {
2023-09-11 18:57:43 +08:00
left: 2rpx;
2023-08-31 14:26:22 +08:00
}
.left-sm {
2023-09-11 18:57:43 +08:00
left: 4rpx;
2023-08-31 14:26:22 +08:00
}
.left-md {
2023-09-11 18:57:43 +08:00
left: 6rpx;
2023-08-31 14:26:22 +08:00
}
.left-lg {
2023-09-11 18:57:43 +08:00
left: 8rpx;
2023-08-31 14:26:22 +08:00
}
.left-xl {
2023-09-11 18:57:43 +08:00
left: 10rpx;
2023-08-31 14:26:22 +08:00
}
2023-09-05 17:38:15 +08:00
.bottom-0 {
2023-09-11 18:57:43 +08:00
bottom: 0;
2023-09-05 17:38:15 +08:00
}
2023-08-31 14:26:22 +08:00
.bottom-xs {
2023-09-11 18:57:43 +08:00
bottom: 2rpx;
2023-08-31 14:26:22 +08:00
}
.bottom-sm {
2023-09-11 18:57:43 +08:00
bottom: 4rpx;
2023-08-31 14:26:22 +08:00
}
.bottom-md {
2023-09-11 18:57:43 +08:00
bottom: 6rpx;
2023-08-31 14:26:22 +08:00
}
.bottom-lg {
2023-09-11 18:57:43 +08:00
bottom: 8rpx;
2023-08-31 14:26:22 +08:00
}
.bottom-xl {
2023-09-11 18:57:43 +08:00
bottom: 10rpx;
2023-08-31 14:26:22 +08:00
}
2023-09-05 17:38:15 +08:00
.right-0 {
2023-09-11 18:57:43 +08:00
right: 0;
2023-09-05 17:38:15 +08:00
}
2023-08-31 14:26:22 +08:00
.right-xs {
2023-09-11 18:57:43 +08:00
right: 2rpx;
2023-08-31 14:26:22 +08:00
}
.right-sm {
2023-09-11 18:57:43 +08:00
right: 4rpx;
2023-08-31 14:26:22 +08:00
}
.right-md {
2023-09-11 18:57:43 +08:00
right: 6rpx;
2023-08-31 14:26:22 +08:00
}
.right-lg {
2023-09-11 18:57:43 +08:00
right: 8rpx;
2023-08-31 14:26:22 +08:00
}
.right-xl {
2023-09-11 18:57:43 +08:00
right: 10rpx;
2023-09-07 19:02:45 +08:00
}
/**
* 呼吸
*/
/* <div class="breathe"></div> */
.breathe {
2023-09-11 18:57:43 +08:00
background-color: #FF7C74;
border-radius: 100%;
width: 12rpx;
height: 12rpx;
position: relative;
2023-09-07 19:02:45 +08:00
}
.breathe::before,
.breathe::after {
2023-09-11 18:57:43 +08:00
content: '';
background-color: rgba(255, 124, 116, 0.7);
border-radius: 50%;
position: absolute;
animation: loading 2s infinite ease-in-out;
2023-09-07 19:02:45 +08:00
}
.breathe::before {
2023-09-11 18:57:43 +08:00
width: 12px;
height: 12px;
top: -3px;
left: -3px;
2023-09-07 19:02:45 +08:00
}
.breathe::after {
2023-09-11 18:57:43 +08:00
width: 18px;
height: 18px;
top: -6px;
left: -6px;
2023-09-07 19:02:45 +08:00
}
@keyframes loading {
2023-09-11 18:57:43 +08:00
0% {
opacity: 0.5;
-webkit-transform: scale(1);
}
2023-09-07 19:02:45 +08:00
2023-09-11 18:57:43 +08:00
50% {
opacity: 0.7;
-webkit-transform: scale(1.12);
}
2023-09-07 19:02:45 +08:00
2023-09-11 18:57:43 +08:00
100% {
opacity: 0.5;
-webkit-transform: scale(1);
}
2023-09-07 19:02:45 +08:00
}
/**
* 扩散效果
*/
/* <div class="spread margin-left-xxxl">
<div class="ring"></div>
<div class="ring"></div>
<div class="ring"></div>
</div> */
.spread {
2023-09-11 18:57:43 +08:00
background-color: #FF7C74;
height: 16rpx;
width: 16rpx;
border-radius: 100%;
position: relative;
z-index: 1;
2023-09-07 19:02:45 +08:00
}
.spread .ring {
2023-09-11 18:57:43 +08:00
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;
2023-09-07 19:02:45 +08:00
}
/* 速度为1*层数 */
.spread .ring:nth-of-type(1) {
2023-09-11 18:57:43 +08:00
-webkit-animation-delay: -1.5s;
animation-delay: -1.5s;
2023-09-07 19:02:45 +08:00
}
/* 速度为1*层数 */
.spread .ring:nth-of-type(2) {
2023-09-11 18:57:43 +08:00
-webkit-animation-delay: -3s;
animation-delay: -3s;
2023-09-07 19:02:45 +08:00
}
@keyframes pulsing {
2023-09-11 18:57:43 +08:00
100% {
transform: scale(3);
opacity: 0
}
2021-10-02 11:24:40 +08:00
}