Files
RenyiXCX/pages/myorder0/index.wxss

303 lines
4.9 KiB
Plaintext
Raw Normal View History

2026-03-27 22:27:00 +08:00
page{
background: linear-gradient(to bottom, #E8F4FC, #F5FAFF);
}
.container {
position: relative;
width: 100%;
min-height: 100%;
font-size: 14px;
color: #000;
padding-bottom: 2em;
}
2026-03-09 13:54:17 +08:00
2026-03-27 22:27:00 +08:00
.myorder-menu {
display: flex;
flex-direction: row;
width: 100%;
height: 3em;
line-height: 3em;
background-color: #fff;
border-bottom: 1px solid #f1f1f1;
box-sizing: border-box;
}
.myorder-menu view {
flex: 1;
text-align: center;
color: #666;
font-size: 0.9em;
transition: all 0.3s ease;
}
.myorder-menu view.hover {
color: #6BA3F0;
font-weight: 900;
border-bottom: 3px solid #6BA3F0;
}
.myorder-box {
width: 100%;
padding: 0.8em;
box-sizing: border-box;
}
.myorder-item {
background-color: #fff;
border-radius: 0.5em;
padding: 0.8em;
margin-bottom: 0.8em;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
border: 1px solid #f1f1f1;
box-sizing: border-box;
}
.myorder-item > view {
margin-bottom: 0.5em;
line-height: 1.5em;
}
.myorder-item > view:last-child {
margin-bottom: 0;
}
.Total {
display: flex;
flex-direction: row;
justify-content: space-between;
padding: 0.3em 0;
border-top: 1px solid #f8f8f8;
border-bottom: 1px solid #f8f8f8;
}
.Totalprice {
margin-left: 1em;
color: #6BA3F0;
font-weight: bold;
}
.cz_box {
display: flex;
flex-direction: row;
justify-content: flex-end;
margin-top: 0.8em;
padding-top: 0.8em;
border-top: 1px solid #f8f8f8;
}
.cz_box view {
margin-left: 0.8em;
padding: 0.3em 0.8em;
background-color: #6BA3F0;
color: #fff;
border-radius: 0.3em;
font-size: 0.85em;
transition: all 0.3s ease;
}
.cz_box view:active {
background-color: #5A93E0;
transform: scale(0.98);
}
.products {
display: flex;
flex-direction: row;
flex-wrap: wrap;
margin-top: 0.8em;
padding-top: 0.8em;
border-top: 1px solid #f8f8f8;
}
.products view {
display: flex;
flex-direction: column;
align-items: center;
width: 33.333%;
margin-bottom: 0.8em;
box-sizing: border-box;
}
.products view image {
width: 5em;
height: 5em;
border-radius: 0.3em;
margin-bottom: 0.3em;
}
.products view text {
width: 100%;
text-align: center;
font-size: 0.85em;
color: #333;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
}
.nodata {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3em 0;
text-align: center;
}
.nodata image {
width: 6em;
height: 6em;
margin-bottom: 1em;
opacity: 0.6;
}
.nodata view {
color: #939393;
font-size: 0.9em;
}
.Hidden_box {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100vh;
background-color: rgba(0, 0, 0, 0.5);
display: flex;
align-items: center;
justify-content: center;
z-index: 100;
}
.Hidden_box_to {
background-color: #fff;
border-radius: 0.5em;
width: 85%;
max-height: 80vh;
overflow-y: auto;
box-sizing: border-box;
box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.Hidden_box_title {
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
padding: 0.8em;
border-bottom: 1px solid #f1f1f1;
font-weight: bold;
color: #333;
}
.Hidden_box_title .close {
width: 1.5em;
height: 1.5em;
padding: 0.2em;
border-radius: 50%;
background-color: #f8f8f8;
display: flex;
align-items: center;
justify-content: center;
}
.Hidden_box_title .close image {
width: 100%;
height: 100%;
}
.frombody {
padding: 0.8em;
}
.pay_box {
display: flex;
flex-direction: column;
margin-bottom: 1em;
}
.pay_type {
margin-bottom: 0.5em;
font-weight: bold;
color: #333;
}
.pay_box view {
display: flex;
flex-direction: row;
align-items: center;
padding: 0.8em;
margin-bottom: 0.5em;
border: 1px solid #f1f1f1;
border-radius: 0.3em;
background-color: #f8f8f8;
transition: all 0.3s ease;
}
.pay_box view.hover {
border-color: #6BA3F0;
background-color: #E8F4FC;
}
.pay_box view image {
width: 1.5em;
height: 1.5em;
margin-right: 0.5em;
}
.button {
display: flex;
flex-direction: row;
justify-content: center;
padding: 0.8em;
border-top: 1px solid #f1f1f1;
}
.button button {
width: 100%;
height: 2.5em;
line-height: 2.5em;
background: linear-gradient(to right, #6BA3F0, #8BBDF5);
color: #fff;
border-radius: 0.5em;
font-size: 0.9em;
border: none;
transition: all 0.3s ease;
}
.button button:active {
background: linear-gradient(to right, #5A93E0, #7AADF0);
transform: scale(0.98);
}
.frombody image {
width: 100%;
height: auto;
max-height: 15em;
margin-bottom: 0.5em;
border-radius: 0.3em;
}
.frombody input {
width: 100%;
height: 2.5em;
padding: 0 0.5em;
border: 1px solid #f1f1f1;
border-radius: 0.3em;
background-color: #f8f8f8;
box-sizing: border-box;
margin-bottom: 0.8em;
}
.frombody input:focus {
border-color: #6BA3F0;
background-color: #fff;
}
.loading {
display: flex;
align-items: center;
justify-content: center;
padding: 2em 0;
color: #939393;
font-size: 0.9em;
}