摘要: 阅读全文
posted @ 2021-09-15 16:35 蠡li 阅读(298) 评论(0) 推荐(0)
摘要: option不能设置高度和样式,封装一个下拉列表替换select和option <!doctype html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width 阅读全文
posted @ 2021-08-25 14:26 蠡li 阅读(246) 评论(0) 推荐(0)
摘要: let baseUrl= 'https://www.baidu.com' function request (url, method, data, head, dataType, doSuccess, doFail, doComplete) { let header = {}; if (head = 阅读全文
posted @ 2021-08-18 12:04 蠡li 阅读(114) 评论(0) 推荐(0)
摘要: hideShFn() { var query = wx.createSelectorQuery(); query.select('.enterP_01100').boundingClientRect(rect => { if (rect.height > 60) { this.setData({ h 阅读全文
posted @ 2021-08-17 16:32 蠡li 阅读(1361) 评论(1) 推荐(0)
摘要: <input type="file" class="upload"><img src="" alt="" id="viewimg"> <script src="home/javascripts/jquery-3.2.1.min-1.js"></script><script> $(".upload") 阅读全文
posted @ 2021-08-10 10:03 蠡li 阅读(661) 评论(0) 推荐(0)
摘要: var searchValue=decodeURI(this.data.searchValue) this.setData({ searchValue }) decodeURI() 函数可对 encodeURI() 函数编码过的 URI 进行解码。decodeURI(URIstring) //URI 阅读全文
posted @ 2021-08-09 17:19 蠡li 阅读(64) 评论(0) 推荐(0)
摘要: <template> <view> <page-head :title="title"></page-head> <view class="uni-common-mt"> <view> <map :latitude="latitude" :longitude="longitude" :markers 阅读全文
posted @ 2021-07-22 11:20 蠡li 阅读(3194) 评论(0) 推荐(0)
摘要: /** * 将小程序的API封装成支持Promise的API * @params fn {Function} 小程序原始API,如wx.login */ const wxPromisify = fn => { return function (obj = {}) { return new Promi 阅读全文
posted @ 2021-07-21 16:32 蠡li 阅读(111) 评论(0) 推荐(0)
摘要: https://www.jb51.net/article/207290.htm 1、申请腾讯地图key——地址 http://lbs.qq.com/dev/console/application/mine 2、小程序后台添加腾讯插件——开发文档 https://lbs.qq.com/miniProg 阅读全文
posted @ 2021-07-21 11:22 蠡li 阅读(832) 评论(1) 推荐(0)
摘要: onShareAppMessage: function () { return { "title": ‘标题' } }, onShareTimeline: function () { return { "title": '标题' } } 阅读全文
posted @ 2021-07-21 09:16 蠡li 阅读(55) 评论(0) 推荐(0)