bk-shop/src/subpage/pages/trade/comps/item.scss

121 lines
2.2 KiB
SCSS
Executable File

@import '@/style/imports';
.trade-item {
background: #fff;
border-radius: $item-border-radius;
padding: 24px 0 32px 0;
margin: 0 16px;
margin-bottom: 24px;
// box-shadow: 0px 2px 10px 0px #EAE7E0;
.icon-globe {
font-size: 32px;
margin-right: 10px;
}
&__total {
padding: 0 $edge-size floor($edge-size/2);
text-align: right;
}
&__bd {
padding: 0 16px;
}
&__hd {
padding: 24px 16px;
line-height: 1.4;
border-bottom: 1px solid #e4e4e4;
color: #a6a6a6;
.item {
font-weight: 400;
font-size: 24px;
}
.lineone {
color: #333333;
}
.linetwo {
color: #999999;
}
}
&__total {
padding: 20px 24px;
font-size: 22px;
color: #000;
display: flex;
margin-bottom: 20px;
align-items: center;
justify-content: flex-end;
border-radius: 8px;
&.dadaTotal {
background: #f5f5f5;
justify-content: space-between;
}
}
&__ft {
padding: 0 16px;
display: flex;
align-items: flex-start;
justify-content: space-between;
&-actions {
font-size: $font-size-small;
color: #a6a6a6;
position: relative;
z-index: 10;
}
&-bd {
display: flex;
justify-content: flex-end;
/* #ifdef h5 */
button {
border: none;
margin-left: 15px;
}
/* #endif */
}
}
&__status {
font-size: $font-size-small;
color: #c1c1c1;
display: inline-block;
vertical-align: top;
line-height: 40px;
flex-shrink: 0;
}
&__acts {
line-height: 40px;
}
&__dropdown {
visibility: hidden;
opacity: 0;
background: #4c4c4c;
border-radius: 6px;
width: 140px;
padding: 8px 0;
margin-left: 25px;
text-align: center;
position: absolute;
z-index: $z-index-dropdown;
line-height: 40px;
&.is-active {
transition: all 0.2s ease-in;
font-size: $font-size;
opacity: 1;
visibility: visible;
}
&-item {
color: #fff;
line-height: 40px;
display: block;
font-size: $font-size-small;
}
}
.dada {
font-size: 22px;
color: #999;
.icon-peisongxiangguan {
margin-right: 10px;
}
}
}