优化
@ -1,17 +1,17 @@
|
||||
|
||||
@font-face {
|
||||
font-family: 'SourceHanSansCN-Heavy'; /* 自定义字体的名称 */
|
||||
src: url('../fonts/SourceHanSansCN-Heavy.otf') format('opentype'); /* 字体文件的路径 */
|
||||
src: url('https://web.cdtrucktralier.com/fonts/SourceHanSansCN-Heavy.otf') format('opentype'); /* 字体文件的路径 */
|
||||
font-weight: normal; /* 字体的粗细 */
|
||||
font-style: normal; /* 字体的样式 */
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'SourceHanSansCN-Regular'; /* 自定义字体的名称 */
|
||||
src: url('../fonts/SourceHanSansCN-Regular.otf') format('opentype'); /* 字体文件的路径 */
|
||||
src: url('https://web.cdtrucktralier.com/fonts/SourceHanSansCN-Regular.otf') format('opentype'); /* 字体文件的路径 */
|
||||
font-weight: normal; /* 字体的粗细 */
|
||||
font-style: normal; /* 字体的样式 */
|
||||
}
|
||||
|
||||
address, caption, cite, code, dfn, em, th, var { font-style:normal; font-weight:normal;}
|
||||
a { display: inline-block; color:#555; text-decoration:none; }
|
||||
a:hover { text-decoration:none; }
|
||||
|
Before Width: | Height: | Size: 287 KiB After Width: | Height: | Size: 104 KiB |
Before Width: | Height: | Size: 229 KiB After Width: | Height: | Size: 57 KiB |
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 114 KiB After Width: | Height: | Size: 38 KiB |
Before Width: | Height: | Size: 1.4 MiB After Width: | Height: | Size: 430 KiB |
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 43 KiB |
Before Width: | Height: | Size: 203 KiB After Width: | Height: | Size: 63 KiB |
Before Width: | Height: | Size: 335 KiB After Width: | Height: | Size: 152 KiB |
@ -15,6 +15,7 @@
|
||||
default-expand-all
|
||||
:props="props"
|
||||
:current-node-key="currentNodeKey"
|
||||
:expand-on-click-node="false"
|
||||
@current-change="handleNodeClick"
|
||||
/>
|
||||
</no-ssr>
|
||||
@ -99,16 +100,14 @@ export default {
|
||||
},
|
||||
methods: {
|
||||
handleNodeClick(row,node) {
|
||||
if (node.isLeaf) {
|
||||
this.$router.push({
|
||||
path: `${this.baseUrl}`,
|
||||
query: {
|
||||
...this.$route.query,
|
||||
catgId: row.id,
|
||||
title: node.data.label
|
||||
}
|
||||
})
|
||||
}
|
||||
this.$router.push({
|
||||
path: `${this.baseUrl}`,
|
||||
query: {
|
||||
...this.$route.query,
|
||||
catgId: row.id,
|
||||
title: node.data.label
|
||||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"common": {
|
||||
"readMore": "READ MORE",
|
||||
"readMore": "VIEW MORE",
|
||||
"viewDetails": "view details",
|
||||
"truckModel": "Truck Model",
|
||||
"dimension": "Dimension (LxWxH)(mm)",
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"common": {
|
||||
"readMore": "阅读更多",
|
||||
"readMore": "查看更多",
|
||||
"viewDetails": "查看详情",
|
||||
"truckModel": "卡车型号",
|
||||
"dimension": "尺寸(长x宽x高)(毫米)",
|
||||
|
17497
package-lock.json
generated
@ -43,7 +43,12 @@
|
||||
</nuxt-link>
|
||||
</li>
|
||||
</ul>
|
||||
<nuxt-link class="more box_shadow" to="/separate?maxCatgId=66c10877ee325e7f5da316e69ceb2eb9&title=About%20Us">{{ $t('common.readMore') }}</nuxt-link>
|
||||
<nuxt-link
|
||||
class="more box_shadow"
|
||||
to="/separate?maxCatgId=66c10877ee325e7f5da316e69ceb2eb9&title=About%20Us"
|
||||
>
|
||||
{{ $t('common.readMore') }}
|
||||
</nuxt-link>
|
||||
<b-img class="word-img" src="../assets/image/backGroundImg/home-world.png" alt="word" fluid ></b-img>
|
||||
</div>
|
||||
</section>
|
||||
@ -85,7 +90,12 @@
|
||||
</b-carousel-slide>
|
||||
</b-carousel>
|
||||
<template v-if="hotProductList.length >0">
|
||||
<nuxt-link class="more box_shadow" :to="`/products?maxCatgId=${hotProductList[0].maxCatgId}`">{{ $t('common.readMore') }}</nuxt-link>
|
||||
<nuxt-link
|
||||
class="more box_shadow"
|
||||
:to="`/products?maxCatgId=${hotProductList[0].maxCatgId}`"
|
||||
>
|
||||
{{ $t('common.readMore') }}
|
||||
</nuxt-link>
|
||||
</template>
|
||||
</section>
|
||||
|
||||
@ -118,7 +128,12 @@
|
||||
</li>
|
||||
</ul>
|
||||
<template v-if="productTopList.length">
|
||||
<nuxt-link class="more box_shadow" :to="`/products?&maxCatgId=${productTopList[0].maxCatgId}`">{{ $t('common.readMore') }}</nuxt-link>
|
||||
<nuxt-link
|
||||
class="more box_shadow"
|
||||
:to="`/products?&maxCatgId=${productTopList[0].maxCatgId}`"
|
||||
>
|
||||
{{ $t('common.readMore') }}
|
||||
</nuxt-link>
|
||||
</template>
|
||||
</div>
|
||||
</section>
|
||||
@ -168,7 +183,12 @@
|
||||
</ul>
|
||||
</div>
|
||||
<template v-if="hotNewsList.length">
|
||||
<nuxt-link class="more box_shadow mb-4" :to="`/article-page?&maxCatgId=${hotNewsList[0].maxCatgId}`">{{ $t('common.readMore') }}</nuxt-link>
|
||||
<nuxt-link
|
||||
class="more box_shadow mb-4"
|
||||
:to="`/article-page?&maxCatgId=${hotNewsList[0].maxCatgId}`"
|
||||
>
|
||||
{{ $t('common.readMore') }}
|
||||
</nuxt-link>
|
||||
</template>
|
||||
</div>
|
||||
</section>
|
||||
|
@ -36,7 +36,7 @@ export default {
|
||||
},
|
||||
head() {
|
||||
return {
|
||||
title: this.pageInfo.title,
|
||||
title: this.pageInfo.catgName,
|
||||
meta: [
|
||||
{
|
||||
hid: 'keywords',
|
||||
|