作者 刘朕
1 个管道 的构建 通过 耗费 9 秒

更换图片后样式优化

@@ -111,7 +111,8 @@ @@ -111,7 +111,8 @@
111 <!--订单修改--> 111 <!--订单修改-->
112 <div class="order_change" style="display: block;"> 112 <div class="order_change" style="display: block;">
113 <div class="order_change_pic"> 113 <div class="order_change_pic">
114 - <img src="__TMPL__/public/mobile/images/tucengf.png" /> 114 + <img src="__TMPL__/public/mobile/images/tucengf.png" id="tucengf"/>
  115 + <img src="__TMPL__/public/mobile/images/tucengs.png" id="tucengs" />
115 </div> 116 </div>
116 <div class="change_text change_class"> 117 <div class="change_text change_class">
117 <img src="__TMPL__/public/mobile/images/closeimg.png" class="change_close" /> 118 <img src="__TMPL__/public/mobile/images/closeimg.png" class="change_close" />
@@ -145,6 +146,8 @@ @@ -145,6 +146,8 @@
145 $('.change_text_o').html('对不起,当前功能已暂停'); 146 $('.change_text_o').html('对不起,当前功能已暂停');
146 $('.mask').find('.change_class').removeClass('change_text'); 147 $('.mask').find('.change_class').removeClass('change_text');
147 $('.mask').find('.change_class').addClass('change_text_single'); 148 $('.mask').find('.change_class').addClass('change_text_single');
  149 + $('#tucengf').hide();
  150 + $('#tucengs').show();
148 $('.change_text_t').hide(); 151 $('.change_text_t').hide();
149 $('.mask').show() 152 $('.mask').show()
150 } 153 }
@@ -278,18 +281,24 @@ @@ -278,18 +281,24 @@
278 $('.change_text_o').html('订单修改成功'); 281 $('.change_text_o').html('订单修改成功');
279 $('.mask').find('.change_class').removeClass('change_text'); 282 $('.mask').find('.change_class').removeClass('change_text');
280 $('.mask').find('.change_class').addClass('change_text_single'); 283 $('.mask').find('.change_class').addClass('change_text_single');
  284 + $('#tucengf').show();
  285 + $('#tucengs').hide();
281 $('.change_text_t').hide(); 286 $('.change_text_t').hide();
282 } 287 }
283 if(res.data == 2) { 288 if(res.data == 2) {
284 $('.change_text_o').html('抱歉,客户已支付订单'); 289 $('.change_text_o').html('抱歉,客户已支付订单');
285 $('.mask').find('.change_class').addClass('change_text'); 290 $('.mask').find('.change_class').addClass('change_text');
286 $('.mask').find('.change_class').removeClass('change_text_single'); 291 $('.mask').find('.change_class').removeClass('change_text_single');
  292 + $('#tucengf').hide();
  293 + $('#tucengs').show();
287 $('.change_text_t').html('您无法进行修改'); 294 $('.change_text_t').html('您无法进行修改');
288 } 295 }
289 if(res.data == 3) { 296 if(res.data == 3) {
290 $('.change_text_o').html('对不起,当前功能已暂停'); 297 $('.change_text_o').html('对不起,当前功能已暂停');
291 $('.mask').find('.change_class').removeClass('change_text'); 298 $('.mask').find('.change_class').removeClass('change_text');
292 $('.mask').find('.change_class').addClass('change_text_single'); 299 $('.mask').find('.change_class').addClass('change_text_single');
  300 + $('#tucengf').hide();
  301 + $('#tucengs').show();
293 $('.change_text_t').hide(); 302 $('.change_text_t').hide();
294 } 303 }
295 $('.mask').show() 304 $('.mask').show()
@@ -39,8 +39,8 @@ @@ -39,8 +39,8 @@
39 margin: 1.58rem auto 0; 39 margin: 1.58rem auto 0;
40 } 40 }
41 .img_detail { 41 .img_detail {
42 - width: 1.75rem;  
43 - height: 1.68rem; 42 + width: 1.4rem;
  43 + height: 1.63rem;
44 } 44 }
45 .login_text{ 45 .login_text{
46 width: 3rem; 46 width: 3rem;
@@ -251,7 +251,7 @@ @@ -251,7 +251,7 @@
251 } 251 }
252 .order_lose_pic{ 252 .order_lose_pic{
253 width: 1.91rem; 253 width: 1.91rem;
254 - height: 2.37rem; 254 + height: 2.67rem;
255 margin: 0 auto; 255 margin: 0 auto;
256 } 256 }
257 .order_change_pic img{ 257 .order_change_pic img{
@@ -360,7 +360,7 @@ @@ -360,7 +360,7 @@
360 height: 5.6rem; 360 height: 5.6rem;
361 } 361 }
362 .order_change_pic{ 362 .order_change_pic{
363 - width: 2.23rem; 363 + width: 2.43rem;
364 height: 2.11rem; 364 height: 2.11rem;
365 margin: 0 auto; 365 margin: 0 auto;
366 } 366 }