08 2021 档案

摘要: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 阅读(248) 评论(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 阅读(125) 评论(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 阅读(1388) 评论(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 阅读(668) 评论(0) 推荐(0)
摘要:var searchValue=decodeURI(this.data.searchValue) this.setData({ searchValue }) decodeURI() 函数可对 encodeURI() 函数编码过的 URI 进行解码。decodeURI(URIstring) //URI 阅读全文
posted @ 2021-08-09 17:19 蠡li 阅读(74) 评论(0) 推荐(0)