| | |
| | | <div v-if="showType == 0 || showType == 2" class="w-290 flex justify-between pt-1 font-26" |
| | | v-for="(item, index) in redData" :key="item + index" @click="onQuickPrice(item.price)" :style="{ |
| | | background: |
| | | `linear-gradient(to right,${THEME == 'dark' ? '#131A2E' : '#fff' |
| | | `linear-gradient(to right,${THEME == 'dark' ? '#131A2E' : '#555' |
| | | } 0%` + |
| | | (1 - item.amount / greenData[greenData.length - 1].amount) * |
| | | 100 + |
| | |
| | | <div v-if="showType == 0 || showType == 1" class="w-290 flex justify-between pt-1 font-26" |
| | | v-for="(item, index) in greenData" :key="index" @click="onQuickPrice(item.price)" :style="{ |
| | | background: |
| | | `linear-gradient(to right,${THEME == 'dark' ? '#131A2E' : '#fff' |
| | | `linear-gradient(to right,${THEME == 'dark' ? '#131A2E' : '#555' |
| | | } 0%` + |
| | | (1 - item.amount / greenData[greenData.length - 1].amount) * |
| | | 100 + |
| | |
| | | queryType: 'cryptos', |
| | | assetObj: {}, // 总资产估值数据对象 |
| | | locationList: [ |
| | | { title: this.$t('逐仓'), type: 0 }, |
| | | // { title: this.$t('逐仓'), type: 0 }, |
| | | { title: this.$t('全仓'), type: 1 }, |
| | | ], |
| | | locationShow: false, |