no message
Former-commit-id: 81cdc84aa8fa9bcf60106a1ee86bd60a936fb50f [formerly 81cdc84aa8fa9bcf60106a1ee86bd60a936fb50f [formerly 81cdc84aa8fa9bcf60106a1ee86bd60a936fb50f [formerly 81cdc84aa8fa9bcf60106a1ee86bd60a936fb50f [formerly 3ad4291890a7f3f824948af3eb87d4e7d2084aa6 [formerly 964fc2bde6461191a9847c94d7fd0724a816d47c]]]]] Former-commit-id: 40ba23e8a3e92e0bcf88d49596eeb082492f776c Former-commit-id: 7b4c85a51f7ae66f503e89a478a0ef4d1a02aeff Former-commit-id: 19de61b8d3839fcbe1a14ca05b1e2d67b5d45462 [formerly 43adb3ef43d6213069978ce3fcd8732d4bcd0af9] Former-commit-id: d377be5266686be8f154276ef8cfdcb770113de8 Former-commit-id: 1e74192498bea5ff3d88001c5e0b4c1c9917b3af Former-commit-id: c7a56899ffdff1abe313f8646d137ae9feff5f49 Former-commit-id: bca43962597e3fc297befb2b61dbfa8f3d94ed0f Former-commit-id: f778cd63618249c1d3ba5235706f5d5a6ab2783f
This commit is contained in:
@@ -1 +1 @@
|
|||||||
875522462ce00aa53ebb933ad8a70561bf30dfc5
|
134f6af0a62409abc3a59f2e23a1a00817f44b4c
|
||||||
@@ -1,6 +1,12 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="panel-search" flex="dir:top">
|
<div
|
||||||
<div class="panel-search__input-group" flex-box="0" flex="dir:top main:center cross:center">
|
class="panel-search"
|
||||||
|
flex="dir:top">
|
||||||
|
<div
|
||||||
|
class="panel-search__input-group"
|
||||||
|
flex-box="0"
|
||||||
|
flex="dir:top main:center cross:center"
|
||||||
|
@click.self="handlePanelClick">
|
||||||
<d2-icon-svg
|
<d2-icon-svg
|
||||||
class="panel-search__logo"
|
class="panel-search__logo"
|
||||||
name="d2-admin-text"/>
|
name="d2-admin-text"/>
|
||||||
@@ -15,7 +21,9 @@
|
|||||||
:clearable="true"
|
:clearable="true"
|
||||||
@keydown.esc.native="handleEsc"
|
@keydown.esc.native="handleEsc"
|
||||||
@select="handleSelect">
|
@select="handleSelect">
|
||||||
<d2-panel-search-item slot-scope="{ item }" :item="item"/>
|
<d2-panel-search-item
|
||||||
|
slot-scope="{ item }"
|
||||||
|
:item="item"/>
|
||||||
</el-autocomplete>
|
</el-autocomplete>
|
||||||
<div class="panel-search__tip">
|
<div class="panel-search__tip">
|
||||||
您可以使用快捷键
|
您可以使用快捷键
|
||||||
@@ -155,6 +163,12 @@ export default {
|
|||||||
this.$refs.input.activated = false
|
this.$refs.input.activated = false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
/**
|
||||||
|
* @augments 接收用户点击空白区域的关闭
|
||||||
|
*/
|
||||||
|
handlePanelClick () {
|
||||||
|
this.handleEsc()
|
||||||
|
},
|
||||||
/**
|
/**
|
||||||
* @augments 接收用户触发的关闭
|
* @augments 接收用户触发的关闭
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
<div
|
<div
|
||||||
class="d2-theme-header"
|
class="d2-theme-header"
|
||||||
:style="{
|
:style="{
|
||||||
opacity: this.searchActive ? 0.3 : 1
|
opacity: this.searchActive ? 0.5 : 1
|
||||||
}"
|
}"
|
||||||
flex-box="0">
|
flex-box="0">
|
||||||
<div class="logo-group" :style="{width: asideCollapse ? asideWidthCollapse : asideWidth}">
|
<div class="logo-group" :style="{width: asideCollapse ? asideWidthCollapse : asideWidth}">
|
||||||
@@ -42,7 +42,7 @@
|
|||||||
class="d2-theme-container-aside"
|
class="d2-theme-container-aside"
|
||||||
:style="{
|
:style="{
|
||||||
width: asideCollapse ? asideWidthCollapse : asideWidth,
|
width: asideCollapse ? asideWidthCollapse : asideWidth,
|
||||||
opacity: this.searchActive ? 0.3 : 1
|
opacity: this.searchActive ? 0.5 : 1
|
||||||
}">
|
}">
|
||||||
<d2-menu-side/>
|
<d2-menu-side/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user