1
This commit is contained in:
parent
0138f03a97
commit
3d3bd4ae35
1
assets/baidu_verify_codeva-rPj1kaf82O.html
Normal file
1
assets/baidu_verify_codeva-rPj1kaf82O.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
37b7b9f213060edd2bd5922974481624
|
||||||
@ -15,6 +15,7 @@ export default async function ({
|
|||||||
equipment: store.state.device,
|
equipment: store.state.device,
|
||||||
}
|
}
|
||||||
if (url && url !== '') {
|
if (url && url !== '') {
|
||||||
|
console.log("url", url)
|
||||||
$axios.post('/web/pageSave',data)
|
$axios.post('/web/pageSave',data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -14,11 +14,12 @@ export default {
|
|||||||
head: {
|
head: {
|
||||||
title: 'China Trailer, Truck, Trailer Parts, Truck Parts Manufacturers and Factory - Price - SINOTRUCK',
|
title: 'China Trailer, Truck, Trailer Parts, Truck Parts Manufacturers and Factory - Price - SINOTRUCK',
|
||||||
meta: [
|
meta: [
|
||||||
{ charset: 'utf-8' },
|
{charset: 'utf-8'},
|
||||||
{name:"google-site-verification",content: "yvuzDTQlcVFJ3L9USTa-dDqYnXp1MA6bL2doJmcv9o8"},
|
{name: "google-site-verification", content: "yvuzDTQlcVFJ3L9USTa-dDqYnXp1MA6bL2doJmcv9o8"},
|
||||||
{ name: 'apple-mobile-web-app-capable', content: "yes" },
|
{name: "baidu-site-verification", content: "codeva-rPj1kaf82O"},
|
||||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
{name: 'apple-mobile-web-app-capable', content: "yes"},
|
||||||
{ hid: 'http-equiv', 'http-equiv': "X-UA-Compatible", content: "IE=edge" },
|
{name: 'viewport', content: 'width=device-width, initial-scale=1'},
|
||||||
|
{hid: 'http-equiv', 'http-equiv': "X-UA-Compatible", content: "IE=edge"},
|
||||||
{
|
{
|
||||||
name: 'keywords',
|
name: 'keywords',
|
||||||
content: 'China Trailer, Truck, Trailer Parts, Truck Parts Manufacturers and Factory - Price - SINOTRUCK,trailer, truck, trailer parts, truck parts'
|
content: 'China Trailer, Truck, Trailer Parts, Truck Parts Manufacturers and Factory - Price - SINOTRUCK,trailer, truck, trailer parts, truck parts'
|
||||||
@ -34,7 +35,12 @@ export default {
|
|||||||
script: [
|
script: [
|
||||||
// { type:"text/javascript" , src: 'https://api.map.baidu.com/api?v=1.0&type=webgl&ak=otBoKESzaUj1nGjWiehnCP3AUyRKgikx'}
|
// { type:"text/javascript" , src: 'https://api.map.baidu.com/api?v=1.0&type=webgl&ak=otBoKESzaUj1nGjWiehnCP3AUyRKgikx'}
|
||||||
//AI助手js
|
//AI助手js
|
||||||
{type:"text/javascript" , src: 'https://chat.cdtrucktralier.com/embed.min.js',id:"yadT02u1aNiBBDLa",defer:true}
|
{
|
||||||
|
type: "text/javascript",
|
||||||
|
src: 'https://chat.cdtrucktralier.com/embed.min.js',
|
||||||
|
id: "yadT02u1aNiBBDLa",
|
||||||
|
defer: true
|
||||||
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
env: {
|
env: {
|
||||||
@ -43,7 +49,7 @@ export default {
|
|||||||
/*
|
/*
|
||||||
** Customize the progress-bar color
|
** Customize the progress-bar color
|
||||||
*/
|
*/
|
||||||
loading: { color: '#015fe8' },
|
loading: {color: '#015fe8'},
|
||||||
/*
|
/*
|
||||||
** Global CSS
|
** Global CSS
|
||||||
*/
|
*/
|
||||||
@ -62,12 +68,12 @@ export default {
|
|||||||
'~plugins/main',
|
'~plugins/main',
|
||||||
'~plugins/axios',
|
'~plugins/axios',
|
||||||
// { src: "~plugins/websocket.js", ssr: true },
|
// { src: "~plugins/websocket.js", ssr: true },
|
||||||
{ src: "~plugins/router.js", ssr: true },
|
{src: "~plugins/router.js", ssr: true},
|
||||||
{ src: "~plugins/i18n.js", ssr: true },
|
{src: "~plugins/i18n.js", ssr: true},
|
||||||
{ src: "~plugins/element-ui.js", ssr: true },
|
{src: "~plugins/element-ui.js", ssr: true},
|
||||||
{ src: "~plugins/vue-piczoom.js", ssr: false },
|
{src: "~plugins/vue-piczoom.js", ssr: false},
|
||||||
{ src: "~plugins/swiper.js", ssr: false },
|
{src: "~plugins/swiper.js", ssr: false},
|
||||||
{ src: "~plugins/siteicon.js", ssr: false },
|
{src: "~plugins/siteicon.js", ssr: false},
|
||||||
],
|
],
|
||||||
/*
|
/*
|
||||||
** Nuxt.js modules
|
** Nuxt.js modules
|
||||||
@ -104,7 +110,7 @@ export default {
|
|||||||
{
|
{
|
||||||
path: '/products.xml',
|
path: '/products.xml',
|
||||||
routes: async () => {
|
routes: async () => {
|
||||||
const { data: res} = await axios.get('https://admin.cdtrucktralier.com/web/siteMap?catgType=cp&tenantId=main')
|
const {data: res} = await axios.get('https://admin.cdtrucktralier.com/web/siteMap?catgType=cp&tenantId=main')
|
||||||
return res.data.map(item => {
|
return res.data.map(item => {
|
||||||
return {
|
return {
|
||||||
url: `/products/${item.id}?catgId=${item.id}&maxCatgId=${item.maxCatgId}&title=${item.title}`,
|
url: `/products/${item.id}?catgId=${item.id}&maxCatgId=${item.maxCatgId}&title=${item.title}`,
|
||||||
@ -118,7 +124,7 @@ export default {
|
|||||||
{
|
{
|
||||||
path: '/inquiry.xml',
|
path: '/inquiry.xml',
|
||||||
routes: async () => {
|
routes: async () => {
|
||||||
const { data: res} = await axios.get('https://admin.cdtrucktralier.com/web/siteMap?catgType=xp&tenantId=main')
|
const {data: res} = await axios.get('https://admin.cdtrucktralier.com/web/siteMap?catgType=xp&tenantId=main')
|
||||||
return res.data.map(item => {
|
return res.data.map(item => {
|
||||||
return {
|
return {
|
||||||
url: `/inquiry?maxCatgId=${item.maxCatgId}?title=${item.title}`,
|
url: `/inquiry?maxCatgId=${item.maxCatgId}?title=${item.title}`,
|
||||||
@ -132,7 +138,7 @@ export default {
|
|||||||
{
|
{
|
||||||
path: '/article-page.xml',
|
path: '/article-page.xml',
|
||||||
routes: async () => {
|
routes: async () => {
|
||||||
const { data: res} = await axios.get('https://admin.cdtrucktralier.com/web/siteMap?catgType=wz&tenantId=main')
|
const {data: res} = await axios.get('https://admin.cdtrucktralier.com/web/siteMap?catgType=wz&tenantId=main')
|
||||||
return res.data.map(item => {
|
return res.data.map(item => {
|
||||||
return {
|
return {
|
||||||
url: `/article-page/${item.id}?catgId=${item.id}&maxCatgId=${item.maxCatgId}&title=${item.title}`,
|
url: `/article-page/${item.id}?catgId=${item.id}&maxCatgId=${item.maxCatgId}&title=${item.title}`,
|
||||||
@ -146,7 +152,7 @@ export default {
|
|||||||
{
|
{
|
||||||
path: '/separate.xml',
|
path: '/separate.xml',
|
||||||
routes: async () => {
|
routes: async () => {
|
||||||
const { data: res} = await axios.get('https://admin.cdtrucktralier.com/web/siteMap?catgType=dym&tenantId=main')
|
const {data: res} = await axios.get('https://admin.cdtrucktralier.com/web/siteMap?catgType=dym&tenantId=main')
|
||||||
return res.data.map(item => {
|
return res.data.map(item => {
|
||||||
return {
|
return {
|
||||||
url: `/separate?maxCatgId=${item.maxCatgId}?title=${item.title}`,
|
url: `/separate?maxCatgId=${item.maxCatgId}?title=${item.title}`,
|
||||||
@ -160,7 +166,7 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
router: {
|
router: {
|
||||||
middleware: ['burying-point','i18n', 'footer', 'header']
|
middleware: ['burying-point', 'i18n', 'footer', 'header']
|
||||||
},
|
},
|
||||||
/*
|
/*
|
||||||
** Build configuration
|
** Build configuration
|
||||||
@ -171,7 +177,7 @@ export default {
|
|||||||
/*
|
/*
|
||||||
** You can extend webpack config here
|
** You can extend webpack config here
|
||||||
*/
|
*/
|
||||||
extend (config, ctx) {
|
extend(config, ctx) {
|
||||||
},
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
new webpack.ProvidePlugin({
|
new webpack.ProvidePlugin({
|
||||||
@ -195,10 +201,10 @@ export default {
|
|||||||
]
|
]
|
||||||
],
|
],
|
||||||
plugins: [
|
plugins: [
|
||||||
["@babel/plugin-proposal-decorators", { "legacy": true }],
|
["@babel/plugin-proposal-decorators", {"legacy": true}],
|
||||||
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
["@babel/plugin-proposal-class-properties", {"loose": true}],
|
||||||
["@babel/plugin-proposal-private-methods", { "loose": true }],
|
["@babel/plugin-proposal-private-methods", {"loose": true}],
|
||||||
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
|
["@babel/plugin-proposal-private-property-in-object", {"loose": true}],
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
transpile: [
|
transpile: [
|
||||||
@ -207,9 +213,7 @@ export default {
|
|||||||
]
|
]
|
||||||
},
|
},
|
||||||
generate: {
|
generate: {
|
||||||
routes: [
|
routes: []
|
||||||
|
|
||||||
]
|
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
port: 3001,
|
port: 3001,
|
||||||
@ -217,7 +221,7 @@ export default {
|
|||||||
proxy: {
|
proxy: {
|
||||||
'/dev': {
|
'/dev': {
|
||||||
target: 'https://admin.cdtrucktralier.com/',
|
target: 'https://admin.cdtrucktralier.com/',
|
||||||
pathRewrite: { '^/dev': '' },
|
pathRewrite: {'^/dev': ''},
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
1
static/baidu_verify_codeva-rPj1kaf82O.html
Normal file
1
static/baidu_verify_codeva-rPj1kaf82O.html
Normal file
@ -0,0 +1 @@
|
|||||||
|
37b7b9f213060edd2bd5922974481624
|
||||||
Loading…
Reference in New Issue
Block a user