zhaoxing
2023-05-18 fb58f708f07484b490a13f45cbc0d88c2189af6a
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;