Authored by 2586703@qq.com

detail-container show

... ... @@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0 user-scalable=no">
<meta content="telephone=no" name="format-detection">
<script type="text/javascript">
(function (doc, win) {
var docEl = doc.documentElement,
resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
... ... @@ -27,12 +28,15 @@
<link rel="stylesheet" href="../css/detail.css">
</head>
<body>
{{{body}}}
<div class="detail-container" style="display:none">
{{{body}}}
</div>
</body>
<script src="//localhost:5000/dist/all-debug.js"></script>
<script type="text/javascript">
seajs.use(['yohobuy-mobile/1.0.0/public/js/article-type-three-debug','yohobuy-mobile/1.0.0/public/js/detail-debug'], function(article,detail) {
seajs.use(['jquery/1.8.3/jquery-debug','yohobuy-mobile/1.0.0/public/js/article-type-three-debug','yohobuy-mobile/1.0.0/public/js/detail-debug'], function($,article,detail) {
if (article) {
article.init();
}
... ... @@ -40,6 +44,8 @@
if(detail) {
detail.init();
}
$(".detail-container").show();
});
</script>
</html>
\ No newline at end of file
... ...
... ... @@ -5,6 +5,6 @@ $pxConvertRem : 40;
background: #fff;
}
.article-type-one .img {
width: 640rem / $pxConvertRem;
width: 100%;
height: 640rem / $pxConvertRem;
}
\ No newline at end of file
... ...