update
This commit is contained in:
parent
a384784bd3
commit
35448085c5
@ -5,7 +5,7 @@ services:
|
|||||||
build:
|
build:
|
||||||
context: .
|
context: .
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
image: tradus-web:1.10
|
image: tradus-web:1.11
|
||||||
container_name: tradus-web
|
container_name: tradus-web
|
||||||
ports:
|
ports:
|
||||||
- '6000:80'
|
- '6000:80'
|
||||||
|
|||||||
36
src/App.vue
36
src/App.vue
@ -1598,4 +1598,40 @@ body {
|
|||||||
.desktop-user-info .points-value {
|
.desktop-user-info .points-value {
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* 全局滚动条样式 */
|
||||||
|
::-webkit-scrollbar {
|
||||||
|
width: 8px;
|
||||||
|
height: 8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-track {
|
||||||
|
background: transparent;
|
||||||
|
border-radius: 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb {
|
||||||
|
background-color: var(--color-border);
|
||||||
|
border-radius: 4px;
|
||||||
|
transition: all 0.2s ease;
|
||||||
|
}
|
||||||
|
|
||||||
|
::-webkit-scrollbar-thumb:hover {
|
||||||
|
background-color: var(--color-accent);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Firefox */
|
||||||
|
* {
|
||||||
|
scrollbar-width: thin;
|
||||||
|
scrollbar-color: var(--color-border) transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
*:hover {
|
||||||
|
scrollbar-color: var(--color-accent) transparent;
|
||||||
|
}
|
||||||
|
|
||||||
|
/* 确保滚动行为平滑 */
|
||||||
|
html {
|
||||||
|
scroll-behavior: smooth;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@ -269,30 +269,18 @@ const clearInput = () => {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section {
|
|
||||||
text-align: center;
|
|
||||||
transition: all 0.5s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-section.minimized {
|
|
||||||
padding: 0.5rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.initial-content {
|
.initial-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
min-height: 100%;
|
padding-top: 15vh;
|
||||||
padding: 2rem 1rem;
|
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.initial-content.minimized {
|
.header-section {
|
||||||
min-height: auto;
|
text-align: center;
|
||||||
padding: 0;
|
transition: all 0.5s ease;
|
||||||
gap: 1rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
@ -303,21 +291,12 @@ const clearInput = () => {
|
|||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section.minimized .title {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
margin-bottom: 0.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-text-secondary);
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section.minimized .description {
|
|
||||||
font-size: 0.9rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-section {
|
.search-section {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
max-width: 600px;
|
max-width: 600px;
|
||||||
@ -484,6 +463,7 @@ const clearInput = () => {
|
|||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
padding-bottom: 2rem;
|
padding-bottom: 2rem;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
padding: 1rem 1.5rem 4.5rem 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
:deep(.error-message) {
|
:deep(.error-message) {
|
||||||
@ -524,28 +504,15 @@ const clearInput = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
.stock-analysis-view {
|
|
||||||
padding: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.initial-content {
|
.initial-content {
|
||||||
padding: 1rem 0.5rem;
|
padding-top: 12vh;
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.initial-content.minimized {
|
|
||||||
padding: 0;
|
|
||||||
gap: 0.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section.minimized .title {
|
|
||||||
font-size: 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-container {
|
.search-container {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
@ -561,13 +528,13 @@ const clearInput = () => {
|
|||||||
|
|
||||||
.analysis-content {
|
.analysis-content {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
padding-bottom: 1.5rem;
|
padding: 1rem 1rem 4.5rem 1rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
.initial-content {
|
.initial-content {
|
||||||
padding: 0.75rem 0.5rem;
|
padding-top: 10vh;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -593,7 +560,7 @@ const clearInput = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.analysis-content {
|
.analysis-content {
|
||||||
padding-bottom: 1rem;
|
padding: 0.75rem 0.75rem 4.5rem 0.75rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -304,30 +304,18 @@ const clearInput = () => {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section {
|
|
||||||
text-align: center;
|
|
||||||
transition: all 0.5s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-section.minimized {
|
|
||||||
padding: 0.5rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.initial-content {
|
.initial-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
min-height: 100%;
|
padding-top: 15vh;
|
||||||
padding: 2rem 1rem;
|
|
||||||
gap: 2rem;
|
gap: 2rem;
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.initial-content.minimized {
|
.header-section {
|
||||||
min-height: auto;
|
text-align: center;
|
||||||
padding: 0;
|
transition: all 0.5s ease;
|
||||||
gap: 1rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
@ -338,19 +326,16 @@ const clearInput = () => {
|
|||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section.minimized .title {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
margin-bottom: 0.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
color: var(--color-text-secondary);
|
color: var(--color-text-secondary);
|
||||||
transition: all 0.5s ease;
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section.minimized .description {
|
.search-section {
|
||||||
font-size: 0.9rem;
|
width: 100%;
|
||||||
|
max-width: 600px;
|
||||||
|
transition: all 0.5s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.main-section {
|
.main-section {
|
||||||
@ -371,11 +356,6 @@ const clearInput = () => {
|
|||||||
padding-top: 1rem;
|
padding-top: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-section {
|
|
||||||
width: 100%;
|
|
||||||
transition: all 0.5s ease;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-container {
|
.search-container {
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 1.5rem;
|
padding: 1.5rem;
|
||||||
@ -653,6 +633,7 @@ const clearInput = () => {
|
|||||||
line-height: 1.8;
|
line-height: 1.8;
|
||||||
font-size: 1.1rem;
|
font-size: 1.1rem;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
padding: 1rem 1.5rem 4.5rem 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.analysis-content :deep(h1),
|
.analysis-content :deep(h1),
|
||||||
@ -785,31 +766,14 @@ const clearInput = () => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.initial-content {
|
.initial-content {
|
||||||
padding: 1rem 0.5rem;
|
padding-top: 12vh;
|
||||||
gap: 1.5rem;
|
gap: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.initial-content.minimized {
|
|
||||||
padding: 0;
|
|
||||||
gap: 0.75rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-section {
|
|
||||||
padding: 0.75rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.header-section.minimized {
|
|
||||||
padding: 0.25rem 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section.minimized .title {
|
|
||||||
font-size: 1.25rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.search-container {
|
.search-container {
|
||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
margin: 0 -0.5rem;
|
margin: 0 -0.5rem;
|
||||||
@ -832,7 +796,7 @@ const clearInput = () => {
|
|||||||
|
|
||||||
.analysis-content {
|
.analysis-content {
|
||||||
font-size: 1rem;
|
font-size: 1rem;
|
||||||
padding-right: 0.25rem;
|
padding: 1rem 1rem 4.5rem 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.crypto-card {
|
.crypto-card {
|
||||||
@ -879,30 +843,18 @@ const clearInput = () => {
|
|||||||
|
|
||||||
@media (max-width: 480px) {
|
@media (max-width: 480px) {
|
||||||
.initial-content {
|
.initial-content {
|
||||||
padding: 0.75rem 0.5rem;
|
padding-top: 10vh;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.initial-content.minimized {
|
|
||||||
gap: 0.5rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
font-size: 1.5rem;
|
font-size: 1.5rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section.minimized .title {
|
|
||||||
font-size: 1.1rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.description {
|
.description {
|
||||||
font-size: 0.9rem;
|
font-size: 0.9rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.header-section.minimized .description {
|
|
||||||
font-size: 0.8rem;
|
|
||||||
}
|
|
||||||
|
|
||||||
.crypto-option {
|
.crypto-option {
|
||||||
padding: 0.5rem 0.75rem;
|
padding: 0.5rem 0.75rem;
|
||||||
}
|
}
|
||||||
@ -924,6 +876,10 @@ const clearInput = () => {
|
|||||||
font-size: 0.95rem;
|
font-size: 0.95rem;
|
||||||
padding: 0.6rem;
|
padding: 0.6rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.analysis-content {
|
||||||
|
padding: 0.75rem 0.75rem 4.5rem 0.75rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-container.is-analyzing {
|
.search-container.is-analyzing {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user