摘要: chrome 和Safari .element::-webkit-scrollbar { width: 0 } IE 10+ .element { -ms-overflow-style: none; } Firefox .element { overflow: -moz-scrollbars-non 阅读全文
posted @ 2022-07-24 09:47 wanjunshijie 阅读(98) 评论(0) 推荐(0) 编辑
摘要: 宝塔更新后,发现使用ui界面添加的反向代理,并不能实现反向代理,反而以前添加过的代理还可以使用,于是将以前的配置文件代码复制进去修改对应的地址和路径后,反向代理实现了。记录一下,留待备用。 反向代理配置代码 proxy_pass 需要代理的地址 location 要代理的路径 #PROXY-STAR 阅读全文
posted @ 2022-07-23 08:34 wanjunshijie 阅读(512) 评论(0) 推荐(0) 编辑
摘要: var u = navigator.userAgent; var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Adr') > -1; //android终端 var isiOS = !!u.match(/\(i[^;]+;( U;)? CP 阅读全文
posted @ 2022-07-22 07:18 wanjunshijie 阅读(711) 评论(0) 推荐(0) 编辑
摘要: html <div class="zhezhaox"> <div class="zhezhaox2"></div> </div> css .zhezhaox { position: relative; padding: 1px; .zhezhaox2 { position: absolute; to 阅读全文
posted @ 2022-07-21 06:54 wanjunshijie 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 使用实例 <price price="10.11"></price> 组件代码 <template> <div class="price"> <div class="unit">¥</div> <div class="price">{{integer}}</div> <div class="Poin 阅读全文
posted @ 2022-07-20 07:42 wanjunshijie 阅读(275) 评论(0) 推荐(0) 编辑
摘要: html <img src="../images/tagbg.png" id="xuanzhuan" class="xuanzhuan tagbg" alt=""> js setTimeout(() => { document.getElementById('xuanzhuan').style.an 阅读全文
posted @ 2022-07-19 14:05 wanjunshijie 阅读(380) 评论(0) 推荐(0) 编辑
摘要: js格式化后输出的值 Mon Nov 30 2020 11:00:00 GMT+0800 (中国标准时间) 但是传值给对象后的日期和原值对不上 serviceStartTime: "2020-11-30T3:00:00Z" 解决办法使用moment moment(this.riqi2).utc(8) 阅读全文
posted @ 2021-12-02 08:25 wanjunshijie 阅读(74) 评论(0) 推荐(0) 编辑