@@ -322,7 +322,7 @@ App({ | |||
},this) | |||
}, | |||
getBuyState: function () {//查询是否已下订 | |||
this.wxRequest(this.globalData.urlRoot + "wxPay/v3/getLuckyTokenList", {source:2}, res => { | |||
this.wxRequest(this.globalData.urlRoot + "wxPay/v3/getLuckyTokenList", {}, res => { | |||
if (res.code == 200) { | |||
if (res.data) { | |||
res.data.cdate = res.data.cdate ? res.data.cdate : ""; |
@@ -147,7 +147,7 @@ Page({ | |||
} | |||
}, | |||
startDraw(){//开始抽奖 | |||
// this.drawAniFun(5500,660); | |||
// this.drawAniFun(3000,660); | |||
// return; | |||
if(!app.globalData.luckyTokenList.length){ | |||
wx.showToast({ |
@@ -4,9 +4,9 @@ | |||
<image class="pageBg" src="{{imgUrl+'/newImages8/15.png'}}"></image> | |||
<view class="gameFrame"> | |||
<view class="gameGroup"> | |||
<image class="gameDial" animation="{{drawAni}}" src="{{imgUrl+'/newImages8/14.png'}}"></image> | |||
<!-- <image class="gamePointer" bindtap="startDraw" src="{{imgUrl+'/newImages8/13.png'}}"></image> --> | |||
<image class="gamePointer2" bindtap="startDraw" src="{{imgUrl+'/newImages8/13_2.png'}}"></image> | |||
<image class="gameDial" animation="{{drawAni}}" src="{{imgUrl+'/newImages8/21.png'}}"></image> | |||
<image class="gamePointer" bindtap="startDraw" src="{{imgUrl+'/newImages8/13.png'}}"></image> | |||
<!-- <image class="gamePointer2" bindtap="startDraw" src="{{imgUrl+'/newImages8/13.png'}}"></image> --> | |||
</view> | |||
</view> | |||
<view class="recordFrame"> |
@@ -20,8 +20,8 @@ view{ | |||
left: 50%; | |||
transform: translateX(-50%); | |||
top:345rpx; | |||
width:662rpx; | |||
height:662rpx; | |||
width:661rpx; | |||
height:661rpx; | |||
z-index: 9; | |||
} | |||
.gameGroup{ | |||
@@ -35,7 +35,7 @@ view{ | |||
} | |||
.gamePointer{ | |||
position: absolute; | |||
top: 200rpx; | |||
top: 207rpx; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
width: 119rpx; | |||
@@ -43,8 +43,8 @@ view{ | |||
} | |||
.gamePointer2{ | |||
position: absolute; | |||
top: 270rpx; | |||
left: 270rpx; | |||
top: 207rpx; | |||
left: 271rpx; | |||
width: 119rpx; | |||
height: 120rpx; | |||
} |