开始制作招聘页面

This commit is contained in:
zhcnyuyang 2025-05-09 16:19:41 +08:00
parent 015cef2587
commit 9fcf3be971
2 changed files with 22 additions and 11 deletions

16
src/components/Wanted.vue Normal file
View File

@ -0,0 +1,16 @@
<template>
<div id="jobpanel" class="pageroot" style="background-color: white">
</div>
</template>
<script>
export default {
name: "Wanted"
}
</script>
<style scoped lang="scss">
@import "src/publicstyle.scss";
</style>

View File

@ -1,20 +1,15 @@
import { createApp } from 'vue' import { createApp } from 'vue'
import App from './App.vue' import App from './App.vue'
import router from './router.js' import router from './router.js'
import axios from 'axios'
// 引入Bootstrap CSS // 引入Bootstrap CSS
import 'bootstrap/dist/css/bootstrap.min.css' import 'bootstrap/dist/css/bootstrap.min.css'
// 引入Bootstrap JSbundle版本 // 引入Bootstrap JSbundle版本
import 'bootstrap/dist/js/bootstrap.bundle.min.js' import 'bootstrap/dist/js/bootstrap.bundle.min.js'
createApp(App).use(router).mount('#app') const app = createApp(App)
// new Vue({ axios.defaults.baseURL = 'http://cms.yangprivate.site'
// el: '#app', // 全局挂载 axios所有组件都可以 this.$axios 访问
// router, app.config.globalProperties.$axios = axios
// components: { App }, app.use(router).mount('#app')
// template: '<App/>'
// })
// const app = createApp(App)
// app.use(router)
// app.mount('#app')