From 2bf2d78e8c589c1a3fa8ab71171ea00e0f39dcd4 Mon Sep 17 00:00:00 2001 From: xh-pan1 Date: Sat, 20 Jan 2024 06:29:49 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=9A=E8=AF=AD=E8=A8=80=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 +- package.json | 1 + src/App.vue | 9 +- src/api/nav.js | 8 + src/components/base/aftersaleList.vue | 2 +- src/components/base/footer.vue | 16 +- src/components/base/homHeader.vue | 12 +- src/components/base/orderList.vue | 2 +- src/components/base/secondNav.vue | 10 +- src/components/base/topNav.vue | 81 +- src/locales/en.json | 489 ++ src/locales/zh-CN.json | 488 ++ src/main.js | 35 + src/util/server.js | 5 +- src/views/afterSale/index.vue | 2 +- src/views/category/index.vue | 12 +- src/views/orderDetail/index.vue | 2 +- src/views/placeOrder/components/shopOrder.vue | 2 +- src/views/product/productHead.vue | 10 +- src/views/search/index.vue | 46 +- src/views/shopping-trolley/index.vue | 2 +- .../userCenter/browseRecords/browseRecords.vue | 2 +- src/views/userCenter/favorites/favorites.vue | 4 +- src/views/userCenter/messageCenter/message.vue | 2 +- src/views/userCenter/messageCenter/qalist.vue | 4 +- .../userCenter/signingAddress/signingAddress.vue | 2 +- yarn.lock | 9142 ++++++++++++++++++++ 27 files changed, 10306 insertions(+), 88 deletions(-) create mode 100644 src/locales/en.json create mode 100644 src/locales/zh-CN.json create mode 100644 yarn.lock diff --git a/config/index.js b/config/index.js index c732973..f4f5ca9 100644 --- a/config/index.js +++ b/config/index.js @@ -15,8 +15,8 @@ module.exports = { proxyTable: { '/api': { // target: 'https://ceres.zkthink.com/api', // 测试 - target: 'http://localhost:9007', // 测试 - // target: 'http://122.9.152.120/ceres-app-api', // + // target: 'http://localhost:9007', // 测试 + target: 'http://122.9.152.120/ceres-app-api', // // target: 'https://shopapi.zkthink.com', // 测试 // target: 'http://3j073r3905.qicp.vip', // 测试 // target: 'http://3j073r3905.qicp.vip:29544', // 测试 diff --git a/package.json b/package.json index e53cb9e..849cb9f 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "qs": "^6.9.4", "swiper": "^5.4.5", "vue": "^2.5.2", + "vue-i18n": "8.2.1", "vue-router": "^3.0.1", "vue-video-player": "^5.0.2", "vuex": "^3.1.0" diff --git a/src/App.vue b/src/App.vue index a7f19ca..a8078f8 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,7 +5,7 @@