会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
在路上
工作中不断积累,业余中不忘学习,吸收别人的精华,学习别人的经验,做到慢慢充实自己(记录自己学习中的笔记、工作项目设计代码、相关知识点规整)__本菜鸟的成长记录
博客园
首页
新随笔
联系
管理
上一页
1
···
6
7
8
9
10
11
12
13
14
···
69
下一页
2022年2月5日
Uniapp 父组件调用子组件方法给子组件动态传值
摘要: 子组件 <template> <view class="hb-comment"> testcontent </view> </template> <script> export default { name: 'question-comment’, //名字 data() { return { }
阅读全文
posted @ 2022-02-05 12:28 温柔的风
阅读(991)
评论(0)
推荐(0)
2022年1月17日
Uniapp px与rpx的转换
摘要: 一、rpx转px // 100 为 100rpx的值 var px = uni.upx2px(100); 二、px转rpx // 200 为 px 的值,后面的两个 100 为计算比例使用 var rpx = 200/(uni.upx2px(100)/100); // 验证上面rpx的值 var p
阅读全文
posted @ 2022-01-17 17:52 温柔的风
阅读(3534)
评论(0)
推荐(1)
2022年1月11日
Unipp动态设置底部tabbar/动态设置navigationBarTitleText 导航标题
摘要: 一、改导航文字 uni.setNavigationBarTitle({ title: 'xx' }); 二、改tabbar文字 uni.setTabBarItem({ index: 0, text: 'xx' });
阅读全文
posted @ 2022-01-11 21:36 温柔的风
阅读(601)
评论(0)
推荐(0)
2022年1月6日
Uniapp跳转页面的几种方式
摘要: 一、标签跳转 官方链接:https://uniapp.dcloud.io/component/navigator <navigator url="navigate/navigate?title=navigate" hover-class="navigator-hover"> <button type
阅读全文
posted @ 2022-01-06 22:05 温柔的风
阅读(5025)
评论(0)
推荐(0)
2021年12月26日
uniapp 操作数组
摘要: 字符串转数组 let string = "12345,56789" string.split(',') // ['12345','56789'] 数组转字符串 let array = ["123","456"] array.join(",") // "'123','456'" 数组元素删除 let
阅读全文
posted @ 2021-12-26 21:49 温柔的风
阅读(4458)
评论(0)
推荐(0)
Unapp H5端跨域问题
摘要: 报错 Access to XMLHttpRequest at 'http://www.localtest.com/api/api/v1/job/getPositionList' from origin 'http://localhost:8080' has been blocked by CORS
阅读全文
posted @ 2021-12-26 16:02 温柔的风
阅读(515)
评论(0)
推荐(0)
2021年12月17日
UniApp给input输入框增加删除按钮“清除小叉叉x”
摘要: 图例 <view class="pt10 flex alcenter"> <view class="ft16 ftw500 text-info">手机号</view> <input class="ml40" maxlength="11" :value="phone" type="text" plac
阅读全文
posted @ 2021-12-17 14:41 温柔的风
阅读(4064)
评论(0)
推荐(0)
2021年12月4日
macbook php -v 提示错误zsh: command not found: php
摘要: 需要配置php环境变量。 vim ~/.bash_profile 找到你的php版本安装路径 /opt/homebrew/Cellar/php@7.4/7.4.33_6 //我的路径 添加好之后执行以下命令 source ~/.bash_profile 如果你是在phpstorm里需要运行php -
阅读全文
posted @ 2021-12-04 19:45 温柔的风
阅读(96)
评论(0)
推荐(0)
2021年11月12日
Redis 6.0
摘要: redis单线程又加入了多线程 redis 发展史 redis 2.6 (2012年10月支持lua脚本)redis 3.0 (2015年4月官方集群方案)redis 4.0 (2017年7月混合持久化、多线程异步删除)redis 5.0 (2018年10月核心代码重构)redis 6.0 (202
阅读全文
posted @ 2021-11-12 14:49 温柔的风
阅读(180)
评论(0)
推荐(0)
2021年11月10日
主流布局Flex
摘要: 一、父级属性(容器属性) flex-direction flex-wrap flex-flow justify-content align-items align-content ①:flex-direction属性 (属性决定主轴的方向,即项目的排列方向) .box { flex-directio
阅读全文
posted @ 2021-11-10 11:49 温柔的风
阅读(99)
评论(0)
推荐(0)
上一页
1
···
6
7
8
9
10
11
12
13
14
···
69
下一页
公告