From 7a52988eb65d0e50cc56e9da8e0088dfc5f9e416 Mon Sep 17 00:00:00 2001
From: lxf <1371462558@qq.com>
Date: Wed, 02 Jul 2025 15:41:31 +0800
Subject: [PATCH] style
---
src/components/Transform/list-quotation/index.vue | 46 +++++++++++++++++++++++++++++++++++++---------
1 files changed, 37 insertions(+), 9 deletions(-)
diff --git a/src/components/Transform/list-quotation/index.vue b/src/components/Transform/list-quotation/index.vue
index 643a960..f5da2b7 100644
--- a/src/components/Transform/list-quotation/index.vue
+++ b/src/components/Transform/list-quotation/index.vue
@@ -1,27 +1,42 @@
<template>
<div class="list-quatation">
- <ex-tabs @tabs="onTabs"></ex-tabs>
+ <!-- <ex-tabs @tabs="onTabs"></ex-tabs> -->
<van-list>
- <van-cell>
+ <!-- <van-cell>
<div class="flex items-center w-full text-grey font-26">
<p class="left text-left">
<span>{{ $t('交易对') }}
- <!-- <img src="./icon-sort.png" alt="icon" class="w-13 h-22"/>-->
</span>
</p>
<p class="mid text-right">
{{ $t('最新价') }}
- <!-- <img src="./icon-sort.png" alt="icon" class="w-13 h-22 ml-5"/>-->
</p>
<p class="right text-right">
{{ active == 3 ? $t('成交额') : $t('24h涨跌幅') }}
- <!-- <img src="./icon-sort.png" alt="icon" class="w-13 h-22 ml-5"/>-->
</p>
</div>
- </van-cell>
+ </van-cell> -->
+
+ <div class="flex items-end justify-between">
+ <div class="block text-22 font-medium">行情</div>
+ <div class="relative text-13">
+ <!-- <div class="flex px-10 justify-between rounded-full bg-black text-white min-w-100 box-border">
+ <div class="block">貨幣</div>
+ <div class="i-material-symbols:arrow-drop-down-rounded"></div>
+ </div> -->
+ <!-- <div class="px-9 py-10 bg-black text-white flex flex-col absolute min-w-100 box-border top-25 rounded-11 leading-28" style="display: none;">
+ <div>貨幣</div>
+ <div>數字貨幣</div>
+ <div>期貨</div>
+ <div>收藏</div>
+ </div> -->
+ </div>
+ </div>
+
+
<transition-group :name="type" tag="div">
<div v-if="active == 0" :key="active">
- <van-cell v-for="item in listData" :key="item.id">
+ <van-cell v-for="item in listData" :key="item.id" style="background-color: #f0f0f0;margin-bottom: 10px;">
<ul class="flex justify-between w-full items-center" @click="onItemClick(item)">
<li class="flex items-center left">
<img
@@ -155,10 +170,14 @@
});
} else {
setStorage('symbol', item.symbol)
- this.$router.push({
- path: `/cryptos/perpetualContract/${item.symbol}`,
+ this.$router.push({
+ path: `/foreign/deliveryContract/${item.symbol}`,
query: { type: 'cryptos' }
});
+ // this.$router.push({
+ // path: `/cryptos/perpetualContract/${item.symbol}`,
+ // query: { type: 'cryptos' }
+ // });
}
},
handleImage(url) {
@@ -216,6 +235,7 @@
</script>
<style lang="scss" scoped>
@import "@/assets/init.scss";
+@import '@/assets/css/deepseek_css_20250625_30ff932.css';
#cryptos {
@@ -271,4 +291,12 @@
}
}
+
+.textColor {
+ color: #242629;
+}
+
+.text-grey{
+ // color: #8c8c8c;
+}
</style>
--
Gitblit v1.9.3