2023-11-16-1
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
</li>
|
||||
<li class="newLabel setLabel_text optionsItem_title">
|
||||
<div>
|
||||
<input v-show="openType" type="text" v-model="itemName">
|
||||
<input v-show="openType" type="text" autofocus v-model="itemName">
|
||||
<i @click.stop="putName(-1,'affirm','')" v-show="openType" class="fi fi-br-check"></i>
|
||||
<div class="addLabel" v-show="!openType" @click="newLabel('','')">+</div>
|
||||
</div>
|
||||
@@ -160,8 +160,8 @@ export default defineComponent({
|
||||
this.options.forEach((optionsItem:any) => {
|
||||
optionsItem.openType = false
|
||||
optionsItem.addOpenType = false
|
||||
if(optionsItem?.children){
|
||||
optionsItem?.children?.forEach((childrenItem:any) => {
|
||||
if(optionsItem?.childList){
|
||||
optionsItem?.childList?.forEach((childrenItem:any) => {
|
||||
childrenItem.openType = false
|
||||
});
|
||||
}
|
||||
@@ -172,6 +172,7 @@ export default defineComponent({
|
||||
let data:any
|
||||
if(v == 'put'){
|
||||
this.clearOpenType()
|
||||
|
||||
item.openType = true
|
||||
this.itemName = item.classificationName
|
||||
// this.options[index].openType = true
|
||||
@@ -298,6 +299,7 @@ export default defineComponent({
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
// height: 300px;
|
||||
min-height: 50rem;
|
||||
max-height: 65rem;
|
||||
overflow-y: auto;
|
||||
// border-radius: ;
|
||||
@@ -323,6 +325,7 @@ export default defineComponent({
|
||||
border: 0;
|
||||
width: 80%;
|
||||
background: rgba(0,0,0,0);
|
||||
border-bottom: 1px solid #b5b5b5;
|
||||
}
|
||||
|
||||
}
|
||||
@@ -353,6 +356,7 @@ export default defineComponent({
|
||||
.optionsItem{
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
flex: 1;
|
||||
.optionsItem_title{
|
||||
margin-bottom: 2rem;
|
||||
border-radius: 1rem;
|
||||
@@ -434,6 +438,8 @@ export default defineComponent({
|
||||
position: sticky;
|
||||
background: #fff;
|
||||
border: none;
|
||||
// margin-top: auto;
|
||||
bottom: 0;
|
||||
>div{
|
||||
}
|
||||
.started_btn{
|
||||
|
||||
Reference in New Issue
Block a user