会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuw_flexi
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
9
10
11
12
13
14
15
16
17
···
29
下一页
2019年11月29日
React native 之 图标库ECharts的使用
摘要: 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
阅读(375)
评论(0)
推荐(0)
2019年11月21日
使用jquery给html标签加点击事件
摘要: //直接给所有img标签绑定click事件 $("img").click(function(){ alert('你点击了图片'); }) //使用bind方法绑定click事件 $("img").bind("click",function(){ alert('你点击了图片'); })
阅读全文
posted @ 2019-11-21 16:28 liuw_flexi
阅读(1576)
评论(0)
推荐(0)
React native 之 async/await
摘要: 参考资料 :https://www.jianshu.com/p/1e75bd387aa0 要点: 1. async function(){} 将普通函数转换成Promise 2. await 表达式/函数 强制等待后面的结果返回再继续 3. await 只能用在async function(){}中
阅读全文
posted @ 2019-11-21 10:29 liuw_flexi
阅读(1686)
评论(0)
推荐(0)
2019年11月19日
CSS自适应布局
摘要: 目标效果: 缩小浏览器之后 在<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
阅读(255)
评论(0)
推荐(0)
CSS布局之flexbox
摘要: 参考链接: 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
阅读(197)
评论(0)
推荐(0)
2019年11月18日
Swiper 的引入
摘要: 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
阅读(1496)
评论(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
阅读(760)
评论(0)
推荐(0)
CSS设置背景色
摘要: 最好用background-color:rgba(37,77,113,1); 因为用opacity会让所有自标签都改变
阅读全文
posted @ 2019-11-18 10:24 liuw_flexi
阅读(225)
评论(0)
推荐(0)
设置禁止子标签超出父标签产生了滚动条
摘要: 子标签 的css 加这句overflow: hidden; 设置禁止子标签超出父标签产生了滚动条
阅读全文
posted @ 2019-11-18 10:22 liuw_flexi
阅读(491)
评论(0)
推荐(0)
引用自定义的css或者js文件
摘要: 用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
阅读(556)
评论(0)
推荐(0)
上一页
1
···
9
10
11
12
13
14
15
16
17
···
29
下一页
公告