From fe24f2f6ba1f11e4e3768ff120bba6008eb26322 Mon Sep 17 00:00:00 2001
From: Mr.Zhang <710666463@qq.com>
Date: 星期一, 21 八月 2023 09:48:22 +0800
Subject: [PATCH] 大屏
---
screen_standard/src/components/AppLayout.vue | 47 +++++++++++++++
screen_standard/src/App.vue | 61 --------------------
screen_standard/src/assets/main.css | 28 ---------
3 files changed, 48 insertions(+), 88 deletions(-)
diff --git a/screen_standard/src/App.vue b/screen_standard/src/App.vue
index 2f80735..5bfbf1c 100644
--- a/screen_standard/src/App.vue
+++ b/screen_standard/src/App.vue
@@ -5,69 +5,8 @@
<template>
<AppLayout />
-
</template>
<style scoped>
-header {
- line-height: 1.5;
- max-height: 100vh;
-}
-.logo {
- display: block;
- margin: 0 auto 2rem;
-}
-
-nav {
- width: 100%;
- font-size: 12px;
- text-align: center;
- margin-top: 2rem;
-}
-
-nav a.router-link-exact-active {
- color: var(--color-text);
-}
-
-nav a.router-link-exact-active:hover {
- background-color: transparent;
-}
-
-nav a {
- display: inline-block;
- padding: 0 1rem;
- border-left: 1px solid var(--color-border);
-}
-
-nav a:first-of-type {
- border: 0;
-}
-
-@media (min-width: 1024px) {
- header {
- display: flex;
- place-items: center;
- padding-right: calc(var(--section-gap) / 2);
- }
-
- .logo {
- margin: 0 2rem 0 0;
- }
-
- header .wrapper {
- display: flex;
- place-items: flex-start;
- flex-wrap: wrap;
- }
-
- nav {
- text-align: left;
- margin-left: -1rem;
- font-size: 1rem;
-
- padding: 1rem 0;
- margin-top: 1rem;
- }
-}
</style>
diff --git a/screen_standard/src/assets/main.css b/screen_standard/src/assets/main.css
index e8667cd..4dc5a1d 100644
--- a/screen_standard/src/assets/main.css
+++ b/screen_standard/src/assets/main.css
@@ -1,35 +1,9 @@
@import './base.css';
#app {
- max-width: 1280px;
margin: 0 auto;
- padding: 2rem;
-
+ height: 100vh;
font-weight: normal;
}
-a,
-.green {
- text-decoration: none;
- color: hsla(160, 100%, 37%, 1);
- transition: 0.4s;
-}
-@media (hover: hover) {
- a:hover {
- background-color: hsla(160, 100%, 37%, 0.2);
- }
-}
-
-@media (min-width: 1024px) {
- body {
- display: flex;
- place-items: center;
- }
-
- #app {
- display: grid;
- grid-template-columns: 1fr 1fr;
- padding: 0 2rem;
- }
-}
diff --git a/screen_standard/src/components/AppLayout.vue b/screen_standard/src/components/AppLayout.vue
index 0197674..457208e 100644
--- a/screen_standard/src/components/AppLayout.vue
+++ b/screen_standard/src/components/AppLayout.vue
@@ -1,5 +1,14 @@
<template>
<div class="content">
+ <div class="header">
+ <div class="header-item" style="font-size: 20px;">璞嗙背绉戞妧</div>
+ <div class="title">DM浜戝伐鍘傝溅闂村ぇ灞�</div>
+ <div class="header-item">澶╂皵</div>
+ </div>
+
+ <div class="num-list">
+
+ </div>
</div>
</template>
@@ -7,10 +16,48 @@
<script setup>
+import { reactive } from 'vue';
+
+const layoutList = [
+ { bgImg: requir('') }
+]
+
</script>
<style lang="scss" scoped>
.content {
background-image: url('@/assets/img/bg@2x.png');
+ background-position: center;
+ background-size: 100% 100%;
+ background-repeat: no-repeat;
+ width: 100%;
+ height: 100%;
+ padding: 30px;
+ box-sizing: border-box;
+ .header {
+ background-image: url('@/assets/img/bg_maintitle@2x.png');
+ background-size: 100% 74px;
+ width: 100%;
+ height: 74px;
+ display: flex;
+ padding-top: 1px;
+ justify-content: space-between;
+ color: #fff;
+ .header-item {
+ width: 200px;
+ }
+ .title {
+ margin-top: 15px;
+ font-size: 25px;
+ font-weight: 500;
+ text-shadow: 0px 2px 17px rgba(0,0,0,0.32);
+ line-height: 25px;
+ text-align: center;
+ }
+ }
+ .num-list {
+ display: flex;
+ justify-content: space-between;
+ }
}
</style>
--
Gitblit v1.9.3