perf: chatai icon

This commit is contained in:
ibuler
2023-12-12 11:12:25 +08:00
committed by 老广
parent 19e42c48e4
commit 463d2b16bf
3 changed files with 6 additions and 5 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 103 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB

View File

@@ -1,7 +1,7 @@
<template>
<div ref="drawer" :class="{show: show}" class="drawer">
<div class="modal" :style="{'background-color': modal ? 'rgba(0, 0, 0, .3)' : 'transparent'}" />
<div class="drawer-panel" :style="{'width': width}">
<div :style="{'background-color': modal ? 'rgba(0, 0, 0, .3)' : 'transparent'}" class="modal" />
<div :style="{'width': width}" class="drawer-panel">
<div ref="dragBox" class="handle-button">
<i v-if="icon.startsWith('fa') || icon.startsWith('el')" :class="show ? 'el-icon-close': icon" />
<img v-else :src="icon" alt="">
@@ -198,9 +198,10 @@ export default {
line-height: 45px;
}
img {
width: 22px;
height: 22px;
width: 24px;
height: 24px;
transform: translateY(10%);
margin-left: 3px;
}
}
</style>

View File

@@ -8,7 +8,7 @@
:title="$tc('assets.PlatformProtocolConfig') + '' + protocol.name"
class="setting-dialog"
v-bind="$attrs"
width="70%"
width="800px"
v-on="$listeners"
>
<el-alert v-if="disabled && platformDetail" style="margin-bottom: 10px" type="success">