完善音频输出设置功能

This commit is contained in:
lyswhut
2020-03-10 12:40:47 +08:00
parent a244c6d5e3
commit 4f238f4f62
6 changed files with 551 additions and 639 deletions
@@ -1,7 +1,7 @@
<template lang="pug">
div(:class="[$style.select, show ? $style.active : '']")
div(:class="$style.label" ref="dom_btn" @click="handleShow") {{label}}
ul(:class="$style.list")
ul.scroll(:class="$style.list")
li(v-for="item in list" :class="(itemKey ? item[itemKey] : item) == value ? $style.active : null" @click="handleClick(item)" :title="itemName ? item[itemName] : item") {{itemName ? item[itemName] : item}}
</template>
@@ -121,8 +121,9 @@ export default {
transition-property: transform, opacity;
z-index: 10;
border-radius: @form-radius;
overflow: hidden;
box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
box-shadow: 0 0 4px rgba(0, 0, 0, .15);
overflow: auto;
max-height: 200px;
li {
cursor: pointer;