Authored by yyq

Merge branch 'release/1.0' of git.yoho.cn:fe/yoho-blk into release/1.0

@@ -65,6 +65,7 @@ const getOrderList = (req, res) => { @@ -65,6 +65,7 @@ const getOrderList = (req, res) => {
65 page: 'order', 65 page: 'order',
66 isMe: true, 66 isMe: true,
67 orderList: result.order.orderList, 67 orderList: result.order.orderList,
  68 + paginationOpts: result.order.paginationOpts,
68 orderData: result.order.orderData 69 orderData: result.order.orderData
69 }); 70 });
70 }); 71 });
@@ -86,8 +86,8 @@ @@ -86,8 +86,8 @@
86 {{!-- 在线客服和返回顶部 --}} 86 {{!-- 在线客服和返回顶部 --}}
87 <div class="service-top"> 87 <div class="service-top">
88 <a class="service" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=703953&configID=149819&jid=1099911094" target="_blank"> 88 <a class="service" href="http://chat8.live800.com/live800/chatClient/chatbox.jsp?companyID=703953&configID=149819&jid=1099911094" target="_blank">
89 - <span class="iconfont">&#xe61c;</span>  
90 - <span class="hover-text hide">在线<br>客服</span> 89 + <span class="iconfont hide">&#xe61c;</span>
  90 + <span class="hover-text">在线<br>客服</span>
91 </a> 91 </a>
92 <div class="return-top hide"> 92 <div class="return-top hide">
93 <span class="iconfont bold">&#xe617;</span> 93 <span class="iconfont bold">&#xe617;</span>
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 {{> order/goods-box}} 7 {{> order/goods-box}}
8 <div class="common-column special-border"> 8 <div class="common-column special-border">
9 <p class="bold">¥{{amount}}</p> 9 <p class="bold">¥{{amount}}</p>
10 - <p class="subtext">{{paymentTypeStr}}</p> 10 + <p class="subtext no-pointer">{{paymentTypeStr}}</p>
11 {{#if isRefundOrder}} 11 {{#if isRefundOrder}}
12 <p class="subtext refund-tag">换货订单</p> 12 <p class="subtext refund-tag">换货订单</p>
13 {{/if}} 13 {{/if}}
@@ -8,7 +8,7 @@ @@ -8,7 +8,7 @@
8 </label> 8 </label>
9 </div> 9 </div>
10 <div class="item product">货品</div> 10 <div class="item product">货品</div>
11 - <div class="item price">价格</div> 11 + <div class="item price">单价</div>
12 <div class="item num">数量</div> 12 <div class="item num">数量</div>
13 <div class="item pro-total-price">总价</div> 13 <div class="item pro-total-price">总价</div>
14 <div class="item actions">操作</div> 14 <div class="item actions">操作</div>
@@ -7,7 +7,7 @@ @@ -7,7 +7,7 @@
7 </p> 7 </p>
8 {{^}} 8 {{^}}
9 <p class="info-text"> 9 <p class="info-text">
10 - 温馨提示: 亲爱的顾客,您还没有<a href="/passport/login">登录</a>哦, 所有的商品价、活动信息以登录后显示为准。 10 + 温馨提示: 亲爱的顾客,您还没有<a href="/passport/login">登录</a>哦, 所有的商品价、活动信息以登录后显示为准。
11 <span class="iconfont pull-right close">&#xe608;</span> 11 <span class="iconfont pull-right close">&#xe608;</span>
12 </p> 12 </p>
13 {{/if}} 13 {{/if}}
@@ -25,11 +25,11 @@ require('../common/return-top'); // return-top @@ -25,11 +25,11 @@ require('../common/return-top'); // return-top
25 lazyLoad($('.banner-img')); 25 lazyLoad($('.banner-img'));
26 26
27 // 浮动在线客服和返回顶部的鼠标移入移出切换效果 27 // 浮动在线客服和返回顶部的鼠标移入移出切换效果
28 -$('.service, .return-top').hover(function() {  
29 - $(this).find('.iconfont').addClass('hide').end().find('.hover-text').removeClass('hide');  
30 -}, function() {  
31 - $(this).find('.iconfont').removeClass('hide').end().find('.hover-text').addClass('hide');  
32 -}); 28 +function toggleShow(e) {
  29 + $(e.target).find('span').toggleClass('hide');
  30 +}
  31 +
  32 +$('.service, .return-top').hover(toggleShow, toggleShow);
33 33
34 // repos service-return when window resize 34 // repos service-return when window resize
35 $(window).resize(reposServiceTop); 35 $(window).resize(reposServiceTop);
@@ -19,7 +19,6 @@ var confirmReceive = require('./order/confirm-receive'); @@ -19,7 +19,6 @@ var confirmReceive = require('./order/confirm-receive');
19 // 订单剩余时间显示及倒计时 19 // 订单剩余时间显示及倒计时
20 var countDown = require('./order/countdown'); 20 var countDown = require('./order/countdown');
21 21
22 -require('../common/foreach-polyfill');  
23 22
24 // 更新表格 23 // 更新表格
25 var tableOperation = { 24 var tableOperation = {
@@ -41,6 +40,8 @@ var typeMap = { @@ -41,6 +40,8 @@ var typeMap = {
41 delivering: 3 40 delivering: 3
42 }; 41 };
43 42
  43 +require('../common/foreach-polyfill');
  44 +
44 // 个人中心共用代码加载 45 // 个人中心共用代码加载
45 require('./me'); 46 require('./me');
46 47
@@ -150,9 +151,9 @@ function updateTableContent($el) { @@ -150,9 +151,9 @@ function updateTableContent($el) {
150 151
151 // 绑定分页点击事件 152 // 绑定分页点击事件
152 function bindPaginationClick() { 153 function bindPaginationClick() {
153 - $('.blk-pagination li').off('click').on('click', function(e) { 154 + $('.blk-pagination a').off('click').on('click', function(e) {
154 var $this = $(this); 155 var $this = $(this);
155 - var page = $this.find('a').attr('href').split('=')[1]; 156 + var page = $this.attr('href').split('=')[1];
156 var type = getCurrentTabType(); 157 var type = getCurrentTabType();
157 158
158 e.preventDefault(); 159 e.preventDefault();
@@ -14,6 +14,10 @@ @@ -14,6 +14,10 @@
14 margin: $space 0; 14 margin: $space 0;
15 } 15 }
16 16
  17 + .no-pointer {
  18 + cursor: auto !important;
  19 + }
  20 +
17 .refund-tag { 21 .refund-tag {
18 width: 55%; 22 width: 55%;
19 padding: 5px 0; 23 padding: 5px 0;
@@ -122,7 +126,7 @@ @@ -122,7 +126,7 @@
122 126
123 .iconfont { 127 .iconfont {
124 font-weight: normal; 128 font-weight: normal;
125 - color: #000000; 129 + color: #000;
126 } 130 }
127 131
128 &.last { 132 &.last {