From 3003b7486ddeffd169f2b2f564fc0ff8c2c58bb3 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Tue, 22 Jul 2025 09:56:04 +0800
Subject: [PATCH] 1
---
src/App.vue | 94 +++++++++++++++++++++++++++++++++++++++--------
1 files changed, 78 insertions(+), 16 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 9ba2471..7afffd0 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,12 +1,20 @@
<template>
- <div id="app" :class="`${$state.theme === 'red' ? 'red-theme' : 'black-theme'}`">
+ <div
+ id="app"
+ :class="`${$state.theme === 'red' ? 'red-theme' : 'black-theme'}`"
+ >
<div :class="`header-box`" v-if="hasHeader && title !== $t('hj248')">
<mt-header :title="title">
<mt-button icon="back" slot="left" @click="$router.go(-1)"></mt-button>
<div v-if="!is_Show">
<template v-if="iconRight == 'search'">
- <img slot="right" class="search-right" src="./assets/ico/fangdajing.png" alt />
+ <img
+ slot="right"
+ class="search-right"
+ src="./assets/ico/fangdajing.png"
+ alt
+ />
</template>
<template v-else>
<mt-button icon="more" slot="right"></mt-button>
@@ -17,7 +25,7 @@
<div class="body-box">
<transition :name="transitionName">
<!-- <keep-alive include="TradingList"> -->
- <router-view></router-view>
+ <router-view></router-view>
<!-- </keep-alive> -->
</transition>
</div>
@@ -41,7 +49,7 @@
components: {
foot,
elalert,
- loginPopup,
+ loginPopup
},
name: "App",
created() {
@@ -89,7 +97,7 @@
console.log("slide-right");
this.transitionName = "slide-right";
}
- },
+ }
},
data() {
return {
@@ -98,7 +106,7 @@
iconRight: "default",
transitionName: "",
is_Show: true,
- is_foot: true,
+ is_foot: true
};
},
methods: {
@@ -109,18 +117,74 @@
},
dialogClose() {
this.$store.commit("dialogVisible", false);
- },
- },
+ }
+ }
};
</script>
<style lang="less" scoped>
+@white: #fff;
+@black: #000;
+@green: #c4d600;
+@purple: #3d1152;
+@dark_green: #07c160;
+@red: #ee0a24;
+@brown: #ff976a;
+@grey: #dddddd;
+
+/deep/ .no_data {
+ width: 100%;
+ padding-top: 2em;
+ img {
+ width: 50%;
+ }
+}
+/deep/ .line-one {
+ white-space: nowrap;
+ overflow: hidden;
+ text-overflow: ellipsis;
+}
+
+/deep/ .flex-center {
+ display: flex;
+ justify-content: center;
+ align-items: center;
+}
+
+/deep/ .flex-between {
+ display: flex;
+ justify-content: space-between;
+ align-items: center;
+}
+
+/deep/ .flex-between-start {
+ display: flex;
+ justify-content: space-between;
+ align-items: start;
+}
+
+/deep/ .flex-start {
+ display: flex;
+ justify-content: flex-start;
+ align-items: center;
+}
+
+/deep/ .flex-end {
+ display: flex;
+ justify-content: flex-end;
+ align-items: center;
+}
+
/deep/ .van-list__finished-text {
line-height: 1.925926rem !important;
}
/deep/ .van-list__error-text {
line-height: 1.925926rem !important;
+}
+/deep/ .van-nav-bar .van-icon {
+ color: @green;
+ font-size: 0.4rem;
}
#app {
@@ -220,7 +284,7 @@
}
/deep/.footCss {
- background: #fff;
+ background: @purple;
}
/deep/.newDetail-tits {
@@ -229,7 +293,7 @@
/deep/.van-skeleton__row,
.van-skeleton__title {
- background-color: #fff !important;
+ // background-color: #fff !important;
}
}
@@ -263,7 +327,8 @@
color: #000;
}
- /deep/.mint-tab-container {}
+ /deep/.mint-tab-container {
+ }
/deep/.mint-tab-item {
background: #272733;
@@ -271,10 +336,6 @@
/deep/.van-swipe-item {
color: #000;
- }
-
- /deep/.footCss {
- background: rgb(33, 33, 43);
}
/deep/.newDetail-tits {
@@ -292,7 +353,8 @@
position: relative !important;
}
-.topLeft {}
+.topLeft {
+}
/deep/.el-alert {
width: 75% !important;
--
Gitblit v1.9.3