Compare commits

...

2 Commits

5 changed files with 71 additions and 24 deletions

View File

@ -1,13 +1,16 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>黑龙江东印科技有限公司</title>
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>

View File

@ -4,7 +4,12 @@
</div>
</template>
<script setup lang="ts">
import Index from './pages/index.vue'
import Index from "./pages/index.vue";
</script>
<style scoped></style>
<style scoped lang="less">
.box {
width: 100%;
overflow-x: hidden;
}
</style>

View File

@ -0,0 +1,37 @@
<template>
<div class="app-container">
<div class="container">
<div class="logo-container">
<img
width="136"
class="logo"
src="http://dykj.co/logo.png"
alt="logo"
/>
</div>
<div></div>
</div>
<div>1</div>
</div>
</template>
<script setup lang="ts"></script>
<style scoped lang="less">
.app-container {
background: radial-gradient(circle, #2aae67, #fff);
width: 100%;
height: 70px;
display: flex;
justify-content: center;
.container {
width: 70%;
display: flex;
.logo-container {
img {
margin-top: -35px;
}
}
}
}
</style>

View File

@ -1,15 +1,17 @@
<template>
<t-space direction="vertical">
<div>
<t-layout>
<t-header>Header</t-header>
<t-content>Content</t-content>
<t-footer>Footer</t-footer>
</t-layout>
</div>
</t-space>
<div>
<t-layout>
<t-header>
<hesder-top />
</t-header>
<t-content>Content</t-content>
<t-footer>Footer</t-footer>
</t-layout>
</div>
</template>
<script setup lang="ts"></script>
<script setup lang="ts">
import hesderTop from "./header/index.vue";
</script>
<style scoped></style>

View File

@ -1,6 +1,6 @@
{
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["env.d.ts", "src/**/*", "src/**/*.vue"],
"include": ["env.d.ts", "src/**/*", "src/**/*.vue" ],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"composite": true,