congming_huose-apk/unpackage/dist/dev/mp-weixin/common/components/DeviceTab.wxss

142 lines
3.3 KiB
Plaintext
Raw Permalink Normal View History

2025-11-08 11:30:06 +08:00
@charset "UTF-8";
/**
* 这里是uni-app内置的常用样式变量
*
* uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量
* 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App
*
*/
/**
* 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能
*
* 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
*/
/* 颜色变量 */
/* 行为相关颜色 */
/* 文字基本颜色 */
/* 背景颜色 */
/* 边框颜色 */
/* 尺寸变量 */
/* 文字尺寸 */
/* 图片尺寸 */
/* Border Radius */
/* 水平间距 */
/* 垂直间距 */
/* 透明度 */
/* 文章场景相关 */
.device-list.data-v-52fa3be8 {
margin-bottom: 30rpx;
height: 76vh;
overflow: scroll;
}
.device-item.data-v-52fa3be8 {
position: relative;
display: flex;
align-items: center;
margin: auto;
box-sizing: border-box;
margin-top: 20rpx;
background: #fff;
border-radius: 20rpx;
margin-bottom: 20rpx;
padding: 30rpx 40rpx;
box-shadow: -2rpx 2rpx 6rpx rgba(0, 0, 0, 0.08);
transition: all 0.2s ease;
width: 700rpx;
}
.device-item.data-v-52fa3be8:active {
-webkit-transform: scale(0.98);
transform: scale(0.98);
background: #f8f8f8;
box-shadow: 0 1rpx 5rpx rgba(0, 0, 0, 0.1);
}
.device-badge.data-v-52fa3be8 {
position: absolute;
top: 30rpx;
left: 0;
background: #ff4444;
color: #fff;
font-size: 22rpx;
border-radius: 0 8rpx 8rpx 0;
padding: 4rpx 12rpx;
z-index: 1;
}
.device-avatar.data-v-52fa3be8 {
width: 128rpx;
height: 128rpx;
background: #e0e0e0;
border-radius: 20rpx;
overflow: hidden;
margin-right: 20rpx;
display: flex;
align-items: center;
justify-content: center;
margin-left: 10rpx;
}
.device-avatar image.data-v-52fa3be8 {
width: 128rpx;
height: 128rpx;
}
.device-icon.data-v-52fa3be8 {
font-size: 40rpx;
}
.device-info.data-v-52fa3be8 {
flex: 1;
display: flex;
flex-direction: column;
justify-content: center;
}
.device-name.data-v-52fa3be8 {
font-size: 30rpx;
color: #333;
font-weight: bold;
margin-bottom: 8rpx;
}
.device-room.data-v-52fa3be8 {
font-size: 26rpx;
color: #999;
margin-bottom: 12rpx;
}
.device-status-bar.data-v-52fa3be8 {
display: flex;
align-items: center;
}
.device-status-bar image.data-v-52fa3be8 {
width: 44rpx;
height: 44rpx;
}
.status-icon.data-v-52fa3be8 {
font-size: 28rpx;
color: #666;
margin-right: 16rpx;
}
.device-arrow.data-v-52fa3be8 {
font-size: 66rpx;
color: #bbb;
margin-left: 20rpx;
}
.add-device-btn.data-v-52fa3be8 {
margin: 40rpx auto 0 auto;
width: 700rpx;
height: 80rpx;
border: 2rpx solid #bbb;
border-radius: 40rpx;
display: flex;
align-items: center;
justify-content: center;
font-size: 30rpx;
color: #333;
background: #fff;
transition: all 0.2s ease;
}
.add-device-btn .add-icon.data-v-52fa3be8 {
font-size: 38rpx;
margin-right: 16rpx;
}
.add-device-btn.data-v-52fa3be8:active {
-webkit-transform: scale(0.95);
transform: scale(0.95);
background: #f0f0f0;
border-color: #999;
}