Commit 3ec68ff2 authored by zhangyanni's avatar zhangyanni

样式

parent e3bb36fc
......@@ -44,7 +44,7 @@
:class="[detailInfo.guessState==3?'hasBgColor':'',detailInfo.guessState==3&&detailInfo.guessAnswerId==answerItem.id?'answerColor':'']">
<div class="answerSelection" v-if="answerItem.optionsContent.length<16">
<span>{{publicFun.getTextfInRichtext(answerIndex)}}{{answerItem.optionsContent}}</span>
<span v-if="detailInfo.guessState==1">当前赔率:{{answerItem.optionOdds}}</span>
<span v-if="detailInfo.guessState==1">当前赔率:<span>{{answerItem.optionOdds}}</span></span>
<span v-if="detailInfo.guessState>1">{{(answerItem.optionsPercentage?answerItem.optionsPercentage:"0")+'%'}} &nbsp;{{answerItem.optionOdds}}</span>
</div>
<div class="answerSelectionLength" v-else>
......@@ -202,8 +202,10 @@
if(this.userInfo){
commonApi.hasTaskIntegralAxios(data).then((res)=>{
if(res.code==0){
this.getIntegralVisible = true;
this.integral = res.result;
if(res.result>0){
this.integral = res.result;
this.getIntegralVisible = true;
}
}else{
this.$toast(res.msg);
}
......
......@@ -258,8 +258,10 @@
if(this.userInfo){
commonApi.hasTaskIntegralAxios(data).then((res)=>{
if(res.code==0){
this.getIntegralVisible = true;
this.integral = res.result;
if(res.result>0){
this.integral = res.result;
this.getIntegralVisible = true;
}
}else{
this.$toast(res.msg);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment