05 2021 档案

摘要:<div class="item_box" ref="scroll"> 内容 </div> item_box 滚动盒子跳转页面你的时候缓存页面滚动高度 this.scroll = this.$refs.scroll.scrollTop 当页面显示的时候, 设置滚动高度 activated() { t 阅读全文
posted @ 2021-05-25 10:06 深海里的星星i 阅读(452) 评论(0) 推荐(0) 编辑
摘要:-webkit-overflow-scrolling: touch; overflow-scrolling: touch; 给body 加上就行了 阅读全文
posted @ 2021-05-25 10:00 深海里的星星i 阅读(87) 评论(0) 推荐(0) 编辑
摘要:{ "pages": [ { "path": "pages/index/index", "style": { "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#c7edcc" } } ], "subPacka 阅读全文
posted @ 2021-05-24 10:21 深海里的星星i 阅读(450) 评论(0) 推荐(0) 编辑
摘要:import { Toast } from 'mint-ui' function selectText(textbox, startIndex, stopIndex) { if (textbox.createTextRange) { // ie const range = textbox.creat 阅读全文
posted @ 2021-05-10 08:33 深海里的星星i 阅读(248) 评论(0) 推荐(0) 编辑
摘要:发现很多人学java都容易碰到这个问题, 示范代码 public class demo { public static void main(String[] args) { System.out.printIn("你好 世界"); } } 代码看上去是没有问题的, 但是编译的时候就有问题了 愿意其实 阅读全文
posted @ 2021-05-09 21:17 深海里的星星i 阅读(485) 评论(0) 推荐(1) 编辑
摘要:onLaunch: function () { const params = wx.getLaunchOptionsSync(); let str = params.query ? params.query.q : ""; if (str) { str = decodeURIComponent(st 阅读全文
posted @ 2021-05-07 14:07 深海里的星星i 阅读(415) 评论(1) 推荐(0) 编辑

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