From 3fd787a5f18c803e3357871198dc53c7a4d586b7 Mon Sep 17 00:00:00 2001
From: chenkun <3289431190@qq.com>
Date: Mon, 4 Nov 2024 02:15:42 +0800
Subject: [PATCH] .
---
api/api.js | 7 +
components/base/topbar.vue | 13 +-
package.json | 3 +-
pages/index/clearanceService.vue | 9 +-
pages/index/index.vue | 51 +-
pages/index/tradingPlatform.vue | 451 +++++++-----
pages_order/components/address/addressList.vue | 2 +
pages_order/order/offerOrBillLading.vue | 952 ++++++++++++++-----------
8 files changed, 883 insertions(+), 605 deletions(-)
diff --git a/api/api.js b/api/api.js
index 3c69dbc..08a20fb 100644
--- a/api/api.js
+++ b/api/api.js
@@ -161,6 +161,13 @@ const config = {
method: 'GET',
limit: 500,
},
+ // 获取banner列表
+ bannerList: {
+ url: '/index/bannerList',
+ method: 'POST',
+ limit: 500,
+ },
+
}
diff --git a/components/base/topbar.vue b/components/base/topbar.vue
index f95d60e..996619f 100644
--- a/components/base/topbar.vue
+++ b/components/base/topbar.vue
@@ -15,6 +15,8 @@
\ No newline at end of file
diff --git a/pages_order/components/address/addressList.vue b/pages_order/components/address/addressList.vue
index 8a4beb4..9496de9 100644
--- a/pages_order/components/address/addressList.vue
+++ b/pages_order/components/address/addressList.vue
@@ -86,12 +86,14 @@ export default {
total : 0,
}
},
+
methods: {
//获取地址列表
getAddressList() {
return new Promise((success, fail) => {
this.$api('addressList', this.queryParams, res => {
if (res.code == 200) {
+ console.log("res.result.records", res.result.records)
this.addressList = res.result.records || [];
this.total = res.result.total || 0;
this.addressList.forEach(n => { //筛选默认地址
diff --git a/pages_order/order/offerOrBillLading.vue b/pages_order/order/offerOrBillLading.vue
index 83266a9..b6dae24 100644
--- a/pages_order/order/offerOrBillLading.vue
+++ b/pages_order/order/offerOrBillLading.vue
@@ -1,438 +1,554 @@
-
+
-
+
-
-
+
+
- {{ $t('other.aluminumProducts') }}
-
-
-
-
-
-
- {{ $t('other.supplierName') }}
- 华南铝业有限公司
-
-
-
-
- {{ $t('components.productSpe') }}
- 铝制品(Al>96%)
-
-
-
-
- {{ $t('components.pickupLocation') }}
-
-
-
-
-
-
-
-
-
-
-
- {{ $t('components.detailedAddress') }}
-
-
-
-
-
-
-
- {{ $t('components.deliveryDate') }}
-
-
-
- {{ form.deliveryDate }}
-
-
-
- >
-
-
-
-
-
-
-
- {{ $t('other.tentativeQuantity') }}
-
-
-
-
-
-
-
- {{ $t('components.unitPrice') }}
-
-
-
-
-
-
-
+ style="width: 10rpx;height: 40rpx;background-color: #1f1c39;border-radius: 10rpx;overflow: hidden;">
+ {{ $t('other.aluminumProducts') }}
+
+
+
+
+
+
+ {{ $t('other.supplierName') }}
+ 华南铝业有限公司
+
+
+
+
+ {{ $t('components.productSpe') }}
+ 铝制品(Al>96%)
+
+
+
+
+ {{ $t('components.shippingAddress') }}
+
+
+
+ {{ address.name }}
+
+
+ {{ address.addressDetail }}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $t('components.deliveryDate') }}
+
+
+
+ {{ form.transactionTime }}
+
+
+
+ >
+
+
+
+
+
+
+
+ {{ $t('other.tentativeQuantity') }}
+
+
+
+
+
+
+
+ {{ $t('components.unitPrice') }}
+
+
+
+
+
+
+
{{ titleIndex == 0 ? $t('other.submitQuotation') : $t('other.submitReview') }}
-
+
{{ $t('components.contactUs') }}
- {{ $t('components.contactTip') }}
-
+ {{ $t('components.contactTip') }}
+
-
-
+
+
-
-
+
+
-
+
+
+
+
+
+
+
\ No newline at end of file