|
|
|
|
@ -283,11 +283,17 @@
@@ -283,11 +283,17 @@
|
|
|
|
|
<div style="height: 130px;"></div> |
|
|
|
|
<div class="confirm-box"> |
|
|
|
|
<div class="action-section"> |
|
|
|
|
<button @click="compare" :disabled="flag < 1" class="action-btn"><img class="action-img" :src="compareImage" alt=""> {{ toValueWithout(config.preview.messages.compare) }}</button> |
|
|
|
|
<button @click="compare" :disabled="flag < 1 || isCodeDisabled" class="action-btn"><img class="action-img" :src="compareImage" alt=""> {{ toValueWithout(config.preview.messages.compare) }}</button> |
|
|
|
|
<button @click="save" :disabled="flag < 1" class="action-btn"><img class="action-img" :src="downloadImage" alt=""> {{ toValueWithout(config.preview.messages.saveImage) }}</button> |
|
|
|
|
</div> |
|
|
|
|
<div class="btn-box"> |
|
|
|
|
<button @click="confirm" :disabled="flag < 1" class="confirm-btn">{{ toValueWithout(config.preview.messages.confirmSelect) }}</button> |
|
|
|
|
<button |
|
|
|
|
@click="confirm" |
|
|
|
|
:disabled="flag < 1 || isCodeDisabled" |
|
|
|
|
class="confirm-btn" |
|
|
|
|
> |
|
|
|
|
{{ toValueWithout(config.preview.messages.confirmSelect) }} |
|
|
|
|
</button> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
</div> |
|
|
|
|
@ -571,6 +577,8 @@ const originUrl = ref('')
@@ -571,6 +577,8 @@ const originUrl = ref('')
|
|
|
|
|
const group = ref(config.preview.defaults.group); |
|
|
|
|
// 轮询获取图片 |
|
|
|
|
const flag = ref(1) |
|
|
|
|
// 指定 code 时禁止下单 |
|
|
|
|
const isCodeDisabled = computed(() => localStorage.get('code') === 'AB3UQAAFCR4C093MMF2A11') |
|
|
|
|
const timer = ref() |
|
|
|
|
const progress = ref(0) |
|
|
|
|
const progressTimer = ref() |
|
|
|
|
|