Przeglądaj źródła

Signed-off-by: 1004749546@qq.com <1004749546@qq.com>
bug修改

1004749546@qq.com 4 lat temu
rodzic
commit
b00b373465
1 zmienionych plików z 56 dodań i 52 usunięć
  1. 56 52
      pages/toDoList/backlogDetail.vue

+ 56 - 52
pages/toDoList/backlogDetail.vue

@@ -1,62 +1,64 @@
 <template>
 	<view class="back-content">
-		<!-- 轮播图 -->
-		<swiper v-if="backlogPhotoList.length && status!='loading'" class="top-ad-swiper" :indicator-dots="false" :autoplay="true" :interval="5000" :duration="600" :circular="true">
-			<swiper-item @click="showImg" v-for="(item,index) in backlogPhotoList" :key="index">
-				<div class="swiper-item uni-bg-red">
-					<u-image mode="aspectFit" width="750upx" height="400upx" :src="item"></u-image>
-				</div>
-			</swiper-item>
-		</swiper>
-		<view v-else class="noPic">
-			暂无图片
-		</view>
-		<view class="back-text">
-			<!-- 门店 -->
-			<view class="text-item">
-				<view class="ellipsis-one">
-					{{infoData.storeName}}
-				</view>
-				<view class="time ">
-					{{infoData.effectiveEndTime||'--'}} 到期
-				</view>
+		<view class="content">
+			<!-- 轮播图 -->
+			<swiper v-if="backlogPhotoList.length && status!='loading'" class="top-ad-swiper" :indicator-dots="false" :autoplay="true" :interval="5000" :duration="600" :circular="true">
+				<swiper-item @click="showImg" v-for="(item,index) in backlogPhotoList" :key="index">
+					<div class="swiper-item uni-bg-red">
+						<u-image mode="aspectFit" width="750upx" height="400upx" :src="item"></u-image>
+					</div>
+				</swiper-item>
+			</swiper>
+			<view v-else class="noPic">
+				暂无图片
 			</view>
-			<!-- 创建人 --> 
-			<view class="text-item">
-				<view>
-					<text>创建人</text>
-					<text class="margin-left ellipsis-one">{{infoData.putUserName}}</text>
+			<view class="back-text">
+				<!-- 门店 -->
+				<view class="text-item">
+					<view class="ellipsis-one">
+						{{infoData.storeName}}
+					</view>
+					<view class="time ">
+						{{infoData.effectiveEndTime||'--'}} 到期
+					</view>
 				</view>
-				<view class="time">
-					{{infoData.createTime}} 创建
+				<!-- 创建人 --> 
+				<view class="text-item">
+					<view>
+						<text>创建人</text>
+						<text class="margin-left ellipsis-one">{{infoData.putUserName}}</text>
+					</view>
+					<view class="time">
+						{{infoData.createTime}} 创建
+					</view>
 				</view>
-			</view>
-			<!-- 指标 -->
-			<view class="text-item">
-				<view>
-					考评指标
+				<!-- 指标 -->
+				<view class="text-item">
+					<view>
+						考评指标
+					</view>
+					<view v-if="infoData.clsName" class="margin-left">
+						{{infoData.clsName}}
+					</view>
+					<view v-else class="ygq">
+						<u-icon name="info-circle"></u-icon>
+						 未关联问题项
+					</view>
 				</view>
-				<view v-if="infoData.clsName" class="margin-left">
-					{{infoData.clsName}}
-				</view>
-				<view v-else class="ygq">
-					<u-icon name="info-circle"></u-icon>
-					 未关联问题项
+				<!-- 描述 -->
+				<view class="text-item">
+					<view>
+						描述
+					</view>
+					<view :class="['margin-left desc',infoData.problemDesc?'':'ygq']">
+						{{infoData.problemDesc?infoData.problemDesc:'暂无'}}
+					</view>
 				</view>
 			</view>
-			<!-- 描述 -->
-			<view class="text-item">
-				<view>
-					描述
-				</view>
-				<view :class="['margin-left desc',infoData.problemDesc?'':'ygq']">
-					{{infoData.problemDesc?infoData.problemDesc:'暂无'}}
-				</view>
+			<view class="step-content">
+				<u-steps :list="numList" direction ="column" :current="0"></u-steps>
 			</view>
 		</view>
-		<view class="step-content">
-			<u-steps :list="numList" direction ="column" :current="0"></u-steps>
-		</view>
 		<view class="footer">
 			<!-- receiveFlag   接收人/责任人标记 只有处理人可以整改-->
 			<!-- 目前版本不做 -->
@@ -197,6 +199,10 @@
 		height: 100%;
 		display: flex;
 		flex-direction: column;
+		.content{
+			flex: 1;
+			overflow-y: scroll;
+		}
 		// 轮播图
 		.top-ad-swiper{
 			height: 340upx;
@@ -212,7 +218,7 @@
 		// 详情内容
 		.back-text{
 			background: #ffffff;
-			padding: 10upx 20upx;
+			padding: 10upx 20upx; 
 			margin-bottom: 20upx;
 			border-radius: 6upx;
 			box-shadow: 1px 1px 3px #EEEEEE;
@@ -247,8 +253,6 @@
 		.step-content {
 			padding: 0 20upx;
 			background-color: #fff;
-			flex: 1;
-			overflow-y: scroll;
 		}
 		// 底部按钮
 		.footer {