File tree Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Expand file tree Collapse file tree 6 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
1
<view class="search-bar l-container-class">
2
2
<slot name="before"/>
3
- <view wx:if="{{address }}" class="icon-container" bind:tap="handleTapFrontText">
4
- <text class="city">{{address }}</text>
3
+ <view wx:if="{{frontText }}" class="icon-container" bind:tap="handleTapFrontText">
4
+ <text class="city">{{frontText }}</text>
5
5
<l-icon name="down" color="#333" size="22"/>
6
6
</view>
7
7
<view class="search-input l-class {{'search-input-'+ shape}}" style="{{'background-color:'+bgColor}}">
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Component({
26
26
type : String ,
27
27
value : '取消'
28
28
} ,
29
- address : String ,
29
+ frontText : String ,
30
30
custom : Boolean ,
31
31
value : String ,
32
32
type : String ,
Original file line number Diff line number Diff line change 1
1
<view class="search-bar l-container-class">
2
2
<slot name="before"/>
3
- <view wx:if="{{address }}" class="icon-container" bind:tap="handleTapFrontText">
4
- <text class="city">{{address }}</text>
3
+ <view wx:if="{{frontText }}" class="icon-container" bind:tap="handleTapFrontText">
4
+ <text class="city">{{frontText }}</text>
5
5
<l-icon name="down" color="#333" size="22" />
6
6
</view>
7
7
<view class="search-input l-class {{'search-input-'+ shape}}" style="{{'background-color:'+bgColor}}">
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ Component({
26
26
type : String ,
27
27
value : '取消'
28
28
} ,
29
- address : String ,
29
+ frontText : String ,
30
30
custom : Boolean ,
31
31
value : String ,
32
32
type : String ,
Original file line number Diff line number Diff line change 1
1
<view class="search-bar l-container-class">
2
2
<slot name="before"/>
3
- <view wx:if="{{address }}" class="icon-container" bind:tap="handleTapFrontText">
4
- <text class="city">{{address }}</text>
3
+ <view wx:if="{{frontText }}" class="icon-container" bind:tap="handleTapFrontText">
4
+ <text class="city">{{frontText }}</text>
5
5
<l-icon name="down" color="#333" size="22" />
6
6
</view>
7
7
<view class="search-input l-class {{'search-input-'+ shape}}" style="{{'background-color:'+bgColor}}">
You can’t perform that action at this time.
0 commit comments