diff --git a/src/application/article-details.vue b/src/application/article-details.vue
new file mode 100644
index 0000000..2adb6cf
--- /dev/null
+++ b/src/application/article-details.vue
@@ -0,0 +1,15 @@
+
+
+ 文章详情
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/application/online.vue b/src/application/online.vue
new file mode 100644
index 0000000..6de0d05
--- /dev/null
+++ b/src/application/online.vue
@@ -0,0 +1,15 @@
+
+
+ 在线聊天
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/application/product-details.vue b/src/application/product-details.vue
new file mode 100644
index 0000000..160ff6c
--- /dev/null
+++ b/src/application/product-details.vue
@@ -0,0 +1,15 @@
+
+
+ 产品详情
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/assets/images/bg/online-bg.png b/src/assets/images/bg/online-bg.png
new file mode 100644
index 0000000..90f6923
Binary files /dev/null and b/src/assets/images/bg/online-bg.png differ
diff --git a/src/assets/images/icon/msg-box.png b/src/assets/images/icon/msg-box.png
new file mode 100644
index 0000000..a1723f8
Binary files /dev/null and b/src/assets/images/icon/msg-box.png differ
diff --git a/src/assets/images/icon/online-close.png b/src/assets/images/icon/online-close.png
new file mode 100644
index 0000000..2556f86
Binary files /dev/null and b/src/assets/images/icon/online-close.png differ
diff --git a/src/assets/images/icon/online.png b/src/assets/images/icon/online.png
new file mode 100644
index 0000000..fd1042c
Binary files /dev/null and b/src/assets/images/icon/online.png differ
diff --git a/src/assets/images/icon/top.png b/src/assets/images/icon/top.png
new file mode 100644
index 0000000..8a6df1d
Binary files /dev/null and b/src/assets/images/icon/top.png differ
diff --git a/src/components/online-modal.vue b/src/components/online-modal.vue
new file mode 100644
index 0000000..3046fae
--- /dev/null
+++ b/src/components/online-modal.vue
@@ -0,0 +1,128 @@
+
+
+
+
+ {{$t('common.Quickcontact')}}
+
+
+
+
+
+
+ 0086 182 5311 2969
+
+
+
+
+
+
+
+ alicesales@scdtrailer.com
+
+
+
+
+
+
+
+ 0086 182 5311 2969
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/components/suspension-btn.vue b/src/components/suspension-btn.vue
new file mode 100644
index 0000000..ba16ac1
--- /dev/null
+++ b/src/components/suspension-btn.vue
@@ -0,0 +1,52 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/src/locale/en.json b/src/locale/en.json
index 11b7d76..5883e30 100644
--- a/src/locale/en.json
+++ b/src/locale/en.json
@@ -46,7 +46,8 @@
"Quick": "Quick",
"viewmore": "view more",
"ProductLabel": "Product",
- "keywords": "keywords"
+ "keywords": "keywords",
+ "Quickcontact": "Quick contact"
},
"menu": {
"Home": "Home",
diff --git a/src/locale/zh.json b/src/locale/zh.json
index 967ca51..ced328a 100644
--- a/src/locale/zh.json
+++ b/src/locale/zh.json
@@ -46,7 +46,8 @@
"Quick": "快速",
"viewmore": "查看更多",
"ProductLabel": "产品",
- "keywords": "关键字"
+ "keywords": "关键字",
+ "Quickcontact": "快速联系"
},
"menu": {
"Home": "首页",
diff --git a/src/main.js b/src/main.js
index 5dfe59b..ff2b5ee 100644
--- a/src/main.js
+++ b/src/main.js
@@ -7,6 +7,8 @@ import en from './locale/en.json';
import ConfirmPopup from '@/components/comfirm-popup.vue'; // 全局统一的操作弹窗
import CustomHeader from "@/components/custom-header.vue";
import Tabs from "@/components/tabs.vue";
+import SuspensionBtn from "@/components/suspension-btn.vue";
+import OnlineModal from "@/components/online-modal.vue";
uni.$showTost = function (title='加载失败!',duration=1500,mask=false) {
// 变成异步代码,处理一些特殊页面 必须等待消息提示结束后在做操作
@@ -42,6 +44,8 @@ export function createApp() {
app.component('ConfirmPopup', ConfirmPopup)
app.component('CustomHeader', CustomHeader)
app.component('Tabs', Tabs)
+ app.component('SuspensionBtn', SuspensionBtn)
+ app.component('OnlineModal', OnlineModal)
return {
app,
};
diff --git a/src/pages.json b/src/pages.json
index feb0494..c6cc88f 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -41,6 +41,34 @@
}
}
],
+ "subPackages": [
+ {
+ "root": "application",
+ "pages": [
+ {
+ "path": "product-details",
+ "style": {
+ "navigationBarTitleText": "Product details",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "article-details",
+ "style": {
+ "navigationBarTitleText": "News detail",
+ "enablePullDownRefresh": true
+ }
+ },
+ {
+ "path": "online",
+ "style": {
+ "navigationBarTitleText": "Online",
+ "enablePullDownRefresh": true
+ }
+ }
+ ]
+ }
+ ],
"tabBar": {
"color": "#54585c",
"selectedColor": "#0358ff",
diff --git a/src/pages/products/index.vue b/src/pages/products/index.vue
index 17a9907..0b91125 100644
--- a/src/pages/products/index.vue
+++ b/src/pages/products/index.vue
@@ -6,7 +6,7 @@
-
+
+
+
+