Authored by 郭成尧

'页面调整'

@@ -76,9 +76,40 @@ @@ -76,9 +76,40 @@
76 </div> 76 </div>
77 {{/if}} 77 {{/if}}
78 78
79 - {{{banner}}} 79 +
80 {{/ content}} 80 {{/ content}}
81 81
  82 +
  83 + </div>
  84 + <!--recommend-for-you-->
  85 + {{#if recommend}}
  86 + <div class="recommend block">
  87 + <h2 class="title">
  88 + <p class="na-pager-wrap">
  89 + <span class="rc-pager pre no-visible">
  90 + <i class="iconfont">&#xe622;</i>
  91 + </span>
  92 + <span class="rc-pager next">
  93 + <i class="iconfont">&#xe621;</i>
  94 + </span>
  95 + </p>
  96 + </h2>
  97 + <ul class="clearfix">
  98 + {{# recommend}}
  99 + <li>
  100 + <a href="{{href}}">
  101 + <img class="thumb" src="{{thumb}}">
  102 + <p class="name">{{name}}</p>
  103 + <span class="price">¥{{price}}</span>
  104 + </a>
  105 + </li>
  106 + {{/ recommend}}
  107 + </ul>
  108 + </div>
  109 + {{/if}}
  110 + <!--recommend-for-you-->
  111 + <div class="ho-btm">
  112 + {{{banner}}}
82 {{> home/help-us}} 113 {{> home/help-us}}
83 </div> 114 </div>
84 {{/ me}} 115 {{/ me}}
@@ -81,7 +81,7 @@ @@ -81,7 +81,7 @@
81 } 81 }
82 } 82 }
83 83
84 - .new-arrival { 84 + .new-arrival,.recommend {
85 overflow: hidden; 85 overflow: hidden;
86 86
87 .na-pager-wrap { 87 .na-pager-wrap {
@@ -144,6 +144,15 @@ @@ -144,6 +144,15 @@
144 } 144 }
145 } 145 }
146 146
  147 + .recommend {
  148 + margin-bottom: 10px;
  149 + }
  150 +
  151 + .ho-btm{
  152 + float: right;
  153 + width: 800px;
  154 + }
  155 +
147 .banner { 156 .banner {
148 display: block; 157 display: block;
149 width: 800px; 158 width: 800px;
@@ -161,4 +170,8 @@ @@ -161,4 +170,8 @@
161 .new-arrival .title { 170 .new-arrival .title {
162 background-image: resolve(/home/new-arrival.png); 171 background-image: resolve(/home/new-arrival.png);
163 } 172 }
  173 +
  174 + .recommend .title {
  175 + background-image: resolve(/home/recommend.png);
  176 + }
164 } 177 }
@@ -139,6 +139,7 @@ @@ -139,6 +139,7 @@
139 .me-main { 139 .me-main {
140 float: left; 140 float: left;
141 width: 800px; 141 width: 800px;
  142 + min-height: 945px;
142 } 143 }
143 144
144 .me-pager { 145 .me-pager {
@@ -31,7 +31,7 @@ class IndexController extends WebAction @@ -31,7 +31,7 @@ class IndexController extends WebAction
31 'name' => '个人中心' 31 'name' => '个人中心'
32 ), 32 ),
33 ); 33 );
34 - $leftNav = UserModel::getCenterLeftNav('',$uid); 34 + $leftNav = UserModel::getCenterLeftNav('', $uid);
35 $data = IndexModel::homeData(); 35 $data = IndexModel::homeData();
36 $udid = $uid . $this->getUdid(); 36 $udid = $uid . $this->getUdid();
37 //取消订单原因列表 37 //取消订单原因列表
@@ -54,10 +54,11 @@ class IndexController extends WebAction @@ -54,10 +54,11 @@ class IndexController extends WebAction
54 'more' => '/brands', 54 'more' => '/brands',
55 'brands' => $data['brand'] 55 'brands' => $data['brand']
56 ), 56 ),
57 - 'newArrival' => $data['new'],  
58 - 'banner' => IndexModel::getFooterBanner() 57 + 'newArrival' => $data['new']
59 ) 58 )
60 ), 59 ),
  60 + 'recommend' => $data['new'], //待处理
  61 + 'banner' => IndexModel::getFooterBanner(),
61 'helpUsUrl' => '' 62 'helpUsUrl' => ''
62 ); 63 );
63 $this->_view->display('index', array('meIndexPage' => true, 'me' => $data)); 64 $this->_view->display('index', array('meIndexPage' => true, 'me' => $data));