摘要: ios的内存回收机制问题 iOS手机内存不足时,如果是UIWebview的应用,系统会整体回收这个App,现象是在重新打开已打开过的App时App整体重启。而WKWebview则是单个页面回收,这带来的坏处就是内存不足时,会单个页面白屏 在配置文件manifest.json加上一下代码可解决(在"a 阅读全文
posted @ 2021-07-31 11:49 多喝热水,早点睡觉 阅读(844) 评论(0) 推荐(0) 编辑
摘要: //查看内置地图 (导航) 注意:经纬度必须转换为number类型,不然就...哈哈哈 goMap(item){ // console.log(item) uni.openLocation({ latitude: Number(item.take.mer_take_location[0]), lon 阅读全文
posted @ 2021-07-06 17:00 多喝热水,早点睡觉 阅读(1489) 评论(0) 推荐(0) 编辑
摘要: 草料二维码 链接:https://cli.im/ 阅读全文
posted @ 2021-07-02 16:04 多喝热水,早点睡觉 阅读(127) 评论(0) 推荐(0) 编辑
摘要: <template> <view @touchstart="touchStart" @touchend="touchEnd" style="height:2000px;"> 测试 </view> </template> <script> export default { data() { retur 阅读全文
posted @ 2021-06-18 18:35 多喝热水,早点睡觉 阅读(1961) 评论(0) 推荐(0) 编辑
摘要: 1、 <!-- 时间发送 --> <div class="sendingTime" v-if="withinArry.indexOf(j) 1"> {{timeChange(item.create_time)}} </div> 2、 withinArry:[] 3、 // 用于存在小于5分钟内发的信 阅读全文
posted @ 2021-04-22 14:12 多喝热水,早点睡觉 阅读(549) 评论(0) 推荐(0) 编辑
摘要: <view class='money'> <view style="flex: 1;"> <text class="real-curr">{{currencyed}}</text> <text class="real-price">{{changeAMT(goods.productAttr.pric 阅读全文
posted @ 2021-01-27 11:58 多喝热水,早点睡觉 阅读(473) 评论(0) 推荐(0) 编辑
摘要: 设置父元素opacity:0.5,子元素不设置opacity,子元素会受到父元素opacity的影响,也会有0.5的透明度。 即使设置子元素opacity:1,子元素的opacity:1也是在父元素的opacity:0.5的基础上设置的,因此子元素的opacity还是0.5。 解决方法:直接给父元素 阅读全文
posted @ 2021-01-14 14:15 多喝热水,早点睡觉 阅读(1289) 评论(0) 推荐(0) 编辑
摘要: var verify_code=http://localhost:8080/pages/admin/order_cancellation/index?verify_code=20348287 1、指定某个字符串后面的内容 console.log(verify_code.match(/verify_c 阅读全文
posted @ 2021-01-07 17:44 多喝热水,早点睡觉 阅读(1144) 评论(0) 推荐(1) 编辑
摘要: 连接:https://msdn.itellyou.cn/ 阅读全文
posted @ 2020-12-04 11:05 多喝热水,早点睡觉 阅读(48) 评论(0) 推荐(0) 编辑
摘要: <template> <view class="prod_detail_container"> <view class="proImg_caro" id="box_caro" > <view class="swiper_b1" v-if="imgUrls.length" > <swiper circ 阅读全文
posted @ 2020-11-12 15:47 多喝热水,早点睡觉 阅读(4766) 评论(0) 推荐(0) 编辑