Bläddra i källkod

bug修复

guessPrice
suizhijia 5 år sedan
förälder
incheckning
a560c80683
2 ändrade filer med 4 tillägg och 4 borttagningar
  1. +2
    -2
      496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.js
  2. +2
    -2
      496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.wxml

+ 2
- 2
496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.js Visa fil

@@ -12,7 +12,7 @@ Page({
stringValue:"",//输入的竞猜价格
focusState:false,//输入框聚焦状态
tipImgShow:true,//是否显示输入框提示
isGuess:true,//是否竞猜过价格
isGuess:false,//是否竞猜过价格
guessPrice:"",
guessPriceArr:[1,2,3,4,5,6],
slideDay:['0','0'],//距离上市时间
@@ -38,12 +38,12 @@ Page({
getSecondGuessInfo:app.globalData.getSecondGuessInfo
})
var getSecondGuessInfo = app.globalData.getSecondGuessInfo;
console.log(getSecondGuessInfo.secondData);
if(getSecondGuessInfo.secondData){
this.data.guessPriceArr = getSecondGuessInfo.secondData.guess_price.toString().split("");
for(let i=0;i<this.data.guessPriceArr.length;i++){
this.data.guessPriceArr[i] = parseInt(this.data.guessPriceArr[i]);
}
console.log(getSecondGuessInfo.secondData);
this.setData({
isGuess:true,
guessPriceArr:this.data.guessPriceArr

+ 2
- 2
496_dongfengqichen/pages/guessSecondPrize/guessSecondPrize.wxml Visa fil

@@ -8,7 +8,7 @@
</view>
<!-- <image class="newImages5-1" src="{{imgUrl+'/newImages5/1.png'}}"></image> -->
</view>
<view wx:if="{{isGuess}}">
<view wx:if="{{!isGuess}}">
<image class="newImages5-28" src="{{imgUrl+'/newImages5/39.png'}}"></image>
<view>
<view class="newImages4-23">
@@ -21,7 +21,7 @@
<image class="newImages4-24" bindtap="submitPrice2" src="{{imgUrl+'/newImages4/24.png'}}"></image>
</view>
</view>
<view wx:if="{{!isGuess}}">
<view wx:if="{{isGuess}}">
<image class="newImages5-41" src="{{imgUrl+'/newImages5/41.png'}}"></image>
<view class="selectFream">
<image class="versions-19" src="{{imgUrl+'/versions/19.png'}}"></image>

Laddar…
Avbryt
Spara