From 57fb0450162d2fe1126062b3fad217aaa0995010 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?=
<15778543+xufeiyang6017@user.noreply.gitee.com>
Date: Fri, 5 Dec 2025 09:08:31 +0800
Subject: [PATCH 1/4] =?UTF-8?q?=E5=AE=9E=E7=8E=B0=E9=BB=91=E7=99=BD?=
=?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8A=9F=E8=83=BD=EF=BC=9A=E6=B7=BB=E5=8A=A0?=
=?UTF-8?q?=E6=B7=B1=E8=89=B2=E6=A8=A1=E5=BC=8F=E5=92=8C=E9=AB=98=E5=AF=B9?=
=?UTF-8?q?=E6=AF=94=E5=BA=A6=E6=A8=A1=E5=BC=8F=E5=88=87=E6=8D=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app.js | 86 +++++++++++++-
pages/test-tools/test-mode-switch.js | 139 +++++++++++++++++++++++
pages/test-tools/test-mode-switch.wxml | 50 +++++++++
pages/test-tools/test-mode-switch.wxss | 149 +++++++++++++++++++++++++
4 files changed, 423 insertions(+), 1 deletion(-)
create mode 100644 pages/test-tools/test-mode-switch.js
create mode 100644 pages/test-tools/test-mode-switch.wxml
create mode 100644 pages/test-tools/test-mode-switch.wxss
diff --git a/app.js b/app.js
index d276bc2..2b48295 100644
--- a/app.js
+++ b/app.js
@@ -2,6 +2,10 @@ App({
onLaunch: function () {
// 初始化应用
console.log('App Launch')
+
+ // 加载并应用黑白测试设置
+ this.loadAndApplyTestModeSettings()
+
// 初始化本地存储的标签和用户数据
if (!wx.getStorageSync('users')) {
wx.setStorageSync('users', {})
@@ -100,9 +104,89 @@ App({
return await API.uploadPhoneNumberData(phoneData)
},
+ /**
+ * 加载并应用黑白测试设置
+ */
+ loadAndApplyTestModeSettings() {
+ // 从本地存储获取设置
+ const isDarkMode = wx.getStorageSync('isDarkMode') || false
+ const isHighContrast = wx.getStorageSync('isHighContrast') || false
+
+ // 应用设置
+ this.applyDarkMode(isDarkMode)
+ this.applyHighContrastMode(isHighContrast)
+
+ console.log('应用启动时加载黑白测试设置: 深色模式=' + isDarkMode + ', 高对比度=' + isHighContrast)
+ },
+
+ /**
+ * 应用深色模式设置
+ */
+ applyDarkMode(isDarkMode) {
+ // 更新窗口和导航栏样式
+ wx.setNavigationBarColor({
+ frontColor: isDarkMode ? '#ffffff' : '#000000',
+ backgroundColor: isDarkMode ? '#000000' : '#ffffff',
+ animation: {
+ duration: 400,
+ timingFunc: 'easeInOut'
+ }
+ })
+
+ wx.setBackgroundColor({
+ backgroundColor: isDarkMode ? '#000000' : '#ffffff',
+ backgroundColorTop: isDarkMode ? '#000000' : '#ffffff',
+ backgroundColorBottom: isDarkMode ? '#000000' : '#ffffff'
+ })
+ },
+
+ /**
+ * 应用高对比度模式设置
+ */
+ applyHighContrastMode(isHighContrast) {
+ // 移除旧的高对比度样式
+ const oldStyle = wx.createSelectorQuery().select('#highContrastStyle')
+ oldStyle.context((res) => {
+ if (res.context) {
+ wx.removeStyleSheet('#highContrastStyle')
+ }
+ })
+
+ if (isHighContrast) {
+ // 创建高对比度样式
+ const styleContent = `
+ /* 高对比度样式 */
+ * {
+ filter: grayscale(100%) contrast(120%) !important;
+ }
+
+ /* 确保文字可读性 */
+ text, span, div, p {
+ color: #000 !important;
+ background-color: #fff !important;
+ }
+
+ /* 按钮和交互元素 */
+ button, .btn {
+ border: 2px solid #000 !important;
+ color: #000 !important;
+ background-color: #fff !important;
+ }
+ `
+
+ // 动态添加样式
+ const styleSheet = document.createElement('style')
+ styleSheet.id = 'highContrastStyle'
+ styleSheet.textContent = styleContent
+ document.head.appendChild(styleSheet)
+ }
+ },
+
globalData: {
userInfo: null,
currentTab: 'index', // 当前选中的tab
- showTabBar: true // 控制底部tab-bar显示状态
+ showTabBar: true, // 控制底部tab-bar显示状态
+ isDarkMode: false, // 是否处于深色模式
+ isHighContrast: false // 是否处于高对比度模式
}
})
diff --git a/pages/test-tools/test-mode-switch.js b/pages/test-tools/test-mode-switch.js
new file mode 100644
index 0000000..f7df78b
--- /dev/null
+++ b/pages/test-tools/test-mode-switch.js
@@ -0,0 +1,139 @@
+// pages/test-tools/test-mode-switch.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+ isDarkMode: false,
+ isHighContrast: false
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+ // 从本地存储获取当前模式设置
+ const darkMode = wx.getStorageSync('isDarkMode') || false
+ const highContrast = wx.getStorageSync('isHighContrast') || false
+ this.setData({
+ isDarkMode: darkMode,
+ isHighContrast: highContrast
+ })
+ this.applyModeSettings()
+ },
+
+ /**
+ * 切换深色/浅色模式
+ */
+ toggleDarkMode(e) {
+ const isDarkMode = e.detail.value
+ this.setData({ isDarkMode })
+ wx.setStorageSync('isDarkMode', isDarkMode)
+ this.applyModeSettings()
+ },
+
+ /**
+ * 切换高对比度模式
+ */
+ toggleHighContrast(e) {
+ const isHighContrast = e.detail.value
+ this.setData({ isHighContrast })
+ wx.setStorageSync('isHighContrast', isHighContrast)
+ this.applyModeSettings()
+ },
+
+ /**
+ * 应用模式设置
+ */
+ applyModeSettings() {
+ const { isDarkMode, isHighContrast } = this.data
+
+ // 创建或删除高对比度样式
+ this.createOrRemoveHighContrastStyle(isHighContrast)
+
+ // 更新窗口背景和导航栏样式
+ this.updateWindowStyle(isDarkMode)
+
+ console.log(`黑白测试模式设置: 深色模式=${isDarkMode}, 高对比度=${isHighContrast}`)
+ wx.showToast({
+ title: '模式已更新',
+ icon: 'success'
+ })
+ },
+
+ /**
+ * 创建或删除高对比度样式
+ */
+ createOrRemoveHighContrastStyle(enable) {
+ // 移除旧的高对比度样式
+ const oldStyle = wx.createSelectorQuery().select('#highContrastStyle')
+ oldStyle.context((res) => {
+ if (res.context) {
+ wx.removeStyleSheet('#highContrastStyle')
+ }
+ })
+
+ if (enable) {
+ // 创建高对比度样式
+ const styleContent = `
+ /* 高对比度样式 */
+ * {
+ filter: grayscale(100%) contrast(120%) !important;
+ }
+
+ /* 确保文字可读性 */
+ text, span, div, p {
+ color: #000 !important;
+ background-color: #fff !important;
+ }
+
+ /* 按钮和交互元素 */
+ button, .btn {
+ border: 2px solid #000 !important;
+ color: #000 !important;
+ background-color: #fff !important;
+ }
+ `
+
+ // 动态添加样式
+ const styleSheet = document.createElement('style')
+ styleSheet.id = 'highContrastStyle'
+ styleSheet.textContent = styleContent
+ document.head.appendChild(styleSheet)
+ }
+ },
+
+ /**
+ * 更新窗口样式
+ */
+ updateWindowStyle(isDarkMode) {
+ wx.setNavigationBarColor({
+ frontColor: isDarkMode ? '#ffffff' : '#000000',
+ backgroundColor: isDarkMode ? '#000000' : '#ffffff',
+ animation: {
+ duration: 400,
+ timingFunc: 'easeInOut'
+ }
+ })
+
+ wx.setBackgroundColor({
+ backgroundColor: isDarkMode ? '#000000' : '#ffffff',
+ backgroundColorTop: isDarkMode ? '#000000' : '#ffffff',
+ backgroundColorBottom: isDarkMode ? '#000000' : '#ffffff'
+ })
+ },
+
+ /**
+ * 重置所有设置
+ */
+ resetAllSettings() {
+ this.setData({
+ isDarkMode: false,
+ isHighContrast: false
+ })
+ wx.setStorageSync('isDarkMode', false)
+ wx.setStorageSync('isHighContrast', false)
+ this.applyModeSettings()
+ }
+})
\ No newline at end of file
diff --git a/pages/test-tools/test-mode-switch.wxml b/pages/test-tools/test-mode-switch.wxml
new file mode 100644
index 0000000..1fb3963
--- /dev/null
+++ b/pages/test-tools/test-mode-switch.wxml
@@ -0,0 +1,50 @@
+
+
+
+
+
+
+ 深色模式
+ 切换应用的明/暗主题
+
+
+
+
+
+
+ 高对比度模式
+ 启用黑白高对比度显示
+
+
+
+
+
+
+
+
+
+ 提示:
+ 1. 深色模式会改变应用的整体色调
+ 2. 高对比度模式会将所有元素转为黑白并提高对比度
+ 3. 这些设置会保存在本地,下次打开应用时自动应用
+
+
\ No newline at end of file
diff --git a/pages/test-tools/test-mode-switch.wxss b/pages/test-tools/test-mode-switch.wxss
new file mode 100644
index 0000000..73d1bf2
--- /dev/null
+++ b/pages/test-tools/test-mode-switch.wxss
@@ -0,0 +1,149 @@
+/** pages/test-tools/test-mode-switch.wxss **/
+.container {
+ padding: 40rpx 30rpx;
+ background-color: #fff;
+ min-height: 100vh;
+}
+
+.header {
+ text-align: center;
+ margin-bottom: 60rpx;
+}
+
+.title {
+ font-size: 36rpx;
+ font-weight: bold;
+ color: #333;
+ display: block;
+ margin-bottom: 20rpx;
+}
+
+.subtitle {
+ font-size: 26rpx;
+ color: #666;
+ display: block;
+ line-height: 1.5;
+}
+
+.setting-item {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 30rpx 0;
+ border-bottom: 1rpx solid #f0f0f0;
+}
+
+.setting-label {
+ flex: 1;
+ margin-right: 30rpx;
+}
+
+.label-text {
+ font-size: 30rpx;
+ color: #333;
+ display: block;
+ margin-bottom: 8rpx;
+}
+
+.label-desc {
+ font-size: 24rpx;
+ color: #999;
+ display: block;
+ line-height: 1.4;
+}
+
+.setting-switch {
+ transform: scale(1.2);
+}
+
+.button-group {
+ margin-top: 60rpx;
+ padding: 0 20rpx;
+}
+
+.reset-button {
+ width: 100%;
+ height: 90rpx;
+ line-height: 90rpx;
+ font-size: 30rpx;
+ border-radius: 15rpx;
+ border: 2rpx solid #1AAD19;
+ color: #1AAD19;
+ background-color: #fff;
+}
+
+.reset-button:active {
+ background-color: #f0f0f0;
+}
+
+.tips {
+ margin-top: 60rpx;
+ padding: 30rpx;
+ background-color: #f8f8f8;
+ border-radius: 15rpx;
+ border-left: 4rpx solid #1AAD19;
+}
+
+.tip-text {
+ font-size: 28rpx;
+ font-weight: bold;
+ color: #333;
+ display: block;
+ margin-bottom: 15rpx;
+}
+
+.tip-content {
+ font-size: 24rpx;
+ color: #666;
+ display: block;
+ margin-bottom: 10rpx;
+ line-height: 1.5;
+}
+
+/* 深色模式适配 */
+.container.dark-mode {
+ background-color: #1a1a1a;
+}
+
+.container.dark-mode .title {
+ color: #fff;
+}
+
+.container.dark-mode .subtitle {
+ color: #ccc;
+}
+
+.container.dark-mode .setting-item {
+ border-bottom-color: #333;
+}
+
+.container.dark-mode .label-text {
+ color: #fff;
+}
+
+.container.dark-mode .label-desc {
+ color: #999;
+}
+
+.container.dark-mode .reset-button {
+ border-color: #4CAF50;
+ color: #4CAF50;
+ background-color: #1a1a1a;
+}
+
+.container.dark-mode .reset-button:active {
+ background-color: #333;
+}
+
+.container.dark-mode .tips {
+ background-color: #2a2a2a;
+ border-left-color: #4CAF50;
+}
+
+.container.dark-mode .tip-text {
+ color: #fff;
+}
+
+.container.dark-mode .tip-content {
+ color: #ccc;
+}
\ No newline at end of file
From ad1f68b7e9a87323c000026ab10c8a9ff2d3144e Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?=
<15778543+xufeiyang6017@user.noreply.gitee.com>
Date: Fri, 5 Dec 2025 09:13:26 +0800
Subject: [PATCH 2/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=BA=AB=E4=BB=BD?=
=?UTF-8?q?=E6=A0=87=E7=AD=BE=E6=98=BE=E7=A4=BA=EF=BC=9A=E5=B0=86=E8=8B=B1?=
=?UTF-8?q?=E6=96=87=E8=BD=AC=E6=8D=A2=E4=B8=BA=E4=B8=AD=E6=96=87=EF=BC=88?=
=?UTF-8?q?buyer=3D=E4=B9=B0=E5=AE=B6,=20seller=3D=E5=8D=96=E5=AE=B6,=20se?=
=?UTF-8?q?ller+buyer=3D=E4=B9=B0=E5=8D=96=E5=AE=B6=EF=BC=89?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/profile/index.js | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/pages/profile/index.js b/pages/profile/index.js
index d161af4..3895419 100644
--- a/pages/profile/index.js
+++ b/pages/profile/index.js
@@ -108,9 +108,10 @@ Page({
if (userType && userType !== '') {
let identityLabel = '身份:not_set'
switch (userType) {
- case 'buyer': identityLabel = '身份:buyer'; break
- case 'seller': identityLabel = '身份:seller'; break
- case 'both': identityLabel = '身份:buyer+seller'; break
+ case 'buyer': identityLabel = '身份:买家'; break
+ case 'seller': identityLabel = '身份:卖家'; break
+ case 'both': identityLabel = '身份:买卖家'; break
+ case 'buyer+seller': identityLabel = '身份:买卖家'; break
}
filteredTags.push(identityLabel)
console.log('加载用户信息 - 根据当前用户类型显示身份标签:', identityLabel)
From c7329a730b819020d836260315c7c39eab79bf5d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?=
<15778543+xufeiyang6017@user.noreply.gitee.com>
Date: Fri, 5 Dec 2025 09:15:39 +0800
Subject: [PATCH 3/4] =?UTF-8?q?=E4=BF=AE=E6=94=B9formatUserType=E6=96=B9?=
=?UTF-8?q?=E6=B3=95=EF=BC=8C=E7=A1=AE=E4=BF=9Dboth=E7=B1=BB=E5=9E=8B?=
=?UTF-8?q?=E6=98=BE=E7=A4=BA=E4=B8=BA=E4=B9=B0=E5=8D=96=E5=AE=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
pages/profile/index.js | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/pages/profile/index.js b/pages/profile/index.js
index 3895419..0e5d1bf 100644
--- a/pages/profile/index.js
+++ b/pages/profile/index.js
@@ -221,9 +221,15 @@ Page({
this.updateUserTags(userId, serverType)
},
- // 格式化用户类型显示 - 直接返回数据库中的type字段值
+ // 格式化用户类型显示
formatUserType(type) {
- return type || 'not_set'
+ switch (type) {
+ case 'buyer': return '买家';
+ case 'seller': return '卖家';
+ case 'both': return '买卖家';
+ case 'buyer+seller': return '买卖家';
+ default: return type || 'not_set';
+ }
},
// 设置为买家
From 6b8b07de2e536787c2c19e4aa405ce468c4364c6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E5=BE=90=E9=A3=9E=E6=B4=8B?=
<15778543+xufeiyang6017@user.noreply.gitee.com>
Date: Fri, 5 Dec 2025 09:22:15 +0800
Subject: [PATCH 4/4] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B5=8B=E8=AF=95?=
=?UTF-8?q?=E5=B7=A5=E5=85=B7=E9=A1=B5=E9=9D=A2=E5=92=8C=E4=BC=98=E5=8C=96?=
=?UTF-8?q?=E5=BA=94=E7=94=A8=E5=90=AF=E5=8A=A8=E9=80=BB=E8=BE=91?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app.js | 86 +----------------------
pages/seller/index.js | 2 +-
pages/test-tools/api-test.js | 66 +++++++++++++++++
pages/test-tools/api-test.wxml | 2 +
pages/test-tools/clear-storage.js | 66 +++++++++++++++++
pages/test-tools/clear-storage.wxml | 2 +
pages/test-tools/connection-test.js | 66 +++++++++++++++++
pages/test-tools/connection-test.wxml | 2 +
pages/test-tools/fix-connection.js | 66 +++++++++++++++++
pages/test-tools/fix-connection.wxml | 2 +
pages/test-tools/gross-weight-tester.js | 66 +++++++++++++++++
pages/test-tools/gross-weight-tester.wxml | 2 +
pages/test-tools/phone-test.js | 66 +++++++++++++++++
pages/test-tools/phone-test.wxml | 2 +
pages/test/undercarriage-test.js | 66 +++++++++++++++++
pages/test/undercarriage-test.wxml | 2 +
16 files changed, 478 insertions(+), 86 deletions(-)
create mode 100644 pages/test-tools/api-test.js
create mode 100644 pages/test-tools/api-test.wxml
create mode 100644 pages/test-tools/clear-storage.js
create mode 100644 pages/test-tools/clear-storage.wxml
create mode 100644 pages/test-tools/connection-test.js
create mode 100644 pages/test-tools/connection-test.wxml
create mode 100644 pages/test-tools/fix-connection.js
create mode 100644 pages/test-tools/fix-connection.wxml
create mode 100644 pages/test-tools/gross-weight-tester.js
create mode 100644 pages/test-tools/gross-weight-tester.wxml
create mode 100644 pages/test-tools/phone-test.js
create mode 100644 pages/test-tools/phone-test.wxml
create mode 100644 pages/test/undercarriage-test.js
create mode 100644 pages/test/undercarriage-test.wxml
diff --git a/app.js b/app.js
index 2b48295..d276bc2 100644
--- a/app.js
+++ b/app.js
@@ -2,10 +2,6 @@ App({
onLaunch: function () {
// 初始化应用
console.log('App Launch')
-
- // 加载并应用黑白测试设置
- this.loadAndApplyTestModeSettings()
-
// 初始化本地存储的标签和用户数据
if (!wx.getStorageSync('users')) {
wx.setStorageSync('users', {})
@@ -104,89 +100,9 @@ App({
return await API.uploadPhoneNumberData(phoneData)
},
- /**
- * 加载并应用黑白测试设置
- */
- loadAndApplyTestModeSettings() {
- // 从本地存储获取设置
- const isDarkMode = wx.getStorageSync('isDarkMode') || false
- const isHighContrast = wx.getStorageSync('isHighContrast') || false
-
- // 应用设置
- this.applyDarkMode(isDarkMode)
- this.applyHighContrastMode(isHighContrast)
-
- console.log('应用启动时加载黑白测试设置: 深色模式=' + isDarkMode + ', 高对比度=' + isHighContrast)
- },
-
- /**
- * 应用深色模式设置
- */
- applyDarkMode(isDarkMode) {
- // 更新窗口和导航栏样式
- wx.setNavigationBarColor({
- frontColor: isDarkMode ? '#ffffff' : '#000000',
- backgroundColor: isDarkMode ? '#000000' : '#ffffff',
- animation: {
- duration: 400,
- timingFunc: 'easeInOut'
- }
- })
-
- wx.setBackgroundColor({
- backgroundColor: isDarkMode ? '#000000' : '#ffffff',
- backgroundColorTop: isDarkMode ? '#000000' : '#ffffff',
- backgroundColorBottom: isDarkMode ? '#000000' : '#ffffff'
- })
- },
-
- /**
- * 应用高对比度模式设置
- */
- applyHighContrastMode(isHighContrast) {
- // 移除旧的高对比度样式
- const oldStyle = wx.createSelectorQuery().select('#highContrastStyle')
- oldStyle.context((res) => {
- if (res.context) {
- wx.removeStyleSheet('#highContrastStyle')
- }
- })
-
- if (isHighContrast) {
- // 创建高对比度样式
- const styleContent = `
- /* 高对比度样式 */
- * {
- filter: grayscale(100%) contrast(120%) !important;
- }
-
- /* 确保文字可读性 */
- text, span, div, p {
- color: #000 !important;
- background-color: #fff !important;
- }
-
- /* 按钮和交互元素 */
- button, .btn {
- border: 2px solid #000 !important;
- color: #000 !important;
- background-color: #fff !important;
- }
- `
-
- // 动态添加样式
- const styleSheet = document.createElement('style')
- styleSheet.id = 'highContrastStyle'
- styleSheet.textContent = styleContent
- document.head.appendChild(styleSheet)
- }
- },
-
globalData: {
userInfo: null,
currentTab: 'index', // 当前选中的tab
- showTabBar: true, // 控制底部tab-bar显示状态
- isDarkMode: false, // 是否处于深色模式
- isHighContrast: false // 是否处于高对比度模式
+ showTabBar: true // 控制底部tab-bar显示状态
}
})
diff --git a/pages/seller/index.js b/pages/seller/index.js
index 2e90c56..66af0ba 100644
--- a/pages/seller/index.js
+++ b/pages/seller/index.js
@@ -3565,7 +3565,7 @@ Page({
contactCustomerService() {
wx.showModal({
title: '客服电话',
- content: '123456',
+ content: '18140203880',
showCancel: true,
cancelText: '取消',
confirmText: '拨打',
diff --git a/pages/test-tools/api-test.js b/pages/test-tools/api-test.js
new file mode 100644
index 0000000..5ab8317
--- /dev/null
+++ b/pages/test-tools/api-test.js
@@ -0,0 +1,66 @@
+// pages/test-tools/api-test.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/test-tools/api-test.wxml b/pages/test-tools/api-test.wxml
new file mode 100644
index 0000000..52cc2b5
--- /dev/null
+++ b/pages/test-tools/api-test.wxml
@@ -0,0 +1,2 @@
+
+pages/test-tools/api-test.wxml
\ No newline at end of file
diff --git a/pages/test-tools/clear-storage.js b/pages/test-tools/clear-storage.js
new file mode 100644
index 0000000..8106aaa
--- /dev/null
+++ b/pages/test-tools/clear-storage.js
@@ -0,0 +1,66 @@
+// pages/test-tools/clear-storage.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/test-tools/clear-storage.wxml b/pages/test-tools/clear-storage.wxml
new file mode 100644
index 0000000..f03c1cd
--- /dev/null
+++ b/pages/test-tools/clear-storage.wxml
@@ -0,0 +1,2 @@
+
+pages/test-tools/clear-storage.wxml
\ No newline at end of file
diff --git a/pages/test-tools/connection-test.js b/pages/test-tools/connection-test.js
new file mode 100644
index 0000000..2d1276a
--- /dev/null
+++ b/pages/test-tools/connection-test.js
@@ -0,0 +1,66 @@
+// pages/test-tools/connection-test.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/test-tools/connection-test.wxml b/pages/test-tools/connection-test.wxml
new file mode 100644
index 0000000..f6f0398
--- /dev/null
+++ b/pages/test-tools/connection-test.wxml
@@ -0,0 +1,2 @@
+
+pages/test-tools/connection-test.wxml
\ No newline at end of file
diff --git a/pages/test-tools/fix-connection.js b/pages/test-tools/fix-connection.js
new file mode 100644
index 0000000..e00ffd0
--- /dev/null
+++ b/pages/test-tools/fix-connection.js
@@ -0,0 +1,66 @@
+// pages/test-tools/fix-connection.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/test-tools/fix-connection.wxml b/pages/test-tools/fix-connection.wxml
new file mode 100644
index 0000000..a9e8c39
--- /dev/null
+++ b/pages/test-tools/fix-connection.wxml
@@ -0,0 +1,2 @@
+
+pages/test-tools/fix-connection.wxml
\ No newline at end of file
diff --git a/pages/test-tools/gross-weight-tester.js b/pages/test-tools/gross-weight-tester.js
new file mode 100644
index 0000000..34bee83
--- /dev/null
+++ b/pages/test-tools/gross-weight-tester.js
@@ -0,0 +1,66 @@
+// pages/test-tools/gross-weight-tester.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/test-tools/gross-weight-tester.wxml b/pages/test-tools/gross-weight-tester.wxml
new file mode 100644
index 0000000..be81f4b
--- /dev/null
+++ b/pages/test-tools/gross-weight-tester.wxml
@@ -0,0 +1,2 @@
+
+pages/test-tools/gross-weight-tester.wxml
\ No newline at end of file
diff --git a/pages/test-tools/phone-test.js b/pages/test-tools/phone-test.js
new file mode 100644
index 0000000..d7319c4
--- /dev/null
+++ b/pages/test-tools/phone-test.js
@@ -0,0 +1,66 @@
+// pages/test-tools/phone-test.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/test-tools/phone-test.wxml b/pages/test-tools/phone-test.wxml
new file mode 100644
index 0000000..1e321e5
--- /dev/null
+++ b/pages/test-tools/phone-test.wxml
@@ -0,0 +1,2 @@
+
+pages/test-tools/phone-test.wxml
\ No newline at end of file
diff --git a/pages/test/undercarriage-test.js b/pages/test/undercarriage-test.js
new file mode 100644
index 0000000..5eefd0a
--- /dev/null
+++ b/pages/test/undercarriage-test.js
@@ -0,0 +1,66 @@
+// pages/test/undercarriage-test.js
+Page({
+
+ /**
+ * 页面的初始数据
+ */
+ data: {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面加载
+ */
+ onLoad(options) {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面初次渲染完成
+ */
+ onReady() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面显示
+ */
+ onShow() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面隐藏
+ */
+ onHide() {
+
+ },
+
+ /**
+ * 生命周期函数--监听页面卸载
+ */
+ onUnload() {
+
+ },
+
+ /**
+ * 页面相关事件处理函数--监听用户下拉动作
+ */
+ onPullDownRefresh() {
+
+ },
+
+ /**
+ * 页面上拉触底事件的处理函数
+ */
+ onReachBottom() {
+
+ },
+
+ /**
+ * 用户点击右上角分享
+ */
+ onShareAppMessage() {
+
+ }
+})
\ No newline at end of file
diff --git a/pages/test/undercarriage-test.wxml b/pages/test/undercarriage-test.wxml
new file mode 100644
index 0000000..a207e69
--- /dev/null
+++ b/pages/test/undercarriage-test.wxml
@@ -0,0 +1,2 @@
+
+pages/test/undercarriage-test.wxml
\ No newline at end of file