|
@@ -106,14 +106,25 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<component :is="currentComponent" :symbol-id="symbolId" :latestTransactionData="latestTransactionData" :orderPlacement="orderPlacement" />
|
|
<component :is="currentComponent" :symbol-id="symbolId" :latestTransactionData="latestTransactionData" :orderPlacement="orderPlacement" />
|
|
|
|
|
+
|
|
|
|
|
+ <div
|
|
|
|
|
+ style="
|
|
|
|
|
+ box-shadow: 0 -0.05333rem 0.26667rem rgba(109 109 109 / 5%);
|
|
|
|
|
+ box-sizing: border-box;margin-top: 20px;
|
|
|
|
|
+ width:100%;z-index: 99;position: sticky; bottom: 0;background-color: #FFFFFF;padding: 20px;">
|
|
|
|
|
+ <div @click="router.push('/bitcoin/CryptocurrencyTrading')"
|
|
|
|
|
+ style="font-size: 17px; margin:0 auto;border-radius:19px;color:#FFFFFF; text-align:center; width:80%; line-height: 38px; font-weight: 500; background-color: #F6465D; ">交易</div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script setup>
|
|
<script setup>
|
|
|
import { ref, computed, onMounted, onBeforeUnmount, watch } from "vue";
|
|
import { ref, computed, onMounted, onBeforeUnmount, watch } from "vue";
|
|
|
-import { useRoute } from "vue-router";
|
|
|
|
|
|
|
+import { useRoute,useRouter } from "vue-router";
|
|
|
import { GetCandlestickChart } from "@/api/index.js";
|
|
import { GetCandlestickChart } from "@/api/index.js";
|
|
|
|
|
|
|
|
|
|
+const router = useRouter(); // 【新增】 实例化路由
|
|
|
|
|
+
|
|
|
// 引入组件
|
|
// 引入组件
|
|
|
import KLineChart from "@/views/bitcoin/lever/components/KLineChart.vue";
|
|
import KLineChart from "@/views/bitcoin/lever/components/KLineChart.vue";
|
|
|
import EntrustingOrder from "./EntrustingOrder.vue";
|
|
import EntrustingOrder from "./EntrustingOrder.vue";
|
|
@@ -347,6 +358,6 @@ const getUpDownClass = (c) => (c >= 0 ? "fc45B26B" : "fcF6465D");
|
|
|
.right-number-top, .right-number-bottom { display: flex; justify-content: flex-end; width: 100%; height: 32px; .right-number-top-price, .right-number-top-number { margin-left: 10px; text-align: right; div { height: 16px; line-height: 16px; text-align: end; } } } } }
|
|
.right-number-top, .right-number-bottom { display: flex; justify-content: flex-end; width: 100%; height: 32px; .right-number-top-price, .right-number-top-number { margin-left: 10px; text-align: right; div { height: 16px; line-height: 16px; text-align: end; } } } } }
|
|
|
.k-line-main { height: 50vh; min-height: 350px; width: 100%; padding: 0 15px; }
|
|
.k-line-main { height: 50vh; min-height: 350px; width: 100%; padding: 0 15px; }
|
|
|
.notifi-classifi { display: flex; align-items: flex-end; margin-top: 140px;
|
|
.notifi-classifi { display: flex; align-items: flex-end; margin-top: 140px;
|
|
|
- width: 100%; padding: 0 15px 5px 15px; box-sizing: border-box; height: 24px;
|
|
|
|
|
|
|
+ width: 100%; padding: 0 15px 0 15px; box-sizing: border-box; height: 24px;
|
|
|
border-bottom: 1px solid #f5f5f5; .sys-notifi { margin-left: 47px; } }
|
|
border-bottom: 1px solid #f5f5f5; .sys-notifi { margin-left: 47px; } }
|
|
|
</style>
|
|
</style>
|