zhaoxing
2023-05-18 8f75eaa7364edcad25964d07120d970089727303
更改样式和压缩图片
1个文件已添加
3个文件已修改
27 ■■■■ 已修改文件
pages/index/home.vue 27 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/gq.png 补丁 | 查看 | 原始文档 | blame | 历史
static/home_bg.jpg 补丁 | 查看 | 原始文档 | blame | 历史
static/write_bg.jpg 补丁 | 查看 | 原始文档 | blame | 历史
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 {
static/gq.png
static/home_bg.jpg

static/write_bg.jpg