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

2 months ago
<view class="page1"><view style="position:fixed;top:0;z-index:99;height:70px;width:100%;display:flex;background:#fff;padding-top:30px;"><uni-icons vue-id="7bc3f51a-1" type="left" size="10" data-event-opts="{{[['^tap',[['backPage']]]]}}" bind:tap="__e" bind:__l="__l"></uni-icons></view><view class="title-box" style="height:40px;"><uni-search-bar class="uni-mt-10" vue-id="7bc3f51a-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="height:84%;float:left;position:fixed;top:110px;"><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:40px;line-height:40px;display:inline-block;overflow:hidden;">{{item.categoryName}}</text></view></block></block></view><view class="content-right" style="width:85%;background:#fff;margin:0 0 0 15%;padding-top:110px;"><block wx:for="{{shopList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggle',['bottom','$0'],[[['shopList','',index]]]]]]]}}" class="right-box" bindtap="__e"><view class="box-left"><block wx:if="{{item.hasCheck!=null&&item.hasCheck!=undefined}}"><view style="position:absolute;color:#fff;background:red;width:60px;height:20px;text-align:center;line-height:20px;border-radius:5px;">已选</view></block><block wx:if="{{item.productPicture}}"><image src="{{item.productPicture}}" alt class="_img"></image></block><block wx:else><view class="noPic">暂无图片</view></block></view><view class="box-right"><view style="width:50%;"><view class="box-right-name">{{'品名:'+(item.productSn==null?'':item.productSn)+''}}<block wx:if="{{item.productName}}"><text>{{"货号:"+(item.productName==null?'':item.productName)}}</text></block><block wx:if="{{item.delFlag==0}}"><text style="color:red;">(已下架)</text></block></view><view class="box-right-num">{{'供应商:'+(item.supplierName==null?'':item.supplierName)+''}}</view></view><view class="box-right-price"><block wx:if="{{storageType==0}}"><view class="price-box"><text>{{item.inStorageStatus==0?'待入库':item.purchasePrice==null?'新商品':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="{{'7bc3f51a-3-'+index}}" type="help" size="5" bind:__l="__l"></uni-icons></view></view></view></view></view></block><block wx:for="{{shopList1}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['toggle',['bottom','$0'],[[['shopList1','',index]]]]]]]}}" class="right-box" bindtap="__e"><view class="box-left"><block wx:if="{{item.hasCheck!=null&&item.hasCheck!=undefined}}"><view style="position:absolute;color:#fff;background:red;width:45rpx;height:40rpx;text-align:center;line-height:40rpx;border-radius:5px;">已选</view></block><block wx:if="{{item.productPicture}}"><image src="{{item.productPicture}}" alt class="_img"></image></block><block wx:else><view class="noPic">暂无图片</view></block></view><view class="box-right"><view class="box-right-name">{{''+item.productSn+''}}<block wx:if="{{item.productName}}"><text>{{"("+(item.productName==null?'':item.productName)+")"}}</text></block><block wx:if="{{item.delFlag==0}}"><text style="color:red;">(已下架)</text></block></view><view class="box-right-num">{{item.supplierName==null?'':item.supplierN