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