sui 5 лет назад
Родитель
Сommit
bdef217438
3 измененных файлов: 15 добавлений и 10 удалений
  1. +1
    -1
      496_dongfengqichen/pages/luckyStar/luckyStar.js
  2. +7
    -5
      496_dongfengqichen/pages/luckyStar/luckyStar.wxml
  3. +7
    -4
      496_dongfengqichen/pages/luckyStar/luckyStar.wxss

+ 1
- 1
496_dongfengqichen/pages/luckyStar/luckyStar.js Просмотреть файл

clawScale: 1,//爪子的scale值 clawScale: 1,//爪子的scale值
downNum:30,//倒计时时间 downNum:30,//倒计时时间
setInt:null,//倒计时元素 setInt:null,//倒计时元素
pizeTip:0,//抓奖提示框
pizeTip:2,//抓奖提示框
setGroup:{ setGroup:{
left:null, left:null,
right: null, right: null,

+ 7
- 5
496_dongfengqichen/pages/luckyStar/luckyStar.wxml Просмотреть файл

<view class="successGroup" wx:if="{{pizeTip==1}}"> <view class="successGroup" wx:if="{{pizeTip==1}}">
<image class="luckyPizeType" src="{{imgUrl+'/images/luckyPizeType1.png'}}"></image> <image class="luckyPizeType" src="{{imgUrl+'/images/luckyPizeType1.png'}}"></image>
<image class="gameRuleClose" bindtap="closeWindow" style="top:-5rpx;right:-5rpx;" src="{{imgUrl+'/star/closebtn.png'}}"></image> <image class="gameRuleClose" bindtap="closeWindow" style="top:-5rpx;right:-5rpx;" src="{{imgUrl+'/star/closebtn.png'}}"></image>
<image class="prizePic" src="{{endGameData.awardPicUrl}}" mode="aspectFit"></image>
<view class="prizeName">{{endGameData.awardName}}</view>
<image class="startRegister" style="margin:0;" wx:if="{{(!isAddress && endGameData.needAddress!=0)}}" bindtap="userRegister" src="{{imgUrl+'/images/luckyPizeTip1.png'}}"></image>
<view class="prizeContent">
<image class="prizePic" src="{{endGameData.awardPicUrl}}" mode="aspectFit"></image>
<view class="prizeName">{{endGameData.awardName}}</view>
<image class="startRegister" style="margin:0;" wx:if="{{(!isAddress && endGameData.needAddress!=0)}}" bindtap="userRegister" src="{{imgUrl+'/images/luckyPizeTip1.png'}}"></image>
</view>
</view> </view>
<view class="successGroup" wx:if="{{pizeTip==2}}"> <view class="successGroup" wx:if="{{pizeTip==2}}">
<image class="luckyPizeType" src="{{imgUrl+'/images/luckyPizeType2.png?v=002'}}"></image> <image class="luckyPizeType" src="{{imgUrl+'/images/luckyPizeType2.png?v=002'}}"></image>
<image class="gameRuleClose" bindtap="closeWindow" style="top:-5rpx;right:-5rpx;" src="{{imgUrl+'/star/closebtn.png'}}"></image> <image class="gameRuleClose" bindtap="closeWindow" style="top:-5rpx;right:-5rpx;" src="{{imgUrl+'/star/closebtn.png'}}"></image>
<view class="btnsGroup"> <view class="btnsGroup">
<image class="luckyBtns" src="{{imgUrl+'/btns/luckyBtns1.png'}}"></image>
<!-- <image class="luckyBtns" src="{{imgUrl+'/btns/luckyBtns1.png'}}"></image>
<view class="luckyBtnsGap"></view> <view class="luckyBtnsGap"></view>
<image class="luckyBtns" bindtap="enterStar" wx:if="{{!certificationInfo}}" src="{{imgUrl+'/btns/luckyBtns2.png'}}"></image>
<image class="luckyBtns" bindtap="enterStar" wx:if="{{!certificationInfo}}" src="{{imgUrl+'/btns/luckyBtns2.png'}}"></image> -->
</view> </view>
</view> </view>
</view> </view>

+ 7
- 4
496_dongfengqichen/pages/luckyStar/luckyStar.wxss Просмотреть файл

.prizePic{ .prizePic{
width: 310rpx; width: 310rpx;
height: 116rpx; height: 116rpx;
margin-top: 200rpx;
margin-bottom: 10rpx; margin-bottom: 10rpx;
z-index: 9;
} }
.successTip{ .successTip{
font-size:28rpx; font-size:28rpx;
line-height:21rpx; line-height:21rpx;
text-align: center; text-align: center;
margin-bottom: 30rpx; margin-bottom: 30rpx;
z-index: 9;
} }
.failText{ .failText{
font-size:28rpx; font-size:28rpx;
position:relative; position:relative;
} }
.btnsGroup{ .btnsGroup{
position: absolute;
top: 301rpx;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
flex-direction: column; flex-direction: column;
z-index: 9; z-index: 9;
margin-top: 301rpx;
} }
.luckyBtns{ .luckyBtns{
width: 296rpx; width: 296rpx;
} }
.luckyBtnsGap{ .luckyBtnsGap{
height: 13rpx; height: 13rpx;
}
.prizeContent{
position: absolute;
top: 200rpx;
z-index: 9;
} }

Загрузка…
Отмена
Сохранить