会员
周边
众包
新闻
博问
闪存
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
盘思动
三思而后折腾!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
80
81
82
83
84
85
86
87
88
···
133
下一页
2020年9月27日
scss 常用的函数总结。
摘要: /*** * px2rem 转换 */ $base-font-size: 750; @function px2rem($px) { @return $px / 75px * 1rem; } @function rem($px) { @return ($px / $base-font-size) *
阅读全文
posted @ 2020-09-27 09:09 盘思动
阅读(1543)
评论(0)
推荐(0)
2020年9月17日
sql 语句,乱序查询ORDER BY RAND()
摘要: ORDER BY RAND() $sql = 'select id,name,type,songurl,imgurl from tf_chall_title where `chall_id` = ' . $id . ' and `status` = 1 and `is_del` = 0 ORDER
阅读全文
posted @ 2020-09-17 11:38 盘思动
阅读(1554)
评论(0)
推荐(0)
2020年9月14日
taro 横向滚动
摘要: import Taro, from '@tarojs/taro'; import { View,ScrollViewProps } from '@tarojs/components'; import from '@tarojs/redux'; import './index.scss'; impor
阅读全文
posted @ 2020-09-14 14:45 盘思动
阅读(1615)
评论(0)
推荐(0)
redis 秒杀设计,常用命令
摘要: redis 命令: lrange Redis Lrange 返回列表中指定区间内的元素,区间以偏移量 START 和 END 指定。 其中 0 表示列表的第一个元素, 1 表示列表的第二个 元素,以此类推。 你也可以使用负数下标, 以 -1 表示列表的最后一个元素, -2 表示列表的倒数第二个元素,
阅读全文
posted @ 2020-09-14 14:21 盘思动
阅读(220)
评论(0)
推荐(0)
2020年9月12日
wamp下配置多域名和访问路径的方法
摘要: wamp下配置多域名和访问路径的方法 1.到安装目录下,打开配置httpd.conf D:\wamp\bin\apache\Apache2.2.21\conf\httpd.conf 也可以通过wamp图标打开。查找 Virtual hosts 去掉下面include行前面的# 修改为 #Virtua
阅读全文
posted @ 2020-09-12 11:13 盘思动
阅读(374)
评论(0)
推荐(0)
2020年9月8日
git commit 因执行yarn , npm,报错推送不了
摘要: 解决 . 执行npm run lint, 根据提示修改错误(推荐) . git commit -m “” --no-verify 绕过了lint的检查 . 卸载husky 实践用下面命令,绕过执行 git commit -m “ssss” --no-verify 原因 项目中使用了husky,并且配
阅读全文
posted @ 2020-09-08 15:32 盘思动
阅读(1227)
评论(0)
推荐(0)
2020年9月4日
taro bug--小程序报错Error: 未找到入口 sitemap.json 文件,或者文件读取失败,请检查后重新编译。
摘要: 这样每次编译系统自动会生成sitemap.json ps备注 useCompilerModule这个配置项好像是说是否启用CompilerModule混合打包工具,小程序官网以及相关帖子对useCompilerModule这个参数的功能没有很明确的说明,https://www.javascriptc
阅读全文
posted @ 2020-09-04 16:39 盘思动
阅读(1905)
评论(0)
推荐(0)
2020年9月2日
vscode引用相对路径,scss时路径报错问题解决
摘要: @import 路径 window环境 @import '..\modules\_nav.scss'; window环境路径规则和sass语法不同。上面两个斜杠 一个是路径符一个是转移符 注意:mac,ubuntu 引入scss文件,前面有_,可以省略,而windows得加上,否则找不到文件。。。。
阅读全文
posted @ 2020-09-02 11:50 盘思动
阅读(1759)
评论(0)
推荐(0)
2020年9月1日
space-between与space-around的区别
摘要: flex布局justify-content属性值区别 space-between 最左、最右item贴合左侧或右侧边框,item与item之间间距相等。 space-around 每个item 左右方向的margin相等。两个item中间的间距会比较大 align-items:center; 垂直居
阅读全文
posted @ 2020-09-01 10:25 盘思动
阅读(21113)
评论(0)
推荐(0)
2020年8月26日
获取二维数组 所有的组合排列
摘要: /*** * 获取所有的组合 * * 1,2 * 0,1 * 2,3 * * 则得出8种组合排列; */ private function get_combination($all_score_lists){ $res = []; foreach($all_score_lists as $k =>
阅读全文
posted @ 2020-08-26 15:02 盘思动
阅读(443)
评论(0)
推荐(0)
上一页
1
···
80
81
82
83
84
85
86
87
88
···
133
下一页
公告