Files
wdsxh/unpackage/dist/build/mp-weixin/pages/component/diy/memberMapDiy.wxml
2026-04-29 15:33:58 +08:00

1 line
7.8 KiB
Plaintext

<block wx:if="{{loadEnd}}"><view class="{{['diy-member-map',(showCategory.styleMode==2&&showMap.heightType==1)?'flex-column':'']}}" style="{{'height:'+(showMap.heightType==2?'auto':'calc(100vh - '+spaceHeight+'px)')+';'+('background:'+(showMap.background)+';')+('border-radius:'+(mapItemBorderRadius)+';')}}"><block wx:if="{{$root.g0}}"><view data-event-opts="{{[['scrolltolower',[['scrollBottom',['$event']]]]]}}" class="map-classify style-2" style="{{'background:'+(showCategory.background)+';'+('padding:'+('0 '+categoryPaddingLeft)+';')}}" bindscrolltolower="__e"><scroll-view class="classify-list" style="{{'padding:'+(categoryPaddingTop+' 0')+';'}}" scroll-x="{{true}}"><view data-event-opts="{{[['tap',[['changeClassify',[-1]]]]]}}" class="list-item" style="{{'background:'+(!$root.g1?showCategory.btnActiveBackground:showCategory.btnBackground)+';'+('border-radius:'+(categoryBtnBorderRadius)+';')+('padding:'+(categoryBtnPadding)+';')+('color:'+(!$root.g2?showCategory.btnActiveColor:showCategory.btnColor)+';')}}" bindtap="__e"><text>全部</text></view><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeClassify',['$0'],[[['classifyList','',index,'id']]]]]]]}}" class="list-item" style="{{'margin-left:'+(categoryItemSpace)+';'+('background:'+(item.g3?showCategory.btnActiveBackground:showCategory.btnBackground)+';')+('border-radius:'+(categoryBtnBorderRadius)+';')+('padding:'+(categoryBtnPadding)+';')+('color:'+(item.g4?showCategory.btnActiveColor:showCategory.btnColor)+';')}}" bindtap="__e"><text>{{item.$orig.name}}</text></view></block></scroll-view><view data-event-opts="{{[['tap',[['handleExpand',[1]]]]]}}" class="classify-more" bindtap="__e"><block wx:if="{{categoryIconDown}}"><view class="more-icon" style="{{'background-image:'+('url('+categoryIconDown+')')+';'}}"></view></block><text class="more-text" style="{{'color:'+(showCategory.expandColor)+';'}}">展开列表</text></view></view></block><block wx:else><block wx:if="{{$root.g5}}"><view class="map-classify style-1" style="{{'top:'+(categoryMarginTop)+';'+('left:'+(showCategory.position=='right'?'initial':categoryMarginLeft)+';')+('right:'+(showCategory.position=='right'?categoryMarginLeft:'initial')+';')+('width:'+(showCategory.widthType==2?showCategory.widthNumber+'%':'auto')+';')+('max-width:'+('calc((100% - '+categoryMarginLeft+' - '+categoryMarginLeft+') * '+(showCategory.widthType==2?''+showCategory.widthNumber/100:1)+')')+';')+('max-height:'+(showMap.heightType==2?categoryMaxHeight:'calc(100vh - '+spaceHeight+'px - '+categoryMaxHeight+')')+';')+('align-items:'+(showCategory.position=='right'?'flex-end':'flex-start')+';')}}"><view data-event-opts="{{[['tap',[['handleExpand']]]]}}" class="{{['classify-more',(!isExpandCategory1)?'collapse':'']}}" style="{{'background:'+(showCategory.background)+';'+('border-radius:'+(isExpandCategory1?categoryBorderRadius:showCategory.position=='right'?categoryBorderRadius+' 0 0 '+categoryBorderRadius:'0 '+categoryBorderRadius+' '+categoryBorderRadius+' 0')+';')+('left:'+(showCategory.position=='right'?'initial':'-'+categoryMarginLeft)+';')+('right:'+(showCategory.position=='right'?'-'+categoryMarginLeft:'initial')+';')}}" bindtap="__e"><text class="more-text" style="{{'color:'+(showCategory.expandColor)+';'}}">{{(isExpandCategory1?"收起":"展开")+"列表"}}</text><block wx:if="{{categoryIconDown}}"><view class="more-icon" style="{{'background-image:'+('url('+categoryIconDown+')')+';'}}"></view></block></view><uni-transition style="width:100%;" vue-id="c4f121e4-1" mode-class="{{showCategory.position=='right'?'slide-right':'slide-left'}}" duration="{{80}}" show="{{isExpandCategory1}}" bind:__l="__l" vue-slots="{{['default']}}"><scroll-view style="{{'border-radius:'+(categoryBorderRadius)+';'+('background:'+(showCategory.background)+';')+('max-height:'+(showMap.heightType==2?'calc('+categoryMaxHeight+' - 80rpx)':'calc(100vh - 80rpx - '+spaceHeight+'px - '+categoryMaxHeight+')')+';')}}" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['scrollBottom',['$event']]]]]}}" bindscrolltolower="__e"><view class="classify-list" style="{{'row-gap:'+(categoryItemSpace)+';'+('padding:'+(categoryPaddingTop+' '+categoryPaddingLeft)+';')}}"><view data-event-opts="{{[['tap',[['changeClassify',[-1]]]]]}}" class="list-item" style="{{'background:'+(!$root.g6?showCategory.btnActiveBackground:showCategory.btnBackground)+';'+('border-radius:'+(categoryBtnBorderRadius)+';')+('padding:'+(categoryBtnPadding)+';')+('color:'+(!$root.g7?showCategory.btnActiveColor:showCategory.btnColor)+';')}}" bindtap="__e"><text>全部</text></view><block wx:for="{{$root.l1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeClassify',['$0'],[[['classifyList','',index,'id']]]]]]]}}" class="list-item" style="{{'background:'+(item.g8?showCategory.btnActiveBackground:showCategory.btnBackground)+';'+('border-radius:'+(categoryBtnBorderRadius)+';')+('padding:'+(categoryBtnPadding)+';')+('color:'+(item.g9?showCategory.btnActiveColor:showCategory.btnColor)+';')}}" bindtap="__e"><text>{{item.$orig.name}}</text></view></block></view></scroll-view></uni-transition></view></block></block><view class="map-context" style="{{'height:'+(showMap.heightType==2?mapHeight:'100%')+';'+('padding:'+(mapPadding)+';')}}"><map class="map" style="{{'border-radius:'+(mapBorderRadius)+';'}}" id="map" markers="{{markersList}}" include-points="{{includePoints}}" data-event-opts="{{[['callouttap',[['toMemberDetails',['$event']]]],['markertap',[['toMemberDetails',['$event']]]]]}}" bindcallouttap="__e" bindmarkertap="__e"><block wx:if="{{$root.g10}}"><cover-view class="map-callout" slot="callout"><block wx:for="{{$root.l2}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><cover-view marker-id="{{item.m0}}"><cover-view class="callout-item"><cover-image class="item-avatar" src="{{item.$orig.avatar}}"></cover-image><cover-view class="item-name">{{item.$orig.name}}</cover-view></cover-view></cover-view></block></cover-view></block></map></view><block wx:if="{{showCategory.styleMode==2&&isExpandCategory2}}"><view class="map-popup"><view class="popup-classify" style="{{'background:'+(showCategory.background)+';'+('padding:'+('0 '+categoryPaddingLeft)+';')}}"><scroll-view class="classify-scroll" style="{{'max-height:'+(componentHeight+'px')+';'+('padding:'+(categoryPaddingTop+' 0')+';')}}" scroll-y="{{true}}"><view class="scroll-list" style="{{'gap:'+(categoryItemSpace)+';'}}"><view data-event-opts="{{[['tap',[['changeClassify',[-1]]]]]}}" class="list-item" style="{{'background:'+(!$root.g11?showCategory.btnActiveBackground:showCategory.btnBackground)+';'+('border-radius:'+(categoryBtnBorderRadius)+';')+('padding:'+(categoryBtnPadding)+';')+('color:'+(!$root.g12?showCategory.btnActiveColor:showCategory.btnColor)+';')}}" bindtap="__e"><text>全部</text></view><block wx:for="{{$root.l3}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeClassify',['$0'],[[['classifyList','',index,'id']]]]]]]}}" class="list-item" style="{{'background:'+(item.g13?showCategory.btnActiveBackground:showCategory.btnBackground)+';'+('border-radius:'+(categoryBtnBorderRadius)+';')+('padding:'+(categoryBtnPadding)+';')+('color:'+(item.g14?showCategory.btnActiveColor:showCategory.btnColor)+';')}}" bindtap="__e"><text>{{item.$orig.name}}</text></view></block></view><view class="scroll-space"></view></scroll-view><view data-event-opts="{{[['tap',[['handleExpand',[2]]]]]}}" class="classify-more" style="{{'background:'+(showCategory.background)+';'}}" bindtap="__e"><block wx:if="{{categoryIconDown}}"><view class="more-icon" style="{{'transform:rotate(180deg);'+('background-image:'+('url('+categoryIconDown+')')+';')}}"></view></block><text class="more-text" style="{{'color:'+(showCategory.expandColor)+';'}}">收起列表</text></view></view></view></block></view></block>