Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
233 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!DOCTYPE html> | ||
<html mip> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" type="text/css" href="https://c.mipcdn.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.mipengine.org/test_xxx.html"> | ||
<script async src="https://mipcache.bdstatic.com/static/V1/mip-hIstory.js"></script> | ||
<title>MIP页Demo效果</title> | ||
<style mip-custom> | ||
</style> | ||
</head> | ||
<body> | ||
<script type="application/json"></script> | ||
<script type="application/mip-script"> | ||
window.addEventListener('ready-to-watch', function () { | ||
MIP.watch('num', function () { | ||
MIP.setData({ | ||
title: 'ckkkk changing num' | ||
}); | ||
}); | ||
}); | ||
</script> | ||
<script src="https://c.mipcdn.com/static/v1/mip.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
[] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<html mip> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" type="text/css" href="https://c.mipcdn.com/static/v1/mip.css"> | ||
<link rel="canonical" href="https://www.mipengine.org/test_xxx.html"> | ||
<title>MIP页Demo效果</title> | ||
<style mip-custom> | ||
</style> | ||
</head> | ||
<body> | ||
<script type="application/json" src="https://mipcache.bdstatic.com/a"></script> | ||
<script type="application/mip-script" src="https://mipcache.bdstatic.com/a"> | ||
window.addEventListener('ready-to-watch', function () { | ||
MIP.watch('num', function () { | ||
MIP.setData({ | ||
title: 'ckkkk changing num' | ||
}); | ||
}); | ||
}); | ||
</script> | ||
<script src="https://c.mipcdn.com/static/v1/mip.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
[ | ||
{ | ||
"message": "标签 'script' 中的属性 'type' 的属性值 'application/json' 无效", | ||
"code": "06200301", | ||
"line": 13, | ||
"col": 9, | ||
"offset": 442, | ||
"input": " <script type=\"application/json\" src=\"https://mipcache.bdstatic.com/a\"></script>" | ||
}, | ||
{ | ||
"message": "标签 'script' 中的属性 'type' 的属性值 'application/mip-script' 无效", | ||
"code": "06200301", | ||
"line": 14, | ||
"col": 9, | ||
"offset": 530, | ||
"input": " <script type=\"application/mip-script\" src=\"https://mipcache.bdstatic.com/a\">" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,143 @@ | ||
<!DOCTYPE html> | ||
<html mip> | ||
<head> | ||
<meta charset="utf-8"> | ||
<title>MIP Index Page</title> | ||
<meta name="apple-touch-fullscreen" content="yes"> | ||
<meta name="apple-mobile-web-app-capable" content="yes"> | ||
<meta name="format-detection" content="telephone=no"> | ||
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1"> | ||
<link rel="stylesheet" type="text/css" href="https://c.mipcdn.com/static/v2/mip.css"> | ||
<link rel="canonical" href="https://www.mipengine.org/test_xxx.html"> | ||
<style mip-custom> | ||
p { | ||
font-size: 1.5em; | ||
margin: 0 30px; | ||
} | ||
.main-image { | ||
text-align: center; | ||
} | ||
.link { | ||
text-align: center; | ||
margin-top: 20px; | ||
display: block; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div class="main-image"> | ||
<mip-img src="https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3010417400,2137373730&fm=27&gp=0.jpg" width="300" height="300"></mip-img> | ||
</div> | ||
<br><br> | ||
<p> | ||
Progressive Web Apps are user experiences that have the reach of the web, and are: | ||
Reliable - Load instantly and never show the downasaur, even in uncertain network conditions. | ||
Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling. | ||
</p> | ||
|
||
<a class="link" href="./tree.html" mip-link>Go to Tree</a> | ||
<a class="link" href="./data.html" mip-link>Go to Data</a> | ||
<a class="link" href="./not-mip.html">Go to Not MIP</a> | ||
<a class="link" href="/not/exists" mip-link>Go to Not Exists</a> | ||
|
||
<br><br> | ||
<p> | ||
Progressive Web Apps are user experiences that have the reach of the web, and are: | ||
Reliable - Load instantly and never show the downasaur, even in uncertain network conditions. | ||
Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling. | ||
</p> | ||
<p> | ||
Progressive Web Apps are user experiences that have the reach of the web, and are: | ||
Reliable - Load instantly and never show the downasaur, even in uncertain network conditions. | ||
Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling. | ||
</p> | ||
<p> | ||
Progressive Web Apps are user experiences that have the reach of the web, and are: | ||
Reliable - Load instantly and never show the downasaur, even in uncertain network conditions. | ||
Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling. | ||
</p> | ||
<p> | ||
Progressive Web Apps are user experiences that have the reach of the web, and are: | ||
Reliable - Load instantly and never show the downasaur, even in uncertain network conditions. | ||
Fast - Respond quickly to user interactions with silky smooth animations and no janky scrolling. | ||
</p> | ||
|
||
<mip-shell> | ||
<script type="application/json"> | ||
{ | ||
"header": { | ||
"title": "Mip Index", | ||
"logo": "https://ss0.bdstatic.com/70cFuHSh_Q1YnxGkpoWK1HF6hhy/it/u=3010417400,2137373730&fm=27&gp=0.jpg", | ||
"buttonGroup": [ | ||
{ | ||
"type": "button", | ||
"name": "subscribe", | ||
"text": "关注", | ||
"link": "/examples/page/tree.html" | ||
}, | ||
{ | ||
"type": "button", | ||
"name": "chat", | ||
"text": "发消息", | ||
"outline": true | ||
}, | ||
{ | ||
"type": "icon", | ||
"name": "search", | ||
"text": "search", | ||
"link": "/examples/page/tree.html" | ||
}, | ||
{ | ||
"type": "dropdown", | ||
"items": [ | ||
{ | ||
"name": "subscribe", | ||
"text": "关注", | ||
"link": "/examples/page/tree.html" | ||
}, | ||
{ | ||
"name": "chat", | ||
"text": "发消息" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"view": { | ||
"isIndex": true, | ||
"transition": { | ||
"mode": "slide" | ||
} | ||
}, | ||
"footer": {} | ||
} | ||
</script> | ||
</mip-shell> | ||
<mip-data> | ||
<script type="application/json"> | ||
{ | ||
"#group": { | ||
"info": { | ||
"name": "sfe" | ||
} | ||
} | ||
} | ||
</script> | ||
</mip-data> | ||
<mip-shell> | ||
<script type="application/json"> | ||
{ | ||
"header": {}, | ||
"view": { | ||
"isIndex": true, | ||
"transition": { | ||
"mode": "slide" | ||
} | ||
}, | ||
"footer": {} | ||
} | ||
</script> | ||
</mip-shell> | ||
<span m-text="group.info.name"></span> | ||
<script src="https://c.mipcdn.com/static/v2/mip.js"></script> | ||
</body> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
[ | ||
{ | ||
"message": "标签 '<mip-shell>' 只能出现一次", | ||
"code": "06200701", | ||
"line": 127, | ||
"col": 5, | ||
"offset": 4999, | ||
"input": " <mip-shell>" | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters