上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 29 下一页
摘要: ##使用github桌面端 ###下载地址: https://desktop.github.com/ ##git总结 ###文档地址:https://www.runoob.com/note/56524 阅读全文
posted @ 2021-07-02 10:38 huihuihero 阅读(40) 评论(0) 推荐(0)
摘要: ###倒计时代码(兼容ios) beforeDestroy(){ //页面销毁前清除定时器 clearInterval(this.countTimes) } methods:{ //方案一:先处理成ios和安卓均可转换的时间格式,再统一处理 timer(){ let u = navigator.us 阅读全文
posted @ 2021-06-16 17:13 huihuihero 阅读(101) 评论(0) 推荐(0)
摘要: uniapp做开发区别于H5开发,不能使用js进行dom操作,只能获取dom信息。 (获取dom信息参考:https://www.cnblogs.com/huihuihero/p/12966528.html ) 不能操作dom,这使得通过操作dom来实现一些简单的动画效果变得困难 不过有一个很简单的 阅读全文
posted @ 2021-06-10 14:55 huihuihero 阅读(2985) 评论(0) 推荐(0)
摘要: <picker mode="date" :value="getDate" :start="getDate('start')" :end="getDate('end')" @change="selectDate"> <view class="date-screen">日期筛选</view> </pic 阅读全文
posted @ 2021-05-19 15:57 huihuihero 阅读(1630) 评论(0) 推荐(0)
摘要: ####vue-aplayer中文文档:https://github.com/SevenOutman/vue-aplayer/blob/develop/docs/README.zh-CN.md ####1、安装音频组件包vue-aplayer yarn add vue-aplayer 或 npm i 阅读全文
posted @ 2021-03-26 16:52 huihuihero 阅读(1791) 评论(0) 推荐(0)
摘要: ####1、安装qrcodejs2包 yarn add qrcodejs2 或 npm install qrcodejs2 --save ####2、页面中引入 import QRCode from 'qrcodejs2' components:{ QRCode } ####3、使用 <button 阅读全文
posted @ 2021-03-26 16:37 huihuihero 阅读(1180) 评论(0) 推荐(0)
摘要: ####直接贴代码(仅供参考,未将重复代码简化,如有需要可自行简化) #####相关文档 https://uniapp.dcloud.io/api/request/network-file?id=downloadfile https://uniapp.dcloud.io/api/file/file? 阅读全文
posted @ 2021-01-26 09:43 huihuihero 阅读(432) 评论(0) 推荐(0)
摘要: ##1、使用纯html方式实现锚点跳转 1、设置锚点:添加锚点id demoAnchor <div> <div id="demoAnchor">视频内容。。。</div> </div> 2、设置锚点跳转点击链接 #demoAnchor <div> <a href="#demoAnchor">点我跳转 阅读全文
posted @ 2020-12-30 10:50 huihuihero 阅读(3700) 评论(2) 推荐(1)
摘要: 重新刷新当前页面 1、路由重新导入当前页面(全局设置,所有页面通用) this.$router.push({name:'goodsList',params:{vid:vid}}) 但是我们会发现用vue-router在当前页面再重定向路由到页面本身,就算改变id,页面也是不进行刷新的, 因为Vue会 阅读全文
posted @ 2020-12-24 13:15 huihuihero 阅读(940) 评论(0) 推荐(0)
摘要: ###1、引入VantUi的List组件 ``` 安装步骤见官网:https://vant-contrib.gitee.io/vant/next/#/zh-CN/quickstart 或移步https://www.cnblogs.com/huihuihero/p/11418541.html,搜索va 阅读全文
posted @ 2020-12-22 10:58 huihuihero 阅读(1769) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 29 下一页