支持打印和搜索

This commit is contained in:
2026-04-27 22:01:45 +08:00
parent 09e806c969
commit 7bcd159605
8 changed files with 1121 additions and 15 deletions
+15 -4
View File
@@ -22,10 +22,16 @@
</view>
</view>
<!-- ====================== 这里是居中的按钮 ====================== -->
<!-- ===== 分组打印机 ===== -->
<view class="group">
<text class="group-title">打印机</text>
<view class="group-body">
<view class="cell" @tap="goPrinterTest">
<text class="cell-label">打印机测试</text>
<text class="cell-arrow"></text>
</view>
</view>
</view>
<!-- ===== 分组关于 ===== -->
<view class="group">
@@ -113,6 +119,11 @@ function onEditApiUrl() {
})
}
// 跳转打印机测试页
function goPrinterTest() {
uni.navigateTo({ url: '/pages/printer-test/printer-test' })
}
onMounted(() => {
// 真机/打包环境:通过 plus.runtime 获取