会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
SWT
日不进,则退。
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
19
下一页
2023年3月30日
UI图字体 小于12号字体,利用 scale 缩放解决,影响width height,定位时错乱问题
摘要: 利用 transform-origin: left top ,以左上角为基点缩放。 position: absolute; right: -1px; top: -8px; height: 28px; padding: 0 8px; background: #BBBBBB; border-radius
阅读全文
posted @ 2023-03-30 11:47 Action_swt
阅读(80)
评论(0)
推荐(0)
2023年3月22日
Taro弹窗禁止底部页面滚动
摘要: const setPageStyle = (pageStyle: { [key: string]: string|number }) => { Taro.setPageStyle({ style: pageStyle }) } setPageStyle({ // overflow: 'hidden'
阅读全文
posted @ 2023-03-22 21:48 Action_swt
阅读(344)
评论(0)
推荐(0)
2023年3月14日
less & saas/scss & css 深度选择器语法在 Vue2 & Vue3中的使用
摘要: vue2中 原生css >>> .el-card__header saas\scss ::v-deep .el-card__header less /deep/ .el-card__header vue3中 :deep() { //styles } ::deep() { //styles }
阅读全文
posted @ 2023-03-14 14:11 Action_swt
阅读(301)
评论(0)
推荐(0)
2022年11月29日
running pre-commit hook: lint-staged 问题
摘要: > running pre-commit hook: lint-staged'lint-staged' is not recognized as an internal or external command,operable program or batch file. pre-commit ho
阅读全文
posted @ 2022-11-29 14:24 Action_swt
阅读(495)
评论(0)
推荐(0)
2022年10月19日
video视频播放,安卓和IOS差异
摘要: IOS默认播放大屏播放,安卓播放可以同时播放多个,因为IOS默认是大屏播放所以不存在同时播放多个视频的现象。需求1、安卓一次播放一个视频,播放一个其中一个停止播放。 const videoList = document.getElementsByTagName("video"); const vid
阅读全文
posted @ 2022-10-19 13:59 Action_swt
阅读(361)
评论(0)
推荐(0)
2022年10月12日
微信weixin-js-sdk(开放能力-微信开放标签)
摘要: https://developers.weixin.qq.com/doc/oplatform/Mobile_App/WeChat_H5_Launch_APP.html http://t.zoukankan.com/Can-daydayup-p-15404964.html 最后排查原因服务号欠费。。。
阅读全文
posted @ 2022-10-12 18:55 Action_swt
阅读(72)
评论(0)
推荐(0)
2022年9月23日
监听localStorage值
摘要: function dispatchEventStroage () { const signSetItem = localStorage.setItem; localStorage.setItem = function (key, val) { let setEvent = new Event('se
阅读全文
posted @ 2022-09-23 10:56 Action_swt
阅读(37)
评论(0)
推荐(0)
2022年9月20日
中文符合不会自动换行,比如(,,,,。。。。)
摘要: 解决: word-break: break-all; white-space: pre-wrap; line-break: anywhere;
阅读全文
posted @ 2022-09-20 17:57 Action_swt
阅读(93)
评论(0)
推荐(0)
2022年7月25日
结构转为图片
摘要: https://ext.dcloud.net.cn/plugin?id=2389
阅读全文
posted @ 2022-07-25 16:04 Action_swt
阅读(14)
评论(0)
推荐(0)
2022年7月12日
taro配置开发环境h5代理接口403
摘要: 部分接口403。
阅读全文
posted @ 2022-07-12 16:26 Action_swt
阅读(596)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
19
下一页
公告