From 7af16f32de779ba2360344218f807c9909677ee1 Mon Sep 17 00:00:00 2001
From: yangan <yangan0921@163.com>
Date: 星期四, 08 八月 2024 11:20:20 +0800
Subject: [PATCH] feat:关于产品名称换行样式修改

---
 pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue |   44 ++++++++++++++++++++++++--------------------
 1 files changed, 24 insertions(+), 20 deletions(-)

diff --git a/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue b/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue
index d4f6810..35dbfdd 100644
--- a/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue
+++ b/pages/public-page/faYunstatisticsDetails/faYunstatisticsDetails.vue
@@ -4,13 +4,13 @@
 			style="background: url('https://mx.jzeg.cn:9096/appimg/image/banner/loadingbanner.png') no-repeat;background-size: cover;">
 			<view class="top-information">
 				<view class="cutomer-name"
-					v-if="orderType == '杞叆' || orderType == '杞嚭'">鐓ゅ満:{{ coalDetailsData.toFiledName || '' }}</view>
+					v-if="orderType == '杞叆' || orderType == '杞嚭'">鍦哄湴:{{ coalDetailsData.toFiledName || '' }}</view>
 				<view class="cutomer-name"
 					v-else>瀹㈡埛:{{ coalDetailsData.customerName || '' }}</view>
 				<view class="fild-name">
 					<view class="">鐭垮満:{{ coalDetailsData.deptName || '鏆傛棤' }}</view>
 					<view class=""
-						v-if="orderType == '杞叆' || orderType == '杞嚭'">鐓ゅ満:{{ coalDetailsData.filedName || '' }}</view>
+						v-if="orderType == '杞叆' || orderType == '杞嚭'">鍦哄湴:{{ coalDetailsData.filedName || '' }}</view>
 					<view class=""
 						v-else>浠撳簱:{{ coalDetailsData.filedName || '鏆傛棤' }}</view>
 				</view>
@@ -230,14 +230,14 @@
 						
 						<u-form-item prop='contactPicture'>
 							<view class="label-text">
-								<text style="color: #f56c6c;">*</text>鍘熷彂纾呭崟
+								<text style="color: #f56c6c;">*</text>鍘熷彂鍗曟嵁
 							</view>
 							<u-upload :fileList="fileList1"
 								@afterRead="afterRead"
 								@delete="deletePic"
 								name="1"
 								multiple
-								:maxCount="2"
+								:maxCount="fileList1.length ? fileList1.length  : 2"
 								width="250"
 								height="150"
 								:previewFullImage="true"
@@ -298,7 +298,7 @@
 		<!-- <view class="completeOutSale">
 			<u-modal :show="completeOutSaleShow"
 				title="纭"
-				content="鏄惁瀹屾垚澶栭攢鎻愮叅鍗�"
+				content="鏄惁瀹屾垚澶栭攢鏀跺彂鍗�"
 				:showCancelButton="true"
 				@confirm="completeOutSaleConfirm"
 				@cancel="completeOutSaleCancel"></u-modal>
@@ -324,13 +324,13 @@
 			combinedTitle,
 		},
 		onPullDownRefresh() {
-			this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+			this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			// uni.stopPullDownRefresh();
 		},
 		onLoad(value) {
 			this.orderPlanId = value.id;
 			// this.yyId = value.yyId;
-			// this.originInfoVisible = value.orderType === '澶栬喘'
+			this.originInfoVisible = value.orderType === '澶栬喘'
 			// if (value.overTmWaixiao) {
 			// 	this.overTmWaixiao = value.overTmWaixiao
 			// 	this.getWeightHouseObj.overTmWaixiao = value.overTmWaixiao
@@ -339,7 +339,7 @@
 			this.changeglobalIsFirstWeighing(1)
 			if (this.globalIsFirstWeighing === 1) {
 				console.log('鑾峰彇璇︽儏 onload');
-				this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+				this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			}
 			this.init(); //鑾峰彇鏃ュ織
 		},
@@ -347,7 +347,7 @@
 			this.coalDayPage(); //鑾峰彇鏃ュ織 瀹氭椂浠诲姟
 			if (this.globalIsFirstWeighing === 2) {
 				console.log('鑾峰彇璇︽儏 onShow');
-				this.getTakeCoal(); //鑾峰彇鎻愮叅鍗曡鎯�
+				this.getTakeCoal(); //鑾峰彇鏀跺彂鍗曡鎯�
 			}
 		},
 		onHide() {
@@ -368,7 +368,7 @@
 			return {
 				swiperList:[],
 				orderPlanId: null,
-				radioValue:'鐓ゅ満',
+				radioValue:'鍦哄湴',
 				tmTaskCoalList:[],
 				currentNum:0,
 				guideLineshow:false,
@@ -381,8 +381,8 @@
 				},
 				coalDetailsData: {
 					tmTaskCoalList:[]
-				}, // 鎻愮叅鍗曡鎯�
-				currentPageCoalStatus: 0, // 褰撳墠椤甸潰鎻愮叅鍗曠姸鎬�
+				}, // 鏀跺彂鍗曡鎯�
+				currentPageCoalStatus: 0, // 褰撳墠椤甸潰鏀跺彂鍗曠姸鎬�
 				// 鑾峰彇鎵�鍦ㄧ鎴垮弬鏁�
 				getWeightHouseObj: {
 					deptId: '',
@@ -408,7 +408,7 @@
 					openName: '',
 					serviecePhone: ''
 				},
-				coalStatus: ['棰嗗彇', '棰勭害', '绛惧埌', '鍏ュ満', '绉扮毊', '绉版瘺', '绂诲満', '鍏ョ鎴�', '鍑虹鎴�', '鍏ョ叅浠�', '鍑虹叅浠�', '鏀剧┖', '浣滃簾', '鍏ュ満鐢宠',
+				coalStatus: ['棰嗗彇', '棰勭害', '绛惧埌', '鍏ュ満', '绉扮毊', '绉版瘺', '绂诲満', '鍏ョ鎴�', '鍑虹鎴�', '鍏ヤ粨搴�', '鍑轰粨搴�', '鏀剧┖', '浣滃簾', '鍏ュ満鐢宠',
 					'杩涘叆鍦洪櫌', '寮傚父瀹℃牳涓�', '杩斿洖鍔犲噺鍚�', '瓒呮椂', '鎵撳嵃涓�', '鎵撳嵃涓�', '濉啓', '鏀剧┖纭涓�', '瓒呮渶澶ф瘺閲嶇‘璁や腑'
 				], // 鐘舵��
 				weighHouseCode: '',
@@ -594,7 +594,7 @@
 					}
 				});
 			},
-			// 鑾峰彇鎻愮叅鍗曡鎯�
+			// 鑾峰彇鏀跺彂鍗曡鎯�
 			getTakeCoal() {
 				uni.showLoading({
 					title: '鍔犺浇涓�'
@@ -602,7 +602,7 @@
 				this.$reqGet('getTakeCoal', { takeCoalId: this.orderPlanId }).then(res => {
 					if (res.code == 0) {
 						uni.hideLoading();
-						console.log(res, '鎻愮叅鍗曡鎯�');
+						console.log(res, '鏀跺彂鍗曡鎯�');
 						this.coalDetailsData = res.data;
 						this.orderType = this.coalDetailsData.orderType;
 						// 
@@ -625,7 +625,7 @@
 						// 鑾峰彇瀹㈡湇openId鍙傛暟璧嬪��
 						this.getServiceOpenid.deptId = this.coalDetailsData.deptId;
 						this.getServiceOpenid.filedId = this.coalDetailsData.filedId;
-						// 鑾峰彇鎻愮叅鍗曠姸鎬�
+						// 鑾峰彇鏀跺彂鍗曠姸鎬�
 						this.currentPageCoalStatus = this.coalDetailsData.status;
 						// 鑾峰彇鍘熷彂淇℃伅
 						this.primarySkin = this.coalDetailsData.skinTwo;
@@ -817,7 +817,7 @@
 				this.guideLineshow = true;
 				this.swiperList = [];
 				this.activeText = '';
-				this.activeObj.affiliationId = this.coalDetailsData.filedId; //榛樿鏌ョ叅鍦�
+				this.activeObj.affiliationId = this.coalDetailsData.filedId; //榛樿鏌ュ満鍦�
 				this.getguideFun();
 
 			},
@@ -992,11 +992,15 @@
 					.coalName,
 					.order-type {
 						width: 45%;
-						height: 30rpx;
+						height: 60rpx;
 						font-size: 30rpx;
 						font-weight: 300;
 						color: #515151;
 						position: relative;
+						overflow: hidden;
+                        text-overflow: ellipsis;
+                        white-space: nowrap;
+						
 					}
 
 					.black-block {
@@ -1009,13 +1013,13 @@
 				}
 
 				.time {
-					width: 35%;
+					width: 40%;
 					height: vww(12);
 					display: flex;
 					justify-content: flex-start;
 
 					.send-date {
-						width: 148rpx;
+						width: 300rpx;
 						height: 24rpx;
 						margin-left: vww(14);
 						font-size: 28rpx;

--
Gitblit v1.9.1