![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
weexplus
文章平均质量分 58
奔跑的痕迹
I like to learn new technologies every day and I am willing to constantly improve myself.
展开
-
不要轻易尝试 weexplus open as
昨日使用 weexplust publish android 编译apk, 出现了一大堆错 FAILURE: Build failed with an exception.* What went wrong:A problem occurred evaluating root project 'portal-mobile-app'.> A problem occurred star...原创 2019-08-24 12:03:57 · 500 阅读 · 0 评论 -
* daemon not running; starting now at tcp:5037
今日使用weeplus run android时看错误提示 ,是5037端口的问题* daemon not running; starting now at tcp:5037于是找到查看端口的netstat -ano | findstr "5037"果不其然 5037被占用,于是果断执行如下命令taskkill -f -pid 5340再次执行adb devices检测...原创 2019-08-25 09:57:05 · 50070 阅读 · 2 评论 -
weex 开发APP 多行文本溢出处理
weex中文字溢出不能使用常规的overflow:hidden如: .text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }这个也试了不生效 .text { display: -webkit-box; text-overflow: ellips...原创 2019-08-28 17:37:43 · 1738 阅读 · 0 评论 -
weex项目使用iconfont 字体图标
一、使用本地字体图标1、在 https://www.iconfont.cn/manage/index 注册自己的账号2、创建自己的项目3、添加自己需要的图标,并将其下载到本地4、入口页面引入5、项目引用html <text class="bar-text bar-ic bar-icon iconfont-cust"></text>...原创 2019-08-28 20:06:26 · 794 阅读 · 0 评论 -
{"status":-1,"statusText":"ERR_CONNECT_FAILED"}
今日使用weex 的stream 遇到一个极坑,也极傻的问题一、steam.fetch下面是我使用steam.fetch调用后台接口都截图二、页面测试奇怪的是,我借同事是手机来进行测试,有一个同事的可以请求到,其他的不行,觉得怪怪的。三、增加 contentType有朋友说我是因为没有添加请求头contentType的问题,于是我就封装了一个接口,添加了contentType...原创 2019-09-03 20:29:06 · 3985 阅读 · 0 评论 -
weexplus真机调试
一、连接真机C:\Users\Lenovo>adb devicesList of devices attachedC9K7N15722004375 device确定连接无误,否则执行weexplus run android会有如下提示D:\YLKJPro\portal-app>weexplus run android => weexplus run...原创 2019-09-06 12:53:28 · 477 阅读 · 0 评论 -
APP调用第三方(微信)登录(最详细的实现流程)
最近使用weexplus做了个app 用户需要的是可以使用第三方微信实现登录,于是我就去weexplus 官网了,发现还整有个wechat插件。于是直接就整合到应用里去了。接下来就开始了我的一路填坑之旅了…一、插件不可用weexplus 微信插件 https://weexplus.github.io/doc/mo-kuai/wechat.html var wechat=weex.requ...原创 2019-09-09 15:25:38 · 49789 阅读 · 1 评论 -
weexplus监听android返回按钮
看见了平台 https://weexplus.github.io/doc/mo-kuai/pageye-mian-kong-zhi-566829.html的这段代码var page=weex.requireModule("page")page.doubleBack();于是就在自己的页面直接引用(发现不行)<script type="text/ecmascript-6">...原创 2019-09-10 16:53:44 · 562 阅读 · 0 评论