254 lines
5.0 KiB
CSS
254 lines
5.0 KiB
CSS
|
|
.status-pot[data-v-ea8c7664]{
|
|
width: 16px;
|
|
height: 16px;
|
|
border-radius: 50%;
|
|
}
|
|
.container[data-v-ea8c7664] {
|
|
background-color: #f5f5f7;
|
|
min-height: 100vh;
|
|
}
|
|
|
|
/* 导航栏 */
|
|
.nav-bar[data-v-ea8c7664] {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.625rem 0.9375rem;
|
|
background-color: #ffffff;
|
|
}
|
|
.nav-title[data-v-ea8c7664] {
|
|
color: white;
|
|
font-size: 1.125rem;
|
|
font-weight: 500;
|
|
}
|
|
.btn-row[data-v-ea8c7664] {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 0.625rem;
|
|
margin-top: 10px;
|
|
}
|
|
.upload-btn[data-v-ea8c7664] {
|
|
align-items: center;
|
|
gap: 0.25rem;
|
|
background-color: #28d50e;
|
|
color: white;
|
|
width: 35%;
|
|
margin: 0;
|
|
padding: 0.4375rem 0;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.8125rem;
|
|
}
|
|
.gif-btn[data-v-ea8c7664] {
|
|
background-color: #7c3aed;
|
|
}
|
|
|
|
/* 内容区 */
|
|
.content[data-v-ea8c7664] {
|
|
padding: 0.9375rem;
|
|
}
|
|
.section-title[data-v-ea8c7664] {
|
|
display: block;
|
|
font-size: 1rem;
|
|
color: #333;
|
|
margin: 0.9375rem 0 0.625rem;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 图片预览区 */
|
|
.preview-container[data-v-ea8c7664] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
margin-bottom: 0.625rem;
|
|
}
|
|
.preview-frame[data-v-ea8c7664] {
|
|
width: 15rem;
|
|
height: 15rem;
|
|
border-radius: 50%;
|
|
background-color: #ffffff;
|
|
box-shadow: 0 0.125rem 0.375rem rgba(0, 0, 0, 0.1);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
overflow: hidden;
|
|
position: relative;
|
|
}
|
|
.preview-image[data-v-ea8c7664] {
|
|
width: 100%;
|
|
height: 100%;
|
|
}
|
|
.empty-preview[data-v-ea8c7664] {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
color: #ccc;
|
|
}
|
|
.empty-preview uni-text[data-v-ea8c7664] {
|
|
margin-top: 0.625rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
.set-btn[data-v-ea8c7664] {
|
|
margin-top: 0.625rem;
|
|
background-color: #3cbb19;
|
|
color: white;
|
|
width: 35%;
|
|
padding: 0.46875rem 0;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.875rem;
|
|
}
|
|
|
|
/* 卡片式轮播区 */
|
|
.carousel-section[data-v-ea8c7664] {
|
|
margin-bottom: 0.9375rem;
|
|
}
|
|
.carousel-container[data-v-ea8c7664] {
|
|
background-color: white;
|
|
border-radius: 0.5rem;
|
|
padding: 0.625rem 0;
|
|
box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.05);
|
|
overflow: hidden;
|
|
}
|
|
|
|
/* 卡片轮播核心样式 */
|
|
.card-swiper[data-v-ea8c7664] {
|
|
width: 100%;
|
|
height: 7.5rem;
|
|
}
|
|
.card-swiper .swiper-item[data-v-ea8c7664] {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
transition: all 0.3s ease;
|
|
}
|
|
|
|
/* 卡片样式 */
|
|
.card-item[data-v-ea8c7664] {
|
|
width: 7.5rem;
|
|
height: 7.5rem;
|
|
}
|
|
.card-frame[data-v-ea8c7664] {
|
|
width: 7.5rem;
|
|
height: 100%;
|
|
border-radius: 50%;
|
|
overflow: hidden;
|
|
box-shadow: 0 0.1875rem 0.5rem rgba(0, 0, 0, 0.15);
|
|
position: relative;
|
|
}
|
|
.card-image[data-v-ea8c7664] {
|
|
width: 7.5rem;
|
|
height: 100%;
|
|
}
|
|
|
|
/* 选中状态覆盖层 */
|
|
.card-overlay[data-v-ea8c7664] {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 7.5rem;
|
|
height: 100%;
|
|
background-color: rgba(0, 0, 0, 0.3);
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
|
|
/* 卡片轮播动画效果 */
|
|
.card-swiper .swiper-item[data-v-ea8c7664]:not(.swiper-item-active) {
|
|
transform: scale(0.8);
|
|
opacity: 0.6;
|
|
z-index: 1;
|
|
}
|
|
.card-swiper .swiper-item-active[data-v-ea8c7664] {
|
|
transform: scale(1);
|
|
z-index: 2;
|
|
}
|
|
.carousel-hint[data-v-ea8c7664] {
|
|
height: 6.25rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
color: #999;
|
|
font-size: 0.8125rem;
|
|
text-align: center;
|
|
}
|
|
|
|
/* 数据展示区 */
|
|
.data-section[data-v-ea8c7664] {
|
|
background-color: white;
|
|
border-radius: 0.5rem;
|
|
padding: 0.625rem 0.9375rem;
|
|
box-shadow: 0 0.0625rem 0.25rem rgba(0, 0, 0, 0.05);
|
|
}
|
|
.data-grid[data-v-ea8c7664] {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 0.625rem;
|
|
margin-bottom: 0.9375rem;
|
|
}
|
|
.data-card[data-v-ea8c7664] {
|
|
background-color: #f9f9f9;
|
|
border-radius: 0.375rem;
|
|
padding: 0.625rem;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.625rem;
|
|
}
|
|
.data-icon[data-v-ea8c7664] {
|
|
width: 1.875rem;
|
|
height: 1.875rem;
|
|
border-radius: 0.375rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
}
|
|
.battery-icon[data-v-ea8c7664] {
|
|
background-color: #f6ffed;
|
|
}
|
|
.temp-icon[data-v-ea8c7664] {
|
|
background-color: #fff7e6;
|
|
}
|
|
.humidity-icon[data-v-ea8c7664] {
|
|
background-color: #e6f7ff;
|
|
}
|
|
.status-icon[data-v-ea8c7664] {
|
|
background-color: #f0f9ff;
|
|
}
|
|
.data-info[data-v-ea8c7664] {
|
|
flex: 1;
|
|
}
|
|
.data-value[data-v-ea8c7664] {
|
|
font-size: 1rem;
|
|
font-weight: bold;
|
|
color: #333;
|
|
}
|
|
.data-label[data-v-ea8c7664] {
|
|
font-size: 0.75rem;
|
|
color: #666;
|
|
}
|
|
|
|
/* 连接状态 */
|
|
.connection-status[data-v-ea8c7664] {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 0.46875rem 0;
|
|
border-top: 0.03125rem solid #f0f0f0;
|
|
}
|
|
.status-text[data-v-ea8c7664] {
|
|
flex: 1;
|
|
margin: 0 0.46875rem;
|
|
font-size: 0.875rem;
|
|
color: #333;
|
|
}
|
|
.connect-btn[data-v-ea8c7664] {
|
|
padding: 0.375rem 0.75rem;
|
|
border-radius: 0.25rem;
|
|
font-size: 0.8125rem;
|
|
background-color: #007aff;
|
|
color: white;
|
|
}
|
|
.connect-btn[data-v-ea8c7664]:disabled {
|
|
background-color: #ccc;
|
|
}
|