diff --git a/assets/css/base.css b/assets/css/base.css
index 6b4e79d..bd42473 100644
--- a/assets/css/base.css
+++ b/assets/css/base.css
@@ -48,4 +48,13 @@ body{
.container, .container-sm, .container-md, .container-lg, .container-xl {
max-width: 1200px;
}
+}
+
+.page-enter-active,
+.page-leave-active {
+ transition: opacity 0.3s ease;
+}
+.page-enter,
+.page-leave-to {
+ opacity: 0;
}
\ No newline at end of file
diff --git a/assets/image/banner/aboutus-banner.png b/assets/image/banner/aboutus-banner.png
new file mode 100644
index 0000000..5daafc5
Binary files /dev/null and b/assets/image/banner/aboutus-banner.png differ
diff --git a/components/banner-top.vue b/components/banner-top.vue
new file mode 100644
index 0000000..f6d368f
--- /dev/null
+++ b/components/banner-top.vue
@@ -0,0 +1,89 @@
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/components/header.vue b/components/header.vue
index 3420896..4b7166a 100644
--- a/components/header.vue
+++ b/components/header.vue
@@ -9,14 +9,14 @@
-
- {{ item }}
-
+ {{ item.name }}
+
Account
@@ -45,7 +45,15 @@ export default {
data() {
return {
searchVal: '',
- menuList: ['Home','About Us','Products','News','Exhibition','Contact Us','Feedback']
+ menuList: [
+ { name: this.$t('menu.Home'), href: '/' },
+ { name: this.$t('menu.AboutUs'), href: '/abou-us' },
+ { name: this.$t('menu.Products'), href: '/' },
+ { name: this.$t('menu.News'), href: '/' },
+ { name: this.$t('menu.Exhibition'), href: '/' },
+ { name: this.$t('menu.ContactUs'), href: '/' },
+ { name: this.$t('menu.Feedback'), href: '/' },
+ ]
}
},
}
diff --git a/locales/en.json b/locales/en.json
index 8860fd6..9236460 100644
--- a/locales/en.json
+++ b/locales/en.json
@@ -17,6 +17,15 @@
"send": "SEND",
"enterEail": "Enter your email here"
},
+ "menu": {
+ "Home": "Home",
+ "AboutUs": "AboutUs",
+ "Products": "Products",
+ "News": "News",
+ "Exhibition": "Exhibition",
+ "ContactUs": "ContactUs",
+ "Feedback": "Feedback"
+ },
"index": {
"companyProfile": "COMPANY PROFILE",
"corporateName": "SINOTRUCK HOWO SALES CO.,LTD.",
@@ -31,7 +40,12 @@
"realTimeNewsReadingOnline": "Real-time news reading online",
"joinOurNewsletter": "JOIN OUR NEWSLETTER",
"signUpOurNewsletter": "Sign up our newsletter and get more events & promotions!"
- },
+ },
+ "aboutUs": {
+ "AboutUs": "About Us",
+ "company": "Sinotruck Howo Sales Co.,Ltd",
+ "address": "Room 2403, No.1 Yinzuo Jingdu Mansion, Shunhe East Street No.66, District Shizhong, Jinan city, shandong province, China"
+ },
"footer": {
"contactUs": "Contact us"
}
diff --git a/locales/zh.json b/locales/zh.json
index cfd18c6..8d3b63d 100644
--- a/locales/zh.json
+++ b/locales/zh.json
@@ -17,6 +17,15 @@
"send": "发送",
"enterEail": "在此处输入您的电子邮件"
},
+ "menu": {
+ "Home": "首页",
+ "AboutUs": "关于我们",
+ "Products": "产品",
+ "News": "新闻",
+ "Exhibition": "展览",
+ "ContactUs": "联系我们",
+ "Feedback": "反馈"
+ },
"index": {
"companyProfile": "公司简介",
"corporateName": "中国重汽豪沃销售有限公司",
@@ -32,6 +41,11 @@
"joinOurNewsletter": "加入我们的实时通讯",
"signUpOurNewsletter": "注册我们的实时通讯,获取更多活动和促销!"
},
+ "aboutUs": {
+ "AboutUs": "关于我们",
+ "company": "中车豪沃销售有限公司",
+ "address": "中国山东省济南市市中区顺河东街66号银座京都大厦1号2403室"
+ },
"footer": {
"contactUs": "联系我们"
}
diff --git a/nuxt.config.js b/nuxt.config.js
index 7702db1..1366523 100644
--- a/nuxt.config.js
+++ b/nuxt.config.js
@@ -3,6 +3,10 @@ const webpack = require('webpack')
export default {
buildDir: 'nuxt-dist',
+ transition: {
+ name: 'page',
+ mode: 'out-in'
+ },
/*
** Headers of the page
*/
@@ -35,7 +39,7 @@ export default {
/*
** Customize the progress-bar color
*/
- loading: { color: '#073B8C' },
+ loading: { color: '#015fe8' },
/*
** Global CSS
*/
diff --git a/pages/abou-us.vue b/pages/abou-us.vue
new file mode 100644
index 0000000..3c01715
--- /dev/null
+++ b/pages/abou-us.vue
@@ -0,0 +1,30 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/plugins/main.js b/plugins/main.js
index bc30fdd..a327bc6 100644
--- a/plugins/main.js
+++ b/plugins/main.js
@@ -1,3 +1,5 @@
-// import 'babel-polyfill'
+import Vue from 'vue';
+import bannerTop from '@/components/banner-top.vue';
+Vue.component('BannerTop', bannerTop);