平板端快衣店
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.5 KiB

<view><view style="position:fixed;top:0;z-index:99;height:70px;width:100%;display:flex;background:#fff;padding-top:30px;"><uni-icons vue-id="7778a5ee-1" type="left" size="10" data-event-opts="{{[['^tap',[['backPage']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><view class="title-box"><uni-search-bar class="uni-mt-10" vue-id="7778a5ee-2" 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="width:13%;height:80%;float:left;position:fixed;top:110px;"><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:40px;line-height:40px;display:inline-block;overflow:hidden;">{{item.categoryName}}</text></view></block></view><view class="content-right" style="background:#fff;margin-left:13%;margin-top:110px;"><view class="table"><view class="table-th"><view style="width:5%;">#</view><view style="width:10%;">商品图</view><view style="width:25%;">货号</view><view style="width:20%;">名称</view><view style="width:20%;">批发价</view><view style="width:20%;">零售价</view></view><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="table-tr"><view data-event-opts="{{[['tap',[['checkboxChange',['$0'],[[['shopList','',index]]]]]]]}}" style="width:5%;background:#fff;" bindtap="__e"><checkbox-group><label><checkbox class="checkbox" checked="{{item.checked}}"></checkbox></label></checkbox-group></view><view data-event-opts="{{[['tap',[['largeImg',['$0'],[[['shopList','',index]]]]]]]}}" style="width:10%;" catchtap="__e"><block wx:if="{{item.productPicture}}"><image style="border-radius:10px;width:30px;height:30px;margin:0 auto;" src="{{item.productPicture}}" alt class="_img"></image></block><block wx:else><view class="noPic" style="width:100%;">暂无图片</view></block></view><view style="width:25%;">{{''+(item.productSn==null?'':item.productSn)+''}}</view><view style="width:20%;">{{''+(item.productName==null?'暂无':item.productName)+''}}</view><view style="width:20%;">{{''+item.wholesalePrice+''}}</view><view style="width:20%;">{{''+item.price+''}}</view></view></block></view><u-loadmore vue-id="7778a5ee-3" 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-4" 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>