weex
该 fork 基于最新 Weex-dev,调整了 Weex 默认的 list 加载更多方式,简单暴力修改了源码,使其拥有自然滑动加载更多的能力。【仅修改了 Android】 考虑到目前 WEEX 处于发展阶段,因此该修改仅仅用作前期需求的满足,因此不修改至官方的 SDK。
代码较 low,采用我 15 年的代码嵌套完成,仅完成功能和初步效果,请有需要的使用或修改。 直接将该 fork 引入项目中替换原本官方的 sdk 即可,修改了 WXRecyclerView 以及 Swipe 的代码。 效果图如下:
如果你有什么需要改进的,请提交到该 fork。
Week
A framework for building Mobile cross-platform UI.
(English Gitter) (Chinese 中文聊天室)
Support Android 4.1 (API 16) and iOS 7.0+. See Weex website for more information.
For Windows
Please INSTALL Git for Windows and run all the following commands in git-bash.
Meet Weex
- Install Weex Playground App to see examples we already written.
- If you want to write a demo, install weex-toolkit in Node.js 4.0+ and
- Run
weex init
to generate & start a simple project in an empty folder. - Follow the instructions in the project README.
- Enjoy it.
Use Weex
Android
- Prerequisites
- Install Node.js 4.0+
- Under project root
npm install
, install project./start
- Install Android Environment
- Run playground, In Android Studio
- Open
android/playground
- In
app/java/com.alibaba.weex/IndexActivity
, modifyCURRENT_IP
to your local IP - Click (
Run
button)
- Open
- Add an example
Runtime
On Android Platform , Weex code is executed in weex_v8core which is based on Google V8 JavaScript engine.
iOS
- Prerequisites
- Install Node.js 4.0+
- Under project root
npm install
, install project./start
- Install iOS Environment
- Install CocoaPods
- Run playground
cd ios/playground
pod install
- Open
WeexDemo.xcworkspace
in Xcode - Click (
Run
button) or use default shortcutcmd + r
in Xcode - If you want to run the demo on your device. In
DemoDefine.h
(you can search this file by Xcode default shortcutcmd + shift + o
), modifyCURRENT_IP
to your local IP
- Add an example
Scripts
See SCRIPTS.md for more information.
IDE Plugin & Syntax Highlight & DevTool
See Weex Community Wiki page
Weex team have developed a DevTool to help you to improve we file
debug efficiency.
FAQ
See FAQ for more information.
Community based Weex knowledge site
- weex article : article collection about Weex(文章集合)
- weex.help : 3rd forum about Weex(第三方 Weex 中文技术论坛)
- gitter.im chinese room : an instant message chat room about Weex(Weex 中文聊天室)
Contributing
See Weex Contributing Guide for more information.