diff --git a/src/api/SpongeCulture.js b/src/api/SpongeCulture.js new file mode 100644 index 0000000..55add52 --- /dev/null +++ b/src/api/SpongeCulture.js @@ -0,0 +1,18 @@ +import request from '@/utils/request'; + +// 海绵文化 +export function specialNavList(query) { + return request({ + url: '/publicService/trainAndPublicize/list', + method: 'get', + params: query, + }); +} + +// 海绵文化 详情 +export function specialNavDetail(id) { + return request({ + url: '/publicService/trainAndPublicize/' + id, + method: 'get', + }); +} diff --git a/src/api/SpongeCulture.js b/src/api/SpongeCulture.js new file mode 100644 index 0000000..55add52 --- /dev/null +++ b/src/api/SpongeCulture.js @@ -0,0 +1,18 @@ +import request from '@/utils/request'; + +// 海绵文化 +export function specialNavList(query) { + return request({ + url: '/publicService/trainAndPublicize/list', + method: 'get', + params: query, + }); +} + +// 海绵文化 详情 +export function specialNavDetail(id) { + return request({ + url: '/publicService/trainAndPublicize/' + id, + method: 'get', + }); +} diff --git a/src/assets/images/mrzp.png b/src/assets/images/mrzp.png new file mode 100644 index 0000000..b62f993 --- /dev/null +++ b/src/assets/images/mrzp.png Binary files differ diff --git a/src/api/SpongeCulture.js b/src/api/SpongeCulture.js new file mode 100644 index 0000000..55add52 --- /dev/null +++ b/src/api/SpongeCulture.js @@ -0,0 +1,18 @@ +import request from '@/utils/request'; + +// 海绵文化 +export function specialNavList(query) { + return request({ + url: '/publicService/trainAndPublicize/list', + method: 'get', + params: query, + }); +} + +// 海绵文化 详情 +export function specialNavDetail(id) { + return request({ + url: '/publicService/trainAndPublicize/' + id, + method: 'get', + }); +} diff --git a/src/assets/images/mrzp.png b/src/assets/images/mrzp.png new file mode 100644 index 0000000..b62f993 --- /dev/null +++ b/src/assets/images/mrzp.png Binary files differ diff --git a/src/router/index.js b/src/router/index.js index 30b7cc9..ac2a5f2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -67,6 +67,12 @@ meta: { keepAlive: false, title: '修改密码', ifShowHead: true, ifBack: true }, }, { + path: '/newsdetail', + name: 'newsdetail', + component: () => import('@/views/xuncha/components/newsdetail.vue'), + meta: { keepAlive: false, title: '详情', ifShowHead: true }, + }, + { path: '/codeQR', name: 'codeQR', component: () => import('@/views/home/codeQR.vue'), diff --git a/src/api/SpongeCulture.js b/src/api/SpongeCulture.js new file mode 100644 index 0000000..55add52 --- /dev/null +++ b/src/api/SpongeCulture.js @@ -0,0 +1,18 @@ +import request from '@/utils/request'; + +// 海绵文化 +export function specialNavList(query) { + return request({ + url: '/publicService/trainAndPublicize/list', + method: 'get', + params: query, + }); +} + +// 海绵文化 详情 +export function specialNavDetail(id) { + return request({ + url: '/publicService/trainAndPublicize/' + id, + method: 'get', + }); +} diff --git a/src/assets/images/mrzp.png b/src/assets/images/mrzp.png new file mode 100644 index 0000000..b62f993 --- /dev/null +++ b/src/assets/images/mrzp.png Binary files differ diff --git a/src/router/index.js b/src/router/index.js index 30b7cc9..ac2a5f2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -67,6 +67,12 @@ meta: { keepAlive: false, title: '修改密码', ifShowHead: true, ifBack: true }, }, { + path: '/newsdetail', + name: 'newsdetail', + component: () => import('@/views/xuncha/components/newsdetail.vue'), + meta: { keepAlive: false, title: '详情', ifShowHead: true }, + }, + { path: '/codeQR', name: 'codeQR', component: () => import('@/views/home/codeQR.vue'), diff --git a/src/views/home/home_news.vue b/src/views/home/home_news.vue index de7f817..42fae10 100644 --- a/src/views/home/home_news.vue +++ b/src/views/home/home_news.vue @@ -1,18 +1,80 @@ diff --git a/src/api/SpongeCulture.js b/src/api/SpongeCulture.js new file mode 100644 index 0000000..55add52 --- /dev/null +++ b/src/api/SpongeCulture.js @@ -0,0 +1,18 @@ +import request from '@/utils/request'; + +// 海绵文化 +export function specialNavList(query) { + return request({ + url: '/publicService/trainAndPublicize/list', + method: 'get', + params: query, + }); +} + +// 海绵文化 详情 +export function specialNavDetail(id) { + return request({ + url: '/publicService/trainAndPublicize/' + id, + method: 'get', + }); +} diff --git a/src/assets/images/mrzp.png b/src/assets/images/mrzp.png new file mode 100644 index 0000000..b62f993 --- /dev/null +++ b/src/assets/images/mrzp.png Binary files differ diff --git a/src/router/index.js b/src/router/index.js index 30b7cc9..ac2a5f2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -67,6 +67,12 @@ meta: { keepAlive: false, title: '修改密码', ifShowHead: true, ifBack: true }, }, { + path: '/newsdetail', + name: 'newsdetail', + component: () => import('@/views/xuncha/components/newsdetail.vue'), + meta: { keepAlive: false, title: '详情', ifShowHead: true }, + }, + { path: '/codeQR', name: 'codeQR', component: () => import('@/views/home/codeQR.vue'), diff --git a/src/views/home/home_news.vue b/src/views/home/home_news.vue index de7f817..42fae10 100644 --- a/src/views/home/home_news.vue +++ b/src/views/home/home_news.vue @@ -1,18 +1,80 @@ diff --git a/src/views/xuncha/components/newsdetail.vue b/src/views/xuncha/components/newsdetail.vue new file mode 100644 index 0000000..a54790c --- /dev/null +++ b/src/views/xuncha/components/newsdetail.vue @@ -0,0 +1,72 @@ + + + + diff --git a/src/api/SpongeCulture.js b/src/api/SpongeCulture.js new file mode 100644 index 0000000..55add52 --- /dev/null +++ b/src/api/SpongeCulture.js @@ -0,0 +1,18 @@ +import request from '@/utils/request'; + +// 海绵文化 +export function specialNavList(query) { + return request({ + url: '/publicService/trainAndPublicize/list', + method: 'get', + params: query, + }); +} + +// 海绵文化 详情 +export function specialNavDetail(id) { + return request({ + url: '/publicService/trainAndPublicize/' + id, + method: 'get', + }); +} diff --git a/src/assets/images/mrzp.png b/src/assets/images/mrzp.png new file mode 100644 index 0000000..b62f993 --- /dev/null +++ b/src/assets/images/mrzp.png Binary files differ diff --git a/src/router/index.js b/src/router/index.js index 30b7cc9..ac2a5f2 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -67,6 +67,12 @@ meta: { keepAlive: false, title: '修改密码', ifShowHead: true, ifBack: true }, }, { + path: '/newsdetail', + name: 'newsdetail', + component: () => import('@/views/xuncha/components/newsdetail.vue'), + meta: { keepAlive: false, title: '详情', ifShowHead: true }, + }, + { path: '/codeQR', name: 'codeQR', component: () => import('@/views/home/codeQR.vue'), diff --git a/src/views/home/home_news.vue b/src/views/home/home_news.vue index de7f817..42fae10 100644 --- a/src/views/home/home_news.vue +++ b/src/views/home/home_news.vue @@ -1,18 +1,80 @@ diff --git a/src/views/xuncha/components/newsdetail.vue b/src/views/xuncha/components/newsdetail.vue new file mode 100644 index 0000000..a54790c --- /dev/null +++ b/src/views/xuncha/components/newsdetail.vue @@ -0,0 +1,72 @@ + + + + diff --git a/vite.config.js b/vite.config.js index e8abe46..e75b139 100644 --- a/vite.config.js +++ b/vite.config.js @@ -9,8 +9,8 @@ const Timestamp = new Date().getTime(); //随机时间戳 -const targetUrl = 'http://192.168.20.52:7300'; //杨辉 -// const targetUrl = 'https://server2.wh-nf.cn:8082/prod-api'; //线上 +// const targetUrl = 'http://192.168.20.52:7300'; //杨辉 +const targetUrl = 'https://server2.wh-nf.cn:8082/prod-api'; //线上 export default defineConfig({ // 地址是和router中和ngix中配置的名称一致