修复首页输入框背景色无效问题
This commit is contained in:
parent
da246d766e
commit
60d0919d4f
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<view class="component-widgets-search">
|
||||
<view class="component-widgets-search" :style="{ backgroundColor: backgroundColor }">
|
||||
<view class="icon">
|
||||
<text class="iconfont icon-sousuo"></text>
|
||||
</view>
|
||||
|
@ -27,6 +27,10 @@ export default {
|
|||
type: Boolean,
|
||||
default: false,
|
||||
},
|
||||
backgroundColor: {
|
||||
type: String,
|
||||
default: "#ffffff",
|
||||
},
|
||||
},
|
||||
components: {},
|
||||
created() {},
|
||||
|
@ -45,7 +49,6 @@ export default {
|
|||
.component-widgets-search {
|
||||
width: 670rpx;
|
||||
height: auto;
|
||||
background-color: #fff;
|
||||
border-radius: 10rpx;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<template>
|
||||
<app-layout headerBackgroundColor="#ffffff" backgroundColor="#ffffff" textColor="dark" btnType="city" title="熊熊安装队">
|
||||
<view class="search-component" @click="utils.toPage('/pages/service/cate', {}, 'switch')">
|
||||
<widget-search :disabled="true" />
|
||||
<widget-search :disabled="true" backgroundColor="#f6f6f6" />
|
||||
</view>
|
||||
<view class="banner">
|
||||
<app-banner :list="bannerList" @clickItem="clickBanner" />
|
||||
|
@ -198,9 +198,6 @@ export default {
|
|||
</script>
|
||||
|
||||
<style lang="less" scoped>
|
||||
.component-widgets-search {
|
||||
background-color: #f6f6f6;
|
||||
}
|
||||
.search-component {
|
||||
width: 100%;
|
||||
height: 100rpx;
|
||||
|
|
Loading…
Reference in New Issue