diff --git a/common/untool.js b/common/untool.js
index 48779aa..9e2b345 100644
--- a/common/untool.js
+++ b/common/untool.js
@@ -1,7 +1,7 @@
const tabBarUrls = [
- 'sending/sending',
- 'search/search',
- 'mine/mine'
+ 'tabBar/sending/sending',
+ 'tabBar/search/search',
+ 'tabBar/mine/mine'
]
const goto = (url, type = 1)=> {
diff --git a/common/util.js b/common/util.js
index eddb458..44be60b 100644
--- a/common/util.js
+++ b/common/util.js
@@ -66,7 +66,37 @@ var dateUtils = {
}
};
+const numberToChinese = (num)=> {
+ const chineseNums = ['零', '一', '二', '三', '四', '五', '六', '七', '八', '九'];
+ const chineseUnits = ['', '十', '百', '千', '万', '亿', '兆'];
+
+ if (num === 0) {
+ return chineseNums[0];
+ }
+
+ const digits = Math.floor(num).toString().split('');
+ const len = digits.length;
+
+ let result = '';
+
+ for (let i = 0; i < len; i++) {
+ const digit = parseInt(digits[i]);
+ const unit = chineseUnits[len - 1 - i];
+
+ if (digit !== 0) {
+ result += chineseNums[digit] + unit;
+ } else {
+ if (result[result.length - 1] !== chineseNums[0]) {
+ result += chineseNums[digit]
+ }
+ }
+ }
+
+ return result;
+}
+
export {
+ numberToChinese,
formatTime,
formatLocation,
dateUtils
diff --git a/components/buns-country-sheet/buns-country-sheet.vue b/components/buns-country-sheet/buns-country-sheet.vue
index 51e5f21..1f15836 100644
--- a/components/buns-country-sheet/buns-country-sheet.vue
+++ b/components/buns-country-sheet/buns-country-sheet.vue
@@ -5,7 +5,7 @@
-
+
diff --git a/components/buns-paytype-sheet/buns-paytype-sheet.vue b/components/buns-paytype-sheet/buns-paytype-sheet.vue
index 76d1a3c..ab08443 100644
--- a/components/buns-paytype-sheet/buns-paytype-sheet.vue
+++ b/components/buns-paytype-sheet/buns-paytype-sheet.vue
@@ -1,6 +1,6 @@
-
+
diff --git a/components/buns-revtime-sheet/buns-revtime-sheet.vue b/components/buns-revtime-sheet/buns-revtime-sheet.vue
index 7077fa4..316e29b 100644
--- a/components/buns-revtime-sheet/buns-revtime-sheet.vue
+++ b/components/buns-revtime-sheet/buns-revtime-sheet.vue
@@ -1,6 +1,6 @@
-
+
@@ -57,6 +57,7 @@
+
+
+
\ No newline at end of file
diff --git a/pages/service/articlelist.vue b/pages/service/articlelist.vue
new file mode 100644
index 0000000..73058a6
--- /dev/null
+++ b/pages/service/articlelist.vue
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/service/list.vue b/pages/service/list.vue
new file mode 100644
index 0000000..eb73db4
--- /dev/null
+++ b/pages/service/list.vue
@@ -0,0 +1,135 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages/tabBar/sending/sending.vue b/pages/tabBar/sending/sending.vue
index feba411..26af21c 100644
--- a/pages/tabBar/sending/sending.vue
+++ b/pages/tabBar/sending/sending.vue
@@ -30,7 +30,7 @@
-
+
@@ -72,14 +72,14 @@
{ title: '进仓单', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-jcd.png`), url: '' },
{ title: '时效预估', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-sxyg.png`), url: '' },
{ title: '运费试算', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-shisuan.png`), url: '' },
- { title: '我的订单', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-dingdan.png`), url: '' },
+ { title: '我的订单', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-dingdan.png`), url: 'tabBar/search/search' },
{ title: '运单查询', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-yundan.png`), url: '' },
- { title: '地址簿', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-dizhi.png`), url: '' },
- { title: '网点查询', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-wangdain.png`), url: '' },
+ { title: '地址簿', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-dizhi.png`), url: 'address/list' },
+ { title: '网点查询', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-wangdain.png`), url: 'service/list' },
{ title: 'HSCODE', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-HS.png`), url: '' },
{ title: 'RECP', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-RE.png`), url: '' },
{ title: '扫码寄件', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-saoma.png`), url: '' },
- { title: '寄件须知', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-xuzhi.png`), url: '' },
+ { title: '信息速递', subTitle: "这里是短语简介", icon: getCdnUrl(`sdg/t-xuzhi.png`), url: 'service/articlelist' },
]
}
},