优化打开歌单输入框宽度

pull/277/head
lyswhut 2020-06-14 00:22:30 +08:00
parent e9a624c896
commit be482bd683
3 changed files with 7 additions and 4 deletions

View File

@ -238,7 +238,6 @@ export default {
}
.big {
min-width: 500px;
width: 100%;
// input {
// line-height: 30px;

View File

@ -31,13 +31,13 @@ export default {
state.version.downloadProgress = info
},
setVersionModalVisible(state, { isShow, isError, isDownloaded, isTimeOut, isDownloading, isUnknow, isLatestVer }) {
if (isShow !== undefined) state.version.showModal = isShow
if (isError !== undefined) state.version.isError = isError
if (isTimeOut !== undefined) state.version.isTimeOut = isTimeOut
if (isDownloading !== undefined) state.version.isDownloading = isDownloading
if (isDownloaded !== undefined) state.version.isDownloaded = isDownloaded
if (isUnknow !== undefined) state.version.isUnknow = isUnknow
if (isLatestVer !== undefined) state.version.isLatestVer = isLatestVer
if (isShow !== undefined) state.version.showModal = isShow
},
setIgnoreVersion(state, version) {
state.setting.ignoreVersion = version

View File

@ -41,8 +41,8 @@
material-pagination(:count="listData.total" :limit="listData.limit" :page="listData.page" @btn-click="handleToggleListPage")
transition(enter-active-class="animated-fast fadeIn" leave-active-class="animated-fast fadeOut")
div(:class="$style.importSongListContent" v-show="sortId === 'importSongList'")
div(:style="{ width: '500px' }")
material-search-input(v-model="importSongListText" @event="handleImportSongListEvent" big :placeholder="$t('view.song_list.input_text')")
div(:style="{ width: '50%' }")
material-search-input(:class="$style.searchInput" v-model="importSongListText" @event="handleImportSongListEvent" big :placeholder="$t('view.song_list.input_text')")
svg(version='1.1' xmlns='http://www.w3.org/2000/svg' xlink='http://www.w3.org/1999/xlink' height='100%' viewBox='0 0 451.846 451.847' space='preserve')
use(xlink:href='#icon-right')
div(:class="$style.tips")
@ -465,6 +465,10 @@ export default {
}
}
.searchInput {
width: 100%;
}
.song-list-header-middle {
flex: auto;
padding: 5px 7px;