Skip to content

Commit

Permalink
feat: 修改默认嵌入图标
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohuzhang1 committed Sep 20, 2024
1 parent 0327546 commit 1ac4a62
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/application/serializers/application_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def get_embed(self, with_valid=True, params={}):
access_token=self.data.get('token')).first()
is_draggable = 'false'
show_guide = 'true'
float_icon = f"{self.data.get('protocol')}://{self.data.get('host')}/ui/favicon.ico"
float_icon = f"{self.data.get('protocol')}://{self.data.get('host')}/ui/MaxKB.gif"
X_PACK_LICENSE_IS_VALID = (settings.XPACK_LICENSE_IS_VALID if hasattr(settings,
'XPACK_LICENSE_IS_VALID') else False)
# 获取接入的query参数
Expand Down
4 changes: 2 additions & 2 deletions apps/application/template/embed.js
Original file line number Diff line number Diff line change
Expand Up @@ -159,8 +159,8 @@ function initMaxkbStyle(root){
left: 0;
}
#maxkb .maxkb-mask .maxkb-content {
width: 50px;
height: 50px;
width: 64px;
height: 64px;
box-shadow: 1px 1px 1px 2000px rgba(0,0,0,.6);
position: absolute;
right: 0;
Expand Down
Binary file added ui/public/MaxKB.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1ac4a62

Please sign in to comment.