Commit 7cc2081d by libai

ft活动上线

parent 32043ae8
......@@ -52,6 +52,9 @@
background: url(../images/en/exc-btn2.png) no-repeat;
background-size: 100% 100%;
}
.bg-en .layer-ok-name {
line-height: 0.45rem !important;
}
.ref {
width: 0.8rem;
position: fixed;
......
......@@ -53,7 +53,9 @@
background: url(../images/en/exc-btn2.png) no-repeat;
background-size: 100% 100%;
}
.layer-ok-name{
line-height: 0.45rem !important;
}
}
.ref{
width: 0.8rem;
......
......@@ -231,11 +231,12 @@ $(function(){
}
})
var excName=['','美眉激勵卡','vip*7天','love','豪華座駕*30天']
if(sessionStorage.lang!=2)var excName=['','Motivational Card','vip<br>*7days','love','Luxury Car*30days']
var excRich=['','100','200','1000','9999']
$(".exc-btn").on("click",function(){
var _self=$(this);
$(".layer-ok-gift img").attr("src","images/g"+_self.attr("data-type")+".png")
$(".layer-ok-name").text(excName[_self.attr("data-type")])
$(".layer-ok-name").html(excName[_self.attr("data-type")])
$(".layer-ok-p1 span").text(excRich[_self.attr("data-type")])
$(".layer-ok-p2 span").text(sessionStorage.myCard)
layer.open({
......
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 sign in to comment