Kaynağa Gözat

页面及功能优化

guessPrice
suizhijia 5 yıl önce
ebeveyn
işleme
0d9a88c80a
3 değiştirilmiş dosya ile 16 ekleme ve 3 silme
  1. +13
    -0
      496_dongfengqichen/pages/guessPrize/guessPrize.js
  2. +2
    -2
      496_dongfengqichen/pages/guessPrize/guessPrize.wxml
  3. +1
    -1
      496_dongfengqichen/pages/star/star.wxml

+ 13
- 0
496_dongfengqichen/pages/guessPrize/guessPrize.js Dosyayı Görüntüle

@@ -271,12 +271,25 @@ Page({
this.setData({
tipWindow:!this.data.tipWindow
})
if(!this.data.tipWindow){
this.setData({
stringValue:""
})
}
},
tipWindowControl2:function(){
this.setData({
tipWindow2:!this.data.tipWindow2
})
},
tipWindowControl3:function(){
this.setData({
stringValue:""
})
this.setData({
tipWindow2:!this.data.tipWindow2
})
},
focusControl:function(){
this.setData({
focusState:true

+ 2
- 2
496_dongfengqichen/pages/guessPrize/guessPrize.wxml Dosyayı Görüntüle

@@ -13,7 +13,7 @@
<image src="{{imgUrl+'/newImages4/23.png'}}"></image>
<view class="inputFrame">{{stringValue}}</view>
<view wx:if="{{focusState}}" class="inputFrame2" style="left:{{34+stringValue.length*77}}rpx;"></view>
<input class="inputPrice" bindfocus="focusControl" bindblur="focusControl2" type="number" maxlength="6" bindinput="getValue"></input>
<input class="inputPrice" value="{{stringValue}}" bindfocus="focusControl" bindblur="focusControl2" type="number" maxlength="6" bindinput="getValue"></input>
</view>
<image class="newImages4-24" bindtap="submitPrice2" src="{{imgUrl+'/newImages4/24.png'}}"></image>
</view>
@@ -75,7 +75,7 @@
<image class="tipWindowBg" src="{{imgUrl+'/newImages4/28.png'}}"></image>
<image class="tipWindowClose" bindtap="tipWindowControl2" src="{{imgUrl+'/newImages4/27.png'}}"></image>
<image class="tipWindowBtn" style="bottom:150rpx;" bindtap="submitFirstGuessInfo" src="{{imgUrl+'/newImages4/29.png'}}"></image>
<image class="tipWindowBtn" bindtap="tipWindowControl2" src="{{imgUrl+'/newImages4/30.png'}}"></image>
<image class="tipWindowBtn" bindtap="tipWindowControl3" src="{{imgUrl+'/newImages4/30.png'}}"></image>
</view>
</view>
<yuyue bindyuyue="yuyueControl" wx:if="{{yuyueShow}}"></yuyue>

+ 1
- 1
496_dongfengqichen/pages/star/star.wxml Dosyayı Görüntüle

@@ -2,7 +2,7 @@
<view id="star" class="showView">
<view class="home">
<view class="bgGroup">
<image class="bg" src="{{imgUrl+'/newImages4/8.png'}}"></image>
<image class="bg" src="{{imgUrl+'/newImages4/31.png'}}"></image>
<image class="starBtn" bindtap="scout" src="{{imgUrl+'/newImages2/4.png'}}"></image>
</view>
<image class="logo1" src="{{imgUrl+'/star/logo1.png'}}"></image>

Yükleniyor…
İptal
Kaydet