Skip to content

Commit 425d75d

Browse files
committed
fix: search result color not applied & increase option page width
1 parent 9ec6c25 commit 425d75d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/page/main/Options.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<template>
22
<div>
33
<v-layout>
4-
<v-flex xs12 sm6 offset-sm3>
4+
<v-flex xs12 sm8 offset-sm2>
55

66
<v-card>
77
<v-card-text>

src/app/page/main/Search.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@
4040
<v-card v-if="q && items && items.length">
4141
<v-list>
4242
<v-list-tile
43-
v-for="(item, index) in items" :key="index" :color="item.color"
43+
v-for="(item, index) in items" :key="index"
4444
:to="{name: 'detailList', query: item.value}"
4545
>
46-
<v-list-tile-content>
46+
<v-list-tile-content :class="item.color + '--text'">
4747
<v-list-tile-title v-text="item.title"></v-list-tile-title>
4848
<v-list-tile-sub-title v-text="item.subtitle"></v-list-tile-sub-title>
4949
</v-list-tile-content>

0 commit comments

Comments
 (0)