自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(8)
  • 收藏
  • 关注

原创 uniapp播放二进制音频

播放二进制流

2023-01-30 17:01:12 1028

原创 谷歌地图 获取手机四个角距离中心的距离

//获取手机左上角的经纬度var maxX = map.getBounds().getNorthEast().lng(); var maxY = map.getBounds().getNorthEast().lat();//获取中心点的经纬度newlat = JSON.stringify(map.getCenter()).split(',')[0].split(':')[1]newlog = JSON.stringify(map.getCenter()).split(',')[1].spli...

2022-01-18 13:55:25 325

原创 overflow-y: scroll; 动态赋值时无法回到顶部

<div class="notice-con" id="notice-con">动态赋值内容</div>.notice-con { margin: 14px 30px; height: 64px; overflow-y: scroll;}解决方案:document.getElementById("notice-con").scrollTop = 0...

2022-01-17 17:02:40 677

原创 接入谷歌地图api

1.通过webview引入map.html<web-view :src="url"></web-view>data() { return { url: "", } },this.url = "/hybrid/html/map.html"2.map.html//首先接入谷歌地图api<script src="https://maps.googleapis.com...

2021-11-24 15:01:43 4179

原创 uniapp H5与vue之间存取缓存

1.vue存与h5取vue:uni.setStorageSync('isClick', true)h5:JSON.parse(plus.storage.getItem('isClick')).data2.h5存与vue取vue:uni.getStorageSync('isClick')h5:plus.storage.setItem('isClick',""+false)注:plus.storage.setItem()不能直接存false,得加上""...

2021-11-23 10:57:46 1774

原创 去除谷歌地图api上的各种默认标记

详情参考:https://mapstyle.withgoogle.com/

2021-11-19 15:36:20 977

原创 ios 弹起软键盘position: fixed;失效

<view class="stores-top"> <input type="text" placeholder-class="placeholder" v-model="shop" placeholder="店舗名または住所を入力してください" /></view>.stores-top { width: 100%; height: 88upx; position: fixed;...

2021-11-19 13:52:20 1930

原创 ios的input默认文字比android颜色浅

原代码如下:<input id="myInput" type="text" placeholder-class="phcolor" disabled="true" placeholder="aaaa" />.phcolor { color: #999999; font-size: 12px; }原因:input里加了disabled属性导致ios中颜色变浅解决:#myInput inp...

2021-11-02 15:35:09 1385

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除