From 7be1d39055f2d6727eea845552fdd72489a2efc8 Mon Sep 17 00:00:00 2001
From: caolc <572275724@qq.com>
Date: Tue, 6 Jun 2023 15:57:44 +0800
Subject: [PATCH] 1
---
.../pages/login/components/loginBottom.vue | 17 +++-
BagAuth/pages/login/login.vue | 83 +++++++++++++++++--
components/site-item/site-item.vue | 4 +-
utils/request.js | 4 +-
4 files changed, 97 insertions(+), 11 deletions(-)
diff --git a/BagAuth/pages/login/components/loginBottom.vue b/BagAuth/pages/login/components/loginBottom.vue
index 2dfbe9f..dbd842c 100644
--- a/BagAuth/pages/login/components/loginBottom.vue
+++ b/BagAuth/pages/login/components/loginBottom.vue
@@ -17,16 +17,27 @@
+
\ No newline at end of file
diff --git a/components/site-item/site-item.vue b/components/site-item/site-item.vue
index e7fbb02..1e9ded4 100644
--- a/components/site-item/site-item.vue
+++ b/components/site-item/site-item.vue
@@ -1,5 +1,5 @@
-
+
@@ -110,6 +110,8 @@
distanceFilter(value) {
if (value) {
return value > 1000 ? ((value / 1000).toFixed(2) + 'km') : (value + 'm')
+ }else{
+ return '0.00km'
}
},
moneyFormat(value) {
diff --git a/utils/request.js b/utils/request.js
index 91d109e..f204573 100644
--- a/utils/request.js
+++ b/utils/request.js
@@ -7,8 +7,8 @@ const env = 'production'/* */
const testUrl = 'http://192.168.0.45:38080'
// const productUrl = 'http://121.196.213.68/adminapi' //预生产
-// const productUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
-const productUrl = 'http://uat.xingoil.com/adminapi' // 生产,加密 new
+const productUrl = 'https://www.xingoil.com/adminapi' // 生产,加密 new
+// const productUrl = 'http://uat.xingoil.com/adminapi' // 生产,加密 new
const service = axios.create({
baseURL: env == 'production' ? productUrl : testUrl,
// baseURL: testUrl,