fix
This commit is contained in:
parent
f57d284240
commit
3fd1fb4860
Binary file not shown.
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 815 B |
BIN
src/assets/market/tabhieds.png
Normal file
BIN
src/assets/market/tabhieds.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.3 KiB |
@ -226,7 +226,7 @@
|
||||
CHIP
|
||||
</div>
|
||||
<div v-else :class="isTabs ? 'hero-tab' : 'chip-tab'">
|
||||
<img width="46px" src="../../assets/market/lock.png" alt="aoi-hero" />
|
||||
<img width="33px" src="../../assets/market/lock.png" alt="aoi-hero" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -299,7 +299,7 @@
|
||||
CHIP
|
||||
</div>
|
||||
<div v-else :class="isTabs ? 'hero-tab' : 'chip-tab'">
|
||||
<img width="46px" src="../../assets/market/lock.png" alt="aoi-hero" />
|
||||
<img width="33px" src="../../assets/market/lock.png" alt="aoi-hero" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -24,7 +24,11 @@
|
||||
status="warning"
|
||||
></el-progress>
|
||||
</div>
|
||||
<div class="progress-number">{{ min }}/{{ max }}</div>
|
||||
<div class="progress-number">
|
||||
{{ min > 100 ? parseInt(min) : min > 10 ? parseFloat(min).toFixed(2) : min }}/{{
|
||||
max > 100 ? parseInt(max) : max > 10 ? parseFloat(max).toFixed(2) : max
|
||||
}}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@ -36,9 +40,12 @@ export default {
|
||||
props: ["color", "definecolor", "max", "min", "progressImg"],
|
||||
computed: {
|
||||
curent() {
|
||||
return (this.min % this.max) * 100;
|
||||
return (( this.min / this.max).toFixed(2))*100 ; ;
|
||||
},
|
||||
},
|
||||
created(){
|
||||
console.log( (( this.min / this.max).toFixed(2))*100 ,'selog');
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user