weliam-smartcity智慧城市
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

1 lines
9.8 KiB

<view class="container"><block wx:if="{{is_openTabbar}}"><view data-event-opts="{{[['tap',[['close',['$event']]]]]}}" class="pop-mask" bindtap="__e"></view></block><view class="{{[isPageScroll==='1'&&is_openTabbar?'isPageScroll':'p-r']}}"><view class="{{['tabBar-list','dis-flex','b-f',(is_openTabbar)?'border-line':'',(is_openTabbar)?'border-bottom':'']}}"><block wx:for="{{SelectInfo.top}}" wx:for-item="tabItem" wx:for-index="index" wx:key="index"><block wx:if="{{index<3}}"><block><block wx:if="{{tabItem.status===1}}"><view data-event-opts="{{[['tap',[['openTabbar',['$0'],[[['SelectInfo.top','',index,'subscript']]]]]]]}}" class="tabBar-item dis-flex flex-x-center flex-y-center f-28 flex-box" style="{{(currentType===tabItem.subscript?'color:#FF4444;':'color:#333333')}}" bindtap="__e"><view class="m-right10 onelist-hidden tabBar-itemTitle">{{title&&index==1&&requestType!='文章头条'?title:title&&index==0&&requestType=='文章头条'?title:tabItem.title}}</view><view class="{{['iconfont',currentType===tabItem.subscript?'icon-fold':'icon-unfold']}}"></view></view></block></block></block></block></view><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="{{['pop-content','padding-box-all','b-f',(is_openTabbar)?'show':'']}}" catchtouchmove="__e"><block wx:if="{{!!cityData&&currentType==='area'}}"><block><view><view class="dis-flex"><view class="flex-box" style="padding-top:30rpx;"><block wx:if="{{businessCard}}"><view data-event-opts="{{[['tap',[['allCityarea',['all']]]]]}}" class="{{['city-name','f-28','m-btm50',isAllarea?'col-f4':'col-3']}}" bindtap="__e">全部</view></block><view data-event-opts="{{[['tap',[['allCityarea',['city']]]]]}}" class="{{['city-name','f-28',!isAllarea?'col-f4':'col-3']}}" bindtap="__e">{{cityData.name}}</view></view><block wx:if="{{!isAllarea}}"><scroll-view class="cityScroll" scroll-y="true" scroll-top="{{cityScrollTop}}" upper-threshold="{{topNumberct}}" lower-threshold="0" data-event-opts="{{[['scroll',[['cityChage',['$event']]]],['scrolltolower',[['scrolltolowerct',['$event']]]],['scrolltoupper',[['scrolltoupperct',['$event']]]]]}}" bindscroll="__e" bindscrolltolower="__e" bindscrolltoupper="__e"><view class="city-list" style="padding-left:30rpx;padding-top:30rpx;"><block wx:for="{{cityData.list}}" wx:for-item="cityItem" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getcityId',['$0'],[[['cityData.list','',index]]]]]]]}}" class="{{['city-list-item','m-btm50','f-28',city_id===cityItem.id?'col-f4':'col-3']}}" bindtap="__e">{{cityItem.name}}</view></block></view></scroll-view></block></view><view class="dis-flex" style="height:50rpx;"><view class="left"></view><view class="left" style="padding-top:0rpx;position:relative;padding-bottom:18rpx;"><block wx:if="{{$root.g0}}"><image src="{{imgfixUrls+'scrollbottom.gif'}}" mode data-event-opts="{{[['tap',[['citybottombtn',['$event']]]]]}}" bindtap="__e"></image></block></view></view></view></block></block><block wx:if="{{currentType==='class'}}"><block><scroll-view class="classScroll" style="padding-top:30rpx;" scroll-top="{{scrollTop}}" scroll-y="true" upper-threshold="{{topNumber}}" lower-threshold="0" data-event-opts="{{[['scrolltolower',[['scrolltolowers',['$event']]]],['scrolltoupper',[['scrolltolower',['$event']]]],['scroll',[['classoneChage',['$event']]]]]}}" bindscrolltolower="__e" bindscrolltoupper="__e" bindscroll="__e"><block wx:for="{{$root.l0}}" wx:for-item="classItem" wx:for-index="index" wx:key="index"><view class="class_list dis-flex"><view data-event-opts="{{[['tap',[['getclassOneId',['$0'],[[['SelectInfo.class','',index]]]]]]]}}" class="{{['class_listOne','','dis-flex','flex-box','m-btm50',classOneId===classItem.$orig.cate_one||classOneId===classItem.$orig.id||cate_one==classItem.$orig.cate_one||cate_one==classItem.$orig.id?'col-f4':'col-3']}}" style="width:50%;" bindtap="__e"><view class="class_listOneItem f-28">{{classItem.$orig.name}}</view></view><block wx:if="{{classItem.g1}}"><block><view data-event-opts="{{[['touchmove',[['',['$event']]]]]}}" class="class_Twolist" catchtouchmove="__e"><scroll-view class="class_TwoScroll" style="{{'height:'+(boxHeight-20+'px')+';'}}" scroll-y="true" scroll-top="{{scrollTopTwo}}" upper-threshold="{{topNumbertwo}}" lower-threshold="0" data-event-opts="{{[['scroll',[['classtwoChage',['$event']]]],['scrolltolower',[['scrolltolowerst',['$event']]]],['scrolltoupper',[['scrolltolowert',['$event']]]]]}}" bindscroll="__e" bindscrolltolower="__e" bindscrolltoupper="__e"><block wx:for="{{classItem.$orig.list}}" wx:for-item="classTwoItem" wx:for-index="indexTwo" wx:key="indexTwo"><view data-event-opts="{{[['tap',[['getclassTwoId',['$0'],[[['SelectInfo.class','',index],['list','',indexTwo]]]]]]]}}" class="class_listTwo m-btm30" bindtap="__e"><view class="{{['class_listTwoItem','f-28',classTwoId===classTwoItem.id||classTwoId===classTwoItem.cate_two||cate_two==classTwoItem.cate_two||cate_two==classTwoItem.id?'col-f4':'col-3']}}">{{classTwoItem.name}}</view></view></block></scroll-view><view class="right"><block wx:if="{{classItem.g2}}"><image src="{{imgfixUrls+'scrollbottom.gif'}}" mode data-event-opts="{{[['tap',[['sorTwoTop',['$event']]]]]}}" bindtap="__e"></image></block></view></view></block></block></view></block></scroll-view></block></block><block wx:if="{{currentType==='orders'}}"><block><scroll-view class="class_TwoScroll" style="padding-top:30rpx;" scroll-y="true"><view class="class_listTwo"><block wx:for="{{SelectInfo.orders}}" wx:for-item="orderItem" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getOrderId',['$0'],[[['SelectInfo.orders','',index]]]]]]]}}" class="{{['class_listTwoItem','f-28','m-btm50',orderId===orderItem.val?'col-f4':'col-3']}}" bindtap="__e">{{orderItem.title}}</view></block></view></scroll-view></block></block><block wx:if="{{currentType==='nwe_area'||currentType==='area_id'}}"><block><view class="dis-flex" style="padding-top:30rpx;"><view class="flex-box" style="overflow:auto;height:400rpx;"><block wx:for="{{provinceList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getCityList',[index,'$0'],[[['provinceList','',index]]]]]]]}}" class="f-24 t-c industry-item" style="{{'color:'+(item.id!=provinceId?'#363636':'#ff4444')+';'}}" bindtap="__e">{{''+item.name+''}}</view></block></view><view class="flex-box" style="overflow:auto;height:400rpx;"><block wx:for="{{cityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getAreaList',[index,'$0'],[[['cityList','',index]]]]]]]}}" class="f-24 t-c industry-item" style="{{'color:'+(item.id!=cityId?'#363636':'#ff4444')+';'}}" bindtap="__e">{{''+item.name+''}}</view></block></view><view class="flex-box" style="overflow:auto;height:400rpx;"><block wx:for="{{areaList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getAreaId',[index,'$0'],[[['areaList','',index]]]]]]]}}" class="f-24 t-c industry-item" style="{{'color:'+(item.id!=areaId?'#363636':'#ff4444')+';'}}" bindtap="__e">{{''+item.name+''}}</view></block></view></view></block></block><block wx:if="{{currentType==='industry'||currentType==='education'&&industryOne}}"><block><view class="dis-flex" style="padding-top:30rpx;"><view class="flex-box" style="overflow:auto;height:400rpx;"><block wx:for="{{industryOne}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getindustryTwo',[index,'$0'],[[['industryOne','',index]]]]]]]}}" class="f-24 t-c industry-item" style="{{'color:'+(!item.checked?'#363636':'#ff4444')+';'}}" bindtap="__e">{{''+item.title+''}}</view></block></view><block wx:if="{{pageName!='企业'}}"><view class="flex-box" style="overflow:auto;height:400rpx;"><block wx:for="{{industryTwo}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getindustryThree',[index,'$0'],[[['industryTwo','',index]]]]]]]}}" class="f-24 t-c industry-item" style="{{'color:'+(!item.checked?'#363636':'#ff4444')+';'}}" bindtap="__e">{{''+item.title+''}}</view></block></view></block><block wx:if="{{pageName!='企业'}}"><view class="flex-box" style="overflow:auto;height:400rpx;"><block wx:for="{{industryThree}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getindustryFour',[index,'$0'],[[['industryThree','',index]]]]]]]}}" class="f-24 t-c industry-item" style="{{'color:'+(!item.checked?'#363636':'#ff4444')+';'}}" bindtap="__e">{{''+item.title+''}}</view></block></view></block></view></block></block><block wx:if="{{currentType==='sort'}}"><block><scroll-view class="class_TwoScroll" style="padding-top:30rpx;" scroll-y="true"><view class="class_listTwo"><block wx:for="{{SelectInfo.sort}}" wx:for-item="sortItem" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getSortId',['$0'],[[['SelectInfo.sort','',index]]]]]]]}}" class="{{['class_listTwoItem','f-28','m-btm50',sortId===sortItem.val?'col-f4':'col-3']}}" bindtap="__e">{{sortItem.title}}</view></block></view></scroll-view></block></block><block wx:if="{{currentType==='gneder'}}"><block><scroll-view class="class_TwoScroll" style="padding-top:30rpx;" scroll-y="true"><view class="class_listTwo"><block wx:for="{{SelectInfo.gneder}}" wx:for-item="gnederItem" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['getGnederId',['$0'],[[['SelectInfo.gneder','',index]]]]]]]}}" class="{{['class_listTwoItem','f-28','m-btm50',gnederId===gnederItem.val?'col-f4':'col-3']}}" bindtap="__e">{{gnederItem.title}}</view></block></view></scroll-view></block></block><block wx:if="{{$root.g3}}"><view class="dis-flex" style="height:50rpx;"><view data-event-opts="{{[['tap',[['sorTop',['$event']]]]]}}" class="left" bindtap="__e"><block wx:if="{{$root.g4}}"><image src="{{imgfixUrls+'scrollbottom.gif'}}" mode></image></block></view><view class="left"></view></view></block></view></view><view></view></view>