oyq28 пре 3 недеља
родитељ
комит
0009582614
1 измењених фајлова са 20 додато и 7 уклоњено
  1. 20 7
      pages/work/record/camera-scan-code.uvue

+ 20 - 7
pages/work/record/camera-scan-code.uvue

@@ -5,6 +5,7 @@
 		<!--
     <camera style="width: 100%; height: 300px;" :resolution="'high'" :mode="'scanCode'" @scancode="handleScanCode">
     </camera> -->
+	<view class="my-page">
 		<swiper class="swiper-box my-swiper" :current="swiperDotIndex" :indicator-dots="true">
 			<swiper-item v-for="item in data">
 				<view class="swiper-item" @tap="previewSingleImage(item.image)">
@@ -15,8 +16,9 @@
 				</view>
 			</swiper-item>
 		</swiper>
+	
 
-		<view class="camera-scan-code-back-wrap">
+		<view class="camera-scan-code-back-wrap" v-show="false">
 			<button class="btn block bg-blue lg round" @click="chooseImage">
 				浏览相册
 			</button>
@@ -63,7 +65,7 @@
 		<view class="camera-scan-code-back-wrap">
 			<button type="default" class="btn bg-blue round" @click="navigateExit">退出拍照</button>
 		</view>
-
+    </view>	
 	<!-- #ifdef APP -->
 	</scroll-view>
 	<!-- #endif -->
@@ -388,7 +390,7 @@
 	}
 
 	.camera-scan-code-table-pair {
-		height: 150px;
+		height: 100px;
 		flex-direction: column;
 		justify-content: space-between;
 		align-items: center;
@@ -411,13 +413,24 @@
 	.camera-scan-code-table-top-line {
 		border-top: 1px solid #eee;
 	}
+	
+	.my-page {
+		display: flex;
+		flex-direction: column;
+		box-sizing: border-box;
+		background-color: #fff;
+		/* #ifndef APP-ANDROID */
+		min-height: 100%;
+		/* #endif */
+		height: 100%;
+	}
 
 	.swiper {
-		height: 300rpx;
+		height: 400px;
 	}
 
 	.swiper-box {
-		height: 150px;
+		height: 300px;
 	}
 
 	.swiper-item {
@@ -428,8 +441,8 @@
 		justify-content: center;
 		align-items: center;
 		color: #fff;
-		height: 300rpx;
-		line-height: 300rpx;
+		height: 400px;
+		line-height: 400px;
 	}
 
 	.btn {