UNPKG

weex-ui

Version:

A rich interaction, lightweight, high performance UI library based on Weex

36 lines (35 loc) 1.35 kB
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Weex Vue Component Demo</title> <!-- You should set 'weex-viewport' to your design pixel width, and the viewport meta should be set like below, OTHERWISE it won't work.--> <meta name="weex-viewport" content="750"/> <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> <meta name="apple-mobile-web-app-capable" content="yes"/> <meta name="apple-mobile-web-app-status-bar-style" content="black"/> <meta name="apple-touch-fullscreen" content="yes"/> <meta name="format-detection" content="telephone=no, email=no"/> <!-- About style below: html's height should set to 100%, and this style should be added before the weex-vue-render script loaded. OTHERWISE the weex.config.env.deviceHeight' will not work. --> <style> html, body { -ms-overflow-style: scrollbar; -webkit-tap-highlight-color: transparent; padding: 0; margin: 0; width: 100%; height: 100%; } </style> </head> <body> <div id="root"></div> <script src="//h5.m.taobao.com/js/trip/weex-ui/vue.runtime.min.js"></script> <script src="//h5.m.taobao.com/js/trip/weex-ui/weex-vue-render.min.js"></script> <script src="./index.web.js"></script> <script src="//h5.m.taobao.com/js/trip/weex-ui/qrcode.js"></script> </body> </html>