会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
一天一个知识点
主攻前端。。。
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
···
61
下一页
2019年6月20日
flex
摘要: 音乐 旅游 电影 综艺 音乐 旅游 ...
阅读全文
posted @ 2019-06-20 16:59 mengxiangtong22
阅读(220)
评论(0)
推荐(0)
2019年6月12日
webpack插件url-loader使用规范
摘要: 其实说到性能优化,他的范围太广了,今天我们就只聊一聊通过webpack配置减少http请求数量这个点吧。 简单说下工作中遇到的问题吧,我们做的一个项目中首页用了十多张图片,每张图片都是一个静态资源,所以都会有http请求,为了减少请求,我们可以通过base64编码的方法来展示图片。webpack中有
阅读全文
posted @ 2019-06-12 10:28 mengxiangtong22
阅读(674)
评论(0)
推荐(0)
2019年4月1日
Cordova 项目 加载不出XML文件
摘要: 解决方法:copy bundle 将文件移除再添加
阅读全文
posted @ 2019-04-01 15:00 mengxiangtong22
阅读(225)
评论(0)
推荐(0)
2019年3月20日
ld: library not found for -lstdc++.6
摘要: ld: library not found for -lstdc++.6 Xcode10 删除 libstdc++.6.tbd libstdc++.6.0.9.tbd 用 libc++.tbd libc++.1.tbd 替换
阅读全文
posted @ 2019-03-20 19:00 mengxiangtong22
阅读(406)
评论(0)
推荐(0)
2019年3月6日
WebViewJavascriptBridge 进行js 与native通信。
摘要: 1, iOS端加载web页面、开启日志并给webView建立JS与OC的桥梁 - (void)viewWillAppear:(BOOL)animated { if (_bridge) { return; } // 1.加载网页 UIWebView* webView = [[UIWebView all
阅读全文
posted @ 2019-03-06 17:38 mengxiangtong22
阅读(515)
评论(0)
推荐(0)
2019年2月28日
invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
摘要: Mac系统升级git会找不到并且报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun 解决办法: 在终端输入: xcode-select --instal
阅读全文
posted @ 2019-02-28 17:33 mengxiangtong22
阅读(1045)
评论(0)
推荐(0)
个推总结
摘要:
阅读全文
posted @ 2019-02-28 14:46 mengxiangtong22
阅读(252)
评论(0)
推荐(0)
2019年2月26日
OC 与 js 界面JSBridge交互
摘要: // 1.新建WebView self.webView = [[UIWebView alloc] initWithFrame:self.view.bounds]; [self.view addSubview:self.webView]; // 2.加载网页 NSString *indexPath =
阅读全文
posted @ 2019-02-26 17:20 mengxiangtong22
阅读(885)
评论(0)
推荐(0)
2019年1月22日
react-native init的时候出现问题:npm WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was
摘要: react-native init的时候出现问题:npm WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was 2017年12月05日 10:23:35 笨笨CEO 阅读数:4625 标签: react nati
阅读全文
posted @ 2019-01-22 16:21 mengxiangtong22
阅读(727)
评论(0)
推荐(0)
2019年1月20日
react-无状态组件
摘要: import React, { Component } from "react"; //import PostItem from "./PostItem"; /**将无状态组件 嵌入 */ function PostItem(props) { const handleClick = () => {
阅读全文
posted @ 2019-01-20 22:23 mengxiangtong22
阅读(794)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
···
61
下一页
公告