会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
liuw_flexi
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
29
下一页
2021年7月23日
iOS App用WKWebView加载h5, h5多页面手势返回,h5返回App
摘要: 1. 创建webView时使用:作用是允许h5多页面,手势滑动 wkWebView.allowsBackForwardNavigationGestures = true 2. 因为App系统自带侧滑手势返回,所以要这样做: //监听侧滑手势 let swiperGesture = UISwipeGe
阅读全文
posted @ 2021-07-23 14:22 liuw_flexi
阅读(1092)
评论(0)
推荐(0)
2021年7月8日
H5判断是手机端浏览器or原生App Webview
摘要: 参考: https://www.jianshu.com/p/a97fcc09f2e4 https://blog.csdn.net/qq_15289761/article/details/107205278 1. OC:这里我是在本身获取的字符串基础上拼接一个字符串,尽量不覆盖 [webView ev
阅读全文
posted @ 2021-07-08 15:20 liuw_flexi
阅读(1677)
评论(0)
推荐(0)
2021年5月14日
vue-router笔记
摘要: 1. 什么是vue-router? 其实vue-router和v-if,v-show一样,是用来切换组件的显示的 v-if,v-show的标记是true/false vue-router的标记则是哈希(也就是#/xxx),还能传递参数,这也是一种路由模式 2.vue-router使用方法步骤2.1
阅读全文
posted @ 2021-05-14 09:55 liuw_flexi
阅读(93)
评论(0)
推荐(0)
2021年2月5日
我的博客园页面定制 CSS 代码
摘要: .navbar a:hover{color:#666;text-decoration:underline}.navbar a:link,.navbar a:active,.navbar a:visited{color:#666;text-decoration:none}.navbar>nav .na
阅读全文
posted @ 2021-02-05 11:38 liuw_flexi
阅读(84)
评论(0)
推荐(0)
2021年2月3日
用swiper实现不规则分页滚动 & 给分页器加颜色
摘要: 效果图 移动端想实现这样的效果, 可以先安装swiper npm install swiper template代码: <div class="swiper-container"> <div class="swiper-wrapper"> <div class="swiper-slide"> <im
阅读全文
posted @ 2021-02-03 13:53 liuw_flexi
阅读(741)
评论(0)
推荐(0)
2021年1月28日
Angular1.6.9 选择本地文件上传后台
摘要: 以项目代码为例 <div ng-repeat="m in filestemplateList" class="content"> <span ng-bind="TYPE_FILETEMPLATE[m.templateType]"></span> <div class="upload-content"
阅读全文
posted @ 2021-01-28 15:30 liuw_flexi
阅读(294)
评论(0)
推荐(0)
2021年1月25日
Vue移动端上拉加载更多实现请求分页数据
摘要: 参考: https://www.jianshu.com/p/c4abab8c1ba6 https://www.cnblogs.com/lucide/p/13686536.html 1. 安装"vue-infinite-scroll": "^2.0.2", 2. 在main.js 引入 import
阅读全文
posted @ 2021-01-25 09:45 liuw_flexi
阅读(1082)
评论(0)
推荐(0)
2021年1月5日
导航折叠菜单
摘要: 大概效果: Demo: <!DOCTYPE html> <html lang="en" dir="ltr"> <head> <meta charset="utf-8"> <title></title> <style media="screen"> *{ margin: 0; padding: 0;
阅读全文
posted @ 2021-01-05 16:30 liuw_flexi
阅读(365)
评论(0)
推荐(0)
2020年12月17日
类似于Flipboard页面翻折效果
摘要: 红板报App首页翻折效果: 思路参考: http://blog.sina.com.cn/s/blog_7011f21c0101a95a.html 现有代码参考:https://github.com/adow/WKFlipsView Flipboard 页面设计历史:https://www.sj33.
阅读全文
posted @ 2020-12-17 15:22 liuw_flexi
阅读(168)
评论(0)
推荐(0)
2020年12月11日
常用正则
摘要: pic:
阅读全文
posted @ 2020-12-11 11:24 liuw_flexi
阅读(71)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
29
下一页
公告