| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248 |
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- .container[data-v-1cf27b2a] {
- background-color: #f4f6f8;
- display: flex;
- flex-direction: column;
- height: 100vh;
- padding: 0.625rem 0.9375rem 0.9375rem 0.9375rem;
- background-color: #f4f6f8;
- font-family: "Arial", "Microsoft YaHei", sans-serif;
- box-sizing: border-box;
- overflow: hidden;
- /* 隐藏页面滚动,让轮播在表格内进行 */
- }
- .header[data-v-1cf27b2a] {
- padding-top: 0.3125rem;
- text-align: center;
- margin-bottom: 0.9375rem;
- position: relative;
- display: flex;
- align-items: center;
- justify-content: center;
- height: 3.125rem;
- }
- .title[data-v-1cf27b2a] {
- font-size: 1.875rem;
- font-weight: bold;
- color: #1e3a8a;
- }
- .current-time[data-v-1cf27b2a] {
- display: flex;
- align-items: center;
- position: absolute;
- display: flex;
- height: 3.125rem;
- right: 0;
- font-size: 1.71875rem;
- color: #666;
- background-color: rgba(30, 58, 138, 0.1);
- padding: 0 0.9375rem;
- border-radius: 0.375rem;
- font-weight: bold;
- }
- .table-container[data-v-1cf27b2a] {
- flex: 1;
- margin-bottom: 0.9375rem;
- border-radius: 0.75rem;
- overflow: hidden;
- box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.08);
- background-color: #ffffff;
- border: 0.0625rem solid #e0e0e0;
- display: flex;
- flex-direction: column;
- }
- .table-header[data-v-1cf27b2a] {
- background-color: #f0f4f8;
- color: white;
- font-weight: bold;
- }
- .header-row[data-v-1cf27b2a] {
- background-color: #1e3a8a;
- color: white;
- font-weight: bold;
- }
- .table-row[data-v-1cf27b2a] {
- display: flex;
- border-bottom: 0.0625rem solid #dedede;
- }
- .body-row[data-v-1cf27b2a] {
- padding: 0.3125rem 0;
- }
- .table-row[data-v-1cf27b2a]:last-child {
- border-bottom: none;
- }
- .cell[data-v-1cf27b2a] {
- padding: 0.75rem 0.5rem;
- font-size: 1.5625rem;
- text-align: center;
- color: #333;
- }
- .name[data-v-1cf27b2a] {
- width: 25%;
- }
- .time[data-v-1cf27b2a] {
- width: 25%;
- }
- .status[data-v-1cf27b2a] {
- width: 25%;
- }
- .status-tag[data-v-1cf27b2a] {
- padding: 0.25rem 0.625rem;
- border-radius: 1rem;
- font-size: 1.5rem;
- font-weight: 500;
- }
- .status-observing[data-v-1cf27b2a] {
- background-color: #e3f2fd;
- color: #007bff;
- border: 0.0625rem solid #9acffa;
- }
- .status-completed[data-v-1cf27b2a] {
- background-color: #e8f5e8;
- color: #28a745;
- border: 0.0625rem solid #8bc34a;
- }
- .status-warning[data-v-1cf27b2a] {
- background-color: #ffebee;
- color: #c62828;
- border: 0.0625rem solid #ef9a9a;
- }
- .item-observing[data-v-1cf27b2a] {
- background-color: #e3f2fd;
- }
- .item-completed[data-v-1cf27b2a] {
- background-color: #e8f5e8;
- }
- .item-warning[data-v-1cf27b2a] {
- background-color: #ffebee;
- }
- .item-hasleft[data-v-1cf27b2a] {
- background-color: #e3f2fd;
- }
- .table-header[data-v-1cf27b2a] {
- flex: 0 0 auto;
- overflow: hidden;
- }
- /* 保持表格形式的轮播样式 */
- .table-body-container[data-v-1cf27b2a] {
- flex: 1;
- overflow: hidden;
- background-color: #fafafa;
- position: relative;
- }
- .table-body-wrapper[data-v-1cf27b2a] {
- display: block;
- }
- .table-body-wrapper.animate[data-v-1cf27b2a] {
- animation: scrollUp-1cf27b2a 20s linear infinite;
- }
- @keyframes scrollUp-1cf27b2a {
- 0% {
- transform: translateY(0);
- }
- 100% {
- transform: translateY(calc(-50% - 1px));
- /* 减去1px确保无缝衔接 */
- }
- }
- .empty[data-v-1cf27b2a] {
- text-align: center;
- padding: 1.875rem;
- color: #999;
- font-style: italic;
- font-size: 1.25rem;
- }
- .status-bar-bottom[data-v-1cf27b2a] {
- padding: 0.75rem 0.9375rem;
- background-color: #ffffff;
- box-shadow: 0 -0.125rem 0.625rem rgba(0, 0, 0, 0.05);
- border-radius: 0.75rem;
- display: flex;
- gap: 0.5rem;
- }
- .status-text-box[data-v-1cf27b2a] {
- display: flex;
- align-items: center;
- font-size: 0.875rem;
- }
- .dot[data-v-1cf27b2a] {
- color: #d32f2f;
- font-size: 1.25rem;
- }
- .dot-connecting[data-v-1cf27b2a] {
- color: #f9ae3d;
- }
- .dot-connected[data-v-1cf27b2a] {
- color: #28a745;
- }
- .dot-disconnected[data-v-1cf27b2a] {
- color: #d32f2f;
- }
- .status-text[data-v-1cf27b2a] {
- color: #555;
- }
- .status-text[data-v-1cf27b2a] {
- margin-left: 0.5rem;
- }
- .title_color[data-v-1cf27b2a] {
- color: #fff;
- }
- .ip-input-group[data-v-1cf27b2a] {
- display: flex;
- align-items: center;
- margin-left: 0.5rem;
- flex-wrap: wrap;
- gap: 0.375rem;
- }
- .ip-label[data-v-1cf27b2a] {
- font-size: 0.875rem;
- color: #555;
- }
- .ip-input[data-v-1cf27b2a],
- .port-input[data-v-1cf27b2a] {
- border: 0.0625rem solid #ddd;
- border-radius: 0.375rem;
- padding: 0.375rem 0.625rem;
- font-size: 0.875rem;
- width: 6.25rem;
- }
- .port-input[data-v-1cf27b2a] {
- width: 5rem;
- }
- .colon[data-v-1cf27b2a] {
- font-size: 1rem;
- color: #666;
- margin: 0 0.25rem;
- }
- .btn-reconnect[data-v-1cf27b2a] {
- background-color: #007aff;
- color: white;
- font-size: 0.75rem;
- padding: 0 0.5rem;
- border-radius: 0.375rem;
- }
|