Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mui
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mui
Commits
eec22215
Commit
eec22215
authored
Sep 05, 2014
by
hbcui1984
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改openWindow大小写错误
parent
7fe2402e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
+12
-12
javascript/index.html
javascript/index.html
+5
-5
sitemap.xml
sitemap.xml
+7
-7
No files found.
javascript/index.html
View file @
eec22215
...
...
@@ -10,8 +10,8 @@
<meta
name=
"apple-mobile-web-app-capable"
content=
"yes"
>
<meta
name=
"apple-mobile-web-app-status-bar-style"
content=
"black"
>
<link
rel=
"stylesheet"
href=
"http://dcloudio.github.io/mui/dist/css/mui.min.css?v=2014-09-0
4 00:13:52
+0800"
>
<link
rel=
"stylesheet"
href=
"http://dcloudio.github.io/mui/assets/css/docs.css?v=2014-09-0
4 00:13:52
+0800"
>
<link
rel=
"stylesheet"
href=
"http://dcloudio.github.io/mui/dist/css/mui.min.css?v=2014-09-0
5 12:04:49
+0800"
>
<link
rel=
"stylesheet"
href=
"http://dcloudio.github.io/mui/assets/css/docs.css?v=2014-09-0
5 12:04:49
+0800"
>
<link
rel=
"apple-touch-icon-precomposed"
sizes=
"114x114"
href=
"http://dcloudio.github.io/mui/assets/img/apple-touch-icon-114x114.png"
>
...
...
@@ -198,7 +198,7 @@ mui的解决思路是:将需要滚动的区域通过单独的webview实现,
做web app,一个无法避开的问题就是转场动画;web是基于链接构建的,从一个页面点击链接跳转到另一个页面,如果通过有刷新的打开方式,用户要面对一个空白的页面等待;如果通过无刷新的方式,用Javascript移入DOM节点(常见的SPA解决方案),会碰到很高的性能挑战:DOM节点繁多,页面太大,转场动画不流畅甚至导致浏览器崩溃;
mui的解决思路是:单webview只承载单个页面的dom,减少dom层级及页面大小;页面切换使用原生动画,将最耗性能的部分交给原生实现.
</p>
<div
class=
"highlight"
><pre><code
class=
"language-html"
data-lang=
"html"
>
mui.open
w
indow({
<div
class=
"highlight"
><pre><code
class=
"language-html"
data-lang=
"html"
>
mui.open
W
indow({
url:new-page-url,
id:new-page-id,
styles:{
...
...
@@ -517,8 +517,8 @@ mui的解决思路是:单webview只承载单个页面的dom,减少dom层级
</ul>
</div>
<script
src=
"http://dcloudio.github.io/mui/dist/js/jquery-2.1.1.js"
></script>
<script
src=
"http://dcloudio.github.io/mui/dist/js/mui.min.js?v=2014-09-0
4 00:13:52
+0800"
></script>
<script
src=
"http://dcloudio.github.io/mui/assets/js/docs.min.js?v=2014-09-0
4 00:13:52
+0800"
></script>
<script
src=
"http://dcloudio.github.io/mui/dist/js/mui.min.js?v=2014-09-0
5 12:04:49
+0800"
></script>
<script
src=
"http://dcloudio.github.io/mui/assets/js/docs.min.js?v=2014-09-0
5 12:04:49
+0800"
></script>
</div>
</div>
...
...
sitemap.xml
View file @
eec22215
...
...
@@ -2,7 +2,7 @@
<urlset
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xmlns=
"http://www.sitemaps.org/schemas/sitemap/0.9"
>
<url>
<loc>
http://dcloudio.github.io/mui/
</loc>
<lastmod>
2014-09-0
4T00:13:52
+08:00
</lastmod>
<lastmod>
2014-09-0
5T12:04:49
+08:00
</lastmod>
<changefreq>
daily
</changefreq>
<priority>
1.0
</priority>
</url>
...
...
@@ -10,7 +10,7 @@
<url>
<loc>
http://dcloudio.github.io/mui/about/
</loc>
<lastmod>
2014-09-0
4T00:13:52
+08:00
</lastmod>
<lastmod>
2014-09-0
5T12:04:49
+08:00
</lastmod>
<changefreq>
weekly
</changefreq>
<priority>
0.7
</priority>
</url>
...
...
@@ -19,7 +19,7 @@
<url>
<loc>
http://dcloudio.github.io/mui/components/
</loc>
<lastmod>
2014-09-0
4T00:13:52
+08:00
</lastmod>
<lastmod>
2014-09-0
5T12:04:49
+08:00
</lastmod>
<changefreq>
weekly
</changefreq>
<priority>
0.7
</priority>
</url>
...
...
@@ -28,7 +28,7 @@
<url>
<loc>
http://dcloudio.github.io/mui/getting-started-old/
</loc>
<lastmod>
2014-09-0
4T00:13:52
+08:00
</lastmod>
<lastmod>
2014-09-0
5T12:04:49
+08:00
</lastmod>
<changefreq>
weekly
</changefreq>
<priority>
0.7
</priority>
</url>
...
...
@@ -37,7 +37,7 @@
<url>
<loc>
http://dcloudio.github.io/mui/getting-started/
</loc>
<lastmod>
2014-09-0
4T00:13:52
+08:00
</lastmod>
<lastmod>
2014-09-0
5T12:04:49
+08:00
</lastmod>
<changefreq>
weekly
</changefreq>
<priority>
0.7
</priority>
</url>
...
...
@@ -48,7 +48,7 @@
<url>
<loc>
http://dcloudio.github.io/mui/javascript-old/
</loc>
<lastmod>
2014-09-0
4T00:13:52
+08:00
</lastmod>
<lastmod>
2014-09-0
5T12:04:49
+08:00
</lastmod>
<changefreq>
weekly
</changefreq>
<priority>
0.7
</priority>
</url>
...
...
@@ -57,7 +57,7 @@
<url>
<loc>
http://dcloudio.github.io/mui/javascript/
</loc>
<lastmod>
2014-09-0
4T00:13:52
+08:00
</lastmod>
<lastmod>
2014-09-0
5T12:04:49
+08:00
</lastmod>
<changefreq>
weekly
</changefreq>
<priority>
0.7
</priority>
</url>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment