170 lines
2.5 KiB
Plaintext
170 lines
2.5 KiB
Plaintext
/** 衣物详情:买手店目录式大图 + 规格表 + 悬浮底部操作条 **/
|
|
.page-flex {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.scroll-body {
|
|
flex: 1;
|
|
height: 0;
|
|
}
|
|
|
|
.cd-note {
|
|
margin-top: 20rpx;
|
|
font-size: 25rpx;
|
|
color: var(--ink-2);
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.cd-photo {
|
|
margin: 32rpx var(--pad) 0;
|
|
aspect-ratio: 4 / 5;
|
|
background: var(--paper-2);
|
|
border-radius: var(--r-img);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.cd-photo .ph {
|
|
width: 46%;
|
|
height: 46%;
|
|
color: var(--art);
|
|
}
|
|
|
|
.cd-photo .pic {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.cd-name {
|
|
padding: 48rpx var(--pad) 0;
|
|
}
|
|
|
|
.cd-input {
|
|
font-family: var(--serif);
|
|
font-size: 40rpx;
|
|
width: 100%;
|
|
padding-bottom: 12rpx;
|
|
border-bottom: 1rpx solid var(--hairline-2);
|
|
}
|
|
|
|
.cd-group {
|
|
margin-top: 64rpx;
|
|
}
|
|
|
|
.cd-group .grp-hd {
|
|
padding-bottom: 22rpx;
|
|
}
|
|
|
|
.spec.is-edit:active {
|
|
background: var(--fill);
|
|
}
|
|
|
|
.spec-t {
|
|
font-size: 29rpx;
|
|
}
|
|
|
|
.cd-score {
|
|
margin-left: 16rpx;
|
|
font-size: 25rpx;
|
|
color: var(--ink-3);
|
|
}
|
|
|
|
.cd-tags {
|
|
display: inline-flex;
|
|
flex-wrap: wrap;
|
|
gap: 12rpx;
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.cd-arrow {
|
|
width: 26rpx;
|
|
height: 26rpx;
|
|
color: var(--ink-4);
|
|
margin-left: 12rpx;
|
|
}
|
|
|
|
.cd-remark {
|
|
padding: 0 var(--pad);
|
|
}
|
|
|
|
/* ===== 属性选择面板 ===== */
|
|
.sheet-score {
|
|
display: flex;
|
|
gap: 20rpx;
|
|
padding: 32rpx var(--pad);
|
|
}
|
|
|
|
.sheet-score-dot {
|
|
flex: 1;
|
|
height: 108rpx;
|
|
line-height: 108rpx;
|
|
text-align: center;
|
|
border-radius: var(--r-ctrl);
|
|
background: var(--fill);
|
|
font-size: 32rpx;
|
|
color: var(--ink-2);
|
|
transition: background .18s var(--ease), color .18s var(--ease);
|
|
}
|
|
|
|
.sheet-score-dot.on {
|
|
background: var(--ink);
|
|
color: #fff;
|
|
}
|
|
|
|
.sheet-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16rpx;
|
|
padding: 32rpx var(--pad);
|
|
}
|
|
|
|
.sheet-tag {
|
|
padding: 16rpx 32rpx;
|
|
border-radius: var(--r-pill);
|
|
background: var(--fill);
|
|
font-size: 27rpx;
|
|
color: var(--ink-2);
|
|
transition: background .18s var(--ease), color .18s var(--ease);
|
|
}
|
|
|
|
.sheet-tag.on {
|
|
background: var(--ink);
|
|
color: #fff;
|
|
}
|
|
|
|
.sheet-colors {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 24rpx;
|
|
padding: 32rpx var(--pad) 8rpx;
|
|
}
|
|
|
|
.sheet-color {
|
|
width: 88rpx;
|
|
height: 88rpx;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
box-shadow: inset 0 0 0 1rpx rgba(0, 0, 0, .12);
|
|
}
|
|
|
|
.sheet-color.on {
|
|
box-shadow: 0 0 0 4rpx var(--ink);
|
|
}
|
|
|
|
.sheet-color-dot {
|
|
width: 100%;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
}
|
|
|
|
.sheet-input {
|
|
margin: 24rpx var(--pad);
|
|
width: auto;
|
|
display: block;
|
|
}
|