27 lines
2.2 KiB
Plaintext
27 lines
2.2 KiB
Plaintext
<!--packageE/location/location.wxml-->
|
|
<view class="location-box" style=" background-color: {{datas.preview_color.color || '#f8f8f8'}}; background-image: url({{datas.preview_color.isColor == 2? datas.preview_color.image: ''}})" wx:if="{{datas.location_style == 1 || datas.location_style == 2}}">
|
|
<view class="location-left" bindtap='tolocation' style="color: {{datas.city_font_color}};">
|
|
<icon class="iconfont icon-order_locate"></icon>
|
|
<text class="title">{{address || '全国'}}</text>
|
|
<icon class="iconfont icon-advertise-next" style="display:flex;"></icon>
|
|
</view>
|
|
<view class="location-right" wx:if="{{datas.show_search != 1}}" style=" border-radius:{{datas.search_border_radius}}px;border: solid {{datas.border_style}}px {{datas.border_color}};background-color: {{datas.bg_color || '#f8f8f8'}};color: {{datas.font_color}};" bindtap='tosearch'>
|
|
<icon class="iconfont icon-all_search_2" style="display:flex;"></icon>
|
|
<text>{{datas.search_title}}</text>
|
|
</view>
|
|
<view wx:if="{{datas.location_style == 2 && datas.show_search != 1}}" bindtap='tosearch' class="location-search" style="color: {{datas.city_font_color}}">搜索</view>
|
|
</view>
|
|
|
|
<view class="location-box2" style=" background-color: {{datas.preview_color.color || '#f8f8f8'}}; background-image: url({{datas.preview_color.isColor == 2? datas.preview_color.image: ''}})" wx:if="{{datas.location_style == 3}}">
|
|
<view class="location-whole" style="border-radius:{{datas.search_border_radius}}px;border: solid {{datas.border_style}}px {{datas.border_color}};background-color: {{datas.bg_color || '#f8f8f8'}};">
|
|
<view class="location-left" bindtap='tolocation' style=" color:{{datas.city_font_color}};border-color:{{datas.city_font_colo}}">
|
|
<text class="title">{{address || '全国'}}</text>
|
|
<icon class="iconfont icon-advertise-next" style="display:flex;"></icon>
|
|
</view>
|
|
<view class="location-right" wx:if="{{datas.show_search != 1}}" bindtap='tosearch' style="color:{{font_color}}">
|
|
<icon class="iconfont icon-all_search_2" style="display:flex;"></icon>
|
|
<text>{{datas.search_title}}</text>
|
|
</view>
|
|
</view>
|
|
</view>
|