w-ui-v1 1.0.53 → 1.0.54
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/utils/nfc.ts +3 -3
package/package.json
CHANGED
package/utils/nfc.ts
CHANGED
|
@@ -169,7 +169,7 @@ function showToast(msg) {
|
|
|
169
169
|
function __read(intent) {
|
|
170
170
|
try {
|
|
171
171
|
var content = "";
|
|
172
|
-
waiting.setTitle('
|
|
172
|
+
waiting.setTitle('请勿移开卡\n正在读取数据...');
|
|
173
173
|
var tag = plus.android.importClass("android.nfc.Tag");
|
|
174
174
|
tag = intent.getParcelableExtra(NfcAdapter.EXTRA_TAG);
|
|
175
175
|
var bytesId = intent.getByteArrayExtra(NfcAdapter.EXTRA_ID);
|
|
@@ -239,13 +239,13 @@ function writeData() {
|
|
|
239
239
|
return;
|
|
240
240
|
}
|
|
241
241
|
readyWriteData = true;
|
|
242
|
-
waiting = plus.nativeUI.showWaiting("请将NFC
|
|
242
|
+
waiting = plus.nativeUI.showWaiting("请将NFC卡靠近!");
|
|
243
243
|
}
|
|
244
244
|
|
|
245
245
|
function readData(getCardNo) {
|
|
246
246
|
readyRead = true;
|
|
247
247
|
_getCardNo = getCardNo
|
|
248
|
-
waiting = plus.nativeUI.showWaiting("请将NFC
|
|
248
|
+
waiting = plus.nativeUI.showWaiting("请将NFC卡靠近!", {
|
|
249
249
|
modal: false
|
|
250
250
|
});
|
|
251
251
|
}
|