mirror of
https://github.com/nuintun/command-manager.git
synced 2025-06-29 03:23:09 +08:00
update files
This commit is contained in:
parent
71fdf17409
commit
75c28d020d
@ -372,14 +372,11 @@ header [class*=" icon-"] {
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
top: 39px;
|
top: 39px;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
line-height: 30px;
|
||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
.ui-command-popup li {
|
.ui-command-popup li {
|
||||||
float: none;
|
float: none;
|
||||||
line-height: 30px;
|
|
||||||
}
|
|
||||||
.ui-command-popup li a {
|
|
||||||
padding: 0 10px;
|
|
||||||
}
|
}
|
||||||
.ui-project-tree a,
|
.ui-project-tree a,
|
||||||
.ui-command li a,
|
.ui-command li a,
|
||||||
|
@ -18,8 +18,8 @@
|
|||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li v-if="moreCommand.length" class="ui-command-more">
|
<li v-if="moreCommand.length" class="ui-command-more">
|
||||||
<a href="javascript:;">更多 <i class="icon-expand"></i></a>
|
<a href="javascript:;" @click="commandToggle">更多 <i class="icon-expand"></i></a>
|
||||||
<ul class="ui-command-popup fn-hide">
|
<ul v-show="showMoreCommand" class="ui-command-popup">
|
||||||
<li v-for="moreCmd in moreCommand">
|
<li v-for="moreCmd in moreCommand">
|
||||||
<a href="javascript:;">
|
<a href="javascript:;">
|
||||||
<i class="icon-play"></i>
|
<i class="icon-play"></i>
|
||||||
|
@ -30,7 +30,8 @@ module.exports = Vue.component('app-main', {
|
|||||||
},
|
},
|
||||||
data: function (){
|
data: function (){
|
||||||
return {
|
return {
|
||||||
showSetting: false
|
showSetting: false,
|
||||||
|
showMoreCommand: false
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
@ -58,6 +59,9 @@ module.exports = Vue.component('app-main', {
|
|||||||
setting: function (){
|
setting: function (){
|
||||||
this.showSetting = true;
|
this.showSetting = true;
|
||||||
},
|
},
|
||||||
|
commandToggle: function (){
|
||||||
|
this.showMoreCommand = !this.showMoreCommand;
|
||||||
|
},
|
||||||
remove: function (){
|
remove: function (){
|
||||||
this.projects.splice(this.activeIndex, 1);
|
this.projects.splice(this.activeIndex, 1);
|
||||||
this.activeIndex = 0;
|
this.activeIndex = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user