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
7.7 KiB
1 line
7.7 KiB
3 months ago
|
<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
|