feat: migrate static pages to native tabbar
This commit is contained in:
306
pages/ai/index.wxss
Normal file
306
pages/ai/index.wxss
Normal file
@@ -0,0 +1,306 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background:
|
||||
linear-gradient(180deg, #f7ecd9 0%, #fbf3e6 24%, #f7eedf 100%);
|
||||
}
|
||||
|
||||
.ai-page {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 16rpx 20rpx 48rpx;
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(197, 150, 86, 0.12) 0, rgba(197, 150, 86, 0) 26%),
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 248, 238, 0) 38%);
|
||||
}
|
||||
|
||||
.ai-page__nav {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
padding: 22rpx 0 26rpx;
|
||||
}
|
||||
|
||||
.ai-page__title {
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 62rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.1;
|
||||
color: #2b1a0e;
|
||||
}
|
||||
|
||||
.ai-page__history {
|
||||
min-width: 94rpx;
|
||||
padding: 16rpx 22rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(247, 236, 220, 0.92);
|
||||
color: #9f7142;
|
||||
font-size: 24rpx;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
box-shadow: 0 10rpx 20rpx rgba(186, 141, 83, 0.08);
|
||||
}
|
||||
|
||||
.ai-page__tabs {
|
||||
display: flex;
|
||||
margin: 0 -8rpx;
|
||||
}
|
||||
|
||||
.ai-page__tab {
|
||||
box-sizing: border-box;
|
||||
width: 33.3333%;
|
||||
padding: 0 8rpx;
|
||||
}
|
||||
|
||||
.ai-page__tab-label {
|
||||
display: block;
|
||||
padding: 24rpx 0;
|
||||
border: 1rpx solid rgba(213, 194, 165, 0.6);
|
||||
border-radius: 999rpx;
|
||||
background: rgba(255, 252, 246, 0.96);
|
||||
color: #a37545;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 30rpx;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
box-shadow: 0 12rpx 28rpx rgba(188, 152, 103, 0.08);
|
||||
}
|
||||
|
||||
.ai-page__tab--active .ai-page__tab-label {
|
||||
border-color: rgba(150, 94, 34, 0.92);
|
||||
background: linear-gradient(135deg, #b07434 0%, #8f5920 100%);
|
||||
color: #fff6ea;
|
||||
box-shadow: 0 14rpx 24rpx rgba(144, 89, 31, 0.26);
|
||||
}
|
||||
|
||||
.ai-page__secondary-list {
|
||||
margin-top: 18rpx;
|
||||
}
|
||||
|
||||
.ai-page__secondary-item {
|
||||
padding: 22rpx 24rpx;
|
||||
border: 1rpx solid rgba(212, 189, 152, 0.24);
|
||||
border-radius: 28rpx;
|
||||
background: rgba(255, 250, 243, 0.94);
|
||||
box-shadow: 0 14rpx 28rpx rgba(186, 148, 96, 0.1);
|
||||
}
|
||||
|
||||
.ai-page__secondary-item + .ai-page__secondary-item {
|
||||
margin-top: 14rpx;
|
||||
}
|
||||
|
||||
.ai-page__secondary-title {
|
||||
display: block;
|
||||
color: #6d431d;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.ai-page__secondary-subtitle {
|
||||
display: block;
|
||||
margin-top: 8rpx;
|
||||
color: #96704a;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.7;
|
||||
}
|
||||
|
||||
.panel-card,
|
||||
.action-card {
|
||||
margin-top: 20rpx;
|
||||
padding: 28rpx 20rpx 20rpx;
|
||||
border: 1rpx solid rgba(209, 185, 148, 0.22);
|
||||
border-radius: 34rpx;
|
||||
background: rgba(255, 251, 245, 0.95);
|
||||
box-shadow: 0 18rpx 36rpx rgba(178, 145, 96, 0.14);
|
||||
}
|
||||
|
||||
.panel-card__badge {
|
||||
display: inline-block;
|
||||
padding: 10rpx 18rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(247, 238, 227, 0.96);
|
||||
color: #a36f3d;
|
||||
font-size: 24rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.panel-card__heading {
|
||||
display: block;
|
||||
margin-top: 24rpx;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 56rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.22;
|
||||
color: #2c1b10;
|
||||
}
|
||||
|
||||
.panel-card__subheading {
|
||||
display: block;
|
||||
margin-top: 18rpx;
|
||||
color: #9a7248;
|
||||
font-size: 28rpx;
|
||||
line-height: 1.75;
|
||||
}
|
||||
|
||||
.panel-card__highlights {
|
||||
margin-top: 16rpx;
|
||||
}
|
||||
|
||||
.panel-card__highlight {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
margin-top: 8rpx;
|
||||
}
|
||||
|
||||
.panel-card__highlight-dot {
|
||||
margin-right: 10rpx;
|
||||
color: #a66c34;
|
||||
font-size: 32rpx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.panel-card__highlight-text {
|
||||
flex: 1;
|
||||
color: #6f4b2d;
|
||||
font-size: 30rpx;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.panel-card__examples {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 18rpx -6rpx 0;
|
||||
}
|
||||
|
||||
.example-chip {
|
||||
box-sizing: border-box;
|
||||
padding: 0 6rpx 12rpx;
|
||||
}
|
||||
|
||||
.example-chip__text {
|
||||
display: block;
|
||||
padding: 14rpx 22rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(246, 236, 225, 0.94);
|
||||
color: #9d6d3e;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.panel-card__notice {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-top: 10rpx;
|
||||
padding: 22rpx 20rpx;
|
||||
border-radius: 24rpx;
|
||||
background: rgba(247, 239, 229, 0.92);
|
||||
}
|
||||
|
||||
.panel-card__notice-icon {
|
||||
margin-right: 12rpx;
|
||||
color: #d08c2f;
|
||||
font-size: 24rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.panel-card__notice-text {
|
||||
flex: 1;
|
||||
color: #9b7247;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.6;
|
||||
}
|
||||
|
||||
.action-card__title {
|
||||
display: block;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 46rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.25;
|
||||
color: #2d1c11;
|
||||
}
|
||||
|
||||
.action-card__label {
|
||||
display: block;
|
||||
margin-top: 20rpx;
|
||||
color: #6d492c;
|
||||
font-size: 28rpx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.action-card__input,
|
||||
.action-card__textarea {
|
||||
box-sizing: border-box;
|
||||
width: 100%;
|
||||
margin-top: 16rpx;
|
||||
padding: 18rpx 22rpx;
|
||||
border: 1rpx solid rgba(214, 193, 162, 0.72);
|
||||
border-radius: 24rpx;
|
||||
background: rgba(255, 252, 247, 0.96);
|
||||
color: #8f6842;
|
||||
font-size: 30rpx;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.action-card__input--single {
|
||||
min-height: 86rpx;
|
||||
}
|
||||
|
||||
.action-card__grid {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
margin: 8rpx -8rpx 0;
|
||||
}
|
||||
|
||||
.action-card__grid-item {
|
||||
box-sizing: border-box;
|
||||
width: 50%;
|
||||
padding: 8rpx;
|
||||
}
|
||||
|
||||
.action-card__input--half {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.action-card__textarea {
|
||||
min-height: 104rpx;
|
||||
}
|
||||
|
||||
.action-card__description {
|
||||
display: block;
|
||||
margin-top: 20rpx;
|
||||
color: #8e6640;
|
||||
font-size: 30rpx;
|
||||
line-height: 1.8;
|
||||
}
|
||||
|
||||
.action-card__button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
align-self: center;
|
||||
min-width: 180rpx;
|
||||
margin: 28rpx auto 4rpx;
|
||||
padding: 20rpx 36rpx;
|
||||
border-radius: 24rpx;
|
||||
background: linear-gradient(135deg, #b07434 0%, #8f5920 100%);
|
||||
color: #fff7eb;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 36rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1;
|
||||
text-align: center;
|
||||
box-shadow: 0 14rpx 24rpx rgba(144, 89, 31, 0.22);
|
||||
}
|
||||
|
||||
.action-card__button--full {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
min-height: 84rpx;
|
||||
margin-top: 24rpx;
|
||||
border-radius: 22rpx;
|
||||
background: rgba(244, 232, 213, 0.95);
|
||||
color: #7d5327;
|
||||
box-shadow: none;
|
||||
}
|
||||
Reference in New Issue
Block a user