diff --git a/package-lock.json b/package-lock.json index 7653893d..1ed91daa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -11,6 +11,7 @@ "axios": "^0.18.0", "babel-preset-es2015": "^6.24.1", "px2rem-loader": "^0.1.9", + "qrcodejs2": "^0.0.2", "swiper": "^4.5.0", "vue": "^2.5.2", "vue-js-cookie": "^2.1.0", @@ -11619,6 +11620,12 @@ "teleport": ">=0.2.0" } }, + "node_modules/qrcodejs2": { + "version": "0.0.2", + "resolved": "https://registry.npmjs.org/qrcodejs2/-/qrcodejs2-0.0.2.tgz", + "integrity": "sha512-+Y4HA+cb6qUzdgvI3KML8GYpMFwB24dFwzMkS/yXq6hwtUGNUnZQdUnksrV1XGMc2mid5ROw5SAuY9XhI3ValA==", + "license": "MIT" + }, "node_modules/qs": { "version": "6.11.0", "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", diff --git a/package.json b/package.json index 3033d669..a4e0022c 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "axios": "^0.18.0", "babel-preset-es2015": "^6.24.1", "px2rem-loader": "^0.1.9", + "qrcodejs2": "^0.0.2", "swiper": "^4.5.0", "vue": "^2.5.2", "vue-js-cookie": "^2.1.0", diff --git a/src/components/recharge/recharge2.vue b/src/components/recharge/recharge2.vue index c693c8f3..4c62b416 100644 --- a/src/components/recharge/recharge2.vue +++ b/src/components/recharge/recharge2.vue @@ -37,11 +37,52 @@ + + +
+
+
×
+
USDT (TRC20) {{Language.recharge_online2 || 'Thanh toán'}}
+
{{qr.statusText}}
+ +
+ +
+
{{Language.pay_amount_usdt || 'Số tiền USDT (chính xác)'}}
+
+ {{qr.data.usdt_amount}} USDT + +
+
+ +
+
{{Language.pay_wallet_address || 'Địa chỉ ví (TRC20)'}}
+
+ {{qr.data.usdt_address}} + +
+
+ +
+ ≈ {{qr.data.vnd_amount}} VND + ⏱ {{qr.countdownText}} +
+ +
+ {{Language.pay_usdt_warning || '⚠ Vui lòng chuyển chính xác số tiền. Sai số sẽ không thể xác định đơn hàng!'}} +
+
+