123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384 |
- <!--pages/indexPages/selectHall/selectHall.wxml-->
- <view class="custom-navigation" style="height: {{navigation.height}};padding-top: {{navigation.paddingTop}}">
- <image src="../../../images/selectHall/back.png" mode="widthFix" bind:tap="back" />
- <view>选择办税厅</view>
- </view>
- <view class="map">
- <map longitude="{{addressInfo.lng}}" latitude="{{addressInfo.lat}}" scale="{{containerStyle == 'down'? 15:14}}" markers="{{markers}}" />
- </view>
- <view class="containers contrain{{containerStyle}}" catch:touchmove="none">
- <view class="border-style" catch:touchmove="barmove" catch:touchstart="bardown">
- <view class="border-style-bar"></view>
- </view>
- <view class="search-box">
- <view class="search-icon">
- <image src="../../../images/index/search.png" mode="widthFix" />
- </view>
- <view class="search-input">
- <input type="text" value="{{searchText}}" placeholder="搜索税务大厅" bindinput="search" />
- </view>
- </view>
- <view class="select-tabs">
- <view class="select-tab {{selectTabIndex == index?'select-tab-active':''}}" wx:for="{{selectTab}}" wx:key="index" data-index="{{index}}" bind:tap="selectTab">{{item.label}}</view>
- </view>
- <scroll-view class="hallList" scroll-y="{{true}}">
- <view wx:if="{{hall.length > 0}}" class="hall-list {{myHall.bsfwtDm == item.bsfwtDm?'hall-list-xz':''}}" wx:for="{{hall}}" wx:key="index" data-item="{{item}}" catch:tap="selectHall">
- <image wx:if="{{myHall.bsfwtDm == item.bsfwtDm}}" class="hallList-select" src="../../../images/selectHall/xz.png" mode="widthFix" />
- <view class="hallName">{{item.bsfwtmc}}</view>
- <view class="address">
- <image src="../../../images/selectHall/dz.png" mode="widthFix" />
- <span>{{item.bsfwtdz}}</span>
- <span class="juli">距离您 {{tools.juli(item.zxjl)}}</span>
- </view>
- <view class="daohang">
- <image src="../../../images/selectHall/dh.png" mode="widthFix" />
- <span class="toDaohang" data-item="{{item}}" catch:tap="daohang">前往导航</span>
- <span>(需要开启GPS)</span>
- </view>
- <view class="other">
- <view class="zxsc">
- <view hover-class="active" data-item="{{item}}" catch:tap="call">
- <image class="zxscIcon" src="../../../images/selectHall/zx.png" mode="widthFix" />
- <span>咨询</span>
- </view>
- <view hover-class="active">
- <image wx:if="{{1 == 0}}" class="zxscIcon" src="../../../images/selectHall/ysc.png" mode="widthFix" />
- <image wx:else class="zxscIcon" src="../../../images/selectHall/wsc.png" mode="widthFix" />
- <span>{{1 == 0?'已收藏':'收藏'}}</span>
- </view>
- <view hover-class="active">
- <image wx:if="{{1 == 0}}" class="zxscIcon" src="../../../images/selectHall/ymr.png" mode="widthFix" />
- <image wx:else class="zxscIcon" src="../../../images/selectHall/wmr.png" mode="widthFix" />
- <span>{{1 == 0?'已设为默认地址':'设为默认地址'}}</span>
- </view>
- </view>
- <view class="yypdmr">
- <view wx:if="{{type == 1}}" class="qyypd" hover-class="active" data-type="{{type}}" bind:tap="start">去预约
- <image src="../../../images/workGuide/enter.png" mode="widthFix" />
- </view>
- <view wx:if="{{type == 2}}" class="qyypd" hover-class="active" data-type="{{type}}" bind:tap="start">去取号
- <image src="../../../images/workGuide/enter.png" mode="widthFix" />
- </view>
- </view>
- </view>
- </view>
- <view wx:if="{{hall.length == 0}}" class="none-hall">{{selectTabIndex==0?'没有与当前企业匹配的税务机关':selectTabIndex==1?'暂没有大厅':selectTabIndex == 2?'您还没有收藏哦': ''}}</view>
- <view style="width: 100%;height: 1rpx;"></view>
- </scroll-view>
- </view>
- <wxs module="tools">
- var juli = function (e) {
- if (e) {
- var b = e.split('.')[0]
- var a = e.split('.')[1].substring(0, 3) || '00'
- return b + '.' + a + '公里'
- } else {
- return ""
- }
- }
- var tools = {
- juli: juli
- }
- module.exports = tools;
- </wxs>
|