Skip to content
This repository has been archived by the owner on Jun 3, 2021. It is now read-only.

Commit

Permalink
[+] update for wechat
Browse files Browse the repository at this point in the history
  • Loading branch information
tw93 committed Jan 18, 2018
1 parent a193b53 commit d58b4c5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
4 changes: 4 additions & 0 deletions docs/_navbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
- [中文](/cn/)
- <a href="//alibaba.github.io/weex-ui/docs/demo.html" target="_self">Demo</a>
- <a id="J_show_community" class="show_community" onclick="document.getElementById('J_community_image').classList.toggle('active');this.classList.toggle('active');">Chat</a>
<div style="overflow:hidden; width:0; height:0;position:absolute; top:-800px;">
<img src="https://img.alicdn.com/tfs/TB1kCs_er_I8KJjy1XaXXbsxpXa-419-495.png" width="400"/>
</div>
<img src="https://img.alicdn.com/tfs/TB1Ohm6g8fH8KJjy1XbXXbLdXXa-1501-1700.jpg" class="community-img" id="J_community_image" />

2 changes: 1 addition & 1 deletion docs/demo.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
</style>
<link rel="stylesheet" href="//h5.m.taobao.com/css/trip/weex-ui/index.min.css">
<script>
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)) {
if (/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) && !/micromessenger/i.test(navigator.userAgent)) {
location.href = 'https://h5.m.taobao.com/trip/weex-ui/index.html?_wx_tpl=https%3A%2F%2Fh5.m.taobao.com%2Ftrip%2Fweex-ui%2Fdemo%2Findex.native-min.js'
}
</script>
Expand Down
1 change: 0 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@

<body>
<div id="app">Loading...</div>

<script>
window.$docsify = {
name: 'Weex Ui',
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "weex-ui",
"version": "0.3.12beta",
"version": "0.3.12",
"description": "A rich interaction, lightweight, high performance UI library based on Weex",
"main": "index.js",
"lib": "vue",
Expand Down

0 comments on commit d58b4c5

Please sign in to comment.