401 lines
8.3 KiB
Plaintext
401 lines
8.3 KiB
Plaintext
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
|
!*** css ./node_modules/@tarojs/webpack5-runner/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[1]!./node_modules/postcss-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[2]!./node_modules/resolve-url-loader/index.js!./node_modules/sass-loader/dist/cjs.js??ruleSet[1].rules[1].oneOf[0].use[4]!./src/pages/wordcloud/index.scss ***!
|
|
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
|
@charset "UTF-8";
|
|
.wordcloud-page {
|
|
min-height: 100vh;
|
|
padding: 0 24rpx 24rpx;
|
|
}
|
|
|
|
/* 顶部导航 */
|
|
.page-header {
|
|
padding: 50rpx 32rpx 24rpx;
|
|
margin: 20rpx 0 0;
|
|
background: transparent;
|
|
}
|
|
|
|
.back-btn {
|
|
font-size: 40rpx;
|
|
color: var(--text-primary);
|
|
padding: 10rpx;
|
|
}
|
|
|
|
/* 步骤指示器 */
|
|
.step-indicator {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-justify-content: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
padding: 32rpx;
|
|
margin: 0 24rpx;
|
|
}
|
|
|
|
.step-item {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
position: relative;
|
|
-webkit-flex: 1;
|
|
-ms-flex: 1;
|
|
flex: 1;
|
|
}
|
|
|
|
.step-circle {
|
|
width: 64rpx;
|
|
height: 64rpx;
|
|
border-radius: 50%;
|
|
background: var(--bg-input);
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-justify-content: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
margin-bottom: 12rpx;
|
|
border: 4rpx dashed var(--bg-input);
|
|
}
|
|
|
|
.step-circle.active {
|
|
background: var(--btn-gradient);
|
|
border-color: var(--accent-pink);
|
|
}
|
|
|
|
.step-num {
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
color: var(--text-muted);
|
|
}
|
|
|
|
.step-circle.active .step-num {
|
|
color: #fff;
|
|
}
|
|
|
|
.step-label {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
.step-label.active {
|
|
color: var(--accent-pink);
|
|
font-weight: 600;
|
|
}
|
|
|
|
.step-line {
|
|
position: absolute;
|
|
top: 30rpx;
|
|
left: 60%;
|
|
width: 100%;
|
|
height: 4rpx;
|
|
background: var(--bg-input);
|
|
}
|
|
|
|
.step-line.active {
|
|
background: var(--btn-gradient);
|
|
}
|
|
|
|
/* 步骤内容 */
|
|
.step-content {
|
|
padding: 32rpx;
|
|
}
|
|
|
|
/* 上传区域 */
|
|
.upload-area {
|
|
min-height: 400rpx;
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-justify-content: center;
|
|
-ms-flex-pack: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.upload-placeholder {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
padding: 60rpx;
|
|
}
|
|
|
|
.upload-icon {
|
|
font-size: 80rpx;
|
|
margin-bottom: 24rpx;
|
|
}
|
|
|
|
.upload-title {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
color: var(--text-primary);
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.upload-desc {
|
|
font-size: 26rpx;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 16rpx;
|
|
}
|
|
|
|
.upload-tip {
|
|
font-size: 22rpx;
|
|
color: var(--accent-blue);
|
|
background: rgba(91, 140, 255, 0.1);
|
|
padding: 8rpx 20rpx;
|
|
border-radius: 50rpx;
|
|
border: var(--line-card);
|
|
}
|
|
|
|
.preview-image {
|
|
width: 100%;
|
|
height: 400rpx;
|
|
border-radius: 24rpx;
|
|
}
|
|
|
|
/* 按钮 */
|
|
.action-btns {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
gap: 20rpx;
|
|
margin-top: 40rpx;
|
|
}
|
|
|
|
/* 输入区域 */
|
|
.input-section {
|
|
padding: 32rpx;
|
|
}
|
|
|
|
.names-input {
|
|
width: 100%;
|
|
min-height: 300rpx;
|
|
background: var(--bg-input);
|
|
border-radius: 16rpx;
|
|
padding: 24rpx;
|
|
font-size: 28rpx;
|
|
line-height: 1.6;
|
|
-webkit-box-sizing: border-box;
|
|
box-sizing: border-box;
|
|
border: var(--line-card);
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.input-stats {
|
|
display: block;
|
|
text-align: right;
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
margin-top: 12rpx;
|
|
}
|
|
|
|
.input-tips {
|
|
margin-top: 24rpx;
|
|
}
|
|
|
|
.tip-item {
|
|
display: block;
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
/* 生成中 */
|
|
.generating-panel {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
padding: 80rpx 40rpx;
|
|
}
|
|
|
|
.generating-icon {
|
|
font-size: 120rpx;
|
|
-webkit-animation: pulse 2s infinite;
|
|
animation: pulse 2s infinite;
|
|
}
|
|
|
|
@-webkit-keyframes pulse {
|
|
0%, 100% {
|
|
-webkit-transform: scale(1);
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
-webkit-transform: scale(1.2);
|
|
transform: scale(1.2);
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
|
|
@keyframes pulse {
|
|
0%, 100% {
|
|
-webkit-transform: scale(1);
|
|
transform: scale(1);
|
|
opacity: 1;
|
|
}
|
|
50% {
|
|
-webkit-transform: scale(1.2);
|
|
transform: scale(1.2);
|
|
opacity: 0.7;
|
|
}
|
|
}
|
|
.generating-title {
|
|
font-size: 40rpx;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
margin-top: 40rpx;
|
|
}
|
|
|
|
.generating-subtitle {
|
|
font-size: 28rpx;
|
|
color: var(--text-secondary);
|
|
margin-top: 16rpx;
|
|
margin-bottom: 40rpx;
|
|
}
|
|
|
|
.progress-bar {
|
|
width: 80%;
|
|
height: 16rpx;
|
|
background: rgba(255, 154, 158, 0.15);
|
|
border-radius: 8rpx;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-fill {
|
|
height: 100%;
|
|
background: var(--btn-gradient);
|
|
border-radius: 8rpx;
|
|
-webkit-transition: width 0.5s ease;
|
|
transition: width 0.5s ease;
|
|
}
|
|
|
|
.progress-text {
|
|
font-size: 32rpx;
|
|
font-weight: 700;
|
|
color: var(--accent-pink);
|
|
margin-top: 16rpx;
|
|
}
|
|
|
|
/* 结果面板 */
|
|
.result-panel {
|
|
padding: 20rpx 0;
|
|
}
|
|
|
|
.result-image-wrapper {
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
|
|
.result-image {
|
|
width: 100%;
|
|
height: 500rpx;
|
|
background: -webkit-linear-gradient(315deg, rgba(255, 154, 158, 0.08) 0%, rgba(160, 196, 255, 0.08) 100%);
|
|
background: linear-gradient(135deg, rgba(255, 154, 158, 0.08) 0%, rgba(160, 196, 255, 0.08) 100%);
|
|
}
|
|
|
|
.watermark-badge {
|
|
position: absolute;
|
|
bottom: 20rpx;
|
|
right: 20rpx;
|
|
background: rgba(255, 255, 255, 0.8);
|
|
color: var(--text-primary);
|
|
padding: 8rpx 20rpx;
|
|
border-radius: 8rpx;
|
|
font-size: 22rpx;
|
|
border: var(--line-card);
|
|
}
|
|
|
|
.result-actions {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-justify-content: space-around;
|
|
-ms-flex-pack: distribute;
|
|
justify-content: space-around;
|
|
margin: 32rpx 0;
|
|
}
|
|
|
|
.action-btn {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-flex-direction: column;
|
|
-ms-flex-direction: column;
|
|
flex-direction: column;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
padding: 20rpx;
|
|
}
|
|
|
|
.action-icon {
|
|
font-size: 48rpx;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.action-label {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
}
|
|
|
|
/* 跳转DIY卡片 */
|
|
.diy-jump-card {
|
|
display: -webkit-flex;
|
|
display: -ms-flexbox;
|
|
display: flex;
|
|
-webkit-align-items: center;
|
|
-ms-flex-align: center;
|
|
align-items: center;
|
|
-webkit-justify-content: space-between;
|
|
-ms-flex-pack: justify;
|
|
justify-content: space-between;
|
|
margin-bottom: 32rpx;
|
|
}
|
|
|
|
.diy-jump-title {
|
|
font-size: 32rpx;
|
|
font-weight: 700;
|
|
color: var(--text-primary);
|
|
display: block;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.diy-jump-desc {
|
|
font-size: 24rpx;
|
|
color: var(--text-secondary);
|
|
display: block;
|
|
}
|
|
|
|
.diy-jump-arrow {
|
|
font-size: 40rpx;
|
|
color: var(--accent-pink);
|
|
}
|