Skip to content

Commit

Permalink
prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
dian-yu-luo committed Jun 8, 2023
1 parent 92b81f7 commit a8fa99b
Show file tree
Hide file tree
Showing 11 changed files with 291 additions and 58 deletions.
106 changes: 98 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
},
"dependencies": {
"ant-design-vue": "^3.2.20",
"axios": "^1.4.0",
"core-js": "^3.8.3",
"vue": "^3.2.13",
"vue-router": "^4.0.3"
Expand Down
5 changes: 3 additions & 2 deletions src/App.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<a-layout>
<a-layout-sider style="background-color: rgba(0,81,255,0.57);">

<a-layout-sider style="background-color: rgba(199,23,23,0.57);">
<sidebar-view></sidebar-view>
</a-layout-sider>
<a-layout>
<a-layout-header style="background-color: rgba(188,245,179,0.69);">
Expand All @@ -20,4 +20,5 @@
</style>
<script setup>
import HeaderView from "@/views/HeaderView.vue";
import SidebarView from "@/views/SidebarView.vue";
</script>
29 changes: 29 additions & 0 deletions src/components/CircularProgress.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<script setup>
</script>

<template>
<div>
平局背诵时间
<br>
<a-progress type="circle" :percent="75" />
<br>
fa
</div>

</template>
<script>
export default {
}
</script>
<style scoped>
div {
margin: 10px;
}
</style>
36 changes: 8 additions & 28 deletions src/components/HelloWorld.vue
Original file line number Diff line number Diff line change
@@ -1,33 +1,13 @@
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<p>
For a guide and recipes on how to configure / customize this project,<br>
check out the
<a href="https://cli.vuejs.org" target="_blank" rel="noopener">vue-cli documentation</a>.
</p>
<h3>Installed CLI Plugins</h3>
<ul>
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel" target="_blank" rel="noopener">babel</a></li>
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-router" target="_blank" rel="noopener">router</a></li>
<li><a href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint" target="_blank" rel="noopener">eslint</a></li>
</ul>
<h3>Essential Links</h3>
<ul>
<li><a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a></li>
<li><a href="https://forum.vuejs.org" target="_blank" rel="noopener">Forum</a></li>
<li><a href="https://chat.vuejs.org" target="_blank" rel="noopener">Community Chat</a></li>
<li><a href="https://twitter.com/vuejs" target="_blank" rel="noopener">Twitter</a></li>
<li><a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a></li>
</ul>
<h3>Ecosystem</h3>
<ul>
<li><a href="https://router.vuejs.org" target="_blank" rel="noopener">vue-router</a></li>
<li><a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a></li>
<li><a href="https://github.com/vuejs/vue-devtools#vue-devtools" target="_blank" rel="noopener">vue-devtools</a></li>
<li><a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener">vue-loader</a></li>
<li><a href="https://github.com/vuejs/awesome-vue" target="_blank" rel="noopener">awesome-vue</a></li>
</ul>
主页面,可以被修改
<br>
厉害吧
<br>
能够的任务不足
<br>
时间不多

</div>
</template>

Expand Down
49 changes: 49 additions & 0 deletions src/components/RepeatWord.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
<script setup>
</script>

<template>
<br><br><br><br>
<a-input v-model:value="value" placeholder="Basic usage"/>
<br><br><br><br><br><br><br><br><br>
<a-button @click="logarea">ke</a-button>
<a-button @click="sendString">获得词组</a-button>
<a-button>xing</a-button>

<br><br>

</template>
<script>
import service from "@/utils/service";
export default {
data() {
return {
value: ""
}
},
methods: {
sendString() {
service.post(
"deal", {
data1: this.value
}
).then(res => {
console.log(res.data)
this.value = res.data
}).catch(
this.value="button 1 can't be click"
)
},
logarea() {
service.get("/1").then(res => {
console.log(res.data)
this.value = "logaaa"
})
}
}
}
</script>
<style scoped>
</style>
Loading

0 comments on commit a8fa99b

Please sign in to comment.