- 我的资料
- 我的项目
- 我的账户
- 隐私设置
+ 我的资料
+ 我的项目
+ 我的账户
+ 隐私设置
@@ -47,8 +47,10 @@ export default {
}
.active{
+ color:#FADA3C ;
border-left: 5px solid #FADA3C;
- background-color: #f9f8f7;
+ background-color: #FCF8E1;
+ border-radius: 4px;
}
.preview {
width: 696px;
diff --git a/share_project/src/main/resources/static/person-nav/src/plugins/axios.js b/share_project/src/main/resources/static/person-nav/src/plugins/axios.js
new file mode 100644
index 0000000000000000000000000000000000000000..dacf1952e69560c91426efee87e86fc43d0184e3
--- /dev/null
+++ b/share_project/src/main/resources/static/person-nav/src/plugins/axios.js
@@ -0,0 +1,61 @@
+"use strict";
+
+import Vue from 'vue';
+import axios from "axios";
+
+// Full config: https://github.com/axios/axios#request-config
+// axios.defaults.baseURL = process.env.baseURL || process.env.apiUrl || '';
+// axios.defaults.headers.common['Authorization'] = AUTH_TOKEN;
+// axios.defaults.headers.post['Content-Type'] = 'application/x-www-form-urlencoded';
+
+let config = {
+ // baseURL: process.env.baseURL || process.env.apiUrl || ""
+ // timeout: 60 * 1000, // Timeout
+ // withCredentials: true, // Check cross-site Access-Control
+};
+
+const _axios = axios.create(config);
+
+_axios.interceptors.request.use(
+ function(config) {
+ // Do something before request is sent
+ return config;
+ },
+ function(error) {
+ // Do something with request error
+ return Promise.reject(error);
+ }
+);
+
+// Add a response interceptor
+_axios.interceptors.response.use(
+ function(response) {
+ // Do something with response data
+ return response;
+ },
+ function(error) {
+ // Do something with response error
+ return Promise.reject(error);
+ }
+);
+
+Plugin.install = function(Vue, options) {
+ Vue.axios = _axios;
+ window.axios = _axios;
+ Object.defineProperties(Vue.prototype, {
+ axios: {
+ get() {
+ return _axios;
+ }
+ },
+ $axios: {
+ get() {
+ return _axios;
+ }
+ },
+ });
+};
+
+Vue.use(Plugin)
+
+export default Plugin;
diff --git a/share_project/src/main/resources/static/person-nav/src/router/index.js b/share_project/src/main/resources/static/person-nav/src/router/index.js
index 58a152dd42dfd206518fe5dbe7d7d7a54468832f..0784991647043a6182e8798a4fc79dd2fe61c484 100644
--- a/share_project/src/main/resources/static/person-nav/src/router/index.js
+++ b/share_project/src/main/resources/static/person-nav/src/router/index.js
@@ -14,6 +14,9 @@ const projectwaitcheck = ()=>import("../components/project-waitcheck.vue")
const projectpublished = ()=>import("../components/project-published.vue")
const projectfinished = ()=>import("../components/project-finished.vue")
const privateconfirm = ()=>import("../components/private-confirm.vue")
+const guangdong =()=>import("../components/province/guangdong.vue")
+const guangxi =()=>import("../components/province/guangxi.vue")
+
Vue.use(Router)
const router = new Router({
@@ -39,7 +42,22 @@ const router = new Router({
},
{
path:"modify",
- component:materialModify
+ component:materialModify,
+ children:[
+ {
+ path:"",
+ redirect:"guangdong"
+ },
+ {
+ path:"guangdong",
+ component:guangdong
+ },
+ {
+ path:"guangxi",
+ component:guangxi
+ }
+
+ ]
},
{
path:"save",