Browse Source

样式修改

jwyu 3 years ago
parent
commit
7ceb59568c
1 changed files with 15 additions and 7 deletions
  1. 15 7
      pages-approve/contract/detail.vue

+ 15 - 7
pages-approve/contract/detail.vue

@@ -47,7 +47,11 @@
 		<view class="section white-wrap service-wrap">
 			<view class="title">服务内容</view>
 			<view style="border-bottom: 1px dashed rgba(112, 112, 112, .21);margin-bottom: 30rpx;" >
-				<view class="service-item" v-for="item in detail.Service" :key="item.Title" @click="handlePreviewImg(item.Value)">{{item.Title}}</view>
+				
+				<view class="service-item flex" v-for="item in detail.Service" :key="item.Title">
+					<text style="width:60%">{{item.Title}}</text>
+					<text class="btn" @click="handlePreviewImg(item.Value)">查看服务单</text>
+				</view>
 			</view>
 			<view >补充内容:{{detail.Remark||'无'}}</view>
 		</view>
@@ -98,7 +102,7 @@
 		</view>
 		
 		<!-- 流程模块 -->
-		<view class="section white-wrap process-wrap" v-if="flowNodeList">
+		<view class="section white-wrap process-wrap">
 			<view class="title">审批流程</view>
 			<steps :data="flowNodeList"></steps>
 		</view>
@@ -484,13 +488,17 @@
 		.service-item{
 			margin-bottom: 30rpx;
 			position: relative;
-			&::after{
-				content: '查看服务单';
-				display: inline-block;
+			justify-content: space-between;
+			.btn{
 				color: #3385FF;
-				position: absolute;
-				left: 35%;
 			}
+			// &::after{
+			// 	content: '查看服务单';
+			// 	display: inline-block;
+			// 	color: #3385FF;
+			// 	position: absolute;
+			// 	left: 35%;
+			// }
 		}
 	}