支持打印和搜索
This commit is contained in:
@@ -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 获取
|
||||
|
||||
Reference in New Issue
Block a user