提交 41691b0f 编写于 作者: guangjun.yang's avatar guangjun.yang

修改上下文等

上级 115da7c5
# COMPONENTS
**This directory is not required, you can delete it if you don't want to use it.**
The components directory contains your Vue.js Components.
_Nuxt.js doesn't supercharge these components._
# LAYOUTS
**This directory is not required, you can delete it if you don't want to use it.**
This directory contains your Application Layouts.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/views#layouts).
# MIDDLEWARE
**This directory is not required, you can delete it if you don't want to use it.**
This directory contains your application middleware.
Middleware let you define custom functions that can be run before rendering either a page or a group of pages.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing#middleware).
...@@ -4,7 +4,7 @@ module.exports = { ...@@ -4,7 +4,7 @@ module.exports = {
** Headers of the page ** Headers of the page
*/ */
head: { head: {
title: '云鹊医-赋能基层医生', title: '医生节活动',
meta: [ meta: [
{ charset: 'utf-8' }, { charset: 'utf-8' },
// { name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui' }, // { name: 'viewport', content: 'width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no, minimal-ui' },
...@@ -58,7 +58,7 @@ module.exports = { ...@@ -58,7 +58,7 @@ module.exports = {
** Build configuration ** Build configuration
*/ */
router: { router: {
// base: '/nuxt_ssr/' //上下文根据自己的需求自行打开修改 base: '/compaign_ssr/'
}, },
build: { build: {
postcss: { postcss: {
......
{ {
"name": "nuxt-ssr", "name": "nuxt_ssr",
"version": "1.0.0", "version": "1.0.0",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
...@@ -13214,9 +13214,9 @@ ...@@ -13214,9 +13214,9 @@
} }
}, },
"web-buried-point": { "web-buried-point": {
"version": "2.0.0", "version": "2.1.0",
"resolved": "http://192.168.110.93:4873/web-buried-point/-/web-buried-point-2.0.0.tgz", "resolved": "http://192.168.110.93:4873/web-buried-point/-/web-buried-point-2.1.0.tgz",
"integrity": "sha512-CUZD6nQb9EUAImAYlXBWBnfrkBGT0CGHPA+f3Rs6JSvZ+s6AWVh22uu1xd+ZbYtSZGh+U3jI+2JTTLRAaIxlIA==", "integrity": "sha512-+jk1muRNQsj4tzbOHZ+yHRPSV+HHNoxcIvqCWkL3laxtq8bShsr5GYTiWLdpIfeJ348ndWLPlhG9lWIm4ksTEQ==",
"requires": { "requires": {
"axios": "^0.18.0" "axios": "^0.18.0"
}, },
......
{ {
"name": "nuxt_ssr", "name": "compaign_ssr",
"version": "1.0.0", "version": "1.0.0",
"description": "nuxt ssr layout", "description": "nuxt ssr layout",
"author": "souse", "author": "souse",
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
"koa": "^2.6.2", "koa": "^2.6.2",
"nuxt": "^2.0.0", "nuxt": "^2.0.0",
"vant": "^2.0.9", "vant": "^2.0.9",
"web-buried-point": "^2.0.0" "web-buried-point": "^v2.1.0"
}, },
"devDependencies": { "devDependencies": {
"@nuxtjs/axios": "^5.5.4", "@nuxtjs/axios": "^5.5.4",
......
# PAGES
This directory contains your Application Views and Routes.
The framework reads all the `*.vue` files inside this directory and creates the router of your application.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/routing).
...@@ -24,12 +24,12 @@ export default { ...@@ -24,12 +24,12 @@ export default {
return { hos: data.model.widgetList } return { hos: data.model.widgetList }
}, },
fetch() { // fetch() {
console.log('index page fetch'); // console.log('index page fetch');
return { // return {
fetch: 'fetch' // fetch: 'fetch'
} // }
}, // },
created() { created() {
// this.$store.dispatch('searchHospital', { name: '测试' }); // this.$store.dispatch('searchHospital', { name: '测试' });
}, },
......
# PLUGINS
**This directory is not required, you can delete it if you don't want to use it.**
This directory contains Javascript plugins that you want to run before mounting the root Vue.js application.
More information about the usage of this directory in [the documentation](https://nuxtjs.org/guide/plugins).
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册