![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
uni-app
qq_42190640
这个作者很懒,什么都没留下…
展开
-
样式笔记
img图片标签加上display:block 就不会出现边距原创 2021-01-26 13:33:14 · 58 阅读 · 0 评论 -
Google地图开发
https://www.cnblogs.com/yincheng/p/google-map.htmlhttps://www.it1352.com/824678.html原创 2020-12-18 09:25:00 · 123 阅读 · 0 评论 -
v-html限制图片宽度
onShow() { const regex = new RegExp('<img', 'gi'); this.proContent= this.proContent.replace(regex, `<img style="max-width: 100%;"`);},原创 2020-12-08 10:31:40 · 1448 阅读 · 0 评论 -
uniapp相册选择页国际化问题
目前官方给的uni.chooseImage()只能识别中文和英文plus.gallery.pick(res=>{ let images = [] images.push(res) that.$emit('chooseResult',images)},(err)=>{ that.$emit('chooseResult','cancel')},{ maximum: 1, multiple: false, filter:"image"});Gallery模块管理系统相册官方网原创 2020-09-30 11:24:54 · 653 阅读 · 0 评论 -
uniapp实现六个格子输入框
<template> <view class="content"> <view class="pc_in"> <view class="pc_on"> <span class="g_hx"></span> <span class="g_hx"></span> <span class="g_hx"></span>原创 2020-08-03 17:16:23 · 2069 阅读 · 0 评论 -
最新版uni-app下input组件的focus属性的坑
<input focus type="text" />直接在input上写focus无效需要像下面这样用一个动态值来设置<input :focus="focus" type="text" />在移动端还有一个bug,就是键盘弹出瞬间又收起了需要延迟设置focus值mounted(){ setTimeout(() => { this.focus = this.isFocus }, 100) },...原创 2020-07-09 18:27:39 · 9832 阅读 · 0 评论