| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274 |
- <template>
- <!-- 计算器 -->
- <HeaderNav headerText="计算器"></HeaderNav>
- <div class="calculator">
- <div class="type-select margin-top5 pf500 fs14 fc333333">
- 矿机产品名称
- <img src="../../../assets/icon/market/bottom-arrow.svg" alt="" />
- </div>
- <div class="type-select margin-top10 pf500 fs14 fc333333">
- <div>支付币种</div>
- <div>USDT</div>
- </div>
- <div class="type-double margin-top10 pf500 fs14 fc333333">
- <div class="type-item">
- <div class="type-text">矿机算力</div>
- <div class="type-result">
- <div>1160</div>
- <div>TH/S</div>
- </div>
- </div>
- <div class="type-item">
- <div class="type-text">单台价格</div>
- <div class="type-result">
- <div>1500.00</div>
- <div>USDT</div>
- </div>
- </div>
- </div>
- <div class="card-type pf500 fs14 fc333333">
- <div class="card-text">每日理论收益</div>
- <div class="type-select">
- <div>0.25481851</div>
- <div>SPACE 每 TH/S</div>
- </div>
- </div>
- <div class="type-double margin-top10 pf500 fs14 fc333333">
- <div class="type-item">
- <div class="type-text">矿机功耗</div>
- <div class="type-result">
- <div>1160</div>
- <div>W</div>
- </div>
- </div>
- <div class="type-item">
- <div class="type-text">币价</div>
- <div class="type-result">
- <div>1500.00</div>
- <div>$</div>
- </div>
- </div>
- </div>
- <div class="card-type pf500 fs14 fc333333">
- <div class="card-text">电价</div>
- <div class="type-select">
- <div>0.0360</div>
- <div>$/度</div>
- </div>
- </div>
- <div class="func-btn pf600 fs14 fcFFFFFF">
- <div class="reset">重置</div>
- <div class="calculator-btn">计算</div>
- </div>
- <div class="estimated-revenue">
- <div class="title pf600 fs18 fc333333">挖矿收益预估</div>
- <div class="desc pf400 fs12 fc999999">
- 提示:此计算结果采用当前难度PPS模式下的挖矿,由于挖矿收益 <br />
- 受矿机和矿场电力等因素影响,计算结果仅供参考。
- </div>
- </div>
- <div class="calculator-result">
- <div class="result-item" v-for="(item, index) in calculatorResultData" :key="index">
- <div class="item-top pf400 fs12 fc666666">{{ item.name }}</div>
- <div class="item-bottom pf500 fs12 fc333333">{{ item.number }}</div>
- </div>
- </div>
- </div>
- </template>
- <script setup>
- import HeaderNav from "../components/HeaderNav.vue";
- import { ref } from "vue";
- const calculatorResultData = ref([
- {
- name: "每日产币数",
- number: "11.4520",
- },
- {
- name: "每日产值",
- number: "57.73",
- },
- {
- name: "每日耗电量",
- number: "11.4520",
- },
- {
- name: "每日电费",
- number: "11.4520",
- },
- {
- name: "每日净收益",
- number: "11.4520",
- },
- {
- name: "电费占比",
- number: "11.4520",
- },
- {
- name: "预计回本天数",
- number: "11",
- },
- ]);
- </script>
- <style lang="less" scoped>
- .calculator {
- display: flex;
- flex-direction: column;
- justify-content: flex-start;
- align-items: center;
- margin-top: 48px;
- width: 100%;
- .margin-top5 {
- margin-top: 5px;
- }
- .margin-top10 {
- margin-top: 10px;
- }
- .type-select {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 0 11px;
- width: 345px;
- height: 45px;
- border-radius: 6px;
- background: #f5f5f5;
- box-sizing: border-box;
- img {
- width: 12px;
- height: 8px;
- }
- }
- .type-double {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- width: 345px;
- height: 63px;
- .type-item {
- width: 165px;
- height: 100%;
- .type-text {
- height: 18px;
- line-height: 18px;
- }
- .type-result {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- padding: 0 11px;
- margin-top: 7px;
- width: 165px;
- height: 38px;
- border-radius: 6px;
- background: #f5f5f5;
- box-sizing: border-box;
- }
- }
- }
- .card-type {
- margin-top: 10px;
- width: 345px;
- .type-select {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- align-items: center;
- margin-top: 5px;
- padding: 0 11px;
- width: 345px;
- height: 45px;
- border-radius: 6px;
- background: #f5f5f5;
- box-sizing: border-box;
- }
- }
- .func-btn {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- margin-top: 29px;
- width: 345px;
- height: 40px;
- .reset {
- width: 167px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- border-radius: 10px;
- background: #a8a8a8;
- }
- .calculator-btn {
- width: 167px;
- height: 40px;
- line-height: 40px;
- text-align: center;
- border-radius: 10px;
- background: #df384c;
- }
- }
- .estimated-revenue {
- margin-top: 14px;
- width: 345px;
- .title {
- height: 24px;
- line-height: 24px;
- }
- .desc {
- margin-top: 8px;
- line-height: 18px;
- }
- }
- .calculator-result {
- display: flex;
- flex-direction: row;
- justify-content: space-between;
- flex-wrap: wrap;
- padding: 0 15px;
- margin-top: 14px;
- width: 345px;
- height: 181px;
- border-radius: 8px;
- border: 1px solid #ebebeb;
- box-sizing: border-box;
- .result-item {
- margin-top: 15px;
- width: 80px;
- height: 42px;
- .item-top {
- height: 18px;
- line-height: 18px;
- text-align: center;
- }
- .item-bottom {
- margin-top: 4px;
- height: 20px;
- line-height: 20px;
- text-align: center;
- }
- }
- }
- }
- </style>
|