提交 6357c788 编写于 作者: X xudan1234

Auto Commit

上级 87a2433f
...@@ -13,37 +13,35 @@ import CreatVue from './components/CreatVue.vue' ...@@ -13,37 +13,35 @@ import CreatVue from './components/CreatVue.vue'
<CreatVue msg="who is it ?"/> <CreatVue msg="who is it ?"/>
</div> --> </div> -->
<div class="xd"> <div class="xd">
<CreatVue msg="CreatVue"/> <CreatVue msg="CreatVue" />
</div> </div>
</header> </header>
<main> <!-- <main>
<TheWelcome /> <TheWelcome />
</main> </main> -->
</template> </template>
<style scoped> <style scoped>
header { header {
line-height: 1.5; line-height: 2;
text-align: center;
} }
.xd{ .xd{
display: flex; display: block;
place-items: center;
padding-right: calc(var(--section-gap) / 1.5);
} }
.logo { .logo {
display: block; display: block;
margin: 0 auto 2rem; margin: 0 auto 2rem;
} }
/* @media (min-width: 1024px) {
@media (min-width: 1024px) {
header { header {
display: flex; display: flex;
place-items: center; place-items: center;
text-align: center;
padding-right: calc(var(--section-gap) / 2); padding-right: calc(var(--section-gap) / 2);
} }
...@@ -56,5 +54,5 @@ header { ...@@ -56,5 +54,5 @@ header {
place-items: flex-start; place-items: flex-start;
flex-wrap: wrap; flex-wrap: wrap;
} }
} } */
</style> </style>
...@@ -3,8 +3,7 @@ ...@@ -3,8 +3,7 @@
#app { #app {
max-width: 1280px; max-width: 1280px;
margin: 0 auto; margin: 0 auto;
padding: 2rem; /* padding: 2rem; */
font-weight: normal; font-weight: normal;
} }
......
...@@ -18,10 +18,11 @@ const count = ref(0) ...@@ -18,10 +18,11 @@ const count = ref(0)
</script> </script>
<template> <template>
<h1>{{ msg }}</h1> <!-- <h1>{{ msg }}</h1> -->
<div id="app"> <div id="app">
<button @click="count++" style="font-size: 20px;"> <span><h1>{{ msg }}</h1></span>
<span> count is: {{ count }} </span> <span>
</button> <button @click="count++" style="font-size: 20px; border-radius: 6px;; border: 2px solid #008CBA; background-color: #4CAF50;">count is: {{ count }} </button>
</span>
</div> </div>
</template> </template>
\ No newline at end of file
import { createApp } from 'vue' import { createApp } from 'vue'
import App from './App.vue' import App from './App.vue'
import './assets/main.css' // import './assets/main.css'
createApp(App).mount('#app') createApp(App).mount('#app')
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册