上一页 1 2 3 4 5 6 7 ··· 9 下一页
摘要: 原因: QQ不支持网路图片地址,需要给api传本地图片地址,是file///:开头的路径,具体可以参考5+的地址转换方法requestFileSystem: 请求本地文件系统对象 resolveLocalFileSystemURL: 通过URL参数获取目录对象或文件对象 convertLocalFi 阅读全文
posted @ 2020-06-19 19:15 自律·给我自由 阅读(1953) 评论(0) 推荐(0) 编辑
摘要: 先上效果图 1.使用页面引入swiper.css和swiper.js // 引入swiper组件 import Swiper from "swiper"; import "swiper/dist/css/swiper.min.css"; 2.html <div class="swiper-conta 阅读全文
posted @ 2020-06-19 09:42 自律·给我自由 阅读(7875) 评论(1) 推荐(1) 编辑
摘要: (function(doc, win) { var docEl = doc.documentElement, resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize', recalc = function() 阅读全文
posted @ 2020-06-18 10:49 自律·给我自由 阅读(3666) 评论(0) 推荐(1) 编辑
摘要: 因iOS13起UIWebview被列为非公开API,未来会被App Store拒绝。 从HBuilderX 2.3.0+起,iOS App的默认webview从UIwebview改为了WKWebview。 WKWebview与UIWebview有部分区别,包括更严格的联网或canvas跨域限制。 详 阅读全文
posted @ 2020-06-04 17:10 自律·给我自由 阅读(2476) 评论(0) 推荐(0) 编辑
摘要: 首先在manifest.json的plus节点下新增allowsInlineMediaPlayback节点为true。 "plus":{ "allowsInlineMediaPlayback": true } 然后在video标签中添加playsinline属性,然后测试得出iphone5s系统8. 阅读全文
posted @ 2020-06-03 16:57 自律·给我自由 阅读(4042) 评论(1) 推荐(0) 编辑
摘要: 其实这个问题很容易排查故障原因: 0、前端控制台打印预支付订单编号是否生成? 1、比对官方,确认是正确的预支付订单编号格式2、微信支付安卓必须使用自定义基座真机调试 3、检查包名、签名,确保开放平台上的包名与签名与你打包的完全一致。具体步骤请看https://blog.csdn.net/xmx516 阅读全文
posted @ 2020-06-01 17:31 自律·给我自由 阅读(3466) 评论(0) 推荐(0) 编辑
摘要: 1. 监听当前时间位置,并三秒输出一次时间位置 <video @timeupdate="timeupdate" :src="视频路径" controls="controls" poster="封面"></video> data() { return { mytime_02:true, } } //监 阅读全文
posted @ 2020-05-20 16:59 自律·给我自由 阅读(3413) 评论(0) 推荐(0) 编辑
摘要: // axios.js 放入如下 import Vue from 'vue'; import router from '../router/index.js' const myVue = new Vue(); const base_url = 'http://dushu.test01.qcw100. 阅读全文
posted @ 2020-05-19 18:05 自律·给我自由 阅读(390) 评论(0) 推荐(0) 编辑
摘要: //文件:utils/util.js const formatTime = date => { const year = date.getFullYear() const month = date.getMonth() + 1 const day = date.getDate() const hou 阅读全文
posted @ 2020-05-19 18:03 自律·给我自由 阅读(1056) 评论(0) 推荐(0) 编辑
摘要: /**基本防抖案例:先清除,后setTimeout进行执行**/ document.querySelector("#send").addEventListener("click",function(e){ clearTimeout(window.mytime_01); window.mytime_0 阅读全文
posted @ 2020-05-18 16:35 自律·给我自由 阅读(162) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 9 下一页