add viberation to emblemscanner
Also drop prompt for verify pass.
This commit is contained in:
parent
3fddb4711e
commit
ff358cf595
@ -697,6 +697,7 @@ Page({
|
||||
submitImageForVerification(dataUrls, qrCode) {
|
||||
this.log('Submitting images for verification');
|
||||
const begin = Date.now();
|
||||
wx.vibrateShort({ type: "heavy" });
|
||||
|
||||
const success = (res) => {
|
||||
this.log(`Upload success, code: ${res.statusCode}`);
|
||||
|
||||
@ -1,12 +1,3 @@
|
||||
<!--pages/result_page/result_page.wxml-->
|
||||
<view class="container">
|
||||
<!-- Success Case: Should redirect automatically, this is just fallback -->
|
||||
<view wx:if="{{ok && !show_verify_failed}}" class="success-container">
|
||||
<view class="success-icon">✓</view>
|
||||
<view class="success-text">验证成功</view>
|
||||
<view class="success-subtext">正在跳转...</view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<!-- Failure Case: Use verifyfailed component -->
|
||||
<verifyfailed wx:if="{{show_verify_failed}}" bindback="onVerifyFailedBack" bindservice="onVerifyFailedService" />
|
||||
Loading…
x
Reference in New Issue
Block a user