- 博客(11)
- 收藏
- 关注
原创 h5使用HbuilderX打包app
hbuilderX打包app 接上一篇文章唤醒高德地图,但是这样有个问题就是会没有头部返回,直接导致打开高德地图导航后无法返回到app 因为使用的是window.location.href = http://uri.amap.com/marker?position=lng,lat&name=address&coordinate=gaode&callnative=1 所以在h5中使用了iframe进行了嵌套,把这个schema放到了src中,然后高度使用clientHeight,
2021-03-11 10:55:28
1366
2
原创 h5唤醒app拨号和导航
h5唤醒手机拨号 index.html中添加 <meta name="format-detection" content="telephone=yes"/> 点击事件window.location.href = 'tel:4000-000-000'; h5调用手机高德地图 https://lbs.amap.com/api/uri-api/gettingstarted 判断手机是ios还是安卓 let browser = { versions: function ()
2021-03-09 13:38:01
448
2
原创 阿里云oss上传
上传到oss的经历 1、安装ali-oss npm install ali-oss 加粗样式 const OSS = require('ali-oss') export function client(data) { //后端提供数据 return new OSS({ region: data.region, //oss-cn-shenzhen.aliyuncs.com ...
2019-10-11 15:30:00
1433
原创 css高斯模糊
px值越大,越模糊,可以按照不同的类名给不同的模糊值,背景看起来会更好看一点 重点实现为: -webkit-filter: blur(10px); /* Chrome, Opera */ -moz-filter: blur(10px); -ms-filter: blur(10px); filter: blur(10px); ...
2019-10-08 16:35:21
204
原创 vue脚手架快速搭建
Vue学习第一天 脚手架搭建 Vue脚手架搭建流程 全局安装vue npm install vue 全局安装vue-cli npm install –global vue-cli 创建一个基于 webpack 模板的新项目 vue init webpack 项目名字 剩下的步骤按照提示回车即可,遇到测试的选择no...
2018-08-13 12:39:45
203
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