Files
orico-association/unpackage/dist/build/mp-weixin/pages/component/diy/memberDiy.wxml
2026-03-25 15:53:37 +08:00

1 line
3.4 KiB
Plaintext

<view class="diy-member" style="{{'padding:'+(paddingTop+' '+paddingLeft)+';'+('background:'+(showStyle.background)+';')+('border-radius:'+(itemBorderRadius)+';')}}"><block wx:if="{{showParams.showTitle}}"><view class="member-title" style="{{'margin-bottom:'+(titleSpace)+';'}}"><view style="{{'font-size:'+(titleFontSize)+';'+('font-weight:'+(showStyle.titleFontStyle)+';')+('color:'+(showStyle.titleColor)+';')}}">{{showParams.titleText}}</view><view data-event-opts="{{[['tap',[['toMore']]]]}}" style="{{'font-size:'+(titleBtnSize)+';'+('color:'+(showStyle.titleBtnColor)+';')}}" bindtap="__e"><block wx:if="{{showParams.titleBtnType=='text'}}"><text>{{showParams.titleBtnText}}</text></block><block wx:else><block wx:if="{{titleIconMore}}"><view style="{{'background-image:'+('url('+titleIconMore+')')+';'+('width:'+(titleIconSize)+';')+('height:'+(titleIconSize)+';')+('background-size:'+(titleIconSize)+';')}}"></view></block></block></view></view></block><block wx:if="{{$root.g0}}"><block><block wx:if="{{showStyle.isAutoRoll}}"><view class="member-swiper"><z-swiper bind:input="__e" vue-id="2f87dc22-1" options="{{$root.a0}}" value="{{memberList}}" data-event-opts="{{[['^input',[['__set_model',['','memberList','$event',[]]]]]]}}" bind:__l="__l" vue-slots="{{['default']}}"><block wx:for="{{memberList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><z-swiper-item vue-id="{{('2f87dc22-2-'+index)+','+('2f87dc22-1')}}" custom-style="{{({width:iconSize})}}" bind:__l="__l" vue-slots="{{['default']}}"><view data-event-opts="{{[['tap',[['toDetails',['$0'],[[['memberList','',index,'id']]]]]]]}}" class="swiper-item" bindtap="__e"><image class="item-avatar" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')+('border-radius:'+(iconRadius)+';')}}" src="{{item.avatar}}" mode="aspectFill"></image><view class="item-label text-ellipsis" style="{{'font-size:'+(pSize)+';'+('color:'+(showStyle.pColor)+';')+('background:'+(showStyle.pBackground)+';')+('border-radius:'+(showStyle.pRadiusType=='full'?pRadius:showStyle.pRadiusType=='half'?'0 '+pRadius+' 0 '+pRadius:0)+';')}}">{{item.level_name}}</view><view class="item-name text-ellipsis" style="{{'font-size:'+(nameSize)+';'+('color:'+(showStyle.nameColor)+';')}}">{{item.name}}</view></view></z-swiper-item></block></z-swiper></view></block><block wx:else><scroll-view class="member-scroll" scroll-x="{{true}}"><block wx:for="{{memberList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="id"><view data-event-opts="{{[['tap',[['toDetails',['$0'],[[['memberList','id',item.id,'id']]]]]]]}}" class="scroll-item" style="{{'width:'+(iconSize)+';'+('margin-left:'+(itemSpace)+';')}}" bindtap="__e"><image class="item-avatar" style="{{'width:'+(iconSize)+';'+('height:'+(iconSize)+';')+('border-radius:'+(iconRadius)+';')}}" src="{{item.avatar}}" mode="aspectFill"></image><view class="item-label text-ellipsis" style="{{'font-size:'+(pSize)+';'+('color:'+(showStyle.pColor)+';')+('background:'+(showStyle.pBackground)+';')+('border-radius:'+(showStyle.pRadiusType=='full'?pRadius:showStyle.pRadiusType=='half'?'0 '+pRadius+' 0 '+pRadius:0)+';')}}">{{item.level_name}}</view><view class="item-name text-ellipsis" style="{{'font-size:'+(nameSize)+';'+('color:'+(showStyle.nameColor)+';')}}">{{item.name}}</view></view></block></scroll-view></block></block></block><block wx:else><empty vue-id="2f87dc22-3" top="0" padding="0" width="200rpx" size="28rpx" title="暂无相关内容~" bind:__l="__l"></empty></block></view>