09 2020 档案

摘要:composer config -g repo.packagist composer https://mirrors.aliyun.com/composer/ 阅读全文
posted @ 2020-09-27 20:24 盘思动 阅读(126) 评论(0) 推荐(0) 编辑
摘要:/*** * px2rem 转换 */ basefontsize:750;@functionpx2rem(px) { @return px / 75px * 1rem; } @function rem(px) { @return (px/base-font-size) * 阅读全文
posted @ 2020-09-27 09:09 盘思动 阅读(1526) 评论(0) 推荐(0) 编辑
摘要:ORDER BY RAND() sql=selectid,name,type,songurl,imgurlfromtfchalltitlewherechallid=.id . ' and `status` = 1 and `is_del` = 0 ORDER 阅读全文
posted @ 2020-09-17 11:38 盘思动 阅读(1547) 评论(0) 推荐(0) 编辑
摘要: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 盘思动 阅读(1594) 评论(0) 推荐(0) 编辑
摘要:redis 命令: lrange Redis Lrange 返回列表中指定区间内的元素,区间以偏移量 START 和 END 指定。 其中 0 表示列表的第一个元素, 1 表示列表的第二个 元素,以此类推。 你也可以使用负数下标, 以 -1 表示列表的最后一个元素, -2 表示列表的倒数第二个元素, 阅读全文
posted @ 2020-09-14 14:21 盘思动 阅读(215) 评论(0) 推荐(0) 编辑
摘要: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 盘思动 阅读(366) 评论(0) 推荐(0) 编辑
摘要:解决 . 执行npm run lint, 根据提示修改错误(推荐) . git commit -m “” --no-verify 绕过了lint的检查 . 卸载husky 实践用下面命令,绕过执行 git commit -m “ssss” --no-verify 原因 项目中使用了husky,并且配 阅读全文
posted @ 2020-09-08 15:32 盘思动 阅读(1139) 评论(0) 推荐(0) 编辑
摘要:这样每次编译系统自动会生成sitemap.json ps备注 useCompilerModule这个配置项好像是说是否启用CompilerModule混合打包工具,小程序官网以及相关帖子对useCompilerModule这个参数的功能没有很明确的说明,https://www.javascriptc 阅读全文
posted @ 2020-09-04 16:39 盘思动 阅读(1899) 评论(0) 推荐(0) 编辑
摘要:@import 路径 window环境 @import '..\modules\_nav.scss'; window环境路径规则和sass语法不同。上面两个斜杠 一个是路径符一个是转移符 注意:mac,ubuntu 引入scss文件,前面有_,可以省略,而windows得加上,否则找不到文件。。。。 阅读全文
posted @ 2020-09-02 11:50 盘思动 阅读(1736) 评论(0) 推荐(0) 编辑
摘要:flex布局justify-content属性值区别 space-between 最左、最右item贴合左侧或右侧边框,item与item之间间距相等。 space-around 每个item 左右方向的margin相等。两个item中间的间距会比较大 align-items:center; 垂直居 阅读全文
posted @ 2020-09-01 10:25 盘思动 阅读(20814) 评论(0) 推荐(0) 编辑

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