From fb58f708f07484b490a13f45cbc0d88c2189af6a Mon Sep 17 00:00:00 2001
From: zhaoxing <zhaoxing@shsening.com>
Date: 星期四, 18 五月 2023 16:22:14 +0800
Subject: [PATCH] 样式更新
---
pages/index/home.vue | 21 ++++++++++++++++-----
1 files changed, 16 insertions(+), 5 deletions(-)
diff --git a/pages/index/home.vue b/pages/index/home.vue
index af58e35..8425105 100755
--- a/pages/index/home.vue
+++ b/pages/index/home.vue
@@ -1,13 +1,13 @@
<template>
- <view>
+ <view class="home-bg">
<view class="margin-top-xl">
- <view v-if="config.site_title" class="flex align-center justify-center flex-direction padding margin-top-lg">
+ <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>
- <view class="text-bold text-xxl text-cyan padding-tb"> {{ main_model.title ? main_model.title : '涓撲笟鐗�' }} </view>
- <view style="width: calc(100vw - 60rpx);" class="padding-bottom" v-if="config.home_notice">
+ <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>
- </view>
+ </view> -->
</view>
</view>
<view class="flex justify-center align-center flex-direction">
@@ -202,6 +202,17 @@
<style lang="scss">
@import url("@/static/style/color-ui.css");
+ .home-bg {
+ background: url('@/static/home_bg.jpg') #ecf4fd no-repeat;
+ background-size: 100% auto;
+ background-position: 0 -32px;
+ box-sizing: border-box;
+ padding-top: 144px;
+ }
+
+ .margin-top-xl{
+ margin: 0;
+ }
.chat-button{
background: #302cd9 !important;
color: #fff;
--
Gitblit v1.9.1