01 2021 档案

摘要:uni.navigateTo({ url: '/pages/details?obj='+ encodeURIComponent(JSON.stringify(item)) }); 接收: onLoad(option) { this.item=JSON.parse(decodeURIComponent 阅读全文
posted @ 2021-01-26 11:29 凉面好好吃 阅读(7067) 评论(0) 推荐(0) 编辑
摘要:uni.downloadFile({ url: item.url, success: (res) => { if (res.statusCode 200) { uni.openDocument({ filePath: res.tempFilePath, // 如果文件名包含中文,建议使用escape 阅读全文
posted @ 2021-01-25 11:31 凉面好好吃 阅读(1550) 评论(0) 推荐(0) 编辑
摘要:/** * * @param list * @param pageNum * @param pageSize * @param <T> * @return 返回当前页数据 */ public <T> List<T> getListPaging(List<T> list, int pageNum, i 阅读全文
posted @ 2021-01-22 14:09 凉面好好吃 阅读(149) 评论(0) 推荐(0) 编辑
摘要:1、获取系统当前时间 getNowTime(tempminit) { if (!tempminit) { tempminit = 0; } var date = new Date(); date.setMinutes(date.getMinutes() - tempminit); var year 阅读全文
posted @ 2021-01-14 11:31 凉面好好吃 阅读(3128) 评论(0) 推荐(0) 编辑
摘要:1、view 代码 <view class="v-main-scan"> <uni-icons @click="scanCode" class="v-main-icon-scan" type="scan" color="#3079b5" size="150"></uni-icons> <text c 阅读全文
posted @ 2021-01-14 11:29 凉面好好吃 阅读(2343) 评论(0) 推荐(0) 编辑
摘要:使用 tki-qrcode组件 生成二维码(https://www.npmjs.com/package/tki-qrcode) 1、引入 tki-qrcode 下载组件后引入 import tkiQrcode from '@/components/tki-qrcode/tki-qrcode.vue' 阅读全文
posted @ 2021-01-14 11:20 凉面好好吃 阅读(3845) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示