From f52085a9bc8c61cf7097426d7a6b2985d890da68 Mon Sep 17 00:00:00 2001
From: qingyiay <2386314947@qq.com>
Date: 星期三, 12 七月 2023 16:52:34 +0800
Subject: [PATCH] 增加用户隐私协议,验质增加字段,优化ws

---
 pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue |   22 ++++++++++++----------
 1 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue b/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
index 92084f9..961b857 100644
--- a/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
+++ b/pages/freight-forwarder-page/freightForwarder-index/freightForwarder-index.vue
@@ -2,7 +2,7 @@
 	<view class="freightForwarder-index">
 		<view class="freightForwarder-index-body">
 			<view class="wait-collection"
-				style="background: url('https://mx.jzeg.cn:9095/appimg/image/banner/customerbanner.png') no-repeat;background-size:contain">
+				:style="{ backgroundImage: `url(${onlineurl}/appimg/image/banner/customerbanner.png)`, backgroundSize: 'contain', backgroundRepeat: 'no-repeat' }">
 			</view>
 			<view style="position: relative;top: -120px;">
 				<u-empty mode="data"
@@ -54,7 +54,7 @@
 					<view class="third-line">
 						<view class="time-icon">
 							<view
-								style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clock.png') no-repeat;background-size: cover">
+								:style="{backgroundImage: `url(${onlineurl}/appimg/image/banner/clock.png)`,backgroundSize: 'cover',backgroundRepeat: 'no-repeat',width:'24rpx',height:'24rpx',lineHeight:'24rpx'}">
 							</view>
 						</view>
 						<view class="send-date">{{ item.sendDate }}</view>
@@ -71,7 +71,7 @@
 				<u-empty mode="data" icon="http://cdn.uviewui.com/uview/empty/data.png" textSize="30" iconSize="1000" v-if="orderPlanData.length == 0"></u-empty>
 			</view> -->
 			<view class="history-numbers">
-				<combined-title title="鍘嗗彶鎻愮叅鍗�"></combined-title>
+				<combined-title title="鍘嗗彶閫氱煡鍗�"></combined-title>
 				<scroll-view :scroll-top="scrollTop"
 					scroll-y="true"
 					class="scroll-Y"
@@ -106,14 +106,14 @@
 								<view class="third-line_num">{{ item.carNumSurplus }}</view>
 							</view>
 							<view class="third-line">
-								<view class="third-line_text">鎻愮叅鍗曚釜鏁帮細</view>
+								<view class="third-line_text">閫氱煡鍗曚釜鏁帮細</view>
 								<view class="third-line_num">{{ item.tmCount }}</view>
 							</view>
 						</view>
 						<view class="fourth">
 							<view class="fourth-icon">
 								<view
-									style="width: 24rpx;height: 24rpx;line-height: 24rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/clock.png') no-repeat;background-size: cover">
+									:style="{backgroundImage: `url(${onlineurl}/appimg/image/banner/clock.png)`,backgroundSize: 'cover',backgroundRepeat: 'no-repeat',width:'24rpx',height:'24rpx',lineHeight:'24rpx'}">
 								</view>
 							</view>
 							<view class="senddate">{{ item.sendDate }}</view>
@@ -121,7 +121,7 @@
 						<view class="fourth">
 							<view class="fourth-icon">
 								<view
-									style="width: 26rpx;height: 26rpx;line-height: 26rpx;background: url('https://mx.jzeg.cn:9095/appimg/image/banner/carnNUm.png') no-repeat;background-size: cover">
+									:style="{backgroundImage: `url(${onlineurl}/appimg/image/banner/carnNUm.png)`,backgroundSize: 'cover',backgroundRepeat: 'no-repeat',width:'26rpx',height:'26rpx',lineHeight:'26rpx'}">
 								</view>
 							</view>
 							<view class="senddate">{{ item.orderCode }}</view>
@@ -137,6 +137,7 @@
 </template>
 
 <script>
+	import { onlineurl } from '@/api/request.js'
 	import combinedTitle from '@/components/combined-title/combined-title.vue';
 	export default {
 		props: {
@@ -182,7 +183,8 @@
 				// 鏁版嵁鎬婚噺
 				total: 0,
 				// 鏄惁鏄剧ず鏇村鏁版嵁
-				showMoreData: false
+				showMoreData: false,
+				onlineurl,
 			};
 		},
 		onShow() {
@@ -194,7 +196,7 @@
 			}
 		},
 		methods: {
-			// 鑾峰彇鍘嗗彶鎻愮叅鍗�
+			// 鑾峰彇鍘嗗彶閫氱煡鍗�
 			getJhOrderPlanDataPage() {
 				uni.showLoading({
 					title: '鍔犺浇涓�'
@@ -218,7 +220,7 @@
 				this.pageCurrent++;
 				this.getJhOrderPlanDataPage();
 			},
-			//fix 鐐瑰嚮鎻愮叅鍗曡繑鍥炰細澧炲姞閲嶅鏁版嵁
+			//fix 鐐瑰嚮閫氱煡鍗曡繑鍥炰細澧炲姞閲嶅鏁版嵁
 			ArrSet(Arr, id) {
 				var obj = {};
 				const arrays = Arr.reduce((setArr, item) => {
@@ -254,7 +256,7 @@
 					url: `/pages/public-page/forward/forward?orderPlanId=${value.orderPlanId}&carNumSurplusHuodai=${value.carNumSurplusHuodai}&carNum=${value.carNum}`
 				});
 			},
-			// 鐐瑰嚮鍘嗗彶鎻愮叅鍗曚竴琛岃幏鍙栬鎯�
+			// 鐐瑰嚮鍘嗗彶閫氱煡鍗曚竴琛岃幏鍙栬鎯�
 			faYundetail(v) {
 				uni.navigateTo({
 					url: `/pages/customer-page/customer-index/fayunPlanDetails/fayunPlanDetails?orderPlanId=${v.id}&cars2=${v.cars2}`

--
Gitblit v1.9.1