207 lines
3.1 KiB
Plaintext
207 lines
3.1 KiB
Plaintext
/** 创建分享:三视图(配置 / 选择衣物 / 成功预览)**/
|
|
.page-flex {
|
|
height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.scroll-body {
|
|
flex: 1;
|
|
height: 0;
|
|
}
|
|
|
|
.csc-grp {
|
|
margin-top: 64rpx;
|
|
}
|
|
|
|
/* 分享方式:两张可点卡片 */
|
|
.csc-types {
|
|
padding: 0 var(--pad);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.csc-type {
|
|
position: relative;
|
|
padding: 34rpx 36rpx;
|
|
border-radius: var(--r-ctrl);
|
|
background: var(--fill);
|
|
transition: background .18s var(--ease), box-shadow .18s var(--ease);
|
|
}
|
|
|
|
.csc-type.is-on {
|
|
background: var(--paper);
|
|
box-shadow: inset 0 0 0 1rpx var(--ink);
|
|
}
|
|
|
|
.csc-type-n {
|
|
font-family: var(--serif);
|
|
font-size: 32rpx;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.csc-type-d {
|
|
margin-top: 10rpx;
|
|
font-size: 23rpx;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.csc-check {
|
|
position: absolute;
|
|
top: 34rpx;
|
|
right: 36rpx;
|
|
width: 34rpx;
|
|
height: 34rpx;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.csc-entry {
|
|
margin-top: 32rpx;
|
|
}
|
|
|
|
.csc-tick {
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
color: var(--ink);
|
|
}
|
|
|
|
/* 选择衣物视图 */
|
|
.segbar {
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 20;
|
|
background: var(--glass);
|
|
-webkit-backdrop-filter: saturate(180%) blur(20px);
|
|
backdrop-filter: saturate(180%) blur(20px);
|
|
border-bottom: 1rpx solid var(--hairline);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.select-body {
|
|
flex: 1;
|
|
height: 0;
|
|
}
|
|
|
|
.csc-grid {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 44rpx 26rpx;
|
|
padding: 40rpx var(--pad) 0;
|
|
}
|
|
|
|
.csc-skel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 18rpx;
|
|
}
|
|
|
|
.csc-tile {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
/* 成功预览 */
|
|
.csc-done-ic {
|
|
margin: 56rpx auto 0;
|
|
width: 104rpx;
|
|
height: 104rpx;
|
|
border-radius: 50%;
|
|
color: var(--ink);
|
|
box-shadow: inset 0 0 0 1rpx var(--hairline-2);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.csc-done-ic .icon {
|
|
width: 44rpx;
|
|
height: 44rpx;
|
|
}
|
|
|
|
.csc-preview {
|
|
margin: 64rpx var(--pad) 0;
|
|
border-top: 1rpx solid var(--hairline);
|
|
border-bottom: 1rpx solid var(--hairline);
|
|
padding: 40rpx 0;
|
|
}
|
|
|
|
.csc-preview-hd {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20rpx;
|
|
}
|
|
|
|
.csc-av {
|
|
width: 56rpx;
|
|
height: 56rpx;
|
|
border-radius: 50%;
|
|
background: var(--paper-3);
|
|
color: var(--ink-3);
|
|
overflow: hidden;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.csc-av .pic {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
|
|
.csc-av .icon {
|
|
width: 30rpx;
|
|
height: 30rpx;
|
|
}
|
|
|
|
.csc-preview-n {
|
|
font-size: 27rpx;
|
|
color: var(--ink-2);
|
|
}
|
|
|
|
.csc-preview-body {
|
|
margin-top: 32rpx;
|
|
aspect-ratio: 16 / 9;
|
|
background: var(--paper-2);
|
|
border-radius: var(--r-img);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--art);
|
|
}
|
|
|
|
.csc-preview-body .icon {
|
|
width: 96rpx;
|
|
height: 96rpx;
|
|
}
|
|
|
|
/* 底部操作条 */
|
|
.csc-count-wrap {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.csc-count-t {
|
|
font-size: 30rpx;
|
|
font-weight: 600;
|
|
color: var(--ink);
|
|
}
|
|
|
|
.csc-count-d {
|
|
margin-top: 4rpx;
|
|
font-size: 22rpx;
|
|
color: var(--ink-3);
|
|
}
|
|
|
|
.csc-confirm {
|
|
width: 240rpx;
|
|
height: 88rpx;
|
|
font-size: 28rpx;
|
|
}
|
|
|
|
.dock-row .btn {
|
|
flex: 1;
|
|
}
|