crm_second_opening_mini/pages/nearby/nearby.wxml

1 line
5.1 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

<view class="nearby data-v-b54eeec0"><view class="select_box data-v-b54eeec0"><picker value="{{typeIndex}}" range="{{typeList}}" data-event-opts="{{[['change',[['changeType',['$event']]]]]}}" bindchange="__e" class="data-v-b54eeec0"><view class="sel_left data-v-b54eeec0">{{''+(typeList[typeIndex]?typeList[typeIndex]:'全部')+''}}<image class="xiaimg data-v-b54eeec0" src="{{BASE_IMG_URL+'newxia.png'}}" mode="scaleToFill"></image></view></picker><picker value="{{nearIndex}}" range="{{nearList}}" range-key="name" data-event-opts="{{[['change',[['changeNear',['$event']]]]]}}" bindchange="__e" class="data-v-b54eeec0"><view class="sel_left data-v-b54eeec0">{{''+(nearList[nearIndex]?nearList[nearIndex].name:'附近')+''}}<image class="xiaimg data-v-b54eeec0" src="{{BASE_IMG_URL+'newxia.png'}}" mode="scaleToFill"></image></view></picker></view><view class="map_show data-v-b54eeec0" style="{{'height:'+(isFullScreen?mapHeight:'400rpx')+';'}}"><map style="{{'width:750rpx;'+('height:'+(isFullScreen?mapHeight:'400rpx')+';')}}" latitude="{{latitude}}" longitude="{{longitude}}" markers="{{covers}}" data-event-opts="{{[['markertap',[['changeLiInfo',['$event']]]]]}}" bindmarkertap="__e" class="data-v-b54eeec0"></map></view><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" hidden="{{!(isFullScreen)}}" class="kehu-btn data-v-b54eeec0" bindtap="__e">查看详情</view><view hidden="{{!(!isFullScreen)}}" class="position data-v-b54eeec0"><view data-event-opts="{{[['tap',[['e1',['$event']]]]]}}" class="xiawarp data-v-b54eeec0" bindtap="__e"><image class="xiaimg data-v-b54eeec0" src="{{BASE_IMG_URL+'xia_a.png'}}" mode="scaleToFill"></image></view><view class="map_rim data-v-b54eeec0"><view class="data-v-b54eeec0">{{"[当前位置]"+address}}</view><image class="weizhiimg data-v-b54eeec0" src="{{BASE_IMG_URL+'ydw.png'}}" mode="scaleToFill"></image></view><view style="padding:24rpx 30rpx;" class="data-v-b54eeec0"><u-search vue-id="6e6bbce0-1" placeholder="请输入搜索关键词" data-event-opts="{{[['^change',[['searchName']]]]}}" bind:change="__e" class="data-v-b54eeec0" bind:__l="__l"></u-search></view><scroll-view class="scroll data-v-b54eeec0" style="{{'height:'+(height)+';'}}" scroll-y="true"><block wx:if="{{showList}}"><view style="padding-bottom:calc(env(safe-area-inset-bottom) / 2);" class="data-v-b54eeec0"><block wx:for="{{list}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="map_group data-v-b54eeec0"><view class="name_li data-v-b54eeec0"><view class="name data-v-b54eeec0">{{''+item.name+''}}<block wx:if="{{item.owner_staff_id>0}}"><text style="color:#03aa96;font-size:22rpx;margin-left:10rpx;" class="data-v-b54eeec0">{{"归属人("+item.owner_staff.name+")"}}</text></block></view><block wx:if="{{item.follow}}"><view class="status data-v-b54eeec0">{{item.follow}}</view></block></view><view class="text data-v-b54eeec0">{{"距离"+item.juli+" "+(item.address_detail?item.address_detail:'')}}</view><view class="text data-v-b54eeec0">{{"跟进时间:"+item.next_time}}</view><view class="bntlist data-v-b54eeec0"><view data-event-opts="{{[['tap',[['lookMap',['$0'],[[['list','',index]]]]]]]}}" class="anniu luxian data-v-b54eeec0" bindtap="__e">查看路线</view><block wx:if="{{item.owner_staff_id>0}}"><view data-event-opts="{{[['tap',[['toMore',['$0'],[[['list','',index,'id']]]]]]]}}" class="anniu data-v-b54eeec0" style="color:#03aa96;" bindtap="__e">查看详情</view></block><block wx:else><view data-event-opts="{{[['tap',[['toGroupCompany',['$0'],[[['list','',index]]]]]]]}}" class="anniu lingqu data-v-b54eeec0" style="color:#03aa96;" bindtap="__e">领取</view></block></view></view></block><block wx:if="{{$root.g0==0}}"><u-empty vue-id="6e6bbce0-2" text="暂无更多" class="data-v-b54eeec0" bind:__l="__l"></u-empty></block></view></block><block wx:else><view class="data-v-b54eeec0"><view data-event-opts="{{[['tap',[['backList',['$event']]]]]}}" class="backlist data-v-b54eeec0" bindtap="__e">返回列表</view><view class="map_group data-v-b54eeec0"><view class="name_li data-v-b54eeec0"><view class="name data-v-b54eeec0">{{liInfo.name+''}}<block wx:if="{{item.owner_staff_id>0}}"><text style="color:#03aa96;font-size:22rpx;margin-left:10rpx;" class="data-v-b54eeec0">{{"归属人("+item.owner_staff.name+")"}}</text></block></view><block wx:if="{{liInfo.follow}}"><view class="status data-v-b54eeec0">{{liInfo.follow}}</view></block></view><view class="text data-v-b54eeec0">{{"距离"+liInfo.juli+" "+(liInfo.address_detail?liInfo.address_detail:'')}}</view><view class="text data-v-b54eeec0">{{"跟进时间:"+liInfo.next_time}}</view><view class="bntlist data-v-b54eeec0"><view data-event-opts="{{[['tap',[['lookMap',['$0'],['liInfo']]]]]}}" class="anniu luxian data-v-b54eeec0" bindtap="__e">查看路线</view><block wx:if="{{liInfo.owner_staff_id>0}}"><view data-event-opts="{{[['tap',[['toMore',['$0'],['liInfo.id']]]]]}}" class="anniu data-v-b54eeec0" style="color:#03aa96;" bindtap="__e">查看详情</view></block><block wx:else><view data-event-opts="{{[['tap',[['toGroupCompany',['$0'],['liInfo']]]]]}}" class="anniu lingqu data-v-b54eeec0" style="color:#03aa96;" bindtap="__e">领取</view></block></view></view></view></block></scroll-view></view></view>