12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273 |
- <!--pages/taxDisputes/index/index.wxml-->
- <view class="banner">
- <image class="banner-image" src="https://smzc-1253299035.cos.ap-nanjing.myqcloud.com/pdjh/miniProgrameYyQh/taxDisputesIndexBanner.png" mode="widthFix" />
- </view>
- <view class="hall">
- <view class="hall-other-box" wx:if="{{hall.ssswjgDm == '16101980000'}}">
- <image class="hall-other-box-image" src="https://smzc-1253299035.cos.ap-nanjing.myqcloud.com/pdjh/miniProgrameYyQh/indexHallLogo.png" mode="heightFix" />
- </view>
- <view class="hall-info-box">
- <view class="hall-map">
- <map enable-scroll="{{false}}" enable-zoom="{{false}}" longitude="{{hall.longitude}}" latitude="{{hall.latitude}}" markers="{{markers}}" scale="15" />
- </view>
- <view class="hall-info">
- <view class="hall-info-list1">
- <view>我的办税厅</view>
- <view hover-class="buttonActive" data-type="3" bind:tap="selectHall">
- <span>
- <image src="../../../images/index/chage1.png" mode="widthFix" />
- </span>
- <span>切换办税厅</span>
- </view>
- </view>
- <view class="hall-info-list2">{{hall.bsfwtmc}}</view>
- <view class="hall-info-list3">距您 {{tools.juli(hall.zxjl)}}</view>
- </view>
- </view>
- </view>
- <view class="card">
- <view class="card-box" hover-class="active" wx:for="{{menuList}}" wx:key="index" data-item="{{item}}" bind:tap="menuTap">
- <image class="card-bg card-bg1" src="{{item.imgUrl}}" mode="widthFix" />
- <view class="card-content">
- <view class="card-title">{{tools.title(item.cdmc)}}</view>
- <view class="card-introduce">{{tools.introduce(item.cdmc)}}</view>
- </view>
- </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 + 'km'
- } else {
- return ""
- }
- }
- var title = function (e) {
- if (e) {
- return e.split('&&&')[0] || ""
- } else {
- return ""
- }
- }
- var introduce = function (e) {
- if (e) {
- return e.split('&&&')[1] || ""
- } else {
- return ""
- }
- }
- var tools = {
- juli: juli,
- title: title,
- introduce: introduce
- }
- module.exports = tools;
- </wxs>
|