Commit 16cde044 authored by Mac's avatar Mac

修改样式

parent a0d56b9f
...@@ -140,6 +140,7 @@ p{ ...@@ -140,6 +140,7 @@ p{
font-size: 0.14rem; font-size: 0.14rem;
color: #E03234; color: #E03234;
margin-left: 1.91rem; margin-left: 1.91rem;
height: 0.2rem;
} }
.img_btn{ .img_btn{
width: 1.18rem; width: 1.18rem;
......
...@@ -74,7 +74,8 @@ $.fn.dataStatistics = function(options){ ...@@ -74,7 +74,8 @@ $.fn.dataStatistics = function(options){
$(".received_img").attr("src",""); $(".received_img").attr("src","");
$('.img_bg_M').css("background-image","url(../images/MJ_200@3x.png)"); $('.img_bg_M').css("background-image","url(../images/MJ_200@3x.png)");
$('.img_bg_M p').css("color","#CCCCCC"); $('.img_bg_p1').css("color","#CCCCCC");
$('.img_bg_p2').css("color","#CCCCCC");
$('.img_btn p').css("color","#FFFFFF"); $('.img_btn p').css("color","#FFFFFF");
$('.img_btn p').html('活动结束') $('.img_btn p').html('活动结束')
$('.box_content_t').hide() $('.box_content_t').hide()
...@@ -165,9 +166,8 @@ $.fn.dataStatistics = function(options){ ...@@ -165,9 +166,8 @@ $.fn.dataStatistics = function(options){
$(".received_img").attr("src",""); $(".received_img").attr("src","");
$('.img_bg_M').css("background-image","url(../images/MJ_200@3x.png)"); $('.img_bg_M').css("background-image","url(../images/MJ_200@3x.png)");
$(".img_bg_M").css("height", "1.46rem");//通过设置CSS属性来设置元素的高 $('.img_bg_p1').css("color","#CCCCCC");
$('.use_oupon').css('display',"none"); $('.img_bg_p2').css("color","#CCCCCC");
$('.img_bg_M p').css("color","#CCCCCC");
$('.img_btn p').css("color","#FFFFFF"); $('.img_btn p').css("color","#FFFFFF");
$('.img_btn').css("background-color", "#CCCCCC"); $('.img_btn').css("background-color", "#CCCCCC");
...@@ -180,25 +180,18 @@ $.fn.dataStatistics = function(options){ ...@@ -180,25 +180,18 @@ $.fn.dataStatistics = function(options){
if(res.data.count != 0){ if(res.data.count != 0){
$(".received_img").attr("src",""); $(".received_img").attr("src","");
$('.img_btn p').html(res.data.redemptionPrice + '元抢购') $('.img_btn p').html(res.data.redemptionPrice + '元抢购')
$(".img_bg_M").css("background-image","url(../images/M_200@3x.png)");
$(".img_bg_M").css("height", "1.46rem");//通过设置CSS属性来设置元素的高
$('.use_oupon').css('display',"none");
}else { }else {
$(".received_img").attr("src","../images/received@3x.png"); $(".received_img").attr("src","../images/received@3x.png");
$('.img_btn p').html('去使用') $('.img_btn p').html('去使用')
$(".img_bg_M").css("background-image","url(../images/M_200_2.png)");
$(".img_bg_M").css("height", "2.14rem");//通过设置CSS属性来设置元素的高
$('.use_oupon').css('display',"flex");
} }
}else { }else {
$(".received_img").attr("src",""); $(".received_img").attr("src","");
$('.img_bg_M').css("background-image","url(../images/MJ_200@3x.png)"); $('.img_bg_M').css("background-image","url(../images/MJ_200@3x.png)");
$(".img_bg_M").css("height", "1.46rem");//通过设置CSS属性来设置元素的高 $('.img_bg_p1').css("color","#CCCCCC");
$('.use_oupon').css('display',"none"); $('.img_bg_p2').css("color","#CCCCCC");
$('.img_bg_M p').css("color","#CCCCCC");
$('.img_btn p').css("color","#FFFFFF"); $('.img_btn p').css("color","#FFFFFF");
$('.img_btn p').html('活动结束') $('.img_btn p').html('活动结束')
$('.box_content_t').hide() $('.box_content_t').hide()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment