Showing
4 changed files
with
13 additions
and
42 deletions
1 | -<<<<<<< HEAD | ||
2 | 1 | ||
3 | require('./channel/detail'); | 2 | require('./channel/detail'); |
4 | require('./channel/magazine') | 3 | require('./channel/magazine') |
5 | -======= | ||
6 | -<<<<<<< HEAD | ||
7 | -require('./channel/detail'); | ||
8 | -require('./channel/magazine') | ||
9 | -======= | ||
10 | ->>>>>>> develop | 4 | + |
11 | var $=require("jquery"); | 5 | var $=require("jquery"); |
12 | var tips=require("yoho-tips"); | 6 | var tips=require("yoho-tips"); |
13 | var box=require("yoho-box"); | 7 | var box=require("yoho-box"); |
@@ -98,9 +92,3 @@ dealItems(); | @@ -98,9 +92,3 @@ dealItems(); | ||
98 | $(".followus-button").trigger("click"); | 92 | $(".followus-button").trigger("click"); |
99 | } | 93 | } |
100 | }); | 94 | }); |
101 | -<<<<<<< HEAD | ||
102 | -//=================================================================================================================== | ||
103 | -======= | ||
104 | - //=================================================================================================================== | ||
105 | ->>>>>>> ww_develop | ||
106 | ->>>>>>> develop |
@@ -7,14 +7,11 @@ | @@ -7,14 +7,11 @@ | ||
7 | var $ = require('jquery'), | 7 | var $ = require('jquery'), |
8 | share = require('../plugin/share'), | 8 | share = require('../plugin/share'), |
9 | box = require('../plugin/box'), | 9 | box = require('../plugin/box'), |
10 | -<<<<<<< HEAD | ||
11 | - imgZoom = require('../plugin/imgzoom'), | ||
12 | - tools = require('yoho-tools'); | ||
13 | -======= | 10 | + |
14 | imgZoom = require('../plugin/imgZoom'), | 11 | imgZoom = require('../plugin/imgZoom'), |
15 | tools = require('yoho-tools'), | 12 | tools = require('yoho-tools'), |
16 | mulLine = require('mlellipsis'); | 13 | mulLine = require('mlellipsis'); |
17 | ->>>>>>> develop | 14 | + |
18 | 15 | ||
19 | require('lazyload'); | 16 | require('lazyload'); |
20 | require('../plugin/slider'); | 17 | require('../plugin/slider'); |
@@ -26,12 +23,6 @@ exports.init = function() { | @@ -26,12 +23,6 @@ exports.init = function() { | ||
26 | detailTitle = $(".detail-title").find("h1"), | 23 | detailTitle = $(".detail-title").find("h1"), |
27 | detailSubtitle = $(".detail-title").find("h2"), | 24 | detailSubtitle = $(".detail-title").find("h2"), |
28 | ajaxParam, | 25 | ajaxParam, |
29 | -<<<<<<< HEAD | ||
30 | - cidNum; | ||
31 | - | ||
32 | - //底部数据相关变量 | ||
33 | - | ||
34 | -======= | ||
35 | i, | 26 | i, |
36 | data, | 27 | data, |
37 | cidNum; | 28 | cidNum; |
@@ -67,7 +58,7 @@ exports.init = function() { | @@ -67,7 +58,7 @@ exports.init = function() { | ||
67 | 58 | ||
68 | //初始化截行插件 | 59 | //初始化截行插件 |
69 | mulLine.init(); | 60 | mulLine.init(); |
70 | ->>>>>>> develop | 61 | + |
71 | //分享 | 62 | //分享 |
72 | share.init({ | 63 | share.init({ |
73 | shareUrl: shareUrl, | 64 | shareUrl: shareUrl, |
@@ -102,7 +93,7 @@ exports.init = function() { | @@ -102,7 +93,7 @@ exports.init = function() { | ||
102 | //box.alert(tips.getTips("emailError"),5); | 93 | //box.alert(tips.getTips("emailError"),5); |
103 | box.alert(22); | 94 | box.alert(22); |
104 | return; | 95 | return; |
105 | -<<<<<<< HEAD | 96 | + |
106 | } | 97 | } |
107 | window.open('/passport/subscribe/index?email=' + input.val()); | 98 | window.open('/passport/subscribe/index?email=' + input.val()); |
108 | }); | 99 | }); |
@@ -320,7 +311,7 @@ exports.init = function() { | @@ -320,7 +311,7 @@ exports.init = function() { | ||
320 | 311 | ||
321 | 312 | ||
322 | }); | 313 | }); |
323 | -======= | 314 | + |
324 | } | 315 | } |
325 | window.open('/passport/subscribe/index?email=' + input.val()); | 316 | window.open('/passport/subscribe/index?email=' + input.val()); |
326 | }); | 317 | }); |
@@ -582,7 +573,6 @@ exports.init = function() { | @@ -582,7 +573,6 @@ exports.init = function() { | ||
582 | } else { | 573 | } else { |
583 | $(".comment-num").html('<img src="' + YohoConfig.resUrl + '/res/new/boys/images/mobile/comment-mobile.png">'); | 574 | $(".comment-num").html('<img src="' + YohoConfig.resUrl + '/res/new/boys/images/mobile/comment-mobile.png">'); |
584 | } | 575 | } |
585 | ->>>>>>> develop | ||
586 | } | 576 | } |
587 | }); | 577 | }); |
588 | } | 578 | } |
@@ -9,13 +9,10 @@ var $ = require('jquery'), | @@ -9,13 +9,10 @@ var $ = require('jquery'), | ||
9 | swiper = require('yoho-idangerous.swiper'); | 9 | swiper = require('yoho-idangerous.swiper'); |
10 | 10 | ||
11 | require('lazyload'); | 11 | require('lazyload'); |
12 | -<<<<<<< HEAD | ||
13 | -require('../plugin/imgslider'); | ||
14 | -require('../plugin/imgzoom'); | ||
15 | -======= | 12 | + |
16 | require('../plugin/imgSlider'); | 13 | require('../plugin/imgSlider'); |
17 | require('../plugin/imgZoom'); | 14 | require('../plugin/imgZoom'); |
18 | ->>>>>>> develop | 15 | + |
19 | 16 | ||
20 | exports.init = function() { | 17 | exports.init = function() { |
21 | var shareUrl = $('.share').attr('data-link'), | 18 | var shareUrl = $('.share').attr('data-link'), |
@@ -94,7 +91,7 @@ exports.init = function() { | @@ -94,7 +91,7 @@ exports.init = function() { | ||
94 | clearTimeout(magazineTimer); | 91 | clearTimeout(magazineTimer); |
95 | magazineTimer = setTimeout(function() { | 92 | magazineTimer = setTimeout(function() { |
96 | $('.column-slide.magazine-list').imgSlider('resize'); | 93 | $('.column-slide.magazine-list').imgSlider('resize'); |
97 | - }, 0) | 94 | + }, 0); |
98 | }); | 95 | }); |
99 | 96 | ||
100 | $.ajax({ | 97 | $.ajax({ |
@@ -224,4 +221,4 @@ exports.init = function() { | @@ -224,4 +221,4 @@ exports.init = function() { | ||
224 | isContainer: true | 221 | isContainer: true |
225 | }); | 222 | }); |
226 | }); | 223 | }); |
227 | -} | ||
224 | +}; |
@@ -19,19 +19,15 @@ | @@ -19,19 +19,15 @@ | ||
19 | "jquery": "~1.8.3", | 19 | "jquery": "~1.8.3", |
20 | "lazyload": "~1.9.6", | 20 | "lazyload": "~1.9.6", |
21 | "yoho.swiper": "~2.7.0", | 21 | "yoho.swiper": "~2.7.0", |
22 | - "yoho-idangerous.swiper": "~0.0.2", | 22 | + "yoho-idangerous.swiper": "0.0.2", |
23 | "box": "~0.0.0", | 23 | "box": "~0.0.0", |
24 | "yoho-box": "~0.0.1", | 24 | "yoho-box": "~0.0.1", |
25 | "yoho-tools": "~0.0.4", | 25 | "yoho-tools": "~0.0.4", |
26 | "yoho-tips": "~0.0.1", | 26 | "yoho-tips": "~0.0.1", |
27 | "jquery-ui": "~1.11.1", | 27 | "jquery-ui": "~1.11.1", |
28 | - | ||
29 | "mustache": "2.0.0", | 28 | "mustache": "2.0.0", |
30 | - "yoho-idangerous.swiper": "0.0.2", | ||
31 | - "jquery.autocomplete": "0.0.2", | ||
32 | - "mlellipsis": "0.0.2", | ||
33 | - | ||
34 | - "jquery.autocomplete": "~0.0.2" | 29 | + "jquery.autocomplete": "~0.0.2", |
30 | + "mlellipsis": "~0.0.2" | ||
35 | }, | 31 | }, |
36 | "devDependencies": { | 32 | "devDependencies": { |
37 | "expect.js": "0.3.1" | 33 | "expect.js": "0.3.1" |
-
Please register or login to post a comment