This commit is contained in:
ChuXun
2025-10-19 20:28:31 +08:00
parent c81f8a8b03
commit eaab9a762a
100 changed files with 23416 additions and 0 deletions

96
pages/tools/tools.wxss Normal file
View File

@@ -0,0 +1,96 @@
/* pages/tools/tools.wxss */
.container {
min-height: 100vh;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
padding: 60rpx 30rpx;
/* 底部留出TabBar的空间 */
padding-bottom: calc(env(safe-area-inset-bottom) + 150rpx);
}
.header {
color: #ffffff;
margin-bottom: 40rpx;
}
.header-title {
font-size: 48rpx;
font-weight: bold;
margin-bottom: 15rpx;
}
.header-desc {
font-size: 28rpx;
opacity: 0.9;
}
.tools-list {
background-color: #ffffff;
border-radius: 20rpx;
overflow: hidden;
}
.tool-card {
display: flex;
align-items: center;
padding: 30rpx;
border-bottom: 1rpx solid #F5F5F5;
transition: all 0.3s;
}
.tool-card:last-child {
border-bottom: none;
}
.tool-card:active {
background-color: #F8F9FA;
}
.tool-icon {
width: 100rpx;
height: 100rpx;
border-radius: 20rpx;
display: flex;
align-items: center;
justify-content: center;
margin-right: 25rpx;
position: relative;
}
.icon-text {
font-size: 56rpx;
}
.badge {
position: absolute;
top: -8rpx;
right: -8rpx;
padding: 4rpx 12rpx;
border-radius: 20rpx;
font-size: 20rpx;
color: #FFFFFF;
font-weight: bold;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.2);
z-index: 10;
}
.tool-info {
flex: 1;
}
.tool-name {
font-size: 32rpx;
font-weight: bold;
color: #333333;
margin-bottom: 8rpx;
}
.tool-desc {
font-size: 26rpx;
color: #999999;
}
.arrow {
font-size: 60rpx;
color: #CCCCCC;
font-weight: 300;
}