diff --git a/src/assets copy/scss/common/_themes.scss b/src/assets copy/scss/common/_themes.scss
index 103a4f5aed73bf27adb0689e0c57a74a44d6d8e6..eb77a84d7372e011a361c494e4ef2f24e6213939 100644
--- a/src/assets copy/scss/common/_themes.scss
+++ b/src/assets copy/scss/common/_themes.scss
@@ -2,7 +2,7 @@ $themes: (
light: (
background_color: #f2f2f2,
//背景色
- background_color2: rgb(16, 102, 136),
+ background_color2: #fff,
text-color: #000,
// 主文本色
),
@@ -13,5 +13,5 @@ $themes: (
//背景
text-color: #fff,
// 主文本色
- )
+ ),
);
diff --git a/src/components/ArticleClassify.vue b/src/components/ArticleClassify.vue
index 40d268e2d3ddd667c8b7990fd333fa0a832ef312..61bfb76f472af3029fcb13c07796000c326235de 100644
--- a/src/components/ArticleClassify.vue
+++ b/src/components/ArticleClassify.vue
@@ -1,4 +1,5 @@
+
文章标签
@@ -15,7 +16,7 @@ import { useStore } from 'vuex'
export default {
setup() {
let store = useStore()
- store.dispatch('get_Classify')
+ store.dispatch('getClassify')
//获取当前分类下文章数量
const count = (value) => {
return store.state.articleList.filter((item) => {
@@ -32,7 +33,7 @@ export default {
diff --git a/src/components/ReadMod.vue b/src/components/ReadMod.vue
index fc8e0cfbad52db9d0d705674cad3bfa4009bcf4b..3c1cef3c7ac7037c0b1e10723097ca689c1ae72f 100644
--- a/src/components/ReadMod.vue
+++ b/src/components/ReadMod.vue
@@ -27,11 +27,14 @@ export default {
+
+
diff --git a/src/views/Article.vue b/src/views/Article.vue
index ef1b5d7dae07742c1a9c3aee81400103295fd6b7..5b21638344c804b2433b8152a6b3c3e2503be82f 100644
--- a/src/views/Article.vue
+++ b/src/views/Article.vue
@@ -19,6 +19,7 @@
@@ -28,8 +29,9 @@ import { useStore } from 'vuex'
import { computed } from 'vue'
import ArticleList from '../components/ArticleList.vue'
import ReadMod from '../components/ReadMod.vue'
+import ArticleTag from '../components/ArticleTag.vue'
export default {
- components: { ArticleList, ReadMod },
+ components: { ArticleList, ReadMod, ArticleTag },
setup() {
let store = useStore()
store.dispatch('getClassify')
@@ -40,25 +42,29 @@ export default {
const articleClassify = computed(() => {
return store.state.classifyList
})
- console.log('111', articleClassify)
return { articleList, articleClassify }
},
}
diff --git a/src/views/SearchPage.vue b/src/views/SearchPage.vue
index e810f2d0218a1d8f4c73d159e26967400ec0ae57..9d80e7a6065431572fe02d9d996c68553a482993 100644
--- a/src/views/SearchPage.vue
+++ b/src/views/SearchPage.vue
@@ -50,6 +50,7 @@ export default defineComponent({
})