mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: 修复样式bug
This commit is contained in:
parent
ebe5e16593
commit
d70aca6b8a
|
|
@ -149,19 +149,18 @@ function initMaxkbStyle(root){
|
|||
left: 0;
|
||||
}
|
||||
#maxkb .maxkb-mask .maxkb-content {
|
||||
width: 45px;
|
||||
height: 48px;
|
||||
width: 50px;
|
||||
height: 50px;
|
||||
box-shadow: 1px 1px 1px 2000px rgba(0,0,0,.6);
|
||||
border-radius: 50% 0 0 50%;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 38px;
|
||||
bottom: 30px;
|
||||
z-index: 1000;
|
||||
}
|
||||
#maxkb .maxkb-tips {
|
||||
position: fixed;
|
||||
bottom: 30px;
|
||||
right: 60px;
|
||||
right: 66px;
|
||||
padding: 22px 24px 24px;
|
||||
border-radius: 6px;
|
||||
color: #ffffff;
|
||||
|
|
@ -229,8 +228,8 @@ function initMaxkbStyle(root){
|
|||
bottom: 30px;
|
||||
right: 0;
|
||||
cursor: pointer;
|
||||
height:50px;
|
||||
width:50px;
|
||||
height:30px;
|
||||
width:30px;
|
||||
}
|
||||
#maxkb #maxkb-chat-container{
|
||||
z-index:10000;position: relative;
|
||||
|
|
|
|||
|
|
@ -37,19 +37,19 @@
|
|||
<div class="flex">
|
||||
<span class="label">备注</span><span>{{ licenseInfo?.remark || '-' }}</span>
|
||||
</div>
|
||||
<div class="mt-16 flex align-center" v-if="user.showXpack()">
|
||||
<div class="mt-16 mr-16 flex align-center" v-if="user.showXpack()">
|
||||
<el-upload
|
||||
ref="uploadRef"
|
||||
action="#"
|
||||
:auto-upload="false"
|
||||
:show-file-list="false"
|
||||
:on-change="onChange"
|
||||
v-hasPermission="new ComplexPermission(['ADMIN'], ['x-pack'], 'AND')"
|
||||
v-hasPermission="new Role('ADMIN')"
|
||||
>
|
||||
<el-button class="border-primary">更新 License</el-button>
|
||||
</el-upload>
|
||||
|
||||
<el-button class="border-primary ml-16" @click="toSupport">获取技术支持</el-button>
|
||||
<el-button class="border-primary" @click="toSupport">获取技术支持</el-button>
|
||||
</div>
|
||||
</div>
|
||||
</el-dialog>
|
||||
|
|
@ -58,7 +58,7 @@
|
|||
import { ref, computed, watch } from 'vue'
|
||||
import licenseApi from '@/api/license'
|
||||
import { fromNowDate } from '@/utils/time'
|
||||
import { ComplexPermission } from '@/utils/permission/type'
|
||||
import { Role } from '@/utils/permission/type'
|
||||
import useStore from '@/stores'
|
||||
const { user } = useStore()
|
||||
const isDefaultTheme = computed(() => {
|
||||
|
|
|
|||
|
|
@ -23,9 +23,15 @@
|
|||
</el-form-item>
|
||||
<el-form-item label="对话头像" v-if="user.isEnterprise()">
|
||||
<div class="flex mt-8">
|
||||
<div class="border border-r-4 mr-16" style="width: 50px; height: 50px; padding: 8px">
|
||||
<img v-if="imgUrl.avatar" :src="imgUrl.avatar" alt="" height="50px" />
|
||||
<LogoIcon v-else height="50px" />
|
||||
<div class="border border-r-4 mr-16" style="padding: 8px">
|
||||
<el-image
|
||||
v-if="imgUrl.avatar"
|
||||
:src="imgUrl.avatar"
|
||||
alt=""
|
||||
fit="cover"
|
||||
style="width: 50px; height: 50px; display: block"
|
||||
/>
|
||||
<LogoIcon v-else height="50px" style="width: 50px; height: 50px; display: block" />
|
||||
</div>
|
||||
|
||||
<el-upload
|
||||
|
|
@ -57,7 +63,12 @@
|
|||
fit="cover"
|
||||
style="width: 50px; height: 50px; display: block"
|
||||
/>
|
||||
<img v-else src="@/assets/logo/logo.svg" height="50px" />
|
||||
<img
|
||||
v-else
|
||||
src="@/assets/logo/logo.svg"
|
||||
height="50px"
|
||||
style="width: 50px; height: 50px; display: block"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<el-upload
|
||||
|
|
|
|||
|
|
@ -45,7 +45,7 @@
|
|||
<el-scrollbar>
|
||||
<div class="p-24 pt-0">
|
||||
<el-row v-if="model_split_list.length > 0" :gutter="15">
|
||||
<template v-for="(row, index) in model_split_list" :key="index">
|
||||
<template v-for="row in model_split_list" :key="row.id">
|
||||
<el-col
|
||||
:xs="24"
|
||||
:sm="24"
|
||||
|
|
|
|||
Loading…
Reference in New Issue