canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/common/mg-cell.wxml
2024-11-01 16:07:54 +08:00

1 line
1.5 KiB
Plaintext

<view class="{{['weui-cell','data-v-4b25170c',[(last)?'last':''],[(isl)?'left0':''],[(isr)?'right30':''],[(noc)?'aligns':''],cname]}}" style="{{$root.s0}}" hover-class="{{hc?'weui-cell_active':''}}" data-event-opts="{{[['tap',[['$emit',['tab']]]]]}}" bindtap="__e"><view class="{{['f-g-0','f-c','data-v-4b25170c',hdc]}}"><block wx:if="{{img}}"><view class="img o-h data-v-4b25170c" style="{{'width:'+(w+'rpx')+';'+('height:'+(h+'rpx')+';')+('border-radius:'+(brs)+';')+('margin-right:'+(imgr+'rpx')+';')}}"><mg-img vue-id="197e4b7a-1" m="{{m}}" src="{{img}}" class="data-v-4b25170c" bind:__l="__l"></mg-img></view></block><block wx:if="{{iconn}}"><text class="{{['iconfont','mr30','data-v-4b25170c',iconn]}}"></text></block><block wx:if="{{ht}}"><view class="{{['weui-label','data-v-4b25170c',htc]}}" style="{{'width:'+(hw+'rpx')+';'}}">{{ht}}</view></block><slot name="hd"></slot></view><view class="f-1 data-v-4b25170c" style="{{'min-width:'+(bdmw)+';'}}"><block wx:if="{{btt}}"><view class="{{['data-v-4b25170c',bttc]}}">{{btt}}</view></block><block wx:if="{{bbt}}"><view class="mt10 c9 f24 data-v-4b25170c">{{bbt}}</view></block><slot name="bd"></slot></view><block wx:if="{{ft}}"><view class="{{['c9','data-v-4b25170c',ftc]}}" style="{{'color:'+(color)+';'}}">{{ft}}</view></block><slot name="ft"></slot><block wx:if="{{arrow}}"><text class="{{['iconfont','iconright','c9','arrow','ml5','data-v-4b25170c',ftc,ac]}}" style="{{'color:'+(acolor)+';'+('font-size:'+(asize+'rpx')+';')}}"></text></block></view>