<!--index.wxml--> | <!--index.wxml--> | ||||
<view class="all" wx:if="{{mainShow}}"> | <view class="all" wx:if="{{mainShow}}"> | ||||
<view class="main" wx:if="{{isStartAdvertising==0 || !isStartAdvertisingShow}}"> | <view class="main" wx:if="{{isStartAdvertising==0 || !isStartAdvertisingShow}}"> | ||||
<image class="indexOrderIcon" wx:if="{{!buyState}}" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image> | |||||
<!-- wx:if="{{!buyState}}" --> | |||||
<image class="indexOrderIcon" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image> | |||||
<view class="contentFrame"> | <view class="contentFrame"> | ||||
<image class="kvurlImg" style="width:100%;height:{{kvurlH}}px;" mode="widthFix" src="{{kvurl}}"></image> | <image class="kvurlImg" style="width:100%;height:{{kvurlH}}px;" mode="widthFix" src="{{kvurl}}"></image> | ||||
<image style="width:750rpx;height:331rpx;" src="{{imgUrl+'/images/indexText.png'}}"></image> | <image style="width:750rpx;height:331rpx;" src="{{imgUrl+'/images/indexText.png'}}"></image> |
background-color: #ececec; | background-color: #ececec; | ||||
} | } | ||||
.indexOrderIcon{ | .indexOrderIcon{ | ||||
position: absolute; | |||||
position: fixed; | |||||
left: 50%; | left: 50%; | ||||
transform: translateX(-50%); | transform: translateX(-50%); | ||||
bottom: 38rpx; | |||||
bottom: 188rpx; | |||||
width: 710rpx; | width: 710rpx; | ||||
height: 71rpx; | height: 71rpx; | ||||
z-index: 9; | |||||
} | } |
clearInterval(this.data.setGroup.bottom); | clearInterval(this.data.setGroup.bottom); | ||||
} | } | ||||
}, | }, | ||||
getClaw:function(){//抓取 | |||||
getClaw: function () {//抓取 | |||||
clearInterval(this.data.setGroup.top); | |||||
clearInterval(this.data.setGroup.left); | |||||
clearInterval(this.data.setGroup.right); | |||||
clearInterval(this.data.setGroup.bottom); | |||||
this.setData({ | this.setData({ | ||||
clawType:true | clawType:true | ||||
}) | }) |
} | } | ||||
.gameControlFrame{ | .gameControlFrame{ | ||||
position: absolute; | position: absolute; | ||||
left: 120rpx; | |||||
left: 102rpx; | |||||
top: 915rpx; | top: 915rpx; | ||||
width: 174rpx; | width: 174rpx; | ||||
height: 106rpx; | height: 106rpx; |
.starRule{ | .starRule{ | ||||
width: 81rpx; | width: 81rpx; | ||||
height: 81rpx; | height: 81rpx; | ||||
position: absolute; | |||||
position: fixed; | |||||
right: 29rpx; | right: 29rpx; | ||||
top: 175rpx; | top: 175rpx; | ||||
} | } |