HomeLease/unpackage/dist/dev/mp-weixin/pages/index/index.wxss

276 lines
5.3 KiB
Plaintext
Raw Normal View History

2025-08-12 15:38:25 +08:00
.home-container.data-v-1cf27b2a {
background-color: #f5f5f5;
min-height: 100vh;
padding-bottom: 120rpx; /* 为底部导航留出空间 */
max-width: 750rpx;
margin: 0 auto;
}
/* 状态栏 */
.status-bar.data-v-1cf27b2a {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20rpx 30rpx;
background-color: #f5f5f5;
font-size: 28rpx;
color: #333;
}
.status-icons.data-v-1cf27b2a {
display: flex;
gap: 10rpx;
}
/* 头部信息 */
.header.data-v-1cf27b2a {
background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
padding: 20rpx 30rpx;
display: flex;
justify-content: space-between;
align-items: center;
}
.location-info.data-v-1cf27b2a {
display: flex;
align-items: center;
gap: 10rpx;
flex: 1;
}
.company-name.data-v-1cf27b2a {
font-size: 28rpx;
color: #333;
font-weight: 500;
}
.arrow.data-v-1cf27b2a {
font-size: 24rpx;
color: #666;
}
.header-actions.data-v-1cf27b2a {
display: flex;
gap: 20rpx;
}
.action-icon.data-v-1cf27b2a {
font-size: 32rpx;
color: #333;
}
/* 公告栏 */
.announcement-bar.data-v-1cf27b2a {
background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
padding: 15rpx 30rpx;
display: flex;
align-items: center;
gap: 15rpx;
overflow: hidden;
}
.speaker-icon.data-v-1cf27b2a {
font-size: 24rpx;
color: #333;
}
.announcement-text.data-v-1cf27b2a {
font-size: 24rpx;
color: #333;
white-space: nowrap;
animation: scroll-text-1cf27b2a 20s linear infinite;
}
@keyframes scroll-text-1cf27b2a {
0% { transform: translateX(100%);
}
100% { transform: translateX(-100%);
}
}
/* 轮播图 */
.banner-section.data-v-1cf27b2a {
padding: 30rpx;
}
.banner-card.data-v-1cf27b2a {
background: #fff;
border-radius: 20rpx;
padding: 30rpx;
display: flex;
gap: 30rpx;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
}
.banner-left.data-v-1cf27b2a {
display: flex;
flex-direction: column;
gap: 20rpx;
flex: 1;
}
.product-info.data-v-1cf27b2a {
display: flex;
align-items: center;
gap: 10rpx;
}
.flame-icon.data-v-1cf27b2a {
font-size: 24rpx;
color: #ff4757;
}
.product-name.data-v-1cf27b2a {
font-size: 28rpx;
font-weight: bold;
color: #333;
}
.product-desc.data-v-1cf27b2a {
font-size: 24rpx;
color: #666;
}
.product-image.data-v-1cf27b2a {
width: 200rpx;
height: 150rpx;
border-radius: 10rpx;
background-color: #f8f9fa;
}
.banner-right.data-v-1cf27b2a {
flex: 1;
}
.product-features.data-v-1cf27b2a {
font-size: 24rpx;
color: #666;
line-height: 1.6;
}
.banner-dots.data-v-1cf27b2a {
display: flex;
justify-content: center;
gap: 10rpx;
margin-top: 20rpx;
}
.dot.data-v-1cf27b2a {
width: 16rpx;
height: 16rpx;
border-radius: 50%;
background-color: #ddd;
}
.dot.active.data-v-1cf27b2a {
background-color: #ff9a9e;
}
/* 设备列表 */
.equipment-section.data-v-1cf27b2a {
padding: 0 30rpx;
}
.section-title.data-v-1cf27b2a {
font-size: 32rpx;
font-weight: bold;
color: #333;
margin-bottom: 20rpx;
padding: 20rpx 0;
border-bottom: 1rpx solid #eee;
}
.equipment-list.data-v-1cf27b2a {
display: flex;
flex-direction: column;
gap: 20rpx;
}
.equipment-item.data-v-1cf27b2a {
background: #fff;
border-radius: 20rpx;
padding: 30rpx;
display: flex;
gap: 30rpx;
box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.1);
transition: all 0.3s ease;
}
.equipment-item.data-v-1cf27b2a:active {
transform: scale(0.98);
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.15);
}
.equipment-image.data-v-1cf27b2a {
width: 120rpx;
height: 120rpx;
border-radius: 10rpx;
background-color: #f8f9fa;
flex-shrink: 0;
}
.equipment-info.data-v-1cf27b2a {
flex: 1;
display: flex;
flex-direction: column;
justify-content: space-between;
}
.equipment-header.data-v-1cf27b2a {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 15rpx;
}
.equipment-name.data-v-1cf27b2a {
font-size: 28rpx;
font-weight: bold;
color: #333;
}
.status-badge.data-v-1cf27b2a {
padding: 4rpx 12rpx;
border-radius: 20rpx;
font-size: 20rpx;
color: #fff;
}
.status-badge.normal.data-v-1cf27b2a {
background-color: #52c41a;
}
.status-badge.warning.data-v-1cf27b2a {
background-color: #faad14;
}
.status-badge.error.data-v-1cf27b2a {
background-color: #ff4d4f;
}
.equipment-details.data-v-1cf27b2a {
display: flex;
flex-direction: column;
gap: 8rpx;
margin-bottom: 15rpx;
}
.detail-item.data-v-1cf27b2a {
font-size: 24rpx;
color: #666;
}
.renew-btn.data-v-1cf27b2a {
align-self: flex-end;
background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
color: #fff;
border: none;
border-radius: 25rpx;
padding: 15rpx 30rpx;
font-size: 24rpx;
font-weight: 500;
}
/* 底部导航 */
.bottom-nav.data-v-1cf27b2a {
position: fixed;
bottom: 0;
left: 0;
right: 0;
background: #fff;
display: flex;
justify-content: space-around;
align-items: center;
padding: 20rpx 0;
box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.1);
z-index: 1000;
}
.nav-item.data-v-1cf27b2a {
display: flex;
flex-direction: column;
align-items: center;
gap: 8rpx;
padding: 10rpx;
transition: all 0.3s ease;
}
.nav-item.data-v-1cf27b2a:active {
transform: scale(0.95);
}
.nav-icon.data-v-1cf27b2a {
font-size: 40rpx;
color: #999;
}
.nav-text.data-v-1cf27b2a {
font-size: 20rpx;
color: #999;
}
.nav-item.active .nav-icon.data-v-1cf27b2a,
.nav-item.active .nav-text.data-v-1cf27b2a {
color: #ff9a9e;
}