6e089f294207e13459ad872a2fb6e701721f5506..38f948d5bef331d7dc4555039e16f00f639218a5
2024-06-24 long
标题设置
38f948 对比 | 目录
2024-06-20 long
全局标题图标配置
3fd2da 对比 | 目录
2024-06-20 long
全局标题图标配置
601fbd 对比 | 目录
2个文件已删除
2个文件已添加
5个文件已修改
43 ■■■■ 已修改文件
index.html 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/assets/css/common.css 2 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/config/settingConfig.js 11 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main.js 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/room/detail.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/pages/room/list.vue 12 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
static/imgs/logo_1.png 补丁 | 查看 | 原始文档 | blame | 历史
static/imgs/logo_2.png 补丁 | 查看 | 原始文档 | blame | 历史
static/settingConfig/logo_1.png 补丁 | 查看 | 原始文档 | blame | 历史
index.html
@@ -2,7 +2,7 @@
<html>
  <head>
    <meta charset="utf-8">
    <title>芙艾医疗</title>
    <title>房间屏</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0, viewprot-fit=cover, minimal-ui">
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />
src/assets/css/common.css
@@ -235,6 +235,7 @@
.page_logo_1 .img {
    width: 100%;
    height: 100%;
  object-fit: contain;
}
.page_logo_2 {
    width: 132px;
@@ -245,6 +246,7 @@
.page_logo_2 .img {
    width: 100%;
    height: 100%;
  object-fit: contain;
}
.page_date {
    line-height: 28px;
src/config/settingConfig.js
New file
@@ -0,0 +1,11 @@
// 全局标题图标配置!!!
// 配置图标统一在 目录下修改
// static/settingConfig
module.exports = {
  title: '加颜医疗', // 芙艾医疗
  isLogo: true, // 是否显示logo
  isLongLogo: false // 是否显示长logo
}
src/main.js
@@ -20,6 +20,10 @@
import 'element-ui/lib/theme-chalk/display.css'
import '@/icons' // icon
// 全局标题图标配置!!!
import settingConfig from './config/settingConfig' // 全局标题图标配置
Vue.prototype.settingConfig = settingConfig
Vue.prototype.isTestView = config.isTestView
Vue.config.productionTip = false
src/pages/room/detail.vue
@@ -3,11 +3,15 @@
  <div class="page flex flex-col">
    <div class="page_header flex flex-ver">
      <div class="left flex flex-ver" @click="back">
        <div class="page_logo_1">
          <img class="img" src="static/imgs/logo_1.png">
        <!-- 全局标题图标配置!!! -->
        <div v-if="settingConfig.isLogo" class="page_logo_1">
          <!-- 全局标题图标配置!!! -->
          <img class="img" src="static/settingConfig/logo_1.png">
        </div>
        <div class="page_logo_2">
          <img class="img" src="static/imgs/logo_2.png">
        <!-- 全局标题图标配置!!! -->
        <div v-if="settingConfig.isLongLogo" class="page_logo_2">
          <!-- 全局标题图标配置!!! -->
          <img class="img" src="static/settingConfig/logo_2.png">
        </div>
      </div>
      <div class="right flex-1 flex flex-jcfe flex-ver">
src/pages/room/list.vue
@@ -3,11 +3,15 @@
  <div class="page flex flex-col">
    <div class="page_header flex flex-ver">
      <div class="left flex flex-ver" @click="resetPage">
        <div class="page_logo_1">
          <img class="img" src="static/imgs/logo_1.png">
        <!-- 全局标题图标配置!!! -->
        <div v-if="settingConfig.isLogo" class="page_logo_1">
          <!-- 全局标题图标配置!!! -->
          <img class="img" src="static/settingConfig/logo_1.png">
        </div>
        <div class="page_logo_2">
          <img class="img" src="static/imgs/logo_2.png">
        <!-- 全局标题图标配置!!! -->
        <div v-if="settingConfig.isLongLogo" class="page_logo_2">
          <!-- 全局标题图标配置!!! -->
          <img class="img" src="static/settingConfig/logo_2.png">
        </div>
      </div>
      <div class="flex-1 flex flex-center">
static/imgs/logo_1.png
Binary files differ
static/imgs/logo_2.png
Binary files differ
static/settingConfig/logo_1.png