Showing
2 changed files
with
7 additions
and
16 deletions
@@ -66,14 +66,13 @@ | @@ -66,14 +66,13 @@ | ||
66 | </li> | 66 | </li> |
67 | {{/each}} | 67 | {{/each}} |
68 | </ul> | 68 | </ul> |
69 | - | ||
70 | - <div class="view-img"> | ||
71 | - <div class="mask-bg"></div> | ||
72 | - <div class="view-area"> | ||
73 | - <div class="swiper-view"> | ||
74 | - <ul class="clearfix swiper-wrapper"></ul> | ||
75 | - </div> | ||
76 | - </div> | 69 | + </div> |
70 | + </div> | ||
71 | + <div class="view-img"> | ||
72 | + <div class="mask-bg"></div> | ||
73 | + <div class="view-area"> | ||
74 | + <div class="swiper-view"> | ||
75 | + <ul class="clearfix swiper-wrapper"></ul> | ||
77 | </div> | 76 | </div> |
78 | </div> | 77 | </div> |
79 | </div> | 78 | </div> |
@@ -74,12 +74,7 @@ function articleImgAction(dom) { | @@ -74,12 +74,7 @@ function articleImgAction(dom) { | ||
74 | }); | 74 | }); |
75 | }, 100); | 75 | }, 100); |
76 | 76 | ||
77 | - | ||
78 | $viewImg.show(); | 77 | $viewImg.show(); |
79 | - | ||
80 | - $('body').css({ | ||
81 | - overflow: 'hidden' | ||
82 | - }); | ||
83 | }); | 78 | }); |
84 | 79 | ||
85 | if (imgLen > 3 && addFlagDom.find('.img-size').length < 1) { | 80 | if (imgLen > 3 && addFlagDom.find('.img-size').length < 1) { |
@@ -149,7 +144,4 @@ $('.mask-bg').on('click', function() { | @@ -149,7 +144,4 @@ $('.mask-bg').on('click', function() { | ||
149 | $viewImg.hide(); | 144 | $viewImg.hide(); |
150 | $viewImg.find('li').remove(); | 145 | $viewImg.find('li').remove(); |
151 | mySwiper.destroy(false); | 146 | mySwiper.destroy(false); |
152 | - $('body').css({ | ||
153 | - overflow: 'auto' | ||
154 | - }); | ||
155 | }); | 147 | }); |
-
Please register or login to post a comment