From 035ea93f7bbcfcc43bcc7adbb1d0504df6065947 Mon Sep 17 00:00:00 2001
From: Mr.Shi <1878285526@qq.com>
Date: 星期一, 21 八月 2023 09:54:49 +0800
Subject: [PATCH] 改bug
---
screen_standard/src/App.vue | 2 +-
screen_standard/src/router/index.js | 6 ++++++
screen_standard/src/views/index.vue | 36 ++++++++++++++++++++++++++++++++++++
3 files changed, 43 insertions(+), 1 deletions(-)
diff --git a/screen_standard/src/App.vue b/screen_standard/src/App.vue
index 2f80735..a3a8bdb 100644
--- a/screen_standard/src/App.vue
+++ b/screen_standard/src/App.vue
@@ -5,7 +5,7 @@
<template>
<AppLayout />
-
+
</template>
<style scoped>
diff --git a/screen_standard/src/router/index.js b/screen_standard/src/router/index.js
index e58491f..6b2d945 100644
--- a/screen_standard/src/router/index.js
+++ b/screen_standard/src/router/index.js
@@ -1,5 +1,6 @@
import { createRouter, createWebHistory } from 'vue-router'
import HomeView from '../views/HomeView.vue'
+import indexView from '../views/index.vue'
const router = createRouter({
history: createWebHistory(import.meta.env.BASE_URL),
@@ -8,6 +9,11 @@
path: '/',
name: 'home',
component: HomeView
+ },
+ {
+ path: '/index',
+ name: 'index',
+ component: indexView
}
]
})
diff --git a/screen_standard/src/views/index.vue b/screen_standard/src/views/index.vue
new file mode 100644
index 0000000..e660a85
--- /dev/null
+++ b/screen_standard/src/views/index.vue
@@ -0,0 +1,36 @@
+<template>
+ <div class="content">
+ <div class="content_left">1</div>
+ <div class="content_center">2</div>
+ <div class="content_right">3</div>
+ </div>
+</template>
+
+
+<script setup>
+
+</script>
+
+<style lang="scss" scoped>
+ .content {
+ width: 100%;
+ height: auto;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ .content_left {
+ width: 920px;
+ background-color: aquamarine;
+ }
+ .content_center {
+ flex: 1;
+ margin: 0 40px;
+ background-color: aquamarine;
+ }
+ .content_right {
+ width: 920px;
+ background-color: aquamarine;
+ }
+ }
+</style>
+
\ No newline at end of file
--
Gitblit v1.9.3