From b9ab06a841725c6c7f4538b90978cf6dd1c2f40f Mon Sep 17 00:00:00 2001
From: huliyong <2783385703@qq.com>
Date: Wed, 6 Nov 2024 20:48:19 +0800
Subject: [PATCH] =?UTF-8?q?=E5=AF=B9=E6=8E=A5=E7=99=BB=E5=BD=95?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
App.vue | 4 +-
api/api.js | 2 +-
components/base/centerList.vue | 174 ++++----
components/base/tabbar.vue | 2 +-
components/config/configPopup.vue | 3 +-
components/config/customerServicePopup.vue | 12 +-
config.js | 2 +-
pages/index/center2.vue | 8 +-
pages/index/index.vue | 14 +-
pages/index/tradingPlatform.vue | 20 +-
pages_order/auth/customsClearApply.vue | 18 +-
.../auth/loginAndRegisterAndForgetPassword.vue | 4 +-
pages_order/auth/registerShop.vue | 25 +-
pages_order/auth/selectionIdentity.vue | 40 +-
pages_order/center/addressListManage.vue | 397 +++++++++---------
pages_order/components/address/addressList.vue | 449 ++++++++++-----------
pages_order/components/address/redactAddress.vue | 430 ++++++++++----------
pages_order/mine/address.vue | 2 +-
pages_order/tradingPlatform/confirmOrder.vue | 12 +-
pages_order/tradingPlatform/nowOrder.vue | 343 ++++++++--------
store/store.js | 32 +-
21 files changed, 1029 insertions(+), 964 deletions(-)
diff --git a/App.vue b/App.vue
index 2086032..a249d09 100644
--- a/App.vue
+++ b/App.vue
@@ -1,10 +1,10 @@
\ No newline at end of file
diff --git a/components/base/tabbar.vue b/components/base/tabbar.vue
index ed5ce72..e7b69ad 100644
--- a/components/base/tabbar.vue
+++ b/components/base/tabbar.vue
@@ -89,7 +89,7 @@
flex-direction: row;
height: 120rpx;
padding-bottom: env(safe-area-inset-bottom);
- z-index: 99999;
+ z-index: 99;
bottom: 0;
left: 0;
color: #FFF;
diff --git a/components/config/configPopup.vue b/components/config/configPopup.vue
index 4f70dd3..2c2621e 100644
--- a/components/config/configPopup.vue
+++ b/components/config/configPopup.vue
@@ -23,11 +23,10 @@
//打开配置信息菜单
open(key){
- this.content = this.configList[key]
+ this.content = this.configList[key] && this.configList[key].value
this.$refs.popup.open('bottom');
}
-
},
computed : {
diff --git a/components/config/customerServicePopup.vue b/components/config/customerServicePopup.vue
index 192491c..47c889a 100644
--- a/components/config/customerServicePopup.vue
+++ b/components/config/customerServicePopup.vue
@@ -21,6 +21,9 @@
@@ -95,7 +126,7 @@
width: 80%;
margin-bottom: 40rpx;
padding: 40rpx 50rpx;
- background-color: #2d2f59;
+ background-color: #2d2f5997;
border-radius: 20rpx;
color: white;
@@ -108,6 +139,9 @@
height: 130rpx;
}
}
+ .act{
+ background-color: #2d2f59;
+ }
}
}
\ No newline at end of file
diff --git a/pages_order/center/addressListManage.vue b/pages_order/center/addressListManage.vue
index 8996f19..e4a44da 100644
--- a/pages_order/center/addressListManage.vue
+++ b/pages_order/center/addressListManage.vue
@@ -1,214 +1,211 @@
-
+
-
+
-
-
-
+
+
+
-
+
+
-
-
- 新增地址
-
-
-
+
+
+ 新增地址
+
+
+
\ No newline at end of file
diff --git a/pages_order/components/address/addressList.vue b/pages_order/components/address/addressList.vue
index 98b7814..92f05ce 100644
--- a/pages_order/components/address/addressList.vue
+++ b/pages_order/components/address/addressList.vue
@@ -1,233 +1,232 @@
-
-
-
-
-
-
-
-
-
-
-
- {{ item.name }}
- {{ item.phone }}
- 默认
-
-
-
- {{ item.address + " " + item.addressDetail }}
-
-
-
-
-
-
-
-
- 默认地址
-
-
-
-
-
- 编辑
-
-
-
-
- 删除
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+ {{ item.name }}
+ {{ item.phone }}
+ 默认
+
+
+
+ {{ item.address + " " + item.addressDetail }}
+
+
+
+
+
+
+
+
+
+
+ 默认地址
+
+
+
+
+
+ 编辑
+
+
+
+
+ 删除
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/pages_order/components/address/redactAddress.vue b/pages_order/components/address/redactAddress.vue
index 7ce2ac1..57ce90c 100644
--- a/pages_order/components/address/redactAddress.vue
+++ b/pages_order/components/address/redactAddress.vue
@@ -1,223 +1,223 @@
-
-
- {{ title }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 定位
-
-
-
-
-
-
-
-
-
-
- {{ addressDetail.id ? '修改地址' : '新增地址' }}
-
-
-
+
+
+ {{ title }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 定位
+
+
+
+
+
+
+
+
+
+
+ {{ addressDetail.id ? '修改地址' : '新增地址' }}
+
+
+
\ No newline at end of file
diff --git a/pages_order/mine/address.vue b/pages_order/mine/address.vue
index 65f82d7..a504338 100644
--- a/pages_order/mine/address.vue
+++ b/pages_order/mine/address.vue
@@ -78,7 +78,7 @@
phone: addressDetail.phone,
address: addressDetail.address,
addressDetail: addressDetail.addressDetail,
- defaultId: addressDetail.defaultId || '0',
+ defaultFlag: addressDetail.defaultFlag || '0',
latitude: addressDetail.latitude,
longitude: addressDetail.longitude
}
diff --git a/pages_order/tradingPlatform/confirmOrder.vue b/pages_order/tradingPlatform/confirmOrder.vue
index 4916a57..5e1d515 100644
--- a/pages_order/tradingPlatform/confirmOrder.vue
+++ b/pages_order/tradingPlatform/confirmOrder.vue
@@ -90,9 +90,15 @@
type
}, res => {
if (res.code == 200) {
- uni.redirectTo({
- url: '/pages/index/clearanceService'
- })
+ if(type){
+ uni.redirectTo({
+ url: '/pages_order/order/myOrders'
+ })
+ }else{
+ uni.redirectTo({
+ url: '/pages/index/tradingPlatform'
+ })
+ }
}
})
},
diff --git a/pages_order/tradingPlatform/nowOrder.vue b/pages_order/tradingPlatform/nowOrder.vue
index 53274bc..bc28d99 100644
--- a/pages_order/tradingPlatform/nowOrder.vue
+++ b/pages_order/tradingPlatform/nowOrder.vue
@@ -21,54 +21,59 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- 提货地点
-
-
-
- {{ address.name }}
-
-
-
-
-
-
-
-
-
-
- {{ $t('components.detailedAddress') }}
-
-
- {{ address.address + ' ' + address.addressDetail }}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+ 提货地点
+
+ {{ fatherData.address }}
+
+
+
+
+
+
+
+
+
+
+
@@ -76,15 +81,12 @@
{{ $t('components.deliveryDate') }}
-
+
{{ form.takeTime }}
-
+
>
@@ -99,8 +101,7 @@
{{ $t('other.tentativeQuantity') }}
-
+
@@ -124,7 +125,7 @@
{{ $t('other.priceQuantityPercentage', [10]) }}
-
+
@@ -144,47 +145,49 @@
-
-
-
-
+
+
+
+