部分页面优化
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
<li class="newLabel setLabel_text">
|
||||
<input v-show="optionsItem.addOpenType" type="text" class="inputName" v-model="itemName" @keydown.enter="putName(-1,'affirm',optionsItem)">
|
||||
<i @click.stop="putName(-1,'affirm',optionsItem)" v-show="optionsItem.addOpenType" class="fi fi-br-check"></i>
|
||||
<div class="addLabel" v-show="!optionsItem.addOpenType" @click="newLabel(optionsItem,optionsItem.id)">+</div>
|
||||
<div class="addLabel" v-show="!optionsItem.addOpenType" @click="newLabel(optionsItem,optionsItem.id)"><i class="fi fi-rr-plus-small"></i></div>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
@@ -39,7 +39,7 @@
|
||||
<div @click.stop="">
|
||||
<input v-show="openType" type="text" class="inputName" v-model="itemName" @keydown.enter="putName(-1,'affirm','')">
|
||||
<i @click.stop="putName(-1,'affirm','')" v-show="openType" class="fi fi-br-check"></i>
|
||||
<div class="addLabel" v-show="!openType" @click.stop="newLabel('','')">+</div>
|
||||
<div class="addLabel" v-show="!openType" @click.stop="newLabel('','')"><i class="fi fi-rr-plus-small"></i></div>
|
||||
</div>
|
||||
<div class="started_btn" :class="{active:labelBor}" @click="removeLabel(options)">{{ $t('LibraryPage.Delete') }}</div>
|
||||
|
||||
@@ -296,6 +296,7 @@ export default defineComponent({
|
||||
onOk() {
|
||||
data.deleteConfirm = 1
|
||||
_this.deleteClass(data)
|
||||
_this.labelBor = false
|
||||
},
|
||||
onCancel(){
|
||||
|
||||
@@ -557,12 +558,14 @@ export default defineComponent({
|
||||
.addLabel{
|
||||
border-radius: 50%;
|
||||
border: 1px solid #000;
|
||||
display: inline-block;
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
line-height: 2rem;
|
||||
text-align: center;
|
||||
cursor: pointer;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
i{
|
||||
cursor: pointer;
|
||||
|
||||
Reference in New Issue
Block a user