06 2021 档案

摘要:主要用的就是uni.scanCode()这个函数, 代码如下: scan1() { let that = this; // 允许从相机和相册扫码 uni.scanCode({ success: function(res) { that.result1 = res.result; } }); }, s 阅读全文
posted @ 2021-06-30 10:22 seekHelp 阅读(3485) 评论(0) 推荐(0) 编辑
摘要:首先建立一个js文件 @/utils/rem window.onload = function() { setRem(); }; window.onreset = function() { setRem(); }; /* 设置字体rem */ function setRem() { var widt 阅读全文
posted @ 2021-06-24 10:01 seekHelp 阅读(433) 评论(0) 推荐(0) 编辑
摘要:文章目录 方式一:window.location 方式二:vue-router 1.this.$route的内容: (1)this.$route.fullPath: (2)this.$route.hash (3)this.$route.matched (4)this.$route.meta、this 阅读全文
posted @ 2021-06-11 09:50 seekHelp 阅读(7599) 评论(0) 推荐(1) 编辑

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