Fix iOS scan QR code issue (#35)
This commit is contained in:
1 parent
0605fc13e7
commit
a93076aa7f
6 files changed
+201
-10
No files matched your search
@@ -3,7 +3,7 @@
|
||||
<el-row class="paycodes">
|
||||
<el-col :span="12">
|
||||
<div class="paycode wechat">
|
||||
<qr-code v-if="modelValue?.pay_url" :value="modelValue?.pay_url" :size="200" class="m-auto" />
|
||||
<qr-code v-if="modelValue?.pay_url" :value="modelValue?.pay_url" :size="200" class="qrcode m-auto" />
|
||||
<p class="help-text">{{ $t('order.message.wechatPayHelp') }}</p>
|
||||
</div>
|
||||
</el-col>
|
||||
@@ -20,7 +20,7 @@
|
||||
import { IOrder, IOrderDetailResponse, orderOperator, OrderState } from '@/operators';
|
||||
import { defineComponent } from 'vue';
|
||||
import { ElDialog, ElRow, ElCol } from 'element-plus';
|
||||
import QrCode from 'qrcode.vue';
|
||||
import QrCode from 'vue-qrcode';
|
||||
|
||||
interface IData {
|
||||
refreshTimer: number | undefined;
|
||||
@@ -95,6 +95,10 @@ export default defineComponent({
|
||||
width: 500px;
|
||||
margin: auto;
|
||||
.wechat {
|
||||
.qrcode {
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
}
|
||||
.help-text {
|
||||
display: block;
|
||||
background-color: #00c800;
|
||||
|
||||
Reference in new issue
Block a user