zengyicheng %!s(int64=3) %!d(string=hai) anos
pai
achega
08ec5fffeb
Modificáronse 2 ficheiros con 6 adicións e 6 borrados
  1. BIN=BIN
      src/assets/img/shibie.png
  2. 6 6
      src/components/function.vue

BIN=BIN
src/assets/img/shibie.png


+ 6 - 6
src/components/function.vue

@@ -66,7 +66,7 @@
             >确认保存</el-button
           >-->
           <div class="save" @click="photograph" v-if="isCamera">
-            <img src="../assets/img/save.png" alt />
+            <img src="../assets/img/shibie.png" alt />
           </div>
           <!-- <div class="spot" @click="fnRun" v-if="isCamera">开始识别</div> -->
         </div>
@@ -124,9 +124,7 @@
         </el-form-item>
       </el-form>
       <el-button class="update" @click="update">添加</el-button>
-      <el-button
-        @click="cancel"
-        style="font-size: 16px !important"
+      <el-button @click="cancel" style="font-size: 16px !important"
         >取消</el-button
       >
     </el-dialog>
@@ -199,8 +197,8 @@ export default {
     };
   },
   methods: {
-    cancel(){
-      this.updateMessage = false
+    cancel() {
+      this.updateMessage = false;
       this.sampleArr[this.sampleArr.length - 1].name = "编号:" + this.number;
       if (this.sampleArr.length > 0) {
         // var a = document.getElementsByClassName("spot");
@@ -629,8 +627,10 @@ body {
 }
 
 .isPhoto {
+  height: 410px;
   padding: 80px 0 0 0;
   box-sizing: border-box;
+  background: #fff;
 }
 
 .isPhoto > span {