Commit a736b8cc by suwenbiao

更新

parent 208365d0
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue": "^4.2.3",
"sass": "^1.69.5", "sass": "^1.69.5",
"typescript": "^5.0.2", "typescript": "^5.2.2",
"vite": "^4.4.5", "vite": "^4.4.5",
"vue-tsc": "^1.8.5" "vue-tsc": "^1.8.5"
} }
...@@ -4386,7 +4386,7 @@ ...@@ -4386,7 +4386,7 @@
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "5.2.2", "version": "5.2.2",
"resolved": "https://registry.npmmirror.com/typescript/-/typescript-5.2.2.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
"integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==", "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
"devOptional": true, "devOptional": true,
"bin": { "bin": {
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
"devDependencies": { "devDependencies": {
"@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue": "^4.2.3",
"sass": "^1.69.5", "sass": "^1.69.5",
"typescript": "^5.0.2", "typescript": "^5.2.2",
"vite": "^4.4.5", "vite": "^4.4.5",
"vue-tsc": "^1.8.5" "vue-tsc": "^1.8.5"
} }
......
<script setup lang="ts"> <script setup lang="ts">
import HelloWorld from './components/HelloWorld.vue'
import HomeView from './views/HomeView.vue'
</script> </script>
<template> <template>
<HomeView /> <router-view></router-view>
<HelloWorld msg="Vite + Vue" />
</template> </template>
<style scoped> <style scoped>
......
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>
\ No newline at end of file
...@@ -13,7 +13,10 @@ ...@@ -13,7 +13,10 @@
-moz-osx-font-smoothing: grayscale; -moz-osx-font-smoothing: grayscale;
-webkit-text-size-adjust: 100%; -webkit-text-size-adjust: 100%;
} }
*{
margin:0;
padding:0
}
a { a {
font-weight: 500; font-weight: 500;
color: #646cff; color: #646cff;
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
style="width:220px;" style="width:220px;"
> >
<div style="height:50xp;line-height:50px;"> <div style="height:50xp;line-height:50px;">
<img style="width:32px;height:32px;vertical-align:middle;margin-right:10px;" src="../assets/logo.png" alt=""> <img style="width:32px;height:32px;vertical-align:middle;margin-right:10px;" src="../assets/logo.ico" alt="">
<span style="font-size: 18px;font-weight:bold;color:#fff;position: relative;top:3px;">欧畅云技术支持</span> <span style="font-size: 18px;font-weight:bold;color:#fff;position: relative;top:3px;">欧畅云技术支持</span>
</div> </div>
<el-menu-item index="0"> <el-menu-item index="0">
...@@ -32,16 +32,16 @@ ...@@ -32,16 +32,16 @@
</el-row> </el-row>
</template> </template>
<script lang="ts" setup> <script setup lang="ts" >
import { import {
Promotion, Promotion,
HomeFilled, HomeFilled,
Tools, Tools,
} from '@element-plus/icons-vue' } from '@element-plus/icons-vue'
import welcome from '../components/welcome/welcome.vue' import Welcome from '../components/welcome/welcome.vue'
comments:{ comments:{
welcome Welcome
} }
const handleOpen = (key: string, keyPath: string[]) => { const handleOpen = (key: string, keyPath: string[]) => {
console.log(key, keyPath) console.log(key, keyPath)
......
/// <reference types="vite/client" /> /// <reference types="vite/client" />
declare module "*.vue" {
import type { DefineComponent } from "vue";
const vueComponent: DefineComponent<{}, {}, any>;
export default vueComponent;
}
\ No newline at end of file
...@@ -7,8 +7,7 @@ ...@@ -7,8 +7,7 @@
"skipLibCheck": true, "skipLibCheck": true,
/* Bundler mode */ /* Bundler mode */
"moduleResolution": "bundler", "moduleResolution": "Node",
"allowImportingTsExtensions": true,
"resolveJsonModule": true, "resolveJsonModule": true,
"isolatedModules": true, "isolatedModules": true,
"noEmit": true, "noEmit": true,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment