|
@@ -202,6 +202,7 @@
|
|
|
url = url.split('/');
|
|
|
var topVal = -0.5;
|
|
|
let obj = {};
|
|
|
+ // 上线分享环境改为0,图片路径改为正式站路径
|
|
|
// var baseUrl = 'https://test.androidscloud.com'
|
|
|
var loc = window.location.search,
|
|
|
u = navigator.userAgent,
|
|
@@ -366,10 +367,11 @@
|
|
|
let res = item.receivePhoneDuration===30?'月卡':item.receivePhoneDuration===90?'季卡':item.receivePhoneDuration===365?'年卡':item.receivePhoneDuration+'天卡';
|
|
|
return dataObj[item.receivePhoneType] + res
|
|
|
}
|
|
|
- dataList.map((item) => {
|
|
|
+ dataList.map((item,index) => {
|
|
|
+ let numberImg = Math.floor(getRandom()/2) + 1;
|
|
|
list += `<div class="user-item">
|
|
|
<div class="user-left">
|
|
|
- <img class="head-img" src="../static/img/doubleElevenActivity/touxiang_da_icon.png" />
|
|
|
+ <img class="head-img" src="../static/img/doubleElevenActivity/head-img-0${numberImg}.png" />
|
|
|
<div class="user-info">
|
|
|
<div class="user-name">${getPhoneNumber(item.receiveUserPhone)}</div>
|
|
|
<div class="user-time">${item.createTime.substring(5,7)}月${item.createTime.substring(8,11)}日${item.createTime.substring(11,19)}</div>
|
|
@@ -475,6 +477,9 @@
|
|
|
let id = e.target.dataset.id;
|
|
|
let type = e.target.dataset.type;
|
|
|
if(state == 0){
|
|
|
+ if(obj.money){
|
|
|
+ return
|
|
|
+ }
|
|
|
stopManyClick(() => {
|
|
|
toastr.error('赶紧让你的好友使用红包购买云机吧!');
|
|
|
})
|