157 lines
3.6 KiB
Plaintext
157 lines
3.6 KiB
Plaintext
page {
|
|
background-color: #f6f6f6;
|
|
}
|
|
|
|
.page-container {
|
|
background-color: #f6f6f6;
|
|
padding: 0 24rpx;
|
|
box-sizing: border-box;
|
|
|
|
.empty {
|
|
height: 190rpx;
|
|
}
|
|
}
|
|
|
|
.wrapper {
|
|
background-color: #ffffff;
|
|
border-radius: 20rpx;
|
|
padding: 36rpx 24rpx;
|
|
box-shadow: 0 6rpx 8rpx rgba(0, 0, 0, 0.15);
|
|
margin: 30rpx 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
.wrapper-title {
|
|
font-size: 32rpx;
|
|
color: #141414;
|
|
margin-bottom: 36rpx; // 增大标题与内容间距
|
|
font-weight: bold;
|
|
text-align: center;
|
|
}
|
|
|
|
&.hidden {
|
|
visibility: hidden;
|
|
}
|
|
|
|
.word-card-box {
|
|
padding: 38rpx 0;
|
|
|
|
.word-list-empty {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 60rpx 40rpx;
|
|
text-align: center;
|
|
|
|
.empty-icon {
|
|
width: 120rpx;
|
|
height: 120rpx;
|
|
background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
margin-bottom: 32rpx;
|
|
box-shadow: 0 4rpx 12rpx rgba(59, 130, 246, 0.15);
|
|
|
|
.toy-icon {
|
|
font-size: 48rpx;
|
|
color: #3b82f6;
|
|
}
|
|
}
|
|
|
|
.empty-title {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: #374151;
|
|
margin-bottom: 16rpx;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.empty-desc {
|
|
font-size: 26rpx;
|
|
color: #6b7280;
|
|
line-height: 1.6;
|
|
margin-bottom: 32rpx;
|
|
max-width: 400rpx;
|
|
}
|
|
|
|
.empty-hint {
|
|
display: flex;
|
|
align-items: center;
|
|
background: #f8fafc;
|
|
border: 1rpx solid #e2e8f0;
|
|
border-radius: 12rpx;
|
|
padding: 20rpx 24rpx;
|
|
max-width: 500rpx;
|
|
|
|
.hint-icon {
|
|
font-size: 24rpx;
|
|
margin-right: 12rpx;
|
|
margin-top: -2rpx;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.hint-text {
|
|
font-size: 22rpx;
|
|
color: #64748b;
|
|
line-height: 1.5;
|
|
text-align: left;
|
|
}
|
|
}
|
|
}
|
|
|
|
.word-cards-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 38rpx; // 间距从24rpx提升到32rpx
|
|
}
|
|
}
|
|
|
|
.word-input-box {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.operation-box {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
}
|
|
|
|
|
|
.operation-box {
|
|
display: flex;
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
|
|
.canvas-wrapper {
|
|
width: 100%;
|
|
background-color: #fff;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
// #canvasContent {
|
|
// border: 1px solid #666;
|
|
// }
|
|
|
|
.bottom-btn-box {
|
|
position: fixed;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 100%;
|
|
height: 120rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
background-color: #fff;
|
|
box-shadow: 0px -3.9rpx 5.2rpx rgba(0, 0, 0, 0.15);
|
|
padding: 0 24rpx;
|
|
box-sizing: border-box;
|
|
border-radius: 16rpx 16rpx 0 0;
|
|
} |