Browse Source

mod:示范图片

panqiuyao 8 months ago
parent
commit
f02577e94a
1 changed files with 5 additions and 13 deletions
  1. 5 13
      frontend/src/views/Photography/check.vue

+ 5 - 13
frontend/src/views/Photography/check.vue

@@ -26,7 +26,7 @@
               </template>
             </div>
           </div>
-          <div class="example-image flex-col"><span class="example-text">示范图片</span></div>
+          <div class="example-image flex-col"><img src="https://huilimaimg.cnhqt.com/frontend/zhihuiyin/demo.jpg?x-oss-process=image/resize,w_400"></div>
         </div>
         <div v-if="step === 1" class="action-button flex cente">
           <div @click="takePictures" class="check-button  button--primary1 flex-col"><span class="button-text" v-loading="loading">拍照检查</span>
@@ -259,18 +259,10 @@ onBeforeUnmount(() => {
         height: 200px;
         margin-top: 10px;
         width: 200px;
-
-        .example-text {
-          width: 56px;
-          height: 20px;
-          overflow-wrap: break-word;
-          color: rgba(71, 71, 71, 1);
-          font-size: 14px;
-          font-weight: NaN;
-          text-align: left;
-          white-space: nowrap;
-          line-height: 20px;
-          margin: 90px 0 0 72px;
+        img {
+          width: 200px;
+          height: 200px;
+          display: block;
         }
       }
     }