From 7319260f31c9a593418ff17b1ca42e0822c3c4eb Mon Sep 17 00:00:00 2001
From: inleft <inleft@qq.com>
Date: Wed, 10 Jan 2024 22:07:04 +0800
Subject: [PATCH] 改正授权码md5加密 bgm链接修改 允许后置日期提交 简介提交支持

---
 src/components/mini/box10-add.vue  |    6 +++---
 src/components/mini/Aplayer.vue    |    2 +-
 src/components/mini/box2-class.vue |   10 ++++++++--
 src/components/group/MyModal.vue   |   11 ++++++++---
 src/components/mini/box1-info.vue  |    5 +++++
 src/components/group/tool.vue      |    2 +-
 6 files changed, 26 insertions(+), 10 deletions(-)

diff --git a/src/components/group/MyModal.vue b/src/components/group/MyModal.vue
index bd193de..00bbada 100644
--- a/src/components/group/MyModal.vue
+++ b/src/components/group/MyModal.vue
@@ -63,7 +63,7 @@
 				let tempData = this.$refs.modalBox.form;
 				var param = {
 					introduce: tempData.introduce,
-					secret: tempData.secret,
+					secret: tempData.secret == "" ? null : md5(tempData.secret),
 					title: tempData.title,
 					articleTypeId: tempData.class,
 					isOnline: !tempData.online ? 1 : 0,
@@ -84,8 +84,13 @@
 				console.log(param)
 				this.loading = true;
 				blogAdd(param).then((res) => {
-					this.$message.info("生成日志成功..")
-					this.visible = false;
+					
+					if (res.code == 200) {
+						this.$message.info("生成日志成功..")
+						this.visible = false;
+					} else{
+						this.$message.error('生成日志失败:' + res.message)
+					}
 					this.loading = false;
 				});
 				// setTimeout(() => {
diff --git a/src/components/group/tool.vue b/src/components/group/tool.vue
index 83952df..5cf32b8 100644
--- a/src/components/group/tool.vue
+++ b/src/components/group/tool.vue
@@ -39,7 +39,7 @@
 					<a-icon type="smile" />
 				</a-button>
 				<a-button @click="showMessage">
-					<a-badge status="success">
+					<a-badge ><!-- status="success" -->
 						<span>消息</span>
 					</a-badge>
 					<a-icon type="message" />
diff --git a/src/components/mini/Aplayer.vue b/src/components/mini/Aplayer.vue
index 0f6688c..86bb171 100644
--- a/src/components/mini/Aplayer.vue
+++ b/src/components/mini/Aplayer.vue
@@ -68,7 +68,7 @@
 				audio: {
 					name: 'Moonwisher',
 					artist: 'Kan R. Gao',
-					url: 'http://music.163.com/song/media/outer/url?id=1645104.mp3',
+					url: 'http://t.inleft.com/share/mp3/moonwisher.mp3',
 					// url: '/moon.mp3',
 					cover: 'http://p2.music.126.net/0AYWra9rCzgeprGp6OUyUw==/868614185993997.jpg?param=130y130',
 				},
diff --git a/src/components/mini/box1-info.vue b/src/components/mini/box1-info.vue
index a37ce07..dddd1cb 100644
--- a/src/components/mini/box1-info.vue
+++ b/src/components/mini/box1-info.vue
@@ -75,3 +75,8 @@
 		}
 	}
 </style>
+<style lang="less" scoped>
+	a:hover::after {
+		left: -50%;
+	}
+</style>
diff --git a/src/components/mini/box10-add.vue b/src/components/mini/box10-add.vue
index cdab9cb..35f69e7 100644
--- a/src/components/mini/box10-add.vue
+++ b/src/components/mini/box10-add.vue
@@ -126,8 +126,8 @@
 
 				<a-form-model-item label="定时">
 					<a-date-picker v-model="momentDate" show-time type="datetime" placeholder="发布时间"
-						style="width: 100%;" :disabledDate="disabledDate" @change="formatDate"
-						:getCalendarContainer="getCalendarContainer()" />
+						style="width: 100%;"  @change="formatDate"
+						:getCalendarContainer="getCalendarContainer()" /><!-- :disabledDate="disabledDate" -->
 				</a-form-model-item>
 				
 				<a-form-model-item label="标签">
@@ -305,7 +305,7 @@
 						},
 					],
 					introduce: [{
-						max: 5,
+						max: 700,
 						message: '字数限制700',
 						trigger: 'blur'
 					}, ],
diff --git a/src/components/mini/box2-class.vue b/src/components/mini/box2-class.vue
index 932e3d0..a29e85c 100644
--- a/src/components/mini/box2-class.vue
+++ b/src/components/mini/box2-class.vue
@@ -1,9 +1,10 @@
 <template>
 	<div class="blog-container  ">
 		<span class="blog-pigeonhole">
-			<router-link :to="{path:'/articleList'}">
+			<!-- <router-link :to="{path:'/articleList'}">
 				分类
-			</router-link>
+			</router-link> -->
+			分类
 		</span>
 		<div class="blog-scroll ">
 			<div class="blog-log-list">
@@ -101,3 +102,8 @@
 		}
 	}
 </style>
+<style lang="less" scoped>
+	a:hover::after {
+		left: -50%;
+	}
+</style>
\ No newline at end of file

--
Gitblit v1.9.1