|
|
@@ -23,9 +23,9 @@
|
|
|
<div class="camera-preview flex col center ">
|
|
|
<div class="camera-preview-img" v-if="step === 1">
|
|
|
<img v-if="previewKey" class="camera-img" :src="previewSrc" />
|
|
|
- <div class="auto-focus-btn" @click="handleAutoFocus">
|
|
|
- <span>自动对焦</span>
|
|
|
- </div>
|
|
|
+ <el-button class="auto-focus-btn" @click="handleAutoFocus" v-if="previewKey">
|
|
|
+ <span>点击对焦</span>
|
|
|
+ </el-button>
|
|
|
<div class="example-image flex-col" v-if="!isSetting && previewKey > 1">
|
|
|
<img :src="exampleImage">
|
|
|
</div>
|
|
|
@@ -537,15 +537,6 @@ onBeforeUnmount(() => {
|
|
|
top: 10px;
|
|
|
right: 10px;
|
|
|
z-index: 10;
|
|
|
- background: rgba(64, 158, 255, 0.9);
|
|
|
- color: #fff;
|
|
|
- padding: 8px 16px;
|
|
|
- border-radius: 4px;
|
|
|
- cursor: pointer;
|
|
|
- font-size: 14px;
|
|
|
- &:hover {
|
|
|
- background: rgba(64, 158, 255, 1);
|
|
|
- }
|
|
|
}
|
|
|
|
|
|
.camera-img {
|