|
@@ -23,6 +23,7 @@ import { useRoute, useRouter } from 'vue-router'
|
|
import { getImage } from './images'
|
|
import { getImage } from './images'
|
|
import styles from './index.module.less'
|
|
import styles from './index.module.less'
|
|
import OSticky from '@/components/o-sticky'
|
|
import OSticky from '@/components/o-sticky'
|
|
|
|
+import OSearch from '@/components/o-search'
|
|
|
|
|
|
export default defineComponent({
|
|
export default defineComponent({
|
|
name: 'accompany-music-list',
|
|
name: 'accompany-music-list',
|
|
@@ -170,7 +171,7 @@ export default defineComponent({
|
|
}}
|
|
}}
|
|
>
|
|
>
|
|
<div>
|
|
<div>
|
|
- <DropdownMenu>
|
|
|
|
|
|
+ <DropdownMenu activeColor='var(--van-primary)'>
|
|
<DropdownItem
|
|
<DropdownItem
|
|
v-model:modelValue={data.value1}
|
|
v-model:modelValue={data.value1}
|
|
options={option1.value}
|
|
options={option1.value}
|
|
@@ -183,36 +184,11 @@ export default defineComponent({
|
|
></DropdownItem>
|
|
></DropdownItem>
|
|
</DropdownMenu>
|
|
</DropdownMenu>
|
|
<div class={styles.filter}>
|
|
<div class={styles.filter}>
|
|
- <Search
|
|
|
|
- placeholder="请输入搜索关键词"
|
|
|
|
- background="#F8F8F8"
|
|
|
|
- shape="round"
|
|
|
|
- showAction={true}
|
|
|
|
- v-model:modelValue={data.keyword}
|
|
|
|
- >
|
|
|
|
- {{
|
|
|
|
- // label: () => (
|
|
|
|
- // <Popover
|
|
|
|
- // v-model:show={data.PopoverOpen}
|
|
|
|
- // actions={actions}
|
|
|
|
- // placement="bottom-start"
|
|
|
|
- // >
|
|
|
|
- // {{
|
|
|
|
- // reference: () => (
|
|
|
|
- // <div>
|
|
|
|
- // 长笛 <Icon name="arrow" />
|
|
|
|
- // </div>
|
|
|
|
- // )
|
|
|
|
- // }}
|
|
|
|
- // </Popover>
|
|
|
|
- // ),
|
|
|
|
- action: () => (
|
|
|
|
- <div class={styles.searchBtn} onClick={() => onSearch()}>
|
|
|
|
- 搜索
|
|
|
|
- </div>
|
|
|
|
- )
|
|
|
|
- }}
|
|
|
|
- </Search>
|
|
|
|
|
|
+ <OSearch style={{width: '100%'}} background='transparent' onSearch={(keyword: string) => {
|
|
|
|
+ data.keyword = keyword
|
|
|
|
+ onSearch()
|
|
|
|
+ }} />
|
|
|
|
+
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</OSticky>
|
|
</OSticky>
|