徐总多门店
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
7.7 KiB

<view class="goods-list data-v-3f50eec6"><view class="accountTitle data-v-3f50eec6"><view style="{{'height:'+(getHeight.barTop+'px')+';'}}" class="data-v-3f50eec6"></view><view class="sysTitle acea-row row-center-wrapper data-v-3f50eec6" style="{{'height:'+(getHeight.barHeight+'px')+';'}}"><view class="data-v-3f50eec6">商品管理</view><text data-event-opts="{{[['tap',[['goarrow',['$event']]]]]}}" class="iconfont icon-ic_leftarrow data-v-3f50eec6" bindtap="__e"></text></view></view><view style="{{'height:'+(getHeight.barTop+getHeight.barHeight+'px')+';'}}" class="data-v-3f50eec6"></view><view class="searchCon acea-row row-between-wrapper data-v-3f50eec6"><view class="search acea-row row-middle data-v-3f50eec6"><text class="iconfont icon-ic_search data-v-3f50eec6"></text><input class="inputs data-v-3f50eec6" placeholder="请输入商品名称/ID" placeholder-class="placeholder" confirm-type="search" name="search" data-event-opts="{{[['confirm',[['searchSubmit',['$event']]]],['input',[['__set_model',['','keyword','$event',[]]]]]]}}" value="{{keyword}}" bindconfirm="__e" bindinput="__e"/></view><block wx:if="{{administer}}"><view data-event-opts="{{[['tap',[['manageTap',['$event']]]]]}}" bindtap="__e" class="data-v-3f50eec6">取消</view></block><block wx:else><view data-event-opts="{{[['tap',[['manageTap',['$event']]]]]}}" class="edit acea-row row-center-wrapper data-v-3f50eec6" bindtap="__e"><text class="iconfont icon-ic_batch data-v-3f50eec6"></text></view></block></view><view class="nav acea-row row-middle data-v-3f50eec6"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['navTap',['$0',index],[[['navList','',index]]]]]]]}}" class="{{['item','data-v-3f50eec6',current==index?'on':'']}}" bindtap="__e">{{''+item.name+''}}<block wx:if="{{current==index}}"><image src="../static/adorn.png" class="data-v-3f50eec6"></image></block></view></block></view><block wx:if="{{$root.g0}}"><view class="list data-v-3f50eec6"><checkbox-group data-event-opts="{{[['change',[['checkboxChange',['$event']]]]]}}" bindchange="__e" class="data-v-3f50eec6"><block wx:for="{{goodsList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="acea-row row-middle data-v-3f50eec6"><block wx:if="{{administer}}"><checkbox class="checkbox data-v-3f50eec6" value="{{item.id}}" checked="{{item.checked}}"></checkbox></block><view class="item data-v-3f50eec6"><view data-event-opts="{{[['tap',[['goDetail',['$0'],[[['goodsList','',index]]]]]]]}}" class="top acea-row row-center-wrapper data-v-3f50eec6" bindtap="__e"><view class="pictrue data-v-3f50eec6"><image src="{{item.image}}" class="data-v-3f50eec6"></image></view><view class="text data-v-3f50eec6"><view class="name line1 data-v-3f50eec6">{{item.store_name}}</view><view class="info data-v-3f50eec6"><text class="data-v-3f50eec6">{{"销量: "+item.sales}}</text><text class="data-v-3f50eec6">{{"库存: "+item.stock}}</text><text class="data-v-3f50eec6">{{"评分: "+item.star}}</text></view><base-money vue-id="{{'32d85096-1-'+index}}" money="{{item.price}}" symbolSize="20" integerSize="32" decimalSize="20" color="#FF7E00" class="data-v-3f50eec6" bind:__l="__l"></base-money></view></view><block wx:if="{{!administer}}"><view class="bottom acea-row row-right data-v-3f50eec6"><view data-event-opts="{{[['tap',[['setShow',['$0',0],[[['goodsList','',index]]]]]]]}}" class="{{['bnt','acea-row','row-center-wrapper','data-v-3f50eec6',item.is_show?'':'up']}}" bindtap="__e">{{item.is_show?'下架':'上架'}}</view><view data-event-opts="{{[['tap',[['openDrawer',['$0'],[[['goodsList','',index]]]]]]]}}" class="bnt on acea-row row-center-wrapper data-v-3f50eec6" bindtap="__e">编辑</view></view></block></view></view></block></checkbox-group></view></block><block wx:if="{{$root.g1}}"><view class="empty-box data-v-3f50eec6"><empty-page vue-id="32d85096-2" title="暂无商品~" src="/statics/images/empty-box.gif" class="data-v-3f50eec6" bind:__l="__l"></empty-page></view></block><loading vue-id="32d85096-3" loaded="{{loadend}}" loading="{{loading}}" class="data-v-3f50eec6" bind:__l="__l"></loading><view class="footerH data-v-3f50eec6"></view><block wx:if="{{administer}}"><view class="footer acea-row row-between-wrapper data-v-3f50eec6"><checkbox-group data-event-opts="{{[['change',[['checkboxAllChange',['$event']]]]]}}" bindchange="__e" class="data-v-3f50eec6"><checkbox value="all" checked="{{isAllSelect}}" class="data-v-3f50eec6"></checkbox><text class="checkAll data-v-3f50eec6">{{"全选("+$root.g2+")"}}</text></checkbox-group><view class="acea-row row-middle data-v-3f50eec6"><block wx:if="{{storeNum}}"><view data-event-opts="{{[['tap',[['editLabels',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-3f50eec6" bindtap="__e">添加标签</view></block><view data-event-opts="{{[['tap',[['editClass',['$event']]]]]}}" class="bnt acea-row row-center-wrapper data-v-3f50eec6" bindtap="__e">修改分类</view><block wx:if="{{type==1}}"><view data-event-opts="{{[['tap',[['setShow',['',1,0]]]]]}}" class="bnt acea-row row-center-wrapper data-v-3f50eec6" bindtap="__e">下架</view></block><block wx:else><block wx:if="{{type==2}}"><view data-event-opts="{{[['tap',[['setShow',['',1,1]]]]]}}" class="bnt acea-row row-center-wrapper data-v-3f50eec6" bindtap="__e">上架</view></block></block></view></view></block><footer-page vue-id="32d85096-4" isWork="{{storeNum}}" class="data-v-3f50eec6" bind:__l="__l"></footer-page><base-drawer vue-id="32d85096-5" mode="bottom" visible="{{visible}}" background-color="transparent" mask="{{true}}" maskClosable="{{true}}" data-event-opts="{{[['^close',[['closeDrawer']]]]}}" bind:close="__e" class="data-v-3f50eec6" bind:__l="__l" vue-slots="{{['default']}}"><view class="edit-list rd-t-40rpx data-v-3f50eec6"><block wx:if="{{!storeNum&&goodsInfo.pid==0}}"><view data-event-opts="{{[['tap',[['editInfo',[0]]]]]}}" class="item data-v-3f50eec6" bindtap="__e">修改价格</view></block><block wx:if="{{!storeNum}}"><view data-event-opts="{{[['tap',[['editInfo',[4]]]]]}}" class="item data-v-3f50eec6" bindtap="__e">修改库存</view></block><block wx:if="{{storeNum}}"><view data-event-opts="{{[['tap',[['editInfo',[0]]]]]}}" class="item data-v-3f50eec6" bindtap="__e">修改价格/库存</view></block><view data-event-opts="{{[['tap',[['editInfo',[1]]]]]}}" class="item data-v-3f50eec6" bindtap="__e">商品分类</view><block wx:if="{{goodsInfo.pid==0}}"><view data-event-opts="{{[['tap',[['editInfo',[2]]]]]}}" class="item data-v-3f50eec6" bindtap="__e">商品标签</view></block></view></base-drawer><edit-price vue-id="32d85096-6" visible="{{visiblePrice}}" goodsInfo="{{goodsInfo}}" storeNum="{{storeNum}}" data-event-opts="{{[['^closeDrawer',[['priceCloseDrawer']]],['^successChange',[['successChange']]]]}}" bind:closeDrawer="__e" bind:successChange="__e" class="data-v-3f50eec6" bind:__l="__l"></edit-price><edit-stock vue-id="32d85096-7" visible="{{visibleStock}}" goodsInfo="{{goodsInfo}}" data-event-opts="{{[['^closeDrawer',[['stockCloseDrawer']]],['^successChange',[['successChange']]]]}}" bind:closeDrawer="__e" bind:successChange="__e" class="data-v-3f50eec6" bind:__l="__l"></edit-stock><edit-lable vue-id="32d85096-8" visible="{{visibleLable}}" storeNum="{{storeNum}}" data-ref="lable" data-event-opts="{{[['^closeDrawer',[['lableCloseDrawer']]],['^successChange',[['successChange']]]]}}" bind:closeDrawer="__e" bind:successChange="__e" class="data-v-3f50eec6 vue-ref" bind:__l="__l"></edit-lable><classify vue-id="32d85096-9" visible="{{visibleClass}}" storeNum="{{storeNum}}" data-ref="classify" data-event-opts="{{[['^closeDrawer',[['classCloseDrawer']]],['^successChange',[['successChange']]]]}}" bind:closeDrawer="__e" bind:successChange="__e" class="data-v-3f50eec6 vue-ref" bind:__l="__l"></classify></view>