摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2021-04-09 16:59 小夜猫啊 阅读(35) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-01 16:34 小夜猫啊 阅读(176) 评论(0) 推荐(0) 编辑
摘要: base64.js文件: 1 function Base64() { 2 var _keyStr = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="; 3 this.encode = function(input 阅读全文
posted @ 2021-03-18 09:55 小夜猫啊 阅读(86) 评论(0) 推荐(0) 编辑
摘要: <select id="selectyear" ></select> /*****自动给select 赋值显示最近3年的年份*****/ window.onload = function(){ for(var i=0;i<3;i++){ $("#selectyear").append("<optio 阅读全文
posted @ 2021-02-23 10:55 小夜猫啊 阅读(308) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=ul, initial-scale=1.0"> <title>Document</title> <s 阅读全文
posted @ 2021-02-08 17:13 小夜猫啊 阅读(51) 评论(0) 推荐(0) 编辑
摘要: 在xAxis.axisLabel中 使用formatter回调函数实现换行 axisLabel : {//坐标轴刻度标签的相关设置。 formatter : function(params){ var newParamsName = "";// 最终拼接成的字符串 var paramsNameNum 阅读全文
posted @ 2021-01-13 16:47 小夜猫啊 阅读(1883) 评论(0) 推荐(0) 编辑
摘要: 因为加了@touchmove.prevent 阅读全文
posted @ 2021-01-13 16:10 小夜猫啊 阅读(340) 评论(0) 推荐(0) 编辑
摘要: html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, i 阅读全文
posted @ 2021-01-12 13:35 小夜猫啊 阅读(67) 评论(0) 推荐(0) 编辑
摘要: 1 创建一个文件名为config.js const baseurl = 'http://xxx:9090/'; //公共接口请求地址export default baseurl; 2 在登录接口返回数据的那步,将token存进缓存中 // 存储token uni.setStorage({ key: 阅读全文
posted @ 2020-07-22 15:42 小夜猫啊 阅读(7068) 评论(0) 推荐(0) 编辑
摘要: HTTP请求详解 使用http协议进行前后端通信 web使用一种名为HTTP(HyperText Transfer Protocol),超文本传输协议作为规范,完成从客户端到服务端等一系列运作过程。web是建立在HTTP协议上通信的。 1.HTTP通信机制是在一次完整的HTTP通信过程中,Web浏览 阅读全文
posted @ 2020-07-06 16:22 小夜猫啊 阅读(264) 评论(0) 推荐(0) 编辑