bk-shop/src/marketing/pages/item/rate.scss

144 lines
2.7 KiB
SCSS
Executable File

@import '@/style/imports';
page {
width: 100%;
height: 100%;
}
.trade-rate {
width: 100%;
height: 100%;
// background: #f5f5f5;
// padding: 20px;
padding-bottom: 120px;
overflow-y: auto;
.rate-item {
background: #fff;
border-radius: 6px;
margin-bottom: 20px;
.goods-item {
display: flex;
overflow: hidden;
padding: 24px 20px;
align-items: center;
&__img {
width: 130px;
height: 130px;
margin-right: 20px;
flex-shrink: 0;
}
&__bd {
flex: 1;
font-size: 24px;
color: #666;
text-overflow: ellipsis;
overflow: hidden;
display: -webkit-box;
-webkit-line-clamp: 2;
/* autoprefixer: ignore next */
-webkit-box-orient: vertical;
}
/* #ifdef h5 */
&__hd {
display: block;
.goods-item__img {
position: relative;
}
}
/* #endif */
}
.rate-wrap {
display: flex;
position: relative;
padding: 24px 20px;
align-items: center;
&::after {
content: '';
width: calc(100% - 40px);
position: absolute;
bottom: 0;
left: 20px;
border-top: 2px solid #ddd;
}
.title {
margin-right: 40px;
font-size: 30px;
color: #333;
}
.at-rate__icon--on {
color: $color-brand-primary;
}
.at-rate__icon {
margin: 0 12px !important;
}
.rate-num {
display: block;
margin-left: 30px;
font-size: 22px;
color: $color-brand-primary;
}
}
.comment-wrap {
padding: 30px;
background: #fff;
border-radius: 5px;
.at-textarea {
padding: 0;
border-width: 0;
}
.at-textarea__textarea {
font-size: 24px;
min-height: 200px;
}
.upload-imgs {
.at-image-picker__flex-box {
padding: 0;
margin-bottom: 10px;
}
}
}
}
.submit-btn {
padding: 20px 24px;
position: fixed;
left: 0;
right: 0;
bottom: 0;
padding-bottom: 50px;
z-index: 88;
background: #fff;
&__confirm {
// width: 58%;
width: 90%;
margin: 0 auto;
/* prettier-ignore */
border: 1PX solid var(--color-primary);
background: var(--color-primary);
height: 80px;
border-radius: 6px;
color: #fff;
text-align: center;
line-height: 80px;
box-sizing: border-box;
font-size: 30px;
}
}
}
/* #ifdef h5 */
* {
box-sizing: border-box;
}
.trade-rate {
.footer {
padding: 20px 24px;
position: absolute;
left: 0;
right: 0;
bottom: 0;
}
}
/* #endif */