@@ -7,7 +7,7 @@ Page({ | |||
*/ | |||
data: { | |||
imgUrl: app.globalData.urlStatic,//图片路径 | |||
ruleShow: true,//是否显示游戏玩法 | |||
ruleShow: false,//是否显示游戏玩法 | |||
ruleCloseShow: false,//是否显示游戏玩法关闭按钮 | |||
clawTop:95,//爪子的top值 | |||
clawLeft: 293,//爪子的left值 | |||
@@ -353,7 +353,7 @@ Page({ | |||
this.setData({ | |||
scrollNum: this.data.scrollNum+=1 | |||
}) | |||
},50); | |||
},30); | |||
}, | |||
getMore:function(){ | |||
if (!this.data.isMore){ |
@@ -96,7 +96,7 @@ | |||
<view class="recordGroup" wx:for="{{recordList}}" wx:key="index"> | |||
<view class="recordGroupLeft"> | |||
<view class="recordHeadGroup"> | |||
<image class="recordUserImg" src="{{userData.avatarUrl&&recordNow!=1?userData.avatarUrl:imgUrl+'/images/defaultHead.png'}}"></image> | |||
<image class="recordUserImg" src="{{userData.avatarUrl?userData.avatarUrl:imgUrl+'/images/defaultHead.png'}}"></image> | |||
</view> | |||
<view class="recordMainGroup" style="width:230rpx;"> | |||
<view class="rewardName">{{item.awardName}}</view> |
@@ -11,7 +11,7 @@ Page({ | |||
posterBg:[],//海报背景 | |||
qrCodeUrl:"https://www.jiyou-tech.com/2020/496_qichen/static/images/testQrCode.png",//二维码图片 | |||
userHead: app.globalData.userInfoData ? app.globalData.userInfoData.avatarUrl : null,//用户头像 | |||
rankNum: '8908',//缓存数字 | |||
rankNum: '0000',//缓存数字 | |||
windowScale:0,//屏幕缩放比 | |||
windowW: 0,//屏幕宽度 | |||
windowH: 0,//屏幕高度 | |||
@@ -76,7 +76,6 @@ Page({ | |||
countNum += 1; | |||
} | |||
}) | |||
this.data.rankNum = this.data.rankNum.toString().split(""); | |||
for (let i = 0; i < this.data.rankNum.length; i++) { | |||
wx.getImageInfo({//缓存数字 | |||
src: this.data.imgUrl + '/images/nums/' + this.data.rankNum[i] + '.png', | |||
@@ -276,7 +275,10 @@ Page({ | |||
app.wxRequest(app.globalData.urlRoot +"userInfo/getCertificationCount",{},res=>{ | |||
this.createQrcode(); | |||
if(res.code==200){ | |||
this.data.rankNum = res.data.total; | |||
this.data.rankNum = res.data.total.toString().split(""); | |||
this.setData({ | |||
rankNum: this.data.rankNum | |||
}) | |||
} | |||
},this) | |||
}, |
@@ -9,8 +9,8 @@ | |||
<view class="imgGroup"> | |||
<image style="width:100%;height:100%;" src="{{imgUrl+'/images/tempImg'+(index+1)+'.jpg'}}"></image> | |||
<view class="userMsg"> | |||
<!-- <image class="userHead" src="{{userHead}}"></image> --> | |||
<image class="userHead" src="{{imgUrl+'/images/posterChoose.png'}}"></image> | |||
<image class="userHead" src="{{userHead}}"></image> | |||
<!-- <image class="userHead" src="{{imgUrl+'/images/posterChoose.png'}}"></image> --> | |||
<view class="userNickName">{{userInfoData.nickName}}</view> | |||
</view> | |||
<view class="userNumber"> |