liujiaxin пре 3 недеља
родитељ
комит
1c2bc91036

+ 2 - 1
pages/shopping/confirmOrder.vue

@@ -36,7 +36,8 @@
 					<view class="info-box">
 						<view>
 							<view class="name-box ellipsis2">
-								<view class="tag">{{utils.getDictLabelName("storeProductType",item.productType)}}</view>{{item.productName}}
+								<!-- <view class="tag">{{utils.getDictLabelName("storeProductType",item.productType)}}</view> -->
+								{{item.productName}}
 							</view>
 							<view class="spec ellipsis2">{{item.productAttrName}}</view>
 						</view>

+ 7 - 7
pages/shopping/paymentOrder.vue

@@ -8,7 +8,7 @@
 					<text class="unit">¥</text>
 					<text class="num" >{{payMoney.toFixed(2)}}</text>
 				</view>
-				<text class="desc" v-if="payType==2">代收金额{{payDelivery.toFixed(2)}},请您在收到快递后支付尾款给快递人员。</text>
+				<!-- <text class="desc" v-if="payType==2">代收金额{{payDelivery.toFixed(2)}},请您在收到快递后支付尾款给快递人员。</text> -->
 				<!-- <text class="desc" v-if="payType==3">货到付款金额{{payDelivery.toFixed(2)}},请您在收到快递后支付给快递人员。</text> -->
 			</view>
 			<!-- 支付方式 -->
@@ -25,7 +25,7 @@
 							<radio :value="1" :checked="order.payType=='1'" />
 						</label>
 					</view>
-					<view class="item"  >
+					<!-- <view class="item"  >
 						<view class="left">
 							<image src="https://jnlzjk-1323137866.cos.ap-chongqing.myqcloud.com/shop/images/pay_de.png" mode=""></image>
 							<text class="text">物流代收</text>
@@ -33,7 +33,7 @@
 						<label>
 							<radio  :value="2" :checked="order.payType=='2'" />
 						</label>
-					</view>
+					</view> -->
 				</radio-group>
 				 
 				<radio-group @change="payTypeChange" v-else-if="order.orderCreateType!=null&& order.orderCreateType==3">
@@ -46,7 +46,7 @@
 							<radio :value="1" :checked="order.payType=='1'" />
 						</label>
 					</view>
-					<view class="item" >
+					<!-- <view class="item" >
 						<view class="left">
 							<image src="https://jnlzjk-1323137866.cos.ap-chongqing.myqcloud.com/shop/images/pay_de.png" mode=""></image>
 							<text class="text">物流代收</text>
@@ -54,7 +54,7 @@
 						<label>
 							<radio  :value="2" :checked="order.payType=='2'" />
 						</label>
-					</view>
+					</view> -->
 					<!-- <view class="item" v-if="user!=null&&user.level==1 "> -->
 					<!-- <view class="item" >
 						<view class="left">
@@ -76,7 +76,7 @@
 							<radio :value="1" :checked="order.payType=='1'" />
 						</label>
 					</view>
-					<view class="item" v-if="payType==2||payType==4">
+					<!-- <view class="item" v-if="payType==2||payType==4">
 						<view class="left" >
 							<image src="https://jnlzjk-1323137866.cos.ap-chongqing.myqcloud.com/shop/images/pay_de.png" mode=""></image>
 							<text class="text">物流代收</text>
@@ -84,7 +84,7 @@
 						<label>
 							<radio  :value="2" :checked="order.payType=='2'" />
 						</label>
-					</view>
+					</view> -->
 					<!-- <view class="item" v-if="user!=null&&user.level==1 "> -->
 					<!-- <view class="item" v-if="payType==1||payType==4" >
 						<view class="left">

+ 2 - 2
pages/user/index.vue

@@ -103,12 +103,12 @@
 									mode=""></image>
 								<text class="text">收货地址</text>
 							</view>
-							<view class="item no-marin-bottom" @click="navgetTo('/pages_user/user/integral')">
+							<!-- <view class="item no-marin-bottom" @click="navgetTo('/pages_user/user/integral')">
 								<image
 									src="https://bjzmky-1323137866.cos.ap-chongqing.myqcloud.com/shop/images/integral.png"
 									mode=""></image>
 								<text class="text">积分管理</text>
