搜索框字体颜色

This commit is contained in:
shijingjing
2022-03-25 14:45:59 +08:00
parent d62a41541e
commit 75d0121ff2

View File

@@ -14,7 +14,8 @@
</AiAreaPicker> </AiAreaPicker>
</div> </div>
<div class="search"> <div class="search">
<u-search placeholder="请输入姓名" v-model="name" bg-color="#1F5CAF" search-icon-color="#E2E8F1" :show-action="false"></u-search> <u-search placeholder="请输入姓名" v-model="name" bg-color="#1F5CAF" search-icon-color="#E2E8F1"
placeholder-style="color: #E2E8F1;" :show-action="false"></u-search>
</div> </div>
</div> </div>
</AiTopFixed> </AiTopFixed>
@@ -34,6 +35,7 @@
</template> </template>
<script> <script>
import { mapState } from 'vuex'
export default { export default {
data() { data() {
return { return {
@@ -44,7 +46,13 @@ export default {
name: '', name: '',
} }
}, },
onLoad() {}, onLoad() {
this.areaId = this.user.areaId
this.areaName = this.user.areaName
},
computed: {
...mapState(['user'])
},
methods: { methods: {
tabClick(index) { tabClick(index) {
this.tabIndex = index this.tabIndex = index
@@ -113,9 +121,13 @@ export default {
.area-select { .area-select {
display: flex; display: flex;
width: 240px; width: 240px;
} }
.search { .search {
width: calc(100% - 250px) width: calc(100% - 240px);
::v-deep .uni-input-input {
color: #fff;
}
} }
} }
.card-list { .card-list {