No Description

aleyds 8afc88d00a 图片修改为两张 3 years ago
common 8afc88d00a 图片修改为两张 3 years ago
components 7c44c4a37f 优化 3 years ago
pages 8afc88d00a 图片修改为两张 3 years ago
static fb650bb84a 图片压缩 3 years ago
store 76f87e3cbb first commit 4 years ago
uni_modules 9156855ab4 pda修改扫描顺序,分页 3 years ago
utils 5e464c9ad6 语法错误 3 years ago
uview-ui 12d64ce39f auto commit 3 years ago
.eslintignore 76f87e3cbb first commit 4 years ago
.gitignore 2307083d93 去除微信api 4 years ago
App.vue 0a1d87557a 调整启动 3 years ago
LICENSE 76f87e3cbb first commit 4 years ago
README.md 7e8b300f09 auto commit 3 years ago
main.js 2307083d93 去除微信api 4 years ago
manifest.json 5689c26e81 本地打包版本提示 3 years ago
package-lock.json 9156855ab4 pda修改扫描顺序,分页 3 years ago
pages.json f1cbd3d422 现金支付,出入场小票界面 3 years ago
template.h5.html 76f87e3cbb first commit 4 years ago
uni.scss 3bbd7fea99 auto commit 4 years ago
vue.config.js 76f87e3cbb first commit 4 years ago

README.md

城市智慧停车PDA

安装二维码生成插件

npm i tki-qrcode https://github.com/q310550690/uni-app-qrcode

语音播报使用

  1. import speak from '@/utils/speaks.js';
  2. speak(this.orderVehicleNo);

打印

  1. let device = uni.requireNativePlugin("DeviceInfo");
  2. device.print(res.data.print);

ALog

  1. let ALog = uni.requireNativePlugin("AndroidLog");
  2. ALog.info(res.data.msg);

H5调试,因为没有app方法,有些数据是写死的

安卓打包

  1. 确认安卓环境是最新的(git拉取)
  2. HBuilder X发行>原生App-本地打包>生成本地打包App资源
  3. 打包完成后点击控制台导出路径复制其内容
  4. 找到Android Studio中打开D:\wwwroot\parking_web\android_hull\pda\pda\src\main\assets\apps\__UNI__29ECCC8\www
  5. 粘贴复制内容覆盖到打开目录
  6. 数据线链接安卓手机并打开开发者模式
  7. Android Studio下按shift+F10在安卓手机上测试
  8. Android Studio下按ctrl+F10打包文件在parking_web\android_hull\pda\pda\build\outputs\apk\release