From 5a999ad0ca2a36158b8d36a6a11d6a8995044578 Mon Sep 17 00:00:00 2001
From: PC-20250623MANY\Administrator <344137771@qq.com>
Date: Fri, 02 Jan 2026 20:53:42 +0800
Subject: [PATCH] 1
---
src/App.vue | 100 ++++++++++++++++++++++++++++++++++---------------
1 files changed, 69 insertions(+), 31 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 22efa15..cc61a39 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>
@@ -41,12 +49,12 @@
components: {
foot,
elalert,
- loginPopup,
+ loginPopup
},
name: "App",
created() {
//this.setUseInfo();
- this.$state.theme = "red";
+ this.$state.theme = "black";
let title = this.$route.meta.title || this.$t("hj224");
this.title = title;
if (this.$route.meta.is_Show) {
@@ -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,8 +117,8 @@
},
dialogClose() {
this.$store.commit("dialogVisible", false);
- },
- },
+ }
+ }
};
</script>
@@ -123,11 +131,23 @@
@red: #ee0a24;
@brown: #ff976a;
@grey: #dddddd;
+@Black1: #13161e;
+/deep/ .van-field__control {
+ color: #fff;
+ font-size: 1.4em;
+}
+/deep/ .no_data {
+ width: 100%;
+ padding-top: 2em;
+ img {
+ width: 50%;
+ }
+}
/deep/ .line-one {
white-space: nowrap;
overflow: hidden;
- text-overflow: ellipsis
+ text-overflow: ellipsis;
}
/deep/ .flex-center {
@@ -160,7 +180,6 @@
align-items: center;
}
-
/deep/ .van-list__finished-text {
line-height: 1.925926rem !important;
}
@@ -168,12 +187,41 @@
/deep/ .van-list__error-text {
line-height: 1.925926rem !important;
}
+/deep/ .van-nav-bar {
+ background-color: @Black1;
+ .van-icon {
+ color: @white;
+ font-size: 0.4rem;
+ }
+}
+/deep/ .van-nav-bar__title {
+ font-family: "DINPro";
+ width: 100%;
+ height: 1.17333rem;
+ display: flex;
+ justify-content: center;
+ align-items: center;
+ font-style: normal;
+ font-weight: 500;
+ font-size: 0.48rem;
+ color: #fff !important;
+}
+/deep/ .more-news {
+ padding: 0.35rem 0;
+ text-align: center;
+ span {
+ font-size: 0.4rem;
+ line-height: 1.2rem;
+ color: #898a8e;
+ }
+}
#app {
width: 100vw;
- height: 100vh;
+ min-height: 100vh;
overflow: hidden;
font-family: "rubik";
+ color: #fff;
.header-box {
width: 100%;
@@ -191,7 +239,7 @@
}
.mint-header-title {
- font-size: 0.36rem;
+ font-size: 0.46rem;
color: rgba(255, 255, 255, 1);
}
}
@@ -206,7 +254,7 @@
height: 100%;
// height: calc(100% - 1rem);
box-sizing: border-box;
- background: #fff;
+ // background: #fff;
overflow-y: auto;
}
@@ -266,38 +314,32 @@
}
/deep/.footCss {
- background: @purple;
+ background: @Black1;
}
/deep/.newDetail-tits {
color: #aaa;
}
-
- /deep/.van-skeleton__row,
- .van-skeleton__title {
- background-color: #fff !important;
- }
}
&.black-theme {
- // background: #16171d;
- // background: rgb(14, 14, 15);
- background: rgb(33, 33, 43);
+ background: #13161e;
+ color: #fff;
/deep/.navs_content {
- background: #272733;
+ background: #13161e;
}
/deep/.fo_content {
- background: #272733;
+ background: #13161e;
}
/deep/.news-tab {
- background: #272733;
+ background: #13161e;
}
/deep/.mint-navbar {
- background: #272733;
+ background: #13161e;
}
/deep/.mint-tab-item-label {
@@ -309,10 +351,8 @@
color: #000;
}
- /deep/.mint-tab-container {}
-
/deep/.mint-tab-item {
- background: #272733;
+ background: #13161e;
}
/deep/.van-swipe-item {
@@ -333,8 +373,6 @@
.mint-search-list {
position: relative !important;
}
-
-.topLeft {}
/deep/.el-alert {
width: 75% !important;
--
Gitblit v1.9.3