|
@@ -49,8 +49,9 @@
|
|
|
<view>
|
|
|
<image :src="itemTwo.picUrl" mode="aspectFit"></image>
|
|
|
</view>
|
|
|
- <view class="textone"> {{itemTwo.title}} </view>
|
|
|
- <view class="texttwo"> ¥{{$numberFormat(itemTwo.value)}} </view>
|
|
|
+ <view class="textone" v-if="itemTwo.prizeType && JSON.parse(itemTwo.prizeType).value == 'coin'" > {{itemTwo.title}}x{{itemTwo.value}} </view>
|
|
|
+ <view class="textone" v-else> {{itemTwo.title}} </view>
|
|
|
+ <view class="texttwo" v-if="itemTwo.prizeType && JSON.parse(itemTwo.prizeType).value == 'goods'"> ¥{{$numberFormat(itemTwo.value)}} </view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="effectstwo"></view>
|
|
@@ -75,8 +76,9 @@
|
|
|
<image :src="itemTwo.picUrl" mode="aspectFit" class="imatwo"></image>
|
|
|
</view>
|
|
|
<image src="../static/activity/effectssix.png" mode="" class="imgone"></image>
|
|
|
- <view class="textone"> {{itemTwo.title}} </view>
|
|
|
- <view class="texttwo"> ¥{{$numberFormat(itemTwo.value)}} </view>
|
|
|
+ <view class="textone" v-if="itemTwo.prizeType && JSON.parse(itemTwo.prizeType).value == 'coin'" > {{itemTwo.title}}x{{itemTwo.value}} </view>
|
|
|
+ <view class="textone" v-else> {{itemTwo.title}} </view>
|
|
|
+ <view class="texttwo" v-if="itemTwo.prizeType && JSON.parse(itemTwo.prizeType).value != 'coin'"> ¥{{$numberFormat(itemTwo.value)}} </view>
|
|
|
|
|
|
</view>
|
|
|
</view>
|
|
@@ -90,18 +92,17 @@
|
|
|
<view class="wrap-description">
|
|
|
<view class="wrap-description-code"> 我的抽奖码</view>
|
|
|
<view v-if="info.codeList.length > 0" class="wrap-description-codetwo">
|
|
|
- <view class="codeList">
|
|
|
- <view class="codeList-bottom" v-for="(item,index) in info.codeList">{{item}}</view>
|
|
|
+ <view class="codeList" v-for="(item,index) in info.codeList">
|
|
|
+ <view class="codeList-bottom">{{item}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view v-else class="wrap-description-codethree">
|
|
|
<view class="codethree">
|
|
|
<image src="../static/activity/off.png" mode="" class="codeimg"></image>
|
|
|
</view>
|
|
|
- <text style="line-height: 1rpx;color: #9A9FB4; font-size: 30rpx;">还没有抽奖码</text>
|
|
|
+ <text class="codesix" style="">还没有抽奖码</text>
|
|
|
</view>
|
|
|
- <view
|
|
|
- style="text-align: center;line-height: 200rpx;padding-bottom: 10rpx; font-size: 28rpx; color: #666; ">
|
|
|
+ <view class="wrap-description-codesix">
|
|
|
抽奖码越多,中奖概率越大</view>
|
|
|
</view>
|
|
|
|
|
@@ -123,7 +124,7 @@
|
|
|
@click="exChange" open-type="share">获取抽奖码</button>
|
|
|
<u-count-down v-else :time="activityTimeTwo" format="DD:HH:mm:ss" autoStart millisecond
|
|
|
@change="onChange">
|
|
|
- <button style="background-color: #555;" type="default">
|
|
|
+ <button class="buttoncol" type="default">
|
|
|
开始倒计时:{{timeData.days}} 天{{ timeData.hours>=10?timeData.hours:'0'+timeData.hours}} :{{timeData.minutes>=10?timeData.minutes:'0'+timeData.minutes}} :{{timeData.seconds>=10?timeData.seconds:'0'+timeData.seconds}}
|
|
|
</button>
|
|
|
</u-count-down>
|
|
@@ -588,6 +589,12 @@
|
|
|
height: 200rpx;
|
|
|
}
|
|
|
}
|
|
|
+ .codesix {
|
|
|
+ line-height: 1rpx;color: #9A9FB4; font-size: 30rpx;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ &-codesix {
|
|
|
+ text-align: center;line-height: 200rpx;padding-bottom: 10rpx; font-size: 28rpx; color: #666;
|
|
|
}
|
|
|
}
|
|
|
|
|
@@ -643,5 +650,8 @@
|
|
|
border-radius: 48rpx;
|
|
|
}
|
|
|
}
|
|
|
+ .buttoncol {
|
|
|
+ background-color: #555;
|
|
|
+ }
|
|
|
}
|
|
|
</style>
|