06 2022 档案
摘要:图片顶到最上面 当前页面的json中配置: json "navigationStyle":"custom" checkbox样式修改 checkbox { /* 未选中时--样式更改 */ .wx-checkbox-input { border-radius: 50%; width: 30rpx;
阅读全文
摘要:全局安装 sass npm install sass -g Arguments输入 $FileName$:$FileNameWithoutExtension$.wxss --no-source-map Output paths to refresh输入 $FileNameWithoutExtensi
阅读全文
摘要:使用 text-overflow: ellipsis .text { overflow: hidden; /* 将超出的部分隐藏掉 */ text-overflow: ellipsis; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box
阅读全文
摘要:每隔4个加一个逗号 var t = '123456789abcdefg' var str = t.replace(/(.{4})/g, '$1,') // '1234,5678,9abc,defg'
阅读全文