Merge branch 'develop' of http://git.dev.yoho.cn/ued/newgirlviews into develop
Conflicts: mvc-config.json
Showing
9 changed files
with
32 additions
and
29 deletions
1 | { | 1 | { |
2 | "defaultActionName": "index", | 2 | "defaultActionName": "index", |
3 | "layout": { | 3 | "layout": { |
4 | - "default-layout": "new_layout" | 4 | + "default-layout": "new_layout", |
5 | + "detail": "detail_layout" | ||
5 | }, | 6 | }, |
6 | "renderOptions": { | 7 | "renderOptions": { |
7 | "login": { | 8 | "login": { |
@@ -17,6 +18,7 @@ | @@ -17,6 +18,7 @@ | ||
17 | } | 18 | } |
18 | ] | 19 | ] |
19 | }, | 20 | }, |
21 | + | ||
20 | "default": "mvc-config-wangwei.json" | 22 | "default": "mvc-config-wangwei.json" |
21 | }, | 23 | }, |
22 | "ajax": { | 24 | "ajax": { |
@@ -4,38 +4,13 @@ | @@ -4,38 +4,13 @@ | ||
4 | 4 | ||
5 | <div class="detail-body"> | 5 | <div class="detail-body"> |
6 | {{# content}} | 6 | {{# content}} |
7 | - {{# video}} | ||
8 | {{> detail/detail_video}} | 7 | {{> detail/detail_video}} |
9 | - {{/ video}} | ||
10 | - | ||
11 | - <!-- slide图片开始 --> | ||
12 | - {{# slide}} | ||
13 | {{> detail/detail_slide}} | 8 | {{> detail/detail_slide}} |
14 | - {{/ slide}} | ||
15 | - <!-- slide图片结束 --> | ||
16 | - | ||
17 | - {{# bigImg}} | ||
18 | {{> detail/detail_img}} | 9 | {{> detail/detail_img}} |
19 | - {{/ bigImg}} | ||
20 | - {{# text}} | ||
21 | {{> detail/detail_text}} | 10 | {{> detail/detail_text}} |
22 | - {{/ text}} | ||
23 | - | ||
24 | {{/ content}} | 11 | {{/ content}} |
25 | - <div class="tag-box"> | ||
26 | - <ul class="taglist clearfix"> | ||
27 | - <li><a href="javascript:;">Supreme</a></li> | ||
28 | - <li><a href="javascript:;">Adldas</a></li> | ||
29 | - <li><a href="javascript:;">Nice</a></li> | ||
30 | - <li><a href="javascript:;">Nike</a></li> | ||
31 | - <li><a href="javascript:;">Jobs</a></li> | ||
32 | - <li><a href="javascript:;">King</a></li> | ||
33 | - <li><a href="javascript:;">时尚圈</a></li> | ||
34 | - <li><a href="javascript:;">yoho男生</a></li> | ||
35 | - <li><a href="javascript:;">跑酷</a></li> | ||
36 | - <li class="last-child"><a href="javascript:;">香港</a></li> | ||
37 | - </ul> | ||
38 | - </div> | 12 | + {{> detail/detail_tag}} |
13 | + {{> detail/detail_status}} | ||
39 | <div class="stats-btn clearfix"> | 14 | <div class="stats-btn clearfix"> |
40 | <ul class="statslist clearfix"> | 15 | <ul class="statslist clearfix"> |
41 | <li class="current"><a class="clearfix" href="javascript:;"><strong><img src="http://cmsres.dev.yoho.cn/images/detail/wow-icon.png" alt=""></strong><span><img src="http://cmsres.dev.yoho.cn/images/detail/wow-icon2.png" alt=""></span></a></li> | 16 | <li class="current"><a class="clearfix" href="javascript:;"><strong><img src="http://cmsres.dev.yoho.cn/images/detail/wow-icon.png" alt=""></strong><span><img src="http://cmsres.dev.yoho.cn/images/detail/wow-icon2.png" alt=""></span></a></li> |
1 | +{{# slide}} | ||
1 | <div class="detail-slide"> | 2 | <div class="detail-slide"> |
2 | <div class="detail-slide-body"> | 3 | <div class="detail-slide-body"> |
3 | <ul class="detail-slide-piclist clearfix"> | 4 | <ul class="detail-slide-piclist clearfix"> |
@@ -16,3 +17,5 @@ | @@ -16,3 +17,5 @@ | ||
16 | <a href="javascript:;" class="detail-slide-ctrl-next"></a> | 17 | <a href="javascript:;" class="detail-slide-ctrl-next"></a> |
17 | </div> | 18 | </div> |
18 | </div> | 19 | </div> |
20 | +{{/ slide}} | ||
21 | + |
views/partials/detail/detail-status.html
0 → 100644
1 | +<div class="stats-btn clearfix"> | ||
2 | + <ul class="statslist clearfix"> | ||
3 | + <li class="current"><a class="clearfix" href="javascript:;"><strong><img src="http://cmsres.dev.yoho.cn/images/detail/wow-icon.png" alt=""></strong><span><img src="http://cmsres.dev.yoho.cn/images/detail/wow-icon2.png" alt=""></span></a></li> | ||
4 | + <li><a class="clearfix" href="javascript:;"><strong><img src="http://cmsres.dev.yoho.cn/images/detail/zzz-icon.png" alt=""></strong><span><img src="http://cmsres.dev.yoho.cn/images/detail/zzz-icon2.png" alt=""></span></a></li> | ||
5 | + <li><a class="clearfix" href="javascript:;"><strong><img src="http://cmsres.dev.yoho.cn/images/detail/wtf-icon.png" alt=""></strong><span><img src="http://cmsres.dev.yoho.cn/images/detail/wtf-icon2.png" alt=""></span></a></li> | ||
6 | + <li class="comments"><a class="clearfix" class="clearfix" href="javascript:;"><span><img src="http://cmsres.dev.yoho.cn/images/detail/comments-icon2.png" alt=""></span><img src="http://cmsres.dev.yoho.cn/images/detail/comments-icon.png" alt=""></a></li> | ||
7 | + </ul> | ||
8 | +</div> |
views/partials/detail/detail-tag.html
0 → 100644
1 | <div class="detail-title"> | 1 | <div class="detail-title"> |
2 | <h1>{{title}}</h1> | 2 | <h1>{{title}}</h1> |
3 | <h2>{{subtitle}}</h2> | 3 | <h2>{{subtitle}}</h2> |
4 | - <p class="detail-category"><a href="javascript:;">By {{author}} </a>/{{class}} / {{time}}</p> | 4 | + <p class="detail-category"><a href="javascript:;">By {{author}}</a> | {{class}} | {{time}}</p> |
5 | </div> | 5 | </div> |
1 | +{{# video}} | ||
1 | <div class="detail-video"> | 2 | <div class="detail-video"> |
2 | <div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src=""></div> | 3 | <div id="wx_pic" style="width:0px; height:0px; overflow:hidden"><img src=""></div> |
3 | <div class="videoPlaceholder"> | 4 | <div class="videoPlaceholder"> |
@@ -19,3 +20,4 @@ | @@ -19,3 +20,4 @@ | ||
19 | </div> | 20 | </div> |
20 | </div> | 21 | </div> |
21 | </div> | 22 | </div> |
23 | +{{/ video}} |
-
Please register or login to post a comment