97 lines
1.4 KiB
Plaintext
97 lines
1.4 KiB
Plaintext
/* 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;
|
|
}
|