Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy into develop
Showing
6 changed files
with
77 additions
and
5 deletions
static/sass/me/_personal-details.scss
0 → 100644
1 | +.personal-details{ | ||
2 | + width: 100%; | ||
3 | + height: auto; | ||
4 | + overflow: hidden; | ||
5 | + background-color:#fff; | ||
6 | + border-bottom:1px solid #e0e0e0; | ||
7 | + ul{ | ||
8 | + width: 95%; | ||
9 | + height: auto; | ||
10 | + overflow: hidden; | ||
11 | + float:right; | ||
12 | + li{ | ||
13 | + &:first-of-type{ | ||
14 | + height: 100rem / $pxConvertRem; | ||
15 | + line-height:100rem / $pxConvertRem; | ||
16 | + } | ||
17 | + height: 80rem / $pxConvertRem; | ||
18 | + border-bottom: 1px solid #e0e0e0; | ||
19 | + span{ | ||
20 | + &:first-of-type{ | ||
21 | + color: #444; | ||
22 | + line-height:100rem / $pxConvertRem; | ||
23 | + } | ||
24 | + width: 42%; | ||
25 | + height: 100%; | ||
26 | + line-height:80rem / $pxConvertRem; | ||
27 | + font-size: 48em / $pxConvertRem; | ||
28 | + margin-right: 8%; | ||
29 | + float: left; | ||
30 | + .head-portrait{ | ||
31 | + width:90rem / $pxConvertRem; | ||
32 | + height: 90rem / $pxConvertRem; | ||
33 | + float: right; | ||
34 | + border-radius:50%; | ||
35 | + background: #000; | ||
36 | + } | ||
37 | + .grade{ | ||
38 | + width:85rem / $pxConvertRem; | ||
39 | + height: 30rem / $pxConvertRem; | ||
40 | + overflow: hidden; | ||
41 | + display: inline-block; | ||
42 | + margin-top: 25rem / $pxConvertRem; | ||
43 | + @include rem-sprite($vip, vip-1); | ||
44 | + } | ||
45 | + &:last-of-type{ | ||
46 | + color: #b0b0b0; | ||
47 | + text-align: right; | ||
48 | + } | ||
49 | + } | ||
50 | + &:last-of-type{ | ||
51 | + border-bottom:none; | ||
52 | + } | ||
53 | + } | ||
54 | + } | ||
55 | +} |
1 | +{{> layout/header}} | ||
2 | + {{ #personalDetails}} | ||
3 | + <div class="personal-details"> | ||
4 | + <ul> | ||
5 | + <li><span>头像</span><span><i class="head-portrait"></i></span></li> | ||
6 | + <li><span>昵称</span><span>{{ name }}</span></li> | ||
7 | + <li><span>性别</span><span>{{ sex }}</span></li> | ||
8 | + <li><span>生日</span><span>{{ time }}</span></li> | ||
9 | + <li><span>会员等级</span><span><i class="grade"></i>></span></li> | ||
10 | + </ul> | ||
11 | + </div> | ||
12 | + {{ /personalDetails}} | ||
13 | +{{> layout/footer}} |
@@ -143,6 +143,13 @@ | @@ -143,6 +143,13 @@ | ||
143 | seajs.use('js/index/footer'); | 143 | seajs.use('js/index/footer'); |
144 | </script> | 144 | </script> |
145 | {{/if}} | 145 | {{/if}} |
146 | +{{!-- 热门排行 --}} | ||
147 | +{{#if hotrankPage}} | ||
148 | +<script> | ||
149 | + seajs.use('js/product/newsale/hot-rank'); | ||
150 | + seajs.use('js/index/footer'); | ||
151 | +</script> | ||
152 | +{{/if}} | ||
146 | {{!-- 商品列表 --}} | 153 | {{!-- 商品列表 --}} |
147 | {{#if goodListPage}} | 154 | {{#if goodListPage}} |
148 | <script> | 155 | <script> |
@@ -82,7 +82,7 @@ class NewsaleController extends AbstractAction | @@ -82,7 +82,7 @@ class NewsaleController extends AbstractAction | ||
82 | $channel = Helpers::getChannelByCookie(); | 82 | $channel = Helpers::getChannelByCookie(); |
83 | // 设置一些默认参数 | 83 | // 设置一些默认参数 |
84 | $data = array( | 84 | $data = array( |
85 | - 'discountPage' => true, | 85 | + 'hotrankPage' => true, |
86 | 'headerBanner' => \Product\NewsaleModel::getNewFocus($channel), | 86 | 'headerBanner' => \Product\NewsaleModel::getNewFocus($channel), |
87 | 'showDownloadApp' => true, | 87 | 'showDownloadApp' => true, |
88 | 'pageFooter' => true, | 88 | 'pageFooter' => true, |
-
Please register or login to post a comment