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 line
15 KiB
1 line
15 KiB
|
2 months ago
|
<view class="page1"><view class="title-box"><uni-search-bar class="uni-mt-10" vue-id="0676bb71-1" radius="5" placeholder="请输入商品名称" cancelButton="none" data-event-opts="{{[['^blur',[['search']]],['^clear',[['clearSearch']]]]}}" bind:blur="__e" bind:clear="__e" bind:__l="__l"></uni-search-bar></view><view class="content-left" style="height:85%;float:left;position:fixed;top:100rpx;"><block wx:for="{{indexList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{gateType==''}}"><view data-event-opts="{{[['tap',[['clickLeftBtn',[index]]]]]}}" class="{{['left-box',item.parentId?'left-box-hover':'']}}" bindtap="__e"><text class="{{[item.parentId?'red':'']}}" style="width:100%;height:90rpx;line-height:90rpx;display:inline-block;overflow:hidden;">{{item.categoryName}}</text></view></block></block></view><view class="content-right" style="padding-top:14%;width:570rpx;background:#fff;margin:0 0 0 170rpx;padding-bottom:110rpx;"><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.delFlag}}"><view class="right-box"><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['shopList','',index]]]]]]]}}" class="box-left" catchtap="__e"><block wx:if="{{item.productPicture}}"><image class="img-radius _img" src="{{item.productPicture}}" alt></image></block><block wx:else><view class="noPic">暂无图片</view></block><block wx:if="{{shopId=='1960543009070256129'}}"><view style="margin-bottom:15px;background:red;color:#fff;width:23%;height:30rpx;font-size:20rpx;position:absolute;bottom:0;text-align:center;border-radius:5px;">{{'主播佣金'+(item.commission==null?0:item.commission+'%')+''}}</view></block></view><view class="box-right"><view class="box-right-name">{{''+(item.productName==null?'':item.productName)+''}}<block wx:if="{{item.delFlag==0}}"><text style="color:red;">(已下架)</text></block></view><view class="box-right-num">{{item.productSn==null?'':item.productSn}}</view><view class="box-right-num">{{"供应商:"+(item.supplierName==null?'':item.supplierName)}}</view><block wx:if="{{shopId!='1960543009070256129'}}"><view class="box-right-price"><block wx:if="{{type==0}}"><view class="price-box"><text>{{item.purchasePrice?item.purchasePrice:'暂无'}}</text><text>采购价</text></view></block><view class="price-box"><text>{{item.wholesalePrice}}</text><text>批发价</text></view><view class="price-box"><text>{{item.price}}</text><text>零售价</text></view><view data-event-opts="{{[['tap',[['seeStockCount',['$0','$1'],[[['shopList','',index,'stockCount']],[['shopList','',index,'minusStockCount']]]]]]]}}" class="price-box" catchtap="__e"><text>{{item.stockCount+item.minusStockCount}}</text><view> 库存 <uni-icons vue-id="{{'0676bb71-2-'+index}}" type="help" size="15" bind:__l="__l"></uni-icons></view></view></view></block><block wx:else><view class="box-right-price"><block wx:if="{{shopOwnerPhone==username||username==item.createBy}}"><view class="price-box"><text>{{item.purchasePrice?item.purchasePrice+'%':'暂无'}}</text><text>团长佣金</text></view></block><view class="price-box"><text>{{item.wholesalePrice}}</text><text>直播价</text></view><view class="price-box"><text>{{item.price}}</text><text>日常价</text></view><view data-event-opts="{{[['tap',[['seeStockCount',['$0','$1'],[[['shopList','',index,'stockCount']],[['shopList','',index,'minusStockCount']]]]]]]}}" class="price-box" catchtap="__e"><text>{{item.stockCount+item.minusStockCount}}</text><view> 库存 <uni-icons vue-id="{{'0676bb71-3-'+index}}" type="help" size="15" bind:__l="__l"></uni-icons></view></view></view></block></view><checkbox-group data-event-opts="{{[['tap',[['checkboxChange',['$0'],[[['shopList','',index]]]]]]]}}" bindtap="__e"><label><checkbox class="checkbox" checked="{{item.checked}}"></checkbox></label></checkbox-group></view></block></block><block wx:for="{{shopList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block wx:if="{{item.delFlag}}"><view class="right-box"><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['shopList1','',i
|