yingsa/miniprogram/pages/article/detail/index.wxss
Ethanfly d07ebb735a fix(env): Update API URL and enhance HTML structure
- Change VITE_API_URL in .env from localhost:3000 to localhost:3001 for backend access.
- Update index.html to replace favicon with logo.png and ensure proper HTML structure.
- Add new dependencies for WangEditor in package.json and package-lock.json to support rich text editing features.
2026-02-06 19:04:16 +08:00

58 lines
829 B
Plaintext

.page {
min-height: 100vh;
background: #f7f8fa;
display: flex;
flex-direction: column;
padding: 24rpx 24rpx 40rpx;
box-sizing: border-box;
}
.article-header {
padding-bottom: 16rpx;
}
.title {
font-size: 34rpx;
font-weight: 600;
color: #111827;
line-height: 1.4;
}
.meta {
margin-top: 10rpx;
display: flex;
align-items: center;
font-size: 24rpx;
color: #9ca3af;
}
.dot {
margin: 0 8rpx;
}
.category {
padding: 2rpx 10rpx;
border-radius: 999rpx;
background: rgba(37, 99, 235, 0.06);
color: #2563eb;
}
.content-scroll {
flex: 1;
margin-top: 12rpx;
}
.article-content {
padding: 20rpx;
border-radius: 18rpx;
background: #ffffff;
box-shadow: 0 6rpx 16rpx rgba(15, 23, 42, 0.04);
}
.article-content rich-text {
font-size: 28rpx;
color: #111827;
line-height: 1.7;
}