Files

351 lines
6.1 KiB
CSS
Raw Permalink Normal View History

2023-08-27 16:10:21 +08:00
/*
* 订单详情
*/
.index-order-detail .user-content {
padding: 0;
}
2018-12-28 18:58:37 +08:00
/**
2020-07-28 21:15:47 +08:00
* 进度
2018-12-28 18:58:37 +08:00
*/
2020-07-28 21:15:47 +08:00
ul.progress {
2023-08-27 16:10:21 +08:00
margin: 4rem 0 3.2rem 0;
2020-07-28 21:15:47 +08:00
}
ul.progress li {
2023-08-27 16:10:21 +08:00
position: relative;
width: 20%;
}
2020-07-28 21:15:47 +08:00
ul.progress li i.step {
2023-08-27 16:10:21 +08:00
display: block;
background-color: #e1e1e1;
2020-07-28 21:15:47 +08:00
}
ul.progress li .digital {
2023-08-27 16:10:21 +08:00
background-color: #FFFFFF;
border-radius: 50%;
width: 1.4rem;
height: 1.4rem;
border: 0.2rem solid #d8dadc;
2020-07-28 21:15:47 +08:00
}
ul.progress li .base .title {
2023-08-27 16:10:21 +08:00
font-size: 1.4rem;
color: #999999;
2020-07-28 21:15:47 +08:00
}
ul.progress li .base .date {
2023-08-27 16:10:21 +08:00
color: #999999;
2020-07-28 21:15:47 +08:00
}
ul.progress li.steps-success .digital {
2023-08-27 16:10:21 +08:00
border: 0.2rem solid var(--color-main) !important;
background-color: var(--color-main);
2020-07-28 21:15:47 +08:00
}
ul.progress li.steps-success i.step {
2023-08-27 16:10:21 +08:00
background-color: var(--color-main);
}
ul.progress li.steps-success + li i.step {
background-color: var(--color-main);
}
ul.progress li.steps-success + li .digital {
border-color: var(--color-main);
}
ul.progress li.steps-success + li .base .title {
color: var(--color-main);
2020-07-28 21:15:47 +08:00
}
2023-08-27 16:10:21 +08:00
ul.progress li.steps-success + li.steps-success .base .title {
color: #999999;
2020-07-28 21:15:47 +08:00
}
2023-01-26 17:06:20 +08:00
ul.progress-1 li {
2023-08-27 16:10:21 +08:00
width: 100%;
2020-07-28 21:15:47 +08:00
}
2023-01-26 17:06:20 +08:00
ul.progress-2 li {
2023-08-27 16:10:21 +08:00
width: 50%;
2020-07-28 21:15:47 +08:00
}
2023-01-26 17:06:20 +08:00
ul.progress-3 li {
2023-08-27 16:10:21 +08:00
width: 33.33%;
2023-01-26 17:06:20 +08:00
}
ul.progress-4 li {
2023-08-27 16:10:21 +08:00
width: 25%;
2020-07-28 21:15:47 +08:00
}
2019-05-22 18:42:52 +08:00
@media only screen and (min-width: 641px) {
2023-08-27 16:10:21 +08:00
ul.progress {
overflow: hidden;
}
ul.progress li {
float: left;
text-align: center;
}
ul.progress li i.step {
display: block;
height: 0.2rem;
width: 100%;
position: absolute;
margin: 0.6rem 0 0 -50%;
z-index: 1;
}
ul.progress li .digital {
position: absolute;
margin-left: calc(50% - 0.7rem);
z-index: 2;
}
ul.progress li .base {
margin-top: 2.7rem;
}
}
@media only screen and (max-width: 640px) {
ul.progress li {
width: 100%;
}
ul.progress li i.step {
height: 6rem;
width: 0.6rem;
margin-left: 0.4rem;
}
2020-07-28 21:15:47 +08:00
2023-08-27 16:10:21 +08:00
ul.progress li .base {
position: absolute;
left: 5rem;
top: 0;
}
ul.progress li:not(:first-child) .base {
margin-top: 5.5rem;
}
2018-12-28 18:58:37 +08:00
}
2023-01-26 17:06:20 +08:00
/**
2023-08-27 16:10:21 +08:00
* 文本列表
2023-01-26 17:06:20 +08:00
*/
2023-08-27 16:10:21 +08:00
.items {
font-size: 1.4rem;
line-height: 3rem;
overflow: hidden;
2023-01-26 17:06:20 +08:00
}
2023-08-27 16:10:21 +08:00
.items-title {
color: #999999;
2025-03-03 17:49:22 +08:00
width: 10rem;
2023-01-26 17:06:20 +08:00
}
2023-08-27 16:10:21 +08:00
.items-title.am-color-main {
color: var(--color-main);
}
.items-detail .am-view-map {
background: #FFFFFF;
color: #0c7cd5;
font-size: 1.4rem;
box-shadow: none;
}
.items-detail .am-view-map:hover {
opacity: 0.7;
2023-01-26 17:06:20 +08:00
}
2020-07-28 21:15:47 +08:00
/**
2023-08-27 16:10:21 +08:00
* 订单详情基础
2020-07-28 21:15:47 +08:00
*/
2023-08-27 16:10:21 +08:00
.user-content .am-panel {
-webkit-box-shadow: none;
box-shadow: none;
border: 0;
}
.user-content .am-panel-default > .am-panel-hd {
background-color: var(--body-bg-color);
border-radius: var(--border-radius);
padding: 0.6rem 1.6rem;
font-size: 1.6rem;
font-weight: 500;
}
.user-content .am-panel-bd {
2026-03-04 10:21:47 +08:00
padding: 2rem;
2023-08-27 16:10:21 +08:00
}
.order-state .operation {
margin-top: 1.6rem;
2020-07-28 21:15:47 +08:00
}
2023-08-27 16:10:21 +08:00
.order-state .operation .am-btn {
margin-right: 1.2rem;
2020-07-28 21:15:47 +08:00
}
2018-12-28 18:58:37 +08:00
2024-04-15 10:25:01 +08:00
/**
* 订单快递多条
*/
.order-express table tr th:first-child,
.order-express table tr td:first-child {
padding-left: 0;
}
.order-express table tr th:last-child,
.order-express table tr td:last-child {
padding-right: 0;
}
2020-07-28 21:15:47 +08:00
/**
2023-08-27 16:10:21 +08:00
* 虚拟销售
2020-07-28 21:15:47 +08:00
*/
2024-04-15 10:25:01 +08:00
.order-virtually ul.am-list li {
2023-08-27 16:10:21 +08:00
border: 0 !important;
2023-09-10 20:13:30 +08:00
border-bottom: 0.1rem solid #EEE !important;
2020-07-28 21:15:47 +08:00
}
2024-04-15 10:25:01 +08:00
.order-virtually ul.am-list li:last-child {
2023-08-27 16:10:21 +08:00
border-bottom: 0 !important;
margin: 0;
padding: 0;
2020-07-28 21:15:47 +08:00
}
2023-08-27 16:10:21 +08:00
.order-virtually .am-list > li:hover {
background-color: transparent;
2020-07-28 21:15:47 +08:00
}
2023-08-27 16:10:21 +08:00
.order-virtually li {
display: flex;
flex-direction: row;
padding: 0 0 2rem 0;
margin-bottom: 2rem;
2020-07-28 21:15:47 +08:00
}
2023-08-27 16:10:21 +08:00
.order-virtually li .virtually-left {
width: 8rem;
height: 8rem;
overflow: hidden;
flex-shrink: 0;
2020-07-28 21:15:47 +08:00
}
2023-08-27 16:10:21 +08:00
.order-virtually li .virtually-left img {
width: 100%;
2020-07-28 21:15:47 +08:00
}
2023-08-27 16:10:21 +08:00
.order-virtually li .virtually-right {
width: 100%;
word-break: break-word;
2020-07-28 21:15:47 +08:00
}
2023-08-27 16:10:21 +08:00
/**
* 自提
*/
.order-state .extraction-take-container p > img {
background: transparent;
border: 0;
}
.order-state .extraction-take-container .extraction-take-title {
color: #0c7cd5;
2020-07-28 21:15:47 +08:00
}
/**
2023-08-27 16:10:21 +08:00
* 订单提示
2020-07-28 21:15:47 +08:00
*/
2023-08-27 16:10:21 +08:00
.order-state .am-alert {
min-width: 50%;
max-width: 100%;
display: table;
font-size: 1.4rem;
padding: 0.7rem 1.2rem;
border-radius: var(--border-radius-sm);
border: 0;
position: relative;
}
.order-state .am-alert-primary {
background: rgba(12, 124, 213, 0.08);
color: #0c7cd5;
}
2023-09-10 20:13:30 +08:00
@media only screen and (max-width: 640px) {
.order-state .am-alert {
width: 100%;
2023-08-27 16:10:21 +08:00
}
2020-07-28 21:15:47 +08:00
}
/**
2023-08-27 16:10:21 +08:00
* 订单列表
2020-07-28 21:15:47 +08:00
*/
2026-03-04 10:21:47 +08:00
.order-goods > table > thead {
2023-08-27 16:10:21 +08:00
background: var(--body-bg-color);
font-size: 1.4rem;
}
2026-03-04 10:21:47 +08:00
.order-goods > table:not(.am-table-compact) > thead > tr > th {
2023-08-27 16:10:21 +08:00
border-radius: var(--border-radius);
color: #999999;
2026-03-04 10:21:47 +08:00
padding: 0.6rem !important;
2023-08-27 16:10:21 +08:00
border: 0;
}
2026-03-04 10:21:47 +08:00
.order-goods > table > thead > tr > th:first-of-type {
2023-08-27 16:10:21 +08:00
text-align: left;
font-weight: 500;
font-size: 1.6rem;
padding-left: 1.6rem;
color: #333333;
}
2026-03-04 10:21:47 +08:00
.order-goods > table > tbody > tr > td {
2023-08-27 16:10:21 +08:00
padding: 2rem 1rem;
border-top: 0;
border-bottom: 0.1rem solid #EEEEEE;
width: 16%;
}
2026-03-04 10:21:47 +08:00
.order-goods > table > tbody > tr > td:first-of-type {
2023-08-27 16:10:21 +08:00
padding-left: 2.4rem;
width: 52%;
}
2026-03-04 10:21:47 +08:00
.order-goods > table > tbody > tr > td:last-of-type {
2023-08-27 16:10:21 +08:00
padding-right: 2.4rem;
}
.order-goods .goods-shop-info {
display: flex;
flex-wrap: nowrap;
}
.order-goods .goods-shop-info-left {
width: 8rem;
height: 8rem;
display: inline-block;
flex-shrink: 0;
}
.order-goods .goods-shop-info-left img {
width: 100%;
}
.order-goods .goods-shop-info-right {
width: 100%;
margin-left: 1.6rem;
position: relative;
}
2026-03-04 10:21:47 +08:00
.order-goods .goods-shop-info-right .goods-right-title {
margin-right: 10rem;
2023-08-27 16:10:21 +08:00
}
.order-goods .price > p:first-of-type,
.order-goods .number > span:first-of-type,
.order-goods .price > span:first-of-type {
margin-top: 1.1rem;
display: block;
}
.order-goods .price .line-price {
font-weight: 400;
color: #333333;
}
2024-12-25 17:35:54 +08:00
2023-08-27 16:10:21 +08:00
/*
2024-12-25 17:35:54 +08:00
* 扩展
2023-08-27 16:10:21 +08:00
*/
2024-12-25 17:35:54 +08:00
.order-extension {
2023-08-27 16:10:21 +08:00
padding: 0 2.4rem;
}
2024-12-25 17:35:54 +08:00
.order-extension .items {
2023-09-10 20:13:30 +08:00
padding: 0.2rem 2rem;
2023-08-27 16:10:21 +08:00
}
2024-12-25 17:35:54 +08:00
.order-extension .items .items-title {
2023-08-27 16:10:21 +08:00
width: auto;
text-align: right;
color: var(--color-yellow);
float: right;
}
2024-12-25 17:35:54 +08:00
.order-extension .items .items-detail {
2023-08-27 16:10:21 +08:00
text-align: right;
color: var(--color-yellow);
float: right;
}
/*
* 结算
*/
.order-total {
padding: 0.8rem 4.4rem 2rem 2rem;
}
.order-total .items .items-title {
width: auto;
text-align: right;
float: right;
}
.order-total .items .items-detail {
min-width: 10rem;
text-align: right;
float: right;
2020-07-28 21:15:47 +08:00
}
2023-11-08 15:43:08 +08:00
/*
* 上传
*/
.order-goods ul.plug-file-upload-view li {
margin-top: 0.5rem;
}