feat: 初始化世界杯观赛助手小程序
- uni-app (Vue3) + Vite 框架 - 7个页面:首页、赛程、比赛详情、球队、球队详情、球员、个人中心 - API 接口配置 (开发/生产环境) - 状态管理 (Pinia)
This commit is contained in:
@@ -0,0 +1,120 @@
|
||||
page {
|
||||
min-height: 100%;
|
||||
background: #f7f4ea;
|
||||
color: #17211b;
|
||||
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
|
||||
}
|
||||
|
||||
view,
|
||||
text,
|
||||
button,
|
||||
input,
|
||||
scroll-view {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
button {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
line-height: 1;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
button::after {
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.page {
|
||||
min-height: 100vh;
|
||||
padding: 28rpx;
|
||||
background:
|
||||
linear-gradient(180deg, #f7f4ea 0%, #edf3f2 48%, #f8f7f1 100%);
|
||||
}
|
||||
|
||||
.nav-title {
|
||||
padding-top: 64rpx;
|
||||
margin-bottom: 28rpx;
|
||||
font-size: 42rpx;
|
||||
font-weight: 800;
|
||||
line-height: 1.15;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin-top: 30rpx;
|
||||
}
|
||||
|
||||
.section-head {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 18rpx;
|
||||
}
|
||||
|
||||
.section-title {
|
||||
font-size: 32rpx;
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.section-action {
|
||||
color: #0b6b53;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: 1rpx solid rgba(23, 33, 27, 0.08);
|
||||
border-radius: 8rpx;
|
||||
background: rgba(255, 255, 255, 0.86);
|
||||
box-shadow: 0 12rpx 36rpx rgba(26, 41, 32, 0.08);
|
||||
}
|
||||
|
||||
.btn-primary,
|
||||
.btn-ghost {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
min-height: 72rpx;
|
||||
padding: 0 28rpx;
|
||||
border-radius: 8rpx;
|
||||
font-size: 26rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.btn-primary {
|
||||
color: #ffffff;
|
||||
background: #0b6b53;
|
||||
}
|
||||
|
||||
.btn-ghost {
|
||||
color: #17211b;
|
||||
border: 1rpx solid rgba(23, 33, 27, 0.14);
|
||||
background: #ffffff;
|
||||
}
|
||||
|
||||
.tag {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
min-height: 40rpx;
|
||||
padding: 0 14rpx;
|
||||
border-radius: 6rpx;
|
||||
color: #5b4323;
|
||||
background: #f2dfad;
|
||||
font-size: 22rpx;
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.muted {
|
||||
color: #66736d;
|
||||
}
|
||||
|
||||
.empty {
|
||||
padding: 36rpx 24rpx;
|
||||
color: #66736d;
|
||||
text-align: center;
|
||||
font-size: 26rpx;
|
||||
}
|
||||
|
||||
.safe-bottom {
|
||||
padding-bottom: calc(32rpx + env(safe-area-inset-bottom));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user