会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
huihuihero
From zero to hero
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
8
9
10
11
12
13
14
15
16
···
29
下一页
2021年7月2日
github相关操作总结
摘要: ##使用github桌面端 ###下载地址: https://desktop.github.com/ ##git总结 ###文档地址:https://www.runoob.com/note/56524
阅读全文
posted @ 2021-07-02 10:38 huihuihero
阅读(40)
评论(0)
推荐(0)
2021年6月16日
关于时间的相关处理
摘要: ###倒计时代码(兼容ios) beforeDestroy(){ //页面销毁前清除定时器 clearInterval(this.countTimes) } methods:{ //方案一:先处理成ios和安卓均可转换的时间格式,再统一处理 timer(){ let u = navigator.us
阅读全文
posted @ 2021-06-16 17:13 huihuihero
阅读(101)
评论(0)
推荐(0)
2021年6月10日
uniapp实现简单的动画效果(不使用dom操作)
摘要: 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)
2021年5月19日
uniapp选择日期
摘要: <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)
2021年3月26日
vue使用音频组件
摘要: ####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)
vue使用js将链接转换为二维码
摘要: ####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)
2021年1月26日
app下载文件,保存文件,展示文件(以图片文件为例)
摘要: ####直接贴代码(仅供参考,未将重复代码简化,如有需要可自行简化) #####相关文档 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)
2020年12月30日
实现锚点跳转的两种方式及注意事项
摘要: ##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)
2020年12月24日
vue无卡顿刷新页面
摘要: 重新刷新当前页面 1、路由重新导入当前页面(全局设置,所有页面通用) this.$router.push({name:'goodsList',params:{vid:vid}}) 但是我们会发现用vue-router在当前页面再重定向路由到页面本身,就算改变id,页面也是不进行刷新的, 因为Vue会
阅读全文
posted @ 2020-12-24 13:15 huihuihero
阅读(940)
评论(0)
推荐(0)
2020年12月22日
H5使用vant-ui的List组件实现“上拉加载更多”功能
摘要: ###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
下一页
公告