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,
|
||||
}
|
||||
if (url && url !== '') {
|
||||
console.log("url", url)
|
||||
$axios.post('/web/pageSave',data)
|
||||
}
|
||||
}
|
@ -14,11 +14,12 @@ export default {
|
||||
head: {
|
||||
title: 'China Trailer, Truck, Trailer Parts, Truck Parts Manufacturers and Factory - Price - SINOTRUCK',
|
||||
meta: [
|
||||
{ charset: 'utf-8' },
|
||||
{name:"google-site-verification",content: "yvuzDTQlcVFJ3L9USTa-dDqYnXp1MA6bL2doJmcv9o8"},
|
||||
{ name: 'apple-mobile-web-app-capable', content: "yes" },
|
||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
||||
{ hid: 'http-equiv', 'http-equiv': "X-UA-Compatible", content: "IE=edge" },
|
||||
{charset: 'utf-8'},
|
||||
{name: "google-site-verification", content: "yvuzDTQlcVFJ3L9USTa-dDqYnXp1MA6bL2doJmcv9o8"},
|
||||
{name: "baidu-site-verification", content: "codeva-rPj1kaf82O"},
|
||||
{name: 'apple-mobile-web-app-capable', content: "yes"},
|
||||
{name: 'viewport', content: 'width=device-width, initial-scale=1'},
|
||||
{hid: 'http-equiv', 'http-equiv': "X-UA-Compatible", content: "IE=edge"},
|
||||
{
|
||||
name: 'keywords',
|
||||
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: [
|
||||
// { type:"text/javascript" , src: 'https://api.map.baidu.com/api?v=1.0&type=webgl&ak=otBoKESzaUj1nGjWiehnCP3AUyRKgikx'}
|
||||
//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: {
|
||||
@ -43,7 +49,7 @@ export default {
|
||||
/*
|
||||
** Customize the progress-bar color
|
||||
*/
|
||||
loading: { color: '#015fe8' },
|
||||
loading: {color: '#015fe8'},
|
||||
/*
|
||||
** Global CSS
|
||||
*/
|
||||
@ -62,12 +68,12 @@ export default {
|
||||
'~plugins/main',
|
||||
'~plugins/axios',
|
||||
// { src: "~plugins/websocket.js", ssr: true },
|
||||
{ src: "~plugins/router.js", ssr: true },
|
||||
{ src: "~plugins/i18n.js", ssr: true },
|
||||
{ src: "~plugins/element-ui.js", ssr: true },
|
||||
{ src: "~plugins/vue-piczoom.js", ssr: false },
|
||||
{ src: "~plugins/swiper.js", ssr: false },
|
||||
{ src: "~plugins/siteicon.js", ssr: false },
|
||||
{src: "~plugins/router.js", ssr: true},
|
||||
{src: "~plugins/i18n.js", ssr: true},
|
||||
{src: "~plugins/element-ui.js", ssr: true},
|
||||
{src: "~plugins/vue-piczoom.js", ssr: false},
|
||||
{src: "~plugins/swiper.js", ssr: false},
|
||||
{src: "~plugins/siteicon.js", ssr: false},
|
||||
],
|
||||
/*
|
||||
** Nuxt.js modules
|
||||
@ -104,7 +110,7 @@ export default {
|
||||
{
|
||||
path: '/products.xml',
|
||||
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 {
|
||||
url: `/products/${item.id}?catgId=${item.id}&maxCatgId=${item.maxCatgId}&title=${item.title}`,
|
||||
@ -118,7 +124,7 @@ export default {
|
||||
{
|
||||
path: '/inquiry.xml',
|
||||
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 {
|
||||
url: `/inquiry?maxCatgId=${item.maxCatgId}?title=${item.title}`,
|
||||
@ -132,7 +138,7 @@ export default {
|
||||
{
|
||||
path: '/article-page.xml',
|
||||
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 {
|
||||
url: `/article-page/${item.id}?catgId=${item.id}&maxCatgId=${item.maxCatgId}&title=${item.title}`,
|
||||
@ -146,7 +152,7 @@ export default {
|
||||
{
|
||||
path: '/separate.xml',
|
||||
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 {
|
||||
url: `/separate?maxCatgId=${item.maxCatgId}?title=${item.title}`,
|
||||
@ -160,7 +166,7 @@ export default {
|
||||
]
|
||||
},
|
||||
router: {
|
||||
middleware: ['burying-point','i18n', 'footer', 'header']
|
||||
middleware: ['burying-point', 'i18n', 'footer', 'header']
|
||||
},
|
||||
/*
|
||||
** Build configuration
|
||||
@ -171,7 +177,7 @@ export default {
|
||||
/*
|
||||
** You can extend webpack config here
|
||||
*/
|
||||
extend (config, ctx) {
|
||||
extend(config, ctx) {
|
||||
},
|
||||
plugins: [
|
||||
new webpack.ProvidePlugin({
|
||||
@ -195,10 +201,10 @@ export default {
|
||||
]
|
||||
],
|
||||
plugins: [
|
||||
["@babel/plugin-proposal-decorators", { "legacy": true }],
|
||||
["@babel/plugin-proposal-class-properties", { "loose": true }],
|
||||
["@babel/plugin-proposal-private-methods", { "loose": true }],
|
||||
["@babel/plugin-proposal-private-property-in-object", { "loose": true }],
|
||||
["@babel/plugin-proposal-decorators", {"legacy": true}],
|
||||
["@babel/plugin-proposal-class-properties", {"loose": true}],
|
||||
["@babel/plugin-proposal-private-methods", {"loose": true}],
|
||||
["@babel/plugin-proposal-private-property-in-object", {"loose": true}],
|
||||
]
|
||||
},
|
||||
transpile: [
|
||||
@ -207,9 +213,7 @@ export default {
|
||||
]
|
||||
},
|
||||
generate: {
|
||||
routes: [
|
||||
|
||||
]
|
||||
routes: []
|
||||
},
|
||||
server: {
|
||||
port: 3001,
|
||||
@ -217,7 +221,7 @@ export default {
|
||||
proxy: {
|
||||
'/dev': {
|
||||
target: 'https://admin.cdtrucktralier.com/',
|
||||
pathRewrite: { '^/dev': '' },
|
||||
pathRewrite: {'^/dev': ''},
|
||||
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