Files
sundynix-plant-mp/pages/wiki/index.wxss
T
2026-02-04 14:02:31 +08:00

99 lines
1.9 KiB
Plaintext

/** pages/wiki/index.wxss **/
.wiki-page {
height: 100vh;
display: flex;
flex-direction: column;
background-color: #F9FAFB;
position: relative;
overflow: hidden;
}
.wiki-scroll-area {
flex: 1;
overflow-y: auto;
padding: 20rpx 40rpx;
}
.search-section {
margin-bottom: 32rpx;
}
.category-scroll {
display: flex;
flex-wrap: wrap; /* TDesign Tags might wrap nicely */
margin-bottom: 48rpx;
}
/* Old chips removed, replaced by t-tag */
.wiki-list {
display: flex;
flex-direction: column;
gap: 32rpx;
}
.wiki-card {
background: white;
padding: 32rpx;
border-radius: 48rpx;
display: flex;
align-items: center;
gap: 36rpx;
box-shadow: 0 4rpx 16rpx rgba(0,0,0,0.03);
}
.wiki-image {
width: 140rpx; height: 140rpx;
border-radius: 36rpx;
overflow: hidden;
box-shadow: 0 8rpx 20rpx rgba(0,0,0,0.1);
flex-shrink: 0;
background: #f0f0f0;
}
.wiki-image t-image { width: 100%; height: 100%; display: block; }
.wiki-info { flex: 1; }
.wiki-top { margin-bottom: 8rpx; }
.wiki-name { font-size: 34rpx; font-weight: 700; color: var(--text-main); display: block; margin-bottom: 4rpx; }
.scientific-name { font-size: 24rpx; color: #90A4AE; font-style: italic; font-family: serif; display: block; }
/* Popup Styles */
.popup-content {
background: white;
border-radius: 40rpx 40rpx 0 0;
padding: 40rpx;
padding-bottom: env(safe-area-inset-bottom);
}
.popup-header {
text-align: center;
margin-bottom: 48rpx;
}
.popup-title {
font-size: 36rpx;
font-weight: 800;
color: var(--text-main);
}
.upload-options-grid {
display: flex; gap: 40rpx; justify-content: center;
margin-bottom: 48rpx;
}
.upload-opt-item {
display: flex; flex-direction: column; align-items: center; gap: 16rpx;
}
.opt-icon-circle {
width: 120rpx; height: 120rpx; border-radius: 40rpx;
display: flex; align-items: center; justify-content: center;
}
.popup-footer {
display: flex;
justify-content: center;
}