forked from natuka/web.puabadge.com
修改:AB3UQAAFCR4C093MMF2A11链接无法下单
This commit is contained in:
1 parent
9cc1275cd7
commit
024c8a5155
1 file changed
+10
-2
@@ -283,11 +283,17 @@
|
|||||||
<div style="height: 130px;"></div>
|
<div style="height: 130px;"></div>
|
||||||
<div class="confirm-box">
|
<div class="confirm-box">
|
||||||
<div class="action-section">
|
<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>
|
<button @click="save" :disabled="flag < 1" class="action-btn"><img class="action-img" :src="downloadImage" alt=""> {{ toValueWithout(config.preview.messages.saveImage) }}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="btn-box">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -571,6 +577,8 @@ const originUrl = ref('')
|
|||||||
const group = ref(config.preview.defaults.group);
|
const group = ref(config.preview.defaults.group);
|
||||||
// 轮询获取图片
|
// 轮询获取图片
|
||||||
const flag = ref(1)
|
const flag = ref(1)
|
||||||
|
// 指定 code 时禁止下单
|
||||||
|
const isCodeDisabled = computed(() => localStorage.get('code') === 'AB3UQAAFCR4C093MMF2A11')
|
||||||
const timer = ref()
|
const timer = ref()
|
||||||
const progress = ref(0)
|
const progress = ref(0)
|
||||||
const progressTimer = ref()
|
const progressTimer = ref()
|
||||||
|
|||||||
Reference in new issue
Block a user