浏览代码

修改扫描页样式

maotao 2 天之前
父节点
当前提交
4f810b7bdc
共有 2 个文件被更改,包括 15 次插入7 次删除
  1. 1 0
      components/smallScreen/smallScreen.vue
  2. 14 7
      pages/scanning_Result/scanning_Result.vue

+ 1 - 0
components/smallScreen/smallScreen.vue

@@ -358,6 +358,7 @@
358 358
         this.SMFlag = false;
359 359
         this.currentData = data;
360 360
         console.log(data, 'data');
361
+				// let ress1 = '123456'
361 362
         SM().then((ress1) => {
362 363
           uni.showLoading({
363 364
             title: "加载中",

+ 14 - 7
pages/scanning_Result/scanning_Result.vue

@@ -34,7 +34,7 @@
34 34
       </view>
35 35
     </view>
36 36
 
37
-    <view class="Scanning_cont" v-if="
37
+    <view class="Scanning_cont spe" v-if="
38 38
         (res.status == 200 && type == 'specimenPlan') ||
39 39
         (res.status == 200 && type == 'specimen')
40 40
       ">
@@ -58,7 +58,7 @@
58 58
       <view class="df"><view class="width-100">住院号:</view>{{ infoDATA.residenceNo || '-' }}</view>
59 59
     </view>
60 60
 
61
-    <view class="Scanning_cont" v-if="
61
+    <view class="Scanning_cont spe" v-if="
62 62
         (res.status == 11111 && type == 'specimenPlan') ||
63 63
         (res.status == 11111 && type == 'specimen')
64 64
       ">
@@ -1327,12 +1327,16 @@
1327 1327
         }
1328 1328
       }
1329 1329
     }
1330
-
1330
+		
1331
+		.spe{
1332
+			height: 50vh;
1333
+		}
1334
+		
1331 1335
     .Scanning_cont {
1332 1336
       font-size: 32rpx;
1333 1337
       // text-align: center;
1334 1338
 			margin-top: 40rpx;
1335
-			height: 50vh;
1339
+			// height: 50vh;
1336 1340
 			overflow-y: auto;
1337 1341
 			
1338 1342
 			.df{
@@ -1382,13 +1386,16 @@
1382 1386
       margin-top: 40rpx;
1383 1387
       display: flex;
1384 1388
       justify-content: center;
1385
-
1389
+			// position: absolute;
1390
+			// bottom: 20rpx;
1391
+			// width: 100%;
1392
+					
1386 1393
       .btn1,
1387 1394
       .btn2,
1388 1395
       .btn3 {
1389 1396
         height: 88rpx;
1390 1397
         flex: 1;
1391
-        margin: 0 1%;
1398
+        margin: 0 2%;
1392 1399
         background-image: linear-gradient(to right, #72c172, #3bb197);
1393 1400
         color: #fff;
1394 1401
         border-radius: 8rpx;
@@ -1399,7 +1406,7 @@
1399 1406
     }
1400 1407
     .foot_btn_spe {
1401 1408
       line-height: 88rpx;
1402
-      height: 100rpx;
1409
+      // height: 100rpx;
1403 1410
       // margin-top: 40rpx;
1404 1411
       text-align: center;
1405 1412
       display: flex;