From 10207852795508714a0f84bd7934cbbf6a80f572 Mon Sep 17 00:00:00 2001
From: 819527061@qq.com <123456>
Date: 星期二, 27 八月 2024 08:16:16 +0800
Subject: [PATCH] 外销添加申请复磅按钮

---
 pages/customer-page/customer-index/customer-index.vue |   37 ++++++++++++++++++++++++-------------
 1 files changed, 24 insertions(+), 13 deletions(-)

diff --git a/pages/customer-page/customer-index/customer-index.vue b/pages/customer-page/customer-index/customer-index.vue
index a67baf1..356b6d2 100644
--- a/pages/customer-page/customer-index/customer-index.vue
+++ b/pages/customer-page/customer-index/customer-index.vue
@@ -26,11 +26,12 @@
 						</u-cell>
 					</u-cell-group>
 				</view>
-				<view style="position: relative;top: -120px;">
+				<view style="position: relative;">
 					<u-empty mode="data"
 						icon="http://cdn.uviewui.com/uview/empty/data.png"
 						textSize="30"
 						iconSize="1000"
+						text="鏆傛棤鏁版嵁"
 						v-if="orderPlanData.length == 0"></u-empty>
 				</view>
 				<view class="collection-form">
@@ -63,6 +64,11 @@
 								</view>
 							</view> -->
 							<view class="car-num">{{ item.code||''}}</view>
+						</view>
+						<!-- 娣诲姞鍒涘缓鏃堕棿 -->
+						<view class="third-line">
+							<text style="font-size: 28rpx;color: #515151" >鍒涘缓鏃堕棿锛�</text>
+							<view  style="font-size: 28rpx;color: #515151">{{ item.createTime }}</view>
 						</view>
 						<view class="third-line">
 							<view class="time-icon">
@@ -103,6 +109,7 @@
 							icon="http://cdn.uviewui.com/uview/empty/data.png"
 							textSize="30"
 							iconSize="1000"
+							text="鏆傛棤鏁版嵁"
 							v-if="historyCoalData.length == 0"></u-empty>
 						<view class="history-information"
 							v-for="(item, index) in historyCoalData"
@@ -135,6 +142,11 @@
 									<view class="third-line_num">{{ item.tmCount }}</view>
 								</view>
 							</view>
+							<!-- 娣诲姞鍒涘缓鏃堕棿 -->
+						<view class="fourth" style="justify-content: start;">
+							<view style="font-size: 28rpx;color: #515151" >鍒涘缓鏃堕棿锛�</view>
+							<view  style="font-size: 28rpx;color: #515151">{{ item.createTime }}</view>
+						</view>
 							<view class="fourth">
 								<view class="fourth-icon">
 									<view
@@ -162,7 +174,7 @@
 			<view class="previewImage-container">
 				<view class="previewImage-container">
 					<previewImage ref="previewImage"
-						:imgs="TourImgList"
+						:imgs="customerTourImgList"
 						:saveBtn='false'></previewImage>
 				</view>
 			</view>
@@ -195,6 +207,7 @@
 	import { customerId } from '@/utils/status';
 	import previewImage from '@/components/kxj-previewImage/kxj-previewImage.vue';
 	import { BaseUrl } from '@/api/publicInterface.js'
+	import { mapState } from 'vuex'
 	export default {
 		props: {
 			orderPlanDataStore: {
@@ -216,6 +229,7 @@
 			}
 		},
 		computed: {
+			...mapState(['customerTourImgList']),
 			roleType() {
 				return uni.getStorageSync('roleType');
 			},
@@ -249,26 +263,23 @@
 				onlineurl,
 				previewImageShow: false,
 				previewImageSrc: '',
-				TourImgList: ['https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg',
-					'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality02.jpg',
-					'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality03.jpg',
-					'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality04.jpg',
-					'https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality05.jpg'
-				],
 				phone: "",
 				isFirstLogin: true
 			};
 		},
-		onLoad() {},
+		mounted() {
+			this.getLogOn()
+		},
 		onShow() {
 			this.init();
+
 		},
 		methods: {
 			init() {
 				this.GetOrderPlan();
 				this.getJhOrderPlanDataPage();
 				this.onlineurl = onlineurl;
-				this.getLogOn()
+				// this.getLogOn()
 			},
 			// 鑾峰彇鍙戣繍璁″垝鍒楄〃
 			GetOrderPlan() {
@@ -392,7 +403,7 @@
 					.navigateTo({ url: `/pages/driver-page/driver-index/bill-of-lading-details/selectOrderPlan/selectOrderPlan?index=${index}` });
 			},
 			noobTour(v) {
-				this.$refs.previewImage.open('https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality01.jpg')
+				this.$refs.previewImage.open('https://mx.jzeg.cn:9095/appimg/image/tour/quality/quality1.jpg')
 			},
 			getLogOn() {
 				this.$reqGet('getUserEntity').then(res => {
@@ -581,7 +592,6 @@
 
 				.collection-form-item {
 					width: 690rpx;
-					height: 300rpx;
 					background: #ffffff;
 					box-shadow: 4rpx 6rpx 25rpx 0rpx rgba(73, 120, 240, 0.15);
 					border-radius: 20rpx;
@@ -699,6 +709,7 @@
 						position: relative;
 						bottom: vww(10);
 						left: 25%;
+            margin-top: 16rpx;
 
 						.receive,
 						.forward {
@@ -777,4 +788,4 @@
 			}
 		}
 	}
-</style>
\ No newline at end of file
+</style>

--
Gitblit v1.9.1