From af286e77aa99d29ffa4ee4ce0ce6f4338f54369f Mon Sep 17 00:00:00 2001
From: Mrx <18278715334@163.com>
Date: Mon, 25 May 2026 12:04:30 +0800
Subject: [PATCH] f
---
.env | 4 +-
src/pages.json | 58 +++++------
src/{ => pages}/about-us.vue | 8 +-
src/{ => pages}/help-center.vue | 2 +-
src/pages/mine.vue | 164 ++++++++++++++++++++++----------
src/pages/toolbox/index.vue | 81 +---------------
uni-pages.d.ts | 2 +
7 files changed, 149 insertions(+), 170 deletions(-)
rename src/{ => pages}/about-us.vue (97%)
rename src/{ => pages}/help-center.vue (99%)
diff --git a/.env b/.env
index 5b04806..56fa04a 100644
--- a/.env
+++ b/.env
@@ -5,5 +5,5 @@
#
# 需要覆盖时再取消注释其一:
# VITE_API_BASE_URL=/api/v1
-VITE_API_BASE_URL=http://127.0.0.1:8888/api/v1
-# VITE_API_BASE_URL=https://www.tianyuancha.cn/api/v1
+# VITE_API_BASE_URL=http://127.0.0.1:8888/api/v1
+VITE_API_BASE_URL=https://www.tianyuancha.cn/api/v1
diff --git a/src/pages.json b/src/pages.json
index 568360f..b86d6b5 100644
--- a/src/pages.json
+++ b/src/pages.json
@@ -22,6 +22,26 @@
}
},
// #endif
+ {
+ "path": "pages/about-us",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "关于我们",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black"
+ }
+ },
+ {
+ "path": "pages/help-center",
+ "type": "page",
+ "style": {
+ "navigationBarTitleText": "帮助中心",
+ "navigationStyle": "default",
+ "navigationBarBackgroundColor": "#ffffff",
+ "navigationBarTextStyle": "black"
+ }
+ },
{
"path": "pages/login",
"type": "page",
@@ -84,45 +104,13 @@
"navigationBarTextStyle": "black"
}
},
- {
- "path": "pages/inquire/user-notice",
- "type": "page",
- "style": {
- "navigationBarTitleText": "用户须知",
- "navigationStyle": "default",
- "navigationBarBackgroundColor": "#ffffff",
- "navigationBarTextStyle": "black"
- }
- },
{
"path": "pages/inquire/query-notice",
- "type": "page",
- "style": {
- "navigationBarTitleText": "查询须知",
- "navigationStyle": "default",
- "navigationBarBackgroundColor": "#ffffff",
- "navigationBarTextStyle": "black"
- }
+ "type": "page"
},
{
- "path": "pages/help/index",
- "type": "page",
- "style": {
- "navigationBarTitleText": "帮助中心",
- "navigationStyle": "default",
- "navigationBarBackgroundColor": "#ffffff",
- "navigationBarTextStyle": "black"
- }
- },
- {
- "path": "pages/about/index",
- "type": "page",
- "style": {
- "navigationBarTitleText": "关于我们",
- "navigationStyle": "default",
- "navigationBarBackgroundColor": "#ffffff",
- "navigationBarTextStyle": "black"
- }
+ "path": "pages/inquire/user-notice",
+ "type": "page"
},
{
"path": "pages/legal/authorization",
diff --git a/src/about-us.vue b/src/pages/about-us.vue
similarity index 97%
rename from src/about-us.vue
rename to src/pages/about-us.vue
index 2abfa8b..9386674 100644
--- a/src/about-us.vue
+++ b/src/pages/about-us.vue
@@ -37,7 +37,7 @@ function copyEmail() {
- 全能查
+ 天远查车
买车先查车况,更安心
@@ -65,7 +65,7 @@ function copyEmail() {
- 全能查是一款专业的车辆信息查询工具,为广大用户提供便捷、准确、全面的车辆车况查询服务。我们致力于帮助用户在二手车交易、车辆保养等场景中做出更明智的决策。
+ 天远查车是一款专业的车辆信息查询工具,为广大用户提供便捷、准确、全面的车辆车况查询服务。我们致力于帮助用户在二手车交易、车辆保养等场景中做出更明智的决策。
@@ -249,7 +249,7 @@ function copyEmail() {
公司名称
- 海南海宇大数据有限公司
+ 广西福铭网络科技有限公司
服务宗旨
@@ -268,7 +268,7 @@ function copyEmail() {
diff --git a/src/help-center.vue b/src/pages/help-center.vue
similarity index 99%
rename from src/help-center.vue
rename to src/pages/help-center.vue
index 9419bc6..bde8065 100644
--- a/src/help-center.vue
+++ b/src/pages/help-center.vue
@@ -99,7 +99,7 @@ function goContact() {
- 在线客服
+ 在线客服
快速咨询问题
diff --git a/src/pages/mine.vue b/src/pages/mine.vue
index 684a1dc..e0338b8 100644
--- a/src/pages/mine.vue
+++ b/src/pages/mine.vue
@@ -296,19 +296,20 @@ function goLegalAuthorization() {
}
function goIllegalCode() {
- uni.showToast({ title: '敬请期待', icon: 'none' })
+ uni.navigateTo({ url: '/pages/toolbox/query?key=jtwfcode' })
}
function goOilPrice() {
- uni.showToast({ title: '敬请期待', icon: 'none' })
+ uni.navigateTo({ url: '/pages/toolbox/query?key=oilprice' })
}
function goHelp() {
- uni.navigateTo({ url: '/pages/help/index' })
+ uni.navigateTo({ url: '/pages/help-center' })
}
+
function goAbout() {
- uni.navigateTo({ url: '/pages/about/index' })
+ uni.navigateTo({ url: '/pages/about-us' })
}
function goSettings() {
@@ -394,32 +395,31 @@ onUnmounted(() => {
分享好友
-
+
+
常用工具
-
-
-
-
+
+
+
+
- 实时油价查询
- ›
+ 实时油价查询
-
-
-
+
+
+
- 违章代码查询
- ›
+ 违章代码查询
@@ -427,29 +427,34 @@ onUnmounted(() => {
服务与支持
-
-