|
@@ -37,13 +37,9 @@
|
|
|
Make sure you also selected BNB Smart Chain (BEP20) as the Network on the platform where you are withdrawing funds for this deposiit. Otherwise, you'll lose your assets.
|
|
|
</div>
|
|
|
</div>
|
|
|
- <a-button class="btn-done"
|
|
|
- type="primary"
|
|
|
- shape="circle"
|
|
|
- :loading="asyncIng"
|
|
|
- @click="doneHandle">
|
|
|
+ <div class="btn-done" @click="doneHandle">
|
|
|
DONE
|
|
|
- </a-button>
|
|
|
+ </div>
|
|
|
</div>
|
|
|
</template>
|
|
|
|
|
@@ -51,7 +47,7 @@
|
|
|
/* eslint-disable */
|
|
|
import { defineProps, defineEmits, onMounted, ref } from "vue";
|
|
|
import { getTokenRechargeAddress } from "@/http/pay";
|
|
|
-import { message } from 'ant-design-vue';
|
|
|
+import { ElMessage } from 'element-plus'
|
|
|
|
|
|
let QRCode = require('qrcode')
|
|
|
let ClipboardJS = require('clipboard')
|
|
@@ -92,7 +88,14 @@ const createQRCode = (str) => {
|
|
|
const copyToken = () => {
|
|
|
var clipboard = new ClipboardJS('.copy-btn');
|
|
|
clipboard.on('success', function (e) {
|
|
|
- message.success('copy success');
|
|
|
+ ElMessage({
|
|
|
+ message: 'copy success',
|
|
|
+ grouping: true,
|
|
|
+ type: 'success',
|
|
|
+ offset: -16,
|
|
|
+ appendTo: document.body
|
|
|
+
|
|
|
+ })
|
|
|
console.info('Action:', e.action);
|
|
|
console.info('Text:', e.text);
|
|
|
console.info('Trigger:', e.trigger);
|
|
@@ -101,7 +104,12 @@ const copyToken = () => {
|
|
|
});
|
|
|
|
|
|
clipboard.on('error', function (e) {
|
|
|
- message.error('copy error');
|
|
|
+ ElMessage({
|
|
|
+ message: 'copy error',
|
|
|
+ grouping: true,
|
|
|
+ type: 'error',
|
|
|
+ offset: -16
|
|
|
+ })
|
|
|
console.error('Action:', e.action);
|
|
|
console.error('Trigger:', e.trigger);
|
|
|
});
|
|
@@ -233,6 +241,9 @@ onMounted(() => {
|
|
|
font-size: 16px;
|
|
|
color: #fff;
|
|
|
margin-top: 10px;
|
|
|
+ display: flex;
|
|
|
+ align-items: center;
|
|
|
+ justify-content: center;
|
|
|
cursor: pointer;
|
|
|
}
|
|
|
}
|