|
@@ -14,9 +14,9 @@
|
14
|
14
|
.red_packet .click{font-size:0.18rem;color:#FB3D38;text-align: center;padding-top: 0.2rem;padding-bottom: 0.2rem;}
|
15
|
15
|
.red_packet .copy{width:0.94rem;height:0.26rem;margin:auto;color:#FFF;font-size:0.15rem;line-height: 0.26rem;text-align:center;background:#FB3D38;border-radius:0.075rem;box-shadow:0.02rem 0.045rem 0.05rem rgba(143,141,141,0.22);}
|
16
|
16
|
.red_packet .con{font-size:0.14rem;color:#666666;padding-top: 0.2rem;padding-bottom: 0.345rem;text-align: center;}
|
17
|
|
- .already{height: 2rem;padding-left: 0.16rem;padding-right: 0.15rem;}
|
|
17
|
+ .already{height: 1.8rem;padding-left: 0.16rem;padding-right: 0.15rem;}
|
18
|
18
|
.already .num{font-size:0.15rem;color:#FB3D38;padding-bottom: 0.175rem;}
|
19
|
|
- .already ul{height: 1.305rem;overflow-x:hidden;overflow-y: scroll;}
|
|
19
|
+ .already ul{}
|
20
|
20
|
.already ul li{float: left;padding-bottom: 0.08rem;color: #666666;line-height: 0.355rem;}
|
21
|
21
|
.already ul li img{float: left;display: block;width: 0.355rem;height: 0.355rem;border:0;}
|
22
|
22
|
.already ul li .username{ display: inline-block; float: left;padding-left: 0.075rem;width: 1.1rem;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
|
|
@@ -28,7 +28,7 @@
|
28
|
28
|
.cooperation img{float:left;width: 0.46rem;margin-right: 0.57rem;}
|
29
|
29
|
.cooperation img:nth-child(3){margin-right: 0rem;}
|
30
|
30
|
.bottom{margin: auto;color: #FB3D38;text-align: center;font-size: 0.14rem;}
|
31
|
|
- .bottom p:nth-child(1){padding-top: 0.185rem;padding-bottom: 0.205rem;font-size: 0.15rem;}
|
|
31
|
+ .bottom p:nth-child(1){padding-top: 0.185rem;padding-bottom: 0.15rem;font-size: 0.15rem;}
|
32
|
32
|
#copy_1,#copy_2,#taokouling{position: absolute;left: -1000rem;}
|
33
|
33
|
.alert-info {position: absolute;top: 1.74rem;right: 0;left: 0;bottom: 0;text-align: center;}
|
34
|
34
|
.alert-info p {display: inline-block;color: #fff;font-size: 0.14rem;line-height: 0.38rem;padding: 0 0.10rem;background-color: rgba(0, 0, 0, 0.7);border-radius: 5px;}
|
|
@@ -91,7 +91,6 @@
|
91
|
91
|
for(var i = 0 ; i<brr.length; i++){
|
92
|
92
|
if(brr[i].indexOf('userId') != -1){
|
93
|
93
|
userId = brr[i].split('=')[1];//用户id
|
94
|
|
- localStorage.setItem('userId', userId);
|
95
|
94
|
}
|
96
|
95
|
}
|
97
|
96
|
//页面加载,显示数据
|
|
@@ -114,7 +113,8 @@
|
114
|
113
|
}else if(data.code == 4003){
|
115
|
114
|
showMsg("领取失败")
|
116
|
115
|
}else if(data.code == 4002){
|
117
|
|
- showMsg(data.message)
|
|
116
|
+// showMsg(data.message)
|
|
117
|
+ copyPassword();//不限制新老用户
|
118
|
118
|
}
|
119
|
119
|
}
|
120
|
120
|
})
|
|
@@ -181,14 +181,14 @@
|
181
|
181
|
function scrollTxt(){
|
182
|
182
|
var controls={},
|
183
|
183
|
values={},
|
184
|
|
- t1=200, /*播放动画的时间*/
|
|
184
|
+ t1=800, /*播放动画的时间*/
|
185
|
185
|
t2=1500, /*播放时间间隔*/
|
186
|
186
|
si;
|
187
|
187
|
controls.rollWrap=$("#roll-wrap");
|
188
|
188
|
controls.rollWrapUl=controls.rollWrap.children();
|
189
|
189
|
controls.rollWrapLIs=controls.rollWrapUl.children();
|
190
|
190
|
values.liNums=controls.rollWrapLIs.length;
|
191
|
|
- values.liHeight=controls.rollWrapLIs.eq(0).height();
|
|
191
|
+ values.liHeight=45;
|
192
|
192
|
values.ulHeight=controls.rollWrap.height();
|
193
|
193
|
this.init=function(){
|
194
|
194
|
autoPlay();
|
|
@@ -196,7 +196,7 @@
|
196
|
196
|
}
|
197
|
197
|
/*滚动*/
|
198
|
198
|
function play(){
|
199
|
|
- controls.rollWrapUl.animate({"margin-top" : "-"+values.liHeight}, t1, function(){
|
|
199
|
+ controls.rollWrapUl.animate({"margin-top" : "-"+values.liHeight}, t1, 'linear',function(){
|
200
|
200
|
$(this).css("margin-top" , "0").children().eq(0).appendTo($(this));
|
201
|
201
|
});
|
202
|
202
|
}
|