DESKTOP-B78GIPM\admin před 2 roky
rodič
revize
5721e7e316
2 změnil soubory, kde provedl 3 přidání a 2 odebrání
  1. 1 1
      pages/addHandle/index.vue
  2. 2 1
      pages/face/index.vue

+ 1 - 1
pages/addHandle/index.vue

@@ -28,7 +28,7 @@
 				<u-popup v-if="type != 2" @close="nameShow=false" :closeOnClickOverlay="true" @cancel="nameShow=false" :overlay="false"
 					:show="nameShow">
 					<view style="height: 500rpx; position: relative; display: flex; justify-content: center;">
-						<view style="position: absolute; z-index: 999999;">
+						<view style="position: absolute; top: 0; z-index: 999999;">
 							<input class="inp" confirm-type="search" v-model="key" @input="serName"
 								placeholder="学生姓名" />
 							<u-icon class="inp-img" name="search" color="#8C8C8C" size="49rpx"></u-icon>

+ 2 - 1
pages/face/index.vue

@@ -258,7 +258,7 @@
 					}).then(cvs => {
 						let imgData = cvs.toDataURL('image/png')
 						this.faceImgData = imgData
-						this.type = 2
+						// this.type = 2
 						this.faceRecognition()
 						// this.intervalTakeImg = null
 						// clearInterval(this.intervalTakeImg)
@@ -305,6 +305,7 @@
 					if(res.data.length != 0){
 						if(res.data[0].name != null){
 							// this.type = 3
+							this.type = 2
 							this.name = res.data[0].name
 							this.getBasics()
 						}else{