-							</view>
+							</view> -->
 							<view class="item no-marin-bottom" @click="navgetTo('/pages_shopping/shopping/myCoupon')">
 								<image
 									src="https://bjzmky-1323137866.cos.ap-chongqing.myqcloud.com/shop/images/mycoupon.png"

+ 1 - 1
pages_company/order/productDetails.vue

@@ -32,7 +32,7 @@
 				{{product.productName}}
 			</view>
 			<view class="intro">
-				{{product.productInfo}}
+				{{product.productInfo||''}}
 			</view>
 			<!-- <view class="safe-box">
 				<image src="https://jnlzjk-1323137866.cos.ap-chongqing.myqcloud.com/shop/images/safe.png" mode=""></image>

+ 1 - 1
pages_company/order/productList.vue

@@ -51,7 +51,7 @@
 					</view>
 					<view class="info-box">
 						<view class="title ellipsis2">{{item.productName}}</view>
-						<view class="intro ellipsis">{{item.productInfo}}</view>
+						<!-- <view class="intro ellipsis">{{item.productInfo}}</view> -->
 						<view class="prce-num">
 							<view class="price">
 								<text class="unit">¥</text>

+ 153 - 86
pages_course/living.vue

@@ -29,7 +29,7 @@
 						</view>
 					</view>
 				</view>
-				<view class="trailer-actions" v-if="!isFocus">
+				<view class="trailer-actions">
 					<button open-type="share" class="button-reset share-button">
 						<view class="action-button mr18" @click="handleAgreement">
 							<text>分享给好友</text>
@@ -52,7 +52,8 @@
 			</view>
 
 			<!-- 主要内容区域 -->
-			<view class="content">
+
+			<view class="content" :class="{ 'horizontal-content': isFocus==1, 'trailer-content': liveItem.status==1  }">
 				<!-- 顶部信息栏 -->
 				<view class="top-info-bar" :class="liveItem.showType == 1 ? 'horizontal-top' : ''">
 					<view class="user-info-section">
@@ -102,40 +103,16 @@
 							:play-strategy="1" @dblclick="preventDoubleClick" preload="auto"
 							:enable-stash-buffer="false" :stash-initial-size="0" :stash-max-size="0" :stash-time="0"
 							type="application/x-mpegURL" :controls="isPlayback"></video> -->
-							<video 
-							  v-if="liveItem.videoUrl && liveItem.liveType == 2 && !generating" 
-							  :id="`myVideo_${liveId}`"
-							  :autoplay="true" 
-							  class="video-player" 
-							  :src="liveItem.videoUrl" 
-							  object-fit="contain"
-							  :custom-cache="false" 
-							  :enable-progress-gesture="false" 
-							  vslide-gesture-in-fullscreen="true"
-							  :show-center-play-btn="false" 
-							  :http-cache="false" 
-							  loop 
-							  @error="videoError"
-							  @timeupdate="onVideoTimeUpdate" 
-							  @loadedmetadata="onVideoMetaLoaded" 
-							  @pause="onVideoPause"
-							  @play="onVideoPlay" 
-							  @waiting="onVideoWaiting" 
-							  :enable-play-gesture="false"
-							  :play-strategy="1" 
-							  @dblclick="preventDoubleClick" 
-							  preload="auto"
-							  :enable-stash-buffer="false" 
-							  :stash-initial-size="0" 
-							  :stash-max-size="0" 
-							  :stash-time="0"
-							  type="application/x-mpegURL" 
-							  :controls="false"  
-							  show-fullscreen-btn  
-							  show-play-btn  
-							  show-mute-btn  
-							  enable-play-gesture="true"  
-							></video>
+						<video v-if="liveItem.videoUrl && liveItem.liveType == 2 && !generating"
+							:id="`myVideo_${liveId}`" :autoplay="true" class="video-player" :src="liveItem.videoUrl"
+							object-fit="contain" :custom-cache="false" :enable-progress-gesture="false"
+							vslide-gesture-in-fullscreen="true" :show-center-play-btn="false" :http-cache="false" loop
+							@error="videoError" @timeupdate="onVideoTimeUpdate" @loadedmetadata="onVideoMetaLoaded"
+							@pause="onVideoPause" @play="onVideoPlay" @waiting="onVideoWaiting"
+							:enable-play-gesture="false" :play-strategy="1" @dblclick="preventDoubleClick"
+							preload="auto" :enable-stash-buffer="false" :stash-initial-size="0" :stash-max-size="0"
+							:stash-time="0" type="application/x-mpegURL" :controls="false" show-fullscreen-btn
+							show-play-btn show-mute-btn enable-play-gesture="true"></video>
 						<view v-else class="txt">回放生成中...</view>
 						<view v-if="isPlayback" class="replay-label">回放</view>
 					</view>
@@ -167,6 +144,7 @@
 				<!-- 底部聊天区域 -->
 				<view class="chat-area-container" :class="{
 				    'chat-area-container2': liveItem.showType == 1,
+					'chat-area-container3': liveItem.status == 1,
 				    'chat-area-focused': isFocus
 				  }" :style="{ '--keyboard-height': keyboardHeight + 'rpx' }">
 					<view class="tabs_bg" v-if="liveItem.showType == 1">
@@ -177,7 +155,8 @@
 
 					<view class="chat-content-wrapper" :class="{ 'chat-content-focused': isFocus }">
 						<!-- 公告 -->
-						<view class="notice-message" v-if="!isFocus&&isShowNotice" :class="liveItem.showType == 1 ? 'horizontal-notice' : ''">
+						<view class="notice-message" v-if="!isFocus&&isShowNotice"
+							:class="liveItem.showType == 1 ? 'horizontal-notice' : ''">
 							公告消息: {{notice.msg}}
 						</view>
 						<scroll-view id="msgScroll" v-if="Array.isArray(talklist)" enable-flex scroll-y="true"
@@ -295,7 +274,7 @@
 					</view> -->
 					<view class="bold fs36 ml20">授权你的昵称信息</view>
 					<view class="mtb20 justify-between align-center  plr20">
-												<view class="button-container">
+						<view class="button-container">
 							<input type="nickname" class="hidden-input" @blur="onNickNameInput" placeholder="请点击授权微信昵称"
 								@input="onNickNameInput" />
 							<!-- <button class="custom-button"
@@ -458,7 +437,8 @@
 			<u-popup :show="isShowPopMsg" round="20rpx" mode="center" zIndex="10076">
 				<view class="message-popup">
 					<image class="message-close-icon"
-						src="https://bjzmky-1323137866.cos.ap-chongqing.myqcloud.com/userapp/images/del2.png" @click="isShowPopMsg = false" />
+						src="https://bjzmky-1323137866.cos.ap-chongqing.myqcloud.com/userapp/images/del2.png"
+						@click="isShowPopMsg = false" />
 					<view class="message-title">消息通知</view>
 					<view class="message-content">{{popMsg}}</view>
 					<view class="message-confirm-button" @click="isShowPopMsg = false">确认</view>
@@ -799,8 +779,8 @@
 				networkType: 'unknown', // 当前网络类型
 				isNetworkAvailable: true, // 网络是否可用
 
-				templateId: 'IKffTm6HnbLS91hDCUnKSQpC2r4EABo3fOtThnK1dI8',//百域承品
-				
+				templateId: 'IKffTm6HnbLS91hDCUnKSQpC2r4EABo3fOtThnK1dI8', //百域承品
+
 				isAgreement: false,
 
 				wsNewUrl: 'wss://api.fhhx.runtzh.com/ws/app/webSocket',
@@ -882,7 +862,7 @@
 				userData: {},
 				diffTotalTime: '',
 				address: '',
-				user:{}
+				user: {}
 			};
 		},
 		async onLoad(options) {
@@ -902,7 +882,7 @@
 					this.liveId = params.a;
 				});
 				if (params.b && params.c) {
-					console.log("扫码参数",params)
+					console.log("扫码参数", params)
 					this.qrFrom = `&companyId=${params.b}&companyUserId=${params.c}`;
 				}
 			}
@@ -959,6 +939,7 @@
 					}
 				} else {
 					console.log("手机型号是>>>>", this.systemInfo.model)
+					console.log("手机高度是>>>>", this.systemInfo.model)
 					// Android处理保持原有逻辑
 					if (res.height > 0) {
 						this.isKeyboardShow = true;
@@ -1128,31 +1109,31 @@
 				return userPrize ? userPrize.productId : null;
 			},
 			getCurrentUserPrizeRecordId() {
-			  console.log('=== getCurrentUserPrizeRecordId 调试信息 ===');
-			  console.log('this.prizeInfo:', this.prizeInfo);
-			  console.log('this.userInfo:', this.userInfo);
-			  console.log('this.userInfo.userId:', this.userInfo?.userId);
-			  
-			  if (!Array.isArray(this.prizeInfo) || !this.userInfo?.userId) {
-			    console.log('条件不满足,返回null');
-			    return null;
-			  }
-			  
-			  const userPrize = this.prizeInfo.find(item => {
-			    const match = String(item.userId) == String(this.userInfo.userId);
-			    console.log('查找匹配:', {
-			      itemUserId: item.userId,
-			      currentUserId: this.userInfo.userId,
-			      match: match,
-			      itemRecordId: item.recordId
-			    });
-			    return match;
-			  });
-			  
-			  console.log('找到的用户奖品:', userPrize);
-			  console.log('最终返回的recordId:', userPrize ? userPrize.recordId : null);
-			  
-			  return userPrize ? userPrize.recordId : null;
+				console.log('=== getCurrentUserPrizeRecordId 调试信息 ===');
+				console.log('this.prizeInfo:', this.prizeInfo);
+				console.log('this.userInfo:', this.userInfo);
+				console.log('this.userInfo.userId:', this.userInfo?.userId);
+
+				if (!Array.isArray(this.prizeInfo) || !this.userInfo?.userId) {
+					console.log('条件不满足,返回null');
+					return null;
+				}
+
+				const userPrize = this.prizeInfo.find(item => {
+					const match = String(item.userId) == String(this.userInfo.userId);
+					console.log('查找匹配:', {
+						itemUserId: item.userId,
+						currentUserId: this.userInfo.userId,
+						match: match,
+						itemRecordId: item.recordId
+					});
+					return match;
+				});
+
+				console.log('找到的用户奖品:', userPrize);
+				console.log('最终返回的recordId:', userPrize ? userPrize.recordId : null);
+
+				return userPrize ? userPrize.recordId : null;
 			},
 			nameuser() {
 				return this.userInfo.nickname
@@ -1281,7 +1262,7 @@
 				uni.setStorageSync('userInfo', this.userInfo);
 				this.userlogo = false;
 			},
-			
+
 			editUser() {
 				this.user.nickName = this.user.nickname;
 				editUser(this.user).then(
@@ -1307,7 +1288,7 @@
 					rej => {}
 				);
 			},
-			
+
 			onNickNameInput(e) {
 				console.log(e)
 				this.user.nickname = e.detail.value
@@ -2003,30 +1984,75 @@
 				this.heartBeatRetryCount = 0;
 			},
 
+
+			// startTrafficCalculation(bitrate) {
+			// 	if (this.trafficTimer) {
+			// 		clearInterval(this.trafficTimer);
+			// 		this.trafficTimer = null;
+			// 	}
+			// 	this.startTime = Date.now();
+			// 	var that = this;
+			// 	this.trafficTimer = setInterval(() => {
+			// 		that.calculateTraffic(bitrate);
+			// 	}, 10000); // 每10秒计算一次
+			// },
 			//直播计算流量
-			startTrafficCalculation(bitrate) {
+			startTrafficCalculation() {
 				if (this.trafficTimer) {
 					clearInterval(this.trafficTimer);
 					this.trafficTimer = null;
 				}
+
 				this.startTime = Date.now();
 				var that = this;
+
+				// 计算码率
+				let bitrate = this.calculateBitrate();
+
 				this.trafficTimer = setInterval(() => {
 					that.calculateTraffic(bitrate);
 				}, 10000); // 每10秒计算一次
 			},
 			// 计算流量
+			// calculateTraffic(bitrate) {
+			// 	const currentTime = Date.now();
+			// 	const duration = (currentTime - this.startTime) / 1000; // 持续时间(秒)
+			// 	// 流量 = 码率 × 时间
+			// 	// 码率单位: bps, 时间单位: 秒, 流量单位: 比特
+			// 	const trafficBits = bitrate * duration;
+			// 	// 转换为字节
+			// 	this.totalTraffic = trafficBits / 8;
+			// 	this.getLiveInternetTraffic();
+			// },
+			calculateBitrate() {
+				// 如果接口返回了视频文件大小和时长,使用这些数据计算码率
+				if (this.liveItem.videoFileSize && this.liveItem.videoDuration) {
+					// 码率 = 文件大小(字节) / 时长(秒) × 8 (转换为bps) × 5
+					const calculatedBitrate = (this.liveItem.videoFileSize / this.liveItem.videoDuration) * 8 * 5;
+					console.log(
+						`使用接口数据计算码率: ${calculatedBitrate} bps (文件大小: ${this.liveItem.videoFileSize} 字节, 时长: ${this.liveItem.videoDuration} 秒)`
+					);
+					return calculatedBitrate;
+				} else {
+					// 如果任一字段为空,使用默认码率 1500 bps
+					console.log('接口数据不完整,使用默认码率: 1500 bps');
+					return 1500;
+				}
+			},
 			calculateTraffic(bitrate) {
 				const currentTime = Date.now();
 				const duration = (currentTime - this.startTime) / 1000; // 持续时间(秒)
+
 				// 流量 = 码率 × 时间
 				// 码率单位: bps, 时间单位: 秒, 流量单位: 比特
 				const trafficBits = bitrate * duration;
+
 				// 转换为字节
 				this.totalTraffic = trafficBits / 8;
+
+				// 调用流量上报接口
 				this.getLiveInternetTraffic();
 			},
-
 			startTimer() {
 				this.startTime = Date.now();
 				this.lookTimer = setInterval(() => {
@@ -2262,8 +2288,8 @@
 					liveId: this.liveId,
 					userId: this.userInfo.userId,
 					templateId: this.templateId, // 模板ID
-					maOpenId:this.userInfo.maOpenId,
-					appId:this.appid,
+					maOpenId: this.userInfo.maOpenId,
+					appId: this.appid,
 					data: {
 						thing6: this.liveItem.liveName,
 						date7: this.liveItem.startTime
@@ -2589,7 +2615,7 @@
 				this.isFocus = false;
 			},
 			getTimeDifferenceInSeconds(createTimeStr) {
-				if(!createTimeStr) return;
+				if (!createTimeStr) return;
 				const createTime = new Date(createTimeStr.replace(/-/g, '/'));
 				const now = new Date();
 				const timeDiffMs = now - createTime;
@@ -2631,10 +2657,26 @@
 				}
 			},
 
+			// onVideoWaiting(e) {
+			// 	// console.log('视频等待加载', e);
+			// 	if (this.liveItem.liveType == 2) {
+			// 		this.startTrafficCalculation(this.bitrate);
+			// 	} else {
+			// 		let that = this;
+			// 		if (this.trafficInterval) {
+			// 			clearInterval(this.trafficInterval);
+			// 			this.trafficInterval = null;
+			// 		}
+			// 		this.trafficInterval = setInterval(function() {
+			// 			that.getInternetTraffic();
+			// 		}, 10000);
+			// 	}
+			// },
 			onVideoWaiting(e) {
 				// console.log('视频等待加载', e);
 				if (this.liveItem.liveType == 2) {
-					this.startTrafficCalculation(this.bitrate);
+					// 修改这里:不再传入固定码率,而是在方法内部计算
+					this.startTrafficCalculation();
 				} else {
 					let that = this;
 					if (this.trafficInterval) {
@@ -2664,7 +2706,7 @@
 							this.playVideo();
 							this.generating = false;
 							this.hasPlayback = true;
-						
+
 						}, 180000);
 						this.closeWebSocket(true);
 						this.isEnd = true;
@@ -2886,7 +2928,8 @@
 					this.playVideo();
 				} else if (e.detail.code == 2004) {
 					this.calculateTimeDiff(this.liveItem);
-					this.startTrafficCalculation(this.bitrateLive);
+					// this.startTrafficCalculation(this.bitrateLive);
+					this.startTrafficCalculation();
 				}
 				// 2001: 已经连接服务器
 				// 2002: 已经连接服务器,开始拉流
@@ -3598,7 +3641,7 @@
 
 				setTimeout(() => {
 					this.getliveUser(false);
-				},1000);
+				}, 1000);
 
 				const now = new Date();
 				this.timestamp = now.getTime(); // 生成签名
@@ -4212,11 +4255,11 @@
 		--video-height: 100vh;
 		--chat-height: 30vh;
 		--pop-bg: #333333;
-		--notice-bg:rgba(9, 9, 9, 0.4);
+		--notice-bg: rgba(9, 9, 9, 0.4);
 	}
 
 	.swiper-wrapper.horizontal {
-		--notice-bg:#fefae8;
+		--notice-bg: #fefae8;
 		--pop-bg: #ECF5F4;
 		/* 默认变量(浅色主题) */
 		--bottom-color: #fff;
@@ -4266,7 +4309,8 @@
 				padding: 20rpx;
 				z-index: 999;
 				box-shadow: 0 8rpx 40rpx rgba(0, 0, 0, 0.12);
-				 transition: box-shadow 0.3s ease;
+				transition: box-shadow 0.3s ease;
+
 				.trailer-video {
 					width: 100%;
 					height: 400rpx;
@@ -4365,7 +4409,15 @@
 				left: 0;
 				display: flex;
 				flex-direction: column;
-				// justify-content: space-between;
+
+
+				&.horizontal-content {
+					z-index: 999;
+				}
+
+				&.trailer-content {
+					justify-content: space-between;
+				}
 
 				// 顶部信息栏
 				.top-info-bar {
@@ -4533,6 +4585,7 @@
 				transform: translateZ(0);
 				will-change: transform;
 				backface-visibility: hidden;
+				// max-height: 50%;
 
 				&.chat-area-container2 {
 					flex: 1;
@@ -4544,7 +4597,20 @@
 					flex-direction: column;
 				}
 
+				&.chat-area-container3 {
+					max-height: 40%;
+					flex: 1;
+					min-height: 0; // 重要:允许收缩到0
+					position: relative;
+					transform: none; // 移除之前的变换
+					will-change: auto;
+					display: flex;
+					flex-direction: column;
+				}
+
+
 				&.chat-area-focused {
+					// max-height: 500rpx;
 					transform: translateY(calc(-1 * var(--keyboard-height, 0rpx))) translateZ(0);
 					z-index: 1000;
 				}
@@ -4576,7 +4642,8 @@
 						border-radius: 20rpx;
 						color: #ffda73;
 						overflow: hidden;
-						&.horizontal-notice{
+
+						&.horizontal-notice {
 							position: static;
 						}
 					}
@@ -4623,6 +4690,7 @@
 					}
 				}
 
+
 				// 输入和操作区域
 				.input-actions-container {
 					position: relative;
@@ -4905,8 +4973,6 @@
 					padding: 30rpx;
 					margin-top: 40rpx;
 				}
-
-
 			}
 
 
@@ -5108,6 +5174,7 @@
 					height: 64rpx;
 				}
 
+
 				.red-envelope-background {
 					width: 100%;
 					height: 100%;

+ 3 - 2
pages_shopping/live/confirmCreateOrder.vue

@@ -189,6 +189,7 @@
 				this.address = e;
 				this.addressId = e.addressId;
 				this.cityId = e.cityId;
+				console.log("地址",e.cityId)
 			});
 		},
 		mounted() {
@@ -223,8 +224,8 @@
 							if (res.data && !this.address) {
 								this.address = res.data;
 							}
-							if (res.data && res.data.cityId) {
-								this.cityId = res.data.cityId;
+							if (res.data && res.data.cityIds) {
+								this.cityId = res.data.cityIds;
 							}
 							if (this.type == 'win') {
 								this.computedRewardOrder()

+ 9 - 4
pages_shopping/live/order.vue

@@ -47,7 +47,7 @@
 							<text v-if="item.status==-1&&item.refundStatus==1">申请中</text>
 							<text v-if="item.status==-1&&item.refundStatus==2">已退款</text>
 
-							<!-- <text v-if="item.status==-1">申请售后</text> -->
+							<text v-if="item.status==-1">申请售后</text>
 							<text v-else-if="item.status==-2">退款成功</text>
 							<text v-else-if="item.status==0">待支付</text>
 							<text v-else-if="item.status==1">待发货</text>
@@ -55,7 +55,7 @@
 							<text v-else-if="item.status==3">已完成</text>
 							<text v-else-if="item.status==-3">已取消</text>
 						</view>
-						 <!-- v-for="(itm,idx) in item.orderItemList" :key="idx" -->
+						<!-- v-for="(itm,idx) in item.orderItemList" :key="idx" -->
 						<!-- <view >{{JSON.parse(item.itemJson).description}}</view>
 						 <view >{{JSON.parse(item.itemJson).imgUrl}}</view> -->
 						<view class="order-main">
@@ -64,7 +64,7 @@
 							</view>
 							<view class="order-text">
 								<view class="title">{{JSON.parse(item.itemJson).productName}}</view>
-								<view class="txt">适用于乏力、头晕等人群,通过问诊可明确诊断给予专业性指导意见。</view>
+								<!-- <view class="txt">适用于乏力、头晕等人群,通过问诊可明确诊断给予专业性指导意见。</view> -->
 								<view class="num">
 									<text>{{JSON.parse(item.itemJson).sales}} 人已购</text>
 									<text class="grey">x{{item.totalNum}}</text>
@@ -493,6 +493,7 @@
 						flex-shrink: 0;
 						overflow: hidden;
 						margin-right: 26rpx;
+						flex-shrink: 0;
 
 						image {
 							width: 100%;
@@ -501,6 +502,8 @@
 					}
 
 					.order-text {
+						flex: 1;
+
 						.title {
 							font-weight: 500;
 							font-size: 28rpx;
@@ -514,11 +517,13 @@
 						}
 
 						.num {
+							margin-top: 60rpx;
 							display: flex;
 							justify-content: space-between;
 							font-size: 22rpx;
 							color: #E69A22;
 
+
 							.grey {
 								margin-top: 12rpx;
 								font-size: 24rpx;
@@ -586,4 +591,4 @@
 			}
 		}
 	}
-</style>
+</style>

+ 3 - 1
pages_shopping/live/paymentOrder.vue

@@ -53,8 +53,10 @@
 				</view>
 				<view class="item">
 					<text class="label">订单金额</text>
+					<!-- <text class="text"
+						v-if="order!=null">{{order ? (Number(order.totalPrice) || 0).toFixed(2) : "0.00"}}</text> -->
 					<text class="text"
-						v-if="order!=null">{{order ? (Number(order.totalPrice) || 0).toFixed(2) : "0.00"}}</text>
+						v-if="order!=null">{{order ? (Number(order.payPrice) || 0).toFixed(2) : "0.00"}}</text>
 				</view>
 				<view class="item">
 					<text class="label">优惠券</text>

+ 1 - 1
pages_user/user/storeOrderDetail.vue

@@ -184,7 +184,7 @@
 						<view class="item">
 							<text class="label">支付方式</text>
 							<text class="text" v-if="order.payType==1">微信支付</text>
-							<text class="text" v-if="order.payType==2">物流代收</text>
+							<!-- <text class="text" v-if="order.payType==2">物流代收</text> -->
 						</view>
 						<view   class="item">
 							<text class="label">订单金额</text>