feat: migrate static pages to native tabbar
This commit is contained in:
80
packages/tcm/pages/assets/index.wxss
Normal file
80
packages/tcm/pages/assets/index.wxss
Normal file
@@ -0,0 +1,80 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background: linear-gradient(180deg, #faf3e8 0%, #f1e9dd 100%);
|
||||
}
|
||||
|
||||
.asset-page {
|
||||
box-sizing: border-box;
|
||||
min-height: 100vh;
|
||||
padding: 28rpx 20rpx 72rpx;
|
||||
background:
|
||||
radial-gradient(circle at top right, rgba(177, 130, 74, 0.14) 0%, rgba(177, 130, 74, 0) 24%),
|
||||
linear-gradient(135deg, rgba(255, 255, 255, 0.54) 0%, rgba(255, 249, 240, 0) 38%);
|
||||
}
|
||||
|
||||
.asset-page__header {
|
||||
padding: 8rpx 0 22rpx;
|
||||
}
|
||||
|
||||
.asset-page__title {
|
||||
display: block;
|
||||
color: #2f1f12;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 56rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.asset-page__filters {
|
||||
margin: 0 -6rpx 14rpx;
|
||||
}
|
||||
|
||||
.asset-page__filter {
|
||||
display: inline-block;
|
||||
padding: 6rpx;
|
||||
}
|
||||
|
||||
.asset-page__filter-label {
|
||||
display: block;
|
||||
padding: 14rpx 20rpx;
|
||||
border-radius: 999rpx;
|
||||
background: rgba(111, 66, 22, 0.08);
|
||||
color: #6f4216;
|
||||
font-size: 24rpx;
|
||||
line-height: 1;
|
||||
}
|
||||
|
||||
.asset-page__filter--active .asset-page__filter-label {
|
||||
background: linear-gradient(135deg, #a56a31 0%, #7c4b1d 100%);
|
||||
color: #fff7eb;
|
||||
}
|
||||
|
||||
.asset-card,
|
||||
.asset-page__empty {
|
||||
margin-top: 16rpx;
|
||||
padding: 26rpx;
|
||||
border: 1rpx solid rgba(118, 83, 42, 0.08);
|
||||
border-radius: 32rpx;
|
||||
background: rgba(255, 250, 242, 0.92);
|
||||
box-shadow: 0 18rpx 42rpx rgba(86, 58, 25, 0.08);
|
||||
}
|
||||
|
||||
.asset-card__title,
|
||||
.asset-page__empty-title {
|
||||
display: block;
|
||||
color: #2c2419;
|
||||
font-family: 'STSong', 'Songti SC', serif;
|
||||
font-size: 34rpx;
|
||||
font-weight: 700;
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.asset-card__subtitle,
|
||||
.asset-card__description,
|
||||
.asset-page__empty-description {
|
||||
display: block;
|
||||
margin-top: 10rpx;
|
||||
color: #7c705e;
|
||||
font-size: 26rpx;
|
||||
line-height: 1.7;
|
||||
}
|
||||
Reference in New Issue
Block a user