问题标签 [weex]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
npm - Weex - 为什么我不能启动项目
我对 weex 有问题。我想开始学习使用 weex 编写一个 Vue 应用程序,但是我遇到了一个问题,因为我无法下载包。我有一个空文件夹,从 npm 文档中输入命令 install weex-toolkit -g,但它会给我这样的错误。
图片错误: https ://cdn.discordapp.com/attachments/424284796068429824/431948032897187841/unknown.png
weex - 当我更新 weexpack 时,它说 weex sha1 checksnum 失败
我是第一次使用weex做混合APP,我已经
但是当我使用 weex 时
它提示我我应该更新我的 weexpack 并且我这样做了
但它说错误
我现在该怎么办
richtext - Weex 自定义原生 android 组件富文本高度问题
我正在通过扩展 WXComponent 在 Weex 中创建 Richtext(WXTextView.java) 视图组件。由于 weex android sdk 中没有 Richtext 组件,并且 weex 文本组件中也不支持“v-html”标签。
当我的 Richtext 元素包含在 div 中时,该元素不可见。我必须手动将高度添加到其父 div 以使其可见。
给父母高度并不能解决我的目的,因为文本长度是动态的。我想让这种行为就像支持富文本的默认 weex 文本组件一样。
WXTextView.java
}
css - create table using weex
I need to build an app that has a table. I tried using html <table>
tags to build a table. Even though it shows the table as i require when i run using npm run serve
when i build an apk and run it on my android device the output is messed up.
Does anyone know how to build a table in weex.
And does anyone have any good documentations or tutorials regarding weex.
thanks
vue.js - Weex 中的 Vue 路由器
我想在weex中使用vue路由器,但是现在出现了一个问题:“No component config for name:router-view, use default config”。谢谢。
路由器.js
你好世界.vue
索引.vue
for-loop - 如何在 weex 中使用 for 循环?像 for (var x = 0; x < n; x++){} 。用例是:我想渲染一个盒子 n 次
给定的是用例:-我想渲染一个盒子 n 次。如何在 weex 模板中实现从 0 到 n 的 for 循环。
richtext - WEEX - iOS 上的富文本组件
我正在通过扩展 WXComponent 在 Weex 中创建 Richtext(WXTextView.swift) 视图组件。富文本组件目前在 weex iOS sdk 中不可用。
这是我的 WXRichText.swift 示例代码
和JS代码
正如预期的那样,它没有通过 Weex 在本机端显示任何文本。
vue.js - Weex - vs
I am developing an application in Weex using Vue.js.
I am trying to build a list
component and I was going through the document and in there, there are component which I can use.
<list>
<recycle-list>
I couldn't figure out the difference between two as under the hood how do they differ? It could be inffered that <recycle-list
is more efficient than using a <list
but the reason is no where mentioned.
Also <recyle-list>
does not work on web but it works fine on mobile application. What is the reasoning behind that?
android - 如何注册 Android onBackPressed 按下?
项目结构
我是 android 的新手,鉴于 java 代码应该被粘贴到 android 目录中的某个地方,应该将代码段保存在哪里。其中 android 目录具有在 android 中启动应用程序所需的所有文件。
在安卓中
在 weex
Android 目录中的可疑文件:
进一步阅读请参考weex 控件 Android 返回键解决方案