上一页 1 2 3 4 5 6 ··· 29 下一页
摘要: 1. 创建webView时使用:作用是允许h5多页面,手势滑动 wkWebView.allowsBackForwardNavigationGestures = true 2. 因为App系统自带侧滑手势返回,所以要这样做: //监听侧滑手势 let swiperGesture = UISwipeGe 阅读全文
posted @ 2021-07-23 14:22 liuw_flexi 阅读(938) 评论(0) 推荐(0) 编辑
摘要: 参考: 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 阅读(1433) 评论(0) 推荐(0) 编辑
摘要: 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 阅读(84) 评论(0) 推荐(0) 编辑
摘要: .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 阅读(65) 评论(0) 推荐(0) 编辑
摘要: 效果图 移动端想实现这样的效果, 可以先安装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 阅读(665) 评论(0) 推荐(0) 编辑
摘要: 以项目代码为例 <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 阅读(269) 评论(0) 推荐(0) 编辑
摘要: 参考: 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 阅读(1010) 评论(0) 推荐(0) 编辑
摘要: 大概效果: 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 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 红板报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 阅读(150) 评论(0) 推荐(0) 编辑
摘要: pic: 阅读全文
posted @ 2020-12-11 11:24 liuw_flexi 阅读(57) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 29 下一页