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
1.3 KiB
1 lines
1.3 KiB
<view class="sp-live-card" style="{{'width:'+(wh+'rpx')+';'}}"><view data-event-opts="{{[['tap',[['goRoom',['$event']]]]]}}" class="live-content" style="{{'width:'+(wh+'rpx')+';'}}" bindtap="__e"><image class="item-cover" src="{{detail.shareImge}}" mode="aspectFill"></image><view class="item-status"><image class="status-img" src="{{liveStatus[detail.liveStatus].img}}" mode></image><text class="status-text">{{liveStatus[detail.liveStatus].title}}</text></view><view class="item-title" style="{{'width:'+(wh+'rpx')+';'}}">{{detail.name}}</view></view><view class="live-bottom" style="{{'width:'+(wh+'rpx')+';'}}"><view class="live-info"><view class="info-box"><view class="info-name">{{detail.anchorName}}</view></view></view><block wx:if="{{$slots.liveGoods}}"><slot name="liveGoods"></slot></block><block wx:else><block wx:if="{{detail.product.length}}"><view class="live-goods"><block wx:for="{{detail.product}}" wx:for-item="goods" wx:for-index="index" wx:key="goodsId"><block wx:if="{{index<3}}"><view class="live-goods__item"><image class="live-goods__img" src="{{goods.coverImgeUrl}}" mode></image><block wx:if="{{index<2}}"><view class="live-goods__price">{{"¥"+goods.price}}</view></block><block wx:else><view class="live-goods__mark"><text>{{detail.product.length+"+"}}</text></view></block></view></block></block></view></block></block></view></view> |