Bladeren bron

样式修改

tanxue 1 week geleden
bovenliggende
commit
8b806124c8
3 gewijzigde bestanden met toevoegingen van 14 en 18 verwijderingen
  1. 5 5
      common/styles/global/pages.scss
  2. 1 3
      pages/admin/Hetong/Hetong.vue
  3. 8 10
      pages/admin/Hetong/HetongInfo.vue

+ 5 - 5
common/styles/global/pages.scss

@@ -1126,21 +1126,21 @@
 /* 合同页 */
 .phone-hetong-page{
 	height: 100vh;display: flex;flex-direction: column;
-	.pdf-box{flex: 1;}
+	.pdf-box{flex: 1;border: 1rpx solid #ccc;margin: 24rpx;border-radius: 8rpx;color: #666;
+	display: flex;flex-direction: column;align-items: center;justify-content: center;}
 	.no-hetong-box{
 		height: 100vh;display: flex;flex-direction: column;
 		align-items: center;justify-content: center;color: #666;}
 	.ht-btn{width: 180px;margin-bottom: 24px;}
 }
 .ht-qm-popup{
-	width: 100%;height: 100vh;box-sizing: border-box;
-	display: flex;flex-direction: column;padding: 24rpx;
-	.ht-qm-box{border: 1rpx solid #ccc;border-radius: 6rpx;flex: 1;}
+	width: 100%;height: 100vh;
+	display: flex;flex-direction: column;
+	.ht-qm-box{border: 1rpx solid #ccc;border-radius: 6rpx;flex: 1;margin:0 24rpx;}
 	.ht-btn-box{display: flex;margin: 32rpx 64rpx;}
 }
 /* 合同列表页 */
 .ht-list-page{
-	.icon-title-navBar-box{}
 	.phone-time-icon{width: 25rpx;height: 25rpx;@include ezy-no-repeat-cover();
 	margin-right: 8rpx;flex-shrink: 0;}
 	.phone-time-icon{background-image: url("@/static/images/common/time-icon.png");}

+ 1 - 3
pages/admin/Hetong/Hetong.vue

@@ -7,9 +7,7 @@
 
 		</view>
 		<template v-if="info.id">
-			<view class="pdf-box">
-
-			</view>
+			<view class="pdf-box"> pdf展示 </view>
 			<!-- -->
 			<!-- 	<web-view class="dljt-pdf-view" :src="pdfUrl1" v-if="show"
 				webview-styles="height: 50vh;margin-top: 75px"></web-view> -->

+ 8 - 10
pages/admin/Hetong/HetongInfo.vue

@@ -1,32 +1,30 @@
 <template>
-  <template>
-    <view class="phone-zjzgs-page">
+    <view class="phone-hetong-page">
       <view class="icon-title-navBar-box">
         <view @click="goUpPage" class="nav-bar-icon"></view>
         <text class="nav-bar-title">合同</text>
       </view>
 
       <template v-if="tId">
+		  <view class="pdf-box"> pdf展示 </view>
         <!-- 	<web-view class="dljt-pdf-view" :src="pdfUrl1" v-if="show"
           webview-styles="height: 50vh;margin-top: 75px"></web-view> -->
       </template>
 	  
 	  
-	  <view @click="handleQianming" v-if="tId && info.status == 0">合同签名</view>
+	  <button @click="handleQianming" v-if="tId && info.status == 0"
+	  class="phone-green-btn ht-btn"  type="default">我已阅读</button>
 	  
-	  <uni-popup ref="popupRef" type="bottom" background-color="#fff" :is-mask-click="false" :mask-click="false"
-	  	style="height: 100vh">
-	  	<view style="height: 100vh;">
-	  		<view>
-	  			<view @click="goback2" class="nav-bar-icon">
+	  <uni-popup ref="popupRef" type="bottom" background-color="#fff" :is-mask-click="false" :mask-click="false">
+	  	<view class="ht-qm-popup">
+	  			<view class="icon-title-navBar-box">
+	  				<view @click="goback2" class="nav-bar-icon"></view>
 	  				<text class="nav-bar-title">签名</text>
 	  			</view>
 	  			<writeSign @getBase64="getBase64"></writeSign>
-	  		</view>
 	  	</view>
 	  </uni-popup>
     </view>
-  </template>
 </template>
 
 <script setup>