Update PTDoc.vue
parent
b8699a3efe
commit
751e627b63
|
@ -6,7 +6,10 @@
|
||||||
:suggestions="items"
|
:suggestions="items"
|
||||||
@complete="search"
|
@complete="search"
|
||||||
:pt="{
|
:pt="{
|
||||||
input: { class: 'w-16rem' }
|
input: { class: 'w-16rem' },
|
||||||
|
item: ({ props, state, context }) => ({
|
||||||
|
class: context.selected ? 'bg-blue-300' : context.focused ? 'bg-blue-100' : undefined
|
||||||
|
})
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -26,7 +29,10 @@ export default {
|
||||||
:suggestions="items"
|
:suggestions="items"
|
||||||
@complete="search"
|
@complete="search"
|
||||||
:pt="{
|
:pt="{
|
||||||
input: { class: 'w-16rem' }
|
input: { class: 'w-16rem' },
|
||||||
|
item: ({ props, state, context }) => ({
|
||||||
|
class: context.selected ? 'bg-blue-300' : context.focused ? 'bg-blue-100' : undefined
|
||||||
|
})
|
||||||
}"
|
}"
|
||||||
/>`,
|
/>`,
|
||||||
options: `
|
options: `
|
||||||
|
@ -37,7 +43,10 @@ export default {
|
||||||
:suggestions="items"
|
:suggestions="items"
|
||||||
@complete="search"
|
@complete="search"
|
||||||
:pt="{
|
:pt="{
|
||||||
input: { class: 'w-16rem' }
|
input: { class: 'w-16rem' },
|
||||||
|
item: ({ props, state, context }) => ({
|
||||||
|
class: context.selected ? 'bg-blue-300' : context.focused ? 'bg-blue-100' : undefined
|
||||||
|
})
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -66,7 +75,10 @@ export default {
|
||||||
:suggestions="items"
|
:suggestions="items"
|
||||||
@complete="search"
|
@complete="search"
|
||||||
:pt="{
|
:pt="{
|
||||||
input: { class: 'w-16rem' }
|
input: { class: 'w-16rem' },
|
||||||
|
item: ({ props, state, context }) => ({
|
||||||
|
class: context.selected ? 'bg-blue-300' : context.focused ? 'bg-blue-100' : undefined
|
||||||
|
})
|
||||||
}"
|
}"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue