我的订单+我的

This commit is contained in:
2024-06-19 16:12:23 +08:00
parent 5d8aace5cc
commit 132e363be0
473 changed files with 65060 additions and 2742 deletions

View File

@@ -0,0 +1,44 @@
<template>
<view class="volume">
<text class="text">{{ currentValue }}/{{ totalValue }}</text>
</view>
</template>
<script>
export default {
name: 'Process',
props: {
currentValue: {
type: Number | String
},
totalValue: {
type: Number | String
}
},
computed: {
precent () {
return this.currentValue / this.totalValue;
},
restPrecent () {
return 1 - this.precent;
}
}
}
</script>
<style lang="stylus" scoped>
.volume
flex-direction row
align-items center
justify-content center
padding 10rpx
background rgba(20, 20, 20, 0.8)
border-radius 2rpx
.text
color #FFFFFF
</style>
<style>
</style>