| | |
| | | </div> |
| | | </div> |
| | | </div> |
| | | <div class="flex justify-between box-border px-30 mt-43"> |
| | | <div @click="$router.push('/funds?tab=3&index=1')" |
| | | class="greyBg text-grey w-370 py-13 rounded-lg font-27 text-center mr-20 active activeBKClick">{{ $t('托管订单') }} |
| | | <div class="box-border px-30 mt-43"> |
| | | <div @click="$router.push('/cryptos/funds?tab=3&index=1')" |
| | | class="greyBg text-grey w-full py-13 rounded-lg font-27 text-center active activeBKClick">{{ $t('托管订单') }} |
| | | </div> |
| | | <div @click="$router.push('/cryptos/machine-rule')" |
| | | class="greyBg text-grey w-370 py-13 rounded-lg font-27 text-center activeClick">{{ $t('规则') }}</div> |
| | | </div> |
| | | <div class="px-30 mt-40 pb-80"> |
| | | <div v-for="(item, index) in list" :key="index" |
| | |
| | | <div class="title absolute px-16 py-8 font-26 text-white top-0 left-22" |
| | | :class="item.on_sale === '0' ? 'inactive' : 'bg-green'"> |
| | | <!-- {{item.on_sale==='0'?$t('已锁定,联系客服'):$t('日收益率')}}{{item.on_sale==='0'?null:item.daily_rate}}{{item.on_sale==='0'?null:index===0?'':'%'}} --> |
| | | {{ item.on_sale === '0' ? $t('已锁定,联系客服') : (item.test ? item.cycle + $t('天') + $t('预期收益') + ' ' + |
| | | {{ item.on_sale === '0' ? $t('已锁定,联系客服') : (isMinerTest(item.test) ? item.cycle + $t('天') + $t('预期收益') + ' ' + |
| | | item.all_rate |
| | | + |
| | | 'USDT' : $t('30天预期收益') + ' ' + item.all_rate + '%') }} |
| | |
| | | </template> |
| | | </span> |
| | | <!-- <span class="font-26 mt-24 mb-16 textColor">{{item.on_sale==='0'?$t('已锁定,联系客服'):$t('日收益率')}}{{' '}}{{item.on_sale==='0'?null:item.daily_rate}}{{item.on_sale==='0'?null:index===0?'':'%'}}</span> --> |
| | | <span class="font-26 mt-24 mb-16 textColor">{{ $t('日收益率') }}{{ item.daily_rate }}{{ item.test ? 'USDT' : '%' |
| | | <span class="font-26 mt-24 mb-16" :class="Number(item.daily_rate) < 0 ? 'text-red' : 'textColor'">{{ $t('日收益率') }}{{ item.daily_rate }}{{ isMinerTest(item.test) ? 'USDT' : '%' |
| | | }}</span> |
| | | <span class="font-26 mb-16 textColor">{{ $t('限额') }} {{ item.investment_min + '-' }}{{ item.investment_max |
| | | }} |
| | | {{ item.buyCurrency ? item.buyCurrency.toUpperCase() : '--' }}</span> |
| | | <span class="font-26 textColor">{{ $t('周期') }} {{ item.cycle == 0 ? $t('无限期') : item.cycle + $t('天') |
| | | <span class="font-26 textColor">{{ isMinerTest(item.test) ? $t('周期') : $t('可解锁周期') }} {{ item.cycle == 0 ? $t('无限期') : item.cycle + (isMinerTest(item.test) ? $t('天') : $t('分钟')) |
| | | }}</span> |
| | | </div> |
| | | </div> |
| | | <div @click="item.on_sale === '0' ? null : $router.push({ |
| | | path: '/machine-buy', |
| | | path: '/cryptos/machine-buy', |
| | | query: { obj: JSON.stringify(item) } |
| | | })" class="py-16 w-180 font-28 font-600 text-center rounded-lg" |
| | | :class="item.on_sale === '0' ? 'inactive activeDisableClick' : 'active activeBKClick'">{{ |
| | | item.on_sale === '0' ? $t('已锁定') : item.test ? $t('立即体验') : $t('立即租用') }}</div> |
| | | item.on_sale === '0' ? $t('已锁定') : isMinerTest(item.test) ? $t('立即体验') : $t('立即租用') }}</div> |
| | | </div> |
| | | </div> |
| | | </div> |
| | |
| | | import assetsHead from '@/components/Transform/assets-head/index.vue'; |
| | | import { getMachineList } from "@/service/financialManagement.api.js"; |
| | | import { getMiningRevenueStatisticsList } from "@/service/financialManagement.api.js"; |
| | | import { isMinerTest } from '@/utils/index.js' |
| | | export default { |
| | | name: "fundHome", |
| | | components: { |
| | |
| | | } |
| | | }, |
| | | methods: { |
| | | isMinerTest, |
| | | click_share() { |
| | | this.$router.push('/promote'); |
| | | }, |