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
3.1 KiB
1 lines
3.1 KiB
<view><view class="title-box"><uni-search-bar class="uni-mt-10" vue-id="7778a5ee-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"><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></view><view class="content-right" style="width:570rpx;background:#fff;margin:100rpx 0 70rpx 170rpx;height:76%;padding-bottom:50rpx;"><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="right-box"><view class="box-left"><block wx:if="{{item.productPicture}}"><image class="img-radius _img" src="{{item.productPicture}}" alt></image></block><block wx:else><view class="noPic">暂无图片</view></block></view><view class="box-right"><view class="box-right-name">{{''+(item.productName==null?'':item.productName)+''}}</view><view class="box-right-num">{{item.productSn}}</view><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 class="price-box"><text>{{item.stockCount}}</text><text>库存</text></view></view></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><u-loadmore vue-id="7778a5ee-2" status="{{status}}" bind:__l="__l"></u-loadmore></view><view class="bottom-box"><view style="width:50%;"></view><button data-event-opts="{{[['tap',[['checkPay',['1']]]]]}}" class="bottom-btn" bindtap="__e">批量删除</button></view><uni-popup class="vue-ref" vue-id="7778a5ee-3" background-color="#fff" data-ref="delPopup" bind:__l="__l" vue-slots="{{['default']}}"><view class="popup-del-content"><view class="popup-del-title"><text>选择商品价格</text></view><view style="line-height:100rpx;"> 删除后的商品<text style="color:red;">无法找回</text>,是否继续? </view><view style="display:flex;margin-top:20rpx;"><view class="popup-bottom-left"><view data-event-opts="{{[['tap',[['e0',['$event']]]]]}}" class="bottom-del-btn" style="background:linear-gradient(90deg, #FF9797, #FFC1E0);" bindtap="__e">再想想</view></view><view class="popup-bottom-right"><view data-event-opts="{{[['tap',[['checkPay']]]]}}" class="bottom-del-btn" bindtap="__e">确认删除</view></view></view></view></uni-popup></view>
|