From f2babe0dd99458f5e13b734c712d14680fe555ab Mon Sep 17 00:00:00 2001 From: aihe <961836564@qq.com> Date: Fri, 10 May 2024 02:29:39 +0800 Subject: [PATCH] uu --- common/untool.js | 4 +- pages/print/bluetoothPrinter.vue | 340 +++++++++++++++++++------------ 2 files changed, 216 insertions(+), 128 deletions(-) diff --git a/common/untool.js b/common/untool.js index 9fee9ec..1770878 100644 --- a/common/untool.js +++ b/common/untool.js @@ -55,10 +55,10 @@ const confirmModal = (title) => { }) } -const showLoading = ()=> { +const showLoading = (title)=> { uni.showLoading({ mask: true, - title: '加载中' + title: title || '加载中' }); } diff --git a/pages/print/bluetoothPrinter.vue b/pages/print/bluetoothPrinter.vue index a663785..75a3519 100644 --- a/pages/print/bluetoothPrinter.vue +++ b/pages/print/bluetoothPrinter.vue @@ -1,54 +1,123 @@ + + + + \ No newline at end of file