Authored by weiqingting

Merge branch 'feature_student' into release/4.9.1.0

# Conflicts:
#	apps/product/models/detail.js
#	config/common.js
#	public/scss/common/_good.css
@@ -13,7 +13,7 @@ @@ -13,7 +13,7 @@
13 {{#each data.list}} 13 {{#each data.list}}
14 <div class='s-section'> 14 <div class='s-section'>
15 <a href="javascript:void(0)"> 15 <a href="javascript:void(0)">
16 - <img src='{{image src 357 174}}' title="{{title}}"> 16 + <img src='{{image src 320 149}}' title="{{title}}">
17 </a> 17 </a>
18 </div> 18 </div>
19 {{/each}} 19 {{/each}}
@@ -24,8 +24,9 @@ @@ -24,8 +24,9 @@
24 {{#coupons}} 24 {{#coupons}}
25 <section class='s-section clearfix' data-template-id="{{template_id}}"> 25 <section class='s-section clearfix' data-template-id="{{template_id}}">
26 <h1>领券中心 26 <h1>领券中心
27 - <a class='more' href="{{link}}">...</a> 27 + <a class='more iconfont' href="{{link}}">&#xe618;</a>
28 </h1> 28 </h1>
  29 +
29 <div class='s-coupon-contain'> 30 <div class='s-coupon-contain'>
30 <style type="text/css"> 31 <style type="text/css">
31 .no-bg{ 32 .no-bg{
@@ -76,7 +77,7 @@ @@ -76,7 +77,7 @@
76 {{/activities}} 77 {{/activities}}
77 78
78 <section class='s-section clearfix'> 79 <section class='s-section clearfix'>
79 - <h1>学生专享商品<a class="more" href="//search.m.yohobuy.com/?students=1&title=学生专享商品&uid={{uid}}{{#isApp}}&app_version=1{{/isApp}}">...</a></h1> 80 + <h1>学生专享商品<a class="more iconfont" href="//search.m.yohobuy.com/?students=1&title=学生专享商品&uid={{uid}}{{#isApp}}&app_version=1{{/isApp}}">&#xe618;</a></h1>
80 <div class='goods-list clearfix'> 81 <div class='goods-list clearfix'>
81 {{#each goods}} 82 {{#each goods}}
82 <div class="good-info"> 83 <div class="good-info">
@@ -20,7 +20,7 @@ @@ -20,7 +20,7 @@
20 </section> 20 </section>
21 {{/if}} 21 {{/if}}
22 <section class='s-section clearfix'> 22 <section class='s-section clearfix'>
23 - <h1>学生专享商品<a class="more" href="//search.m.yohobuy.com/?students=1&title=学生专享商品&uid={{uid}}{{#isApp}}&app_version=1{{/isApp}}">...</a></h1> 23 + <h1>学生专享商品<a class="more iconfont" href="//search.m.yohobuy.com/?students=1&title=学生专享商品&uid={{uid}}{{#isApp}}&app_version=1{{/isApp}}">&#xe618;</a></h1>
24 <div class='goods-list clearfix'> 24 <div class='goods-list clearfix'>
25 {{#each goods}} 25 {{#each goods}}
26 <div class="good-info"> 26 <div class="good-info">
@@ -235,8 +235,9 @@ const _detailDataPkg = (origin, uid, vipLevel, ua) => { @@ -235,8 +235,9 @@ const _detailDataPkg = (origin, uid, vipLevel, ua) => {
235 if (originPrice.yohoCoinNum) { 235 if (originPrice.yohoCoinNum) {
236 dest.commodityReturn = originPrice.yohoCoinNum; 236 dest.commodityReturn = originPrice.yohoCoinNum;
237 } 237 }
238 - //学生有货币  
239 - if(originPrice.studentCoinNum){ 238 +
  239 + // 学生有货币
  240 + if (originPrice.studentCoinNum) {
240 dest.studentCoinNum = originPrice.studentCoinNum; 241 dest.studentCoinNum = originPrice.studentCoinNum;
241 } 242 }
242 } 243 }

29.4 KB | W: | H:

36.6 KB | W: | H:

  • 2-up
  • Swipe
  • Onion skin
@@ -445,6 +445,7 @@ AsideSlider.prototype.init = function() { @@ -445,6 +445,7 @@ AsideSlider.prototype.init = function() {
445 'transform': translate, 445 'transform': translate,
446 '-webkit-transform': translate, 446 '-webkit-transform': translate,
447 }); 447 });
  448 + me.isFirst=false;
448 y = deltaY; 449 y = deltaY;
449 }) 450 })
450 451
@@ -134,7 +134,7 @@ function setFormByCookes(item) { @@ -134,7 +134,7 @@ function setFormByCookes(item) {
134 item.education_degree && $('#s-education-tb').val(item.education_degree); 134 item.education_degree && $('#s-education-tb').val(item.education_degree);
135 item.enrollment_year && $('#s-year-tb').val(item.enrollment_year); 135 item.enrollment_year && $('#s-year-tb').val(item.enrollment_year);
136 item.provinceName && $('#s-province-tb').val(item.provinceName); 136 item.provinceName && $('#s-province-tb').val(item.provinceName);
137 - if (item.procode) { 137 + if (item.procode && item.procode !== 'undefined') {
138 province.selected().areaCode = item.procode; 138 province.selected().areaCode = item.procode;
139 province.selected().addresseeName = item.provinceName; 139 province.selected().addresseeName = item.provinceName;
140 } 140 }
@@ -229,7 +229,7 @@ Filter.prototype = { @@ -229,7 +229,7 @@ Filter.prototype = {
229 var html = [], 229 var html = [],
230 name; 230 name;
231 231
232 - if (this.__select__ && this.__title__) { 232 + if (this.__select__ && this.__title__ && this.__select__[this.__feild__]) {
233 html.push('<h6 class=\'s-title\'>当前地区</h6>'); 233 html.push('<h6 class=\'s-title\'>当前地区</h6>');
234 html.push('<div class=\'s-item close\'>' + this.__select__[this.__feild__] + '</div>'); 234 html.push('<div class=\'s-item close\'>' + this.__select__[this.__feild__] + '</div>');
235 } 235 }
@@ -245,7 +245,7 @@ @@ -245,7 +245,7 @@
245 border-bottom: 1px solid #e0e0e0; 245 border-bottom: 1px solid #e0e0e0;
246 width: 50%; 246 width: 50%;
247 /* padding:30px 0px 30px 40px; */ 247 /* padding:30px 0px 30px 40px; */
248 - height: 174px; 248 + height: 152px;
249 background-color: #ffffff; 249 background-color: #ffffff;
250 display: table; 250 display: table;
251 float: left; 251 float: left;
@@ -397,6 +397,10 @@ @@ -397,6 +397,10 @@
397 border-bottom: 1px solid #e0e0e0; 397 border-bottom: 1px solid #e0e0e0;
398 position: relative; 398 position: relative;
399 399
  400 + input::-webkit-input-placeholder{
  401 + font-family: helvetica, Arial, "黑体";
  402 + font-weight:lighter;
  403 + }
400 label { 404 label {
401 width: 174px; 405 width: 174px;
402 display: inline-block; 406 display: inline-block;