From 8f75eaa7364edcad25964d07120d970089727303 Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期四, 18 五月 2023 21:57:48 +0800
Subject: [PATCH] 更改样式和压缩图片

---
 static/gq.png        |    0 
 static/write_bg.jpg  |    0 
 pages/index/home.vue |   27 ++++++++++++++++++++++++---
 static/home_bg.jpg   |    0 
 4 files changed, 24 insertions(+), 3 deletions(-)

diff --git a/pages/index/home.vue b/pages/index/home.vue
index dd1d5e9..4047378 100755
--- a/pages/index/home.vue
+++ b/pages/index/home.vue
@@ -1,9 +1,10 @@
 <template>
 	<view class="home-bg">
-		<view class="margin-top-xl">
+		<view class="margin-top-xl home-head">
+			<div class="gq"></div>
 			<view v-if="config.site_title" class="flex align-center justify-center flex-direction padding">
 				<image v-if="config.site_title" :src="main_model.icon ? `${setting_data.base_url+main_model.icon}` : ''" mode="aspectFill"
-					style="background-color: #f4f5f6;width: 160rpx;height: 160rpx;" class="round"></image>
+					style="background-color: #f4f5f6;width: 200rpx;height: 200rpx;" class="round"></image>
 				<view class="text-bold text-xxl padding-tb"> {{ main_model.title ? main_model.title : '涓撲笟鐗�' }} </view>
 				<!-- <view style="width: calc(100vw - 60rpx);" class="padding-bottom" v-if="config.home_notice">
 					<u-notice-bar :text="config.home_notice" mode="closable"></u-notice-bar>
@@ -211,15 +212,35 @@
 	  background-size: 100% auto;
 	  background-position: 0 -32px;
 	  box-sizing: border-box;
-	  padding-top: 144px;
+	  padding-top: 128rpx;
 	}
 	
+	.home-head{
+		position: relative;
+		.gq{
+			position: absolute;
+			width: 328rpx;
+			height: 328rpx;
+			background: url('@/static/gq.png');
+			background-size: 100% 100%;
+			left: -164rpx;
+			top: -40rpx;
+			margin-left: 50%;
+			z-index: 9;
+		}
+		.text-bold{
+			color: #fff;
+			margin-top: 12rpx;
+			margin-bottom: 72rpx;
+		}
+	}
 	.margin-top-xl{
 		margin: 0;
 	}
 	.chat-button{
 		background: #302cd9 !important;
 		color: #fff;
+		box-shadow: 0 2px 6px rgba(48,44,217,.5);
 	}
 	
 	.tool {
diff --git a/static/gq.png b/static/gq.png
new file mode 100644
index 0000000..9eebfda
--- /dev/null
+++ b/static/gq.png
Binary files differ
diff --git a/static/home_bg.jpg b/static/home_bg.jpg
index 89e2b5c..51f5345 100644
--- a/static/home_bg.jpg
+++ b/static/home_bg.jpg
Binary files differ
diff --git a/static/write_bg.jpg b/static/write_bg.jpg
index d2ba02e..e85a324 100644
--- a/static/write_bg.jpg
+++ b/static/write_bg.jpg
Binary files differ

--
Gitblit v1.9.1