Sanakey
2021-04-30 8724a444c8a1d09dc8f9efd005e8443aad8df1ab
提交 | 用户 | age
8724a4 1 <view class="has-footer">
S 2   <view wx:if="{{goodsList.length>0}}">
3     <my-entry-cell wx:for="{{goodsList}}" wx:key="key" list-item="{{item}}"  is-go-details="{{false}}" title-width="600rpx" data-index="{{ index }}">
4       <view class="right-view text-center flex-row space-around relative my-entry-cell-right">
5         <view class="theme-font-color font-size-14 padding-lr-5" data-index="{{ index }}" data-goodsid="{{item.goodsId}}" data-on-sale="{{item.onSale?'0':'1'}}" bind:tap="updateGoods" >
6           {{item.onSale?'下架':'上架'}}
7         </view>
8         <view class="theme-font-color font-size-14 padding-lr-5" data-index="{{ index }}" data-goodsid="{{item.goodsId}}" bind:tap="deleteGoodsInRoom" >删除</view>
9       </view>
10     </my-entry-cell>
11     <van-divider contentPosition="center">没有更多了</van-divider>
3dd7c0 12   </view>
8724a4 13   <view wx:if="{{goodsList.length<1}}" class="vertical-horizontal-center">
S 14     <van-empty image="" description="当前直播间并未上架商品" />
15   </view>
3dd7c0 16 </view>
S 17
18
8724a4 19 <view class="fixed-footer fixed-footer-button text-center">
S 20   <navigator class="padding" url="../liveRoomGoodsSelect/liveRoomGoodsSelect?from=myLive&roomid={{roomid}}">
21     <van-button type="warning" class="theme-button btn-padding" block >添加直播商品</van-button>
22   </navigator>
23 </view>
3dd7c0 24