上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 29 下一页
摘要: github地址:https://github.com/somonus/react-native-echarts 官网:https://www.echartsjs.com/zh/tutorial.html#5%20分钟上手%20ECharts 安装之后因为rn版本问题,可能会抱错,关于WebView 阅读全文
posted @ 2019-11-29 13:59 liuw_flexi 阅读(345) 评论(0) 推荐(0) 编辑
摘要: //直接给所有img标签绑定click事件 $("img").click(function(){ alert('你点击了图片'); }) //使用bind方法绑定click事件 $("img").bind("click",function(){ alert('你点击了图片'); }) 阅读全文
posted @ 2019-11-21 16:28 liuw_flexi 阅读(1552) 评论(0) 推荐(0) 编辑
摘要: 参考资料 :https://www.jianshu.com/p/1e75bd387aa0 要点: 1. async function(){} 将普通函数转换成Promise 2. await 表达式/函数 强制等待后面的结果返回再继续 3. await 只能用在async function(){}中 阅读全文
posted @ 2019-11-21 10:29 liuw_flexi 阅读(1645) 评论(0) 推荐(0) 编辑
摘要: 目标效果: 缩小浏览器之后 在<head>最前面引入flexible.js <head> 。。。 <script type="text/javascript" src="./lib/flexible.js"></script> 。。 </head> flexible.js 内容如下 (functio 阅读全文
posted @ 2019-11-19 16:44 liuw_flexi 阅读(238) 评论(0) 推荐(0) 编辑
摘要: 参考链接: https://www.cnblogs.com/qingchunshiguang/p/8011103.html 练习代码 <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title></t 阅读全文
posted @ 2019-11-19 15:41 liuw_flexi 阅读(192) 评论(0) 推荐(0) 编辑
摘要: 1. 从官网下载必要资源 https://www.swiper.com.cn/download/index.html#file1 2. 在项目中<head>中引入swiper.min.css <!-- Link Swiper's CSS --> <link rel="stylesheet" href 阅读全文
posted @ 2019-11-18 15:03 liuw_flexi 阅读(1459) 评论(0) 推荐(0) 编辑
摘要: 首先设置图片宽高占满屏幕 <img id="bgImg" src="./img/bg.png" width='100%' height='100%'/> 然后设置 /*背景图*/ #bgImg{ object-fit: cover; left:0; bottom:0; position: absol 阅读全文
posted @ 2019-11-18 10:33 liuw_flexi 阅读(734) 评论(0) 推荐(0) 编辑
摘要: 最好用background-color:rgba(37,77,113,1); 因为用opacity会让所有自标签都改变 阅读全文
posted @ 2019-11-18 10:24 liuw_flexi 阅读(209) 评论(0) 推荐(0) 编辑
摘要: 子标签 的css 加这句overflow: hidden; 设置禁止子标签超出父标签产生了滚动条 阅读全文
posted @ 2019-11-18 10:22 liuw_flexi 阅读(478) 评论(0) 推荐(0) 编辑
摘要: 用script标签,src是js文件路径 <script type="text/javascript" src="./js/udc.js"></script> 如果项目中用到了jquery,同样src是jquery文件路径 <script type="text/javascript" src="./ 阅读全文
posted @ 2019-11-18 10:08 liuw_flexi 阅读(541) 评论(0) 推荐(0) 编辑
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 29 下一页