/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .home-container.data-v-1cf27b2a { background: linear-gradient(to bottom, #FFDDCA 0px, #FFDDCA 450rpx, #f5f5f5 450rpx, #f5f5f5 100%); min-height: 100vh; padding-bottom: 120rpx; /* 为底部导航留出空间 */ max-width: 750rpx; margin: 0 auto; z-index: -2; } /* 头部信息 */ .header.data-v-1cf27b2a { padding: 106rpx 30rpx 20rpx 30rpx; display: flex; justify-content: space-between; align-items: center; } .header .location-info.data-v-1cf27b2a { display: flex; align-items: center; gap: 10rpx; flex: 1; } .header .location-info .location.data-v-1cf27b2a { width: 27rpx; height: 31rpx; } .header .location-info .company-name.data-v-1cf27b2a { color: #3D3D3D; font-size: 16px; font-weight: 500; } .header .location-info .arrow.data-v-1cf27b2a { font-size: 24rpx; color: #666; } /* 公告栏 */ .announcement-bar.data-v-1cf27b2a { background: white; opacity: 0.5; margin: 34rpx 19rpx 0 19rpx; padding: 15rpx 30rpx; display: flex; align-items: center; gap: 15rpx; overflow: hidden; height: 34rpx; border-radius: 100rpx; border: #4cd964 solid 1px; } .announcement-bar .announcementIcon.data-v-1cf27b2a { height: 32rpx; width: 32rpx; flex-shrink: 0; } .announcement-bar .announcement-box.data-v-1cf27b2a { flex: 1; overflow: hidden; position: relative; } .announcement-bar .announcement-box .announcement-text.data-v-1cf27b2a { font-size: 13px; opacity: 1; color: black; white-space: nowrap; animation: scroll-text-1cf27b2a 10s linear infinite; border: #4cd964 solid 1px; display: inline-block; padding-left: 100%; } @keyframes scroll-text-1cf27b2a { 0% { transform: translateX(0); } 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; }