<view class="content"><view class="one"><view class="one_1"><input type="text" placeholder="搜索商品" data-event-opts="{{[['input',[['__set_model',['$0','name','$event',[]],['searchInfo']],['toInput',['$event']]]]]}}" value="{{searchInfo.name}}" bindinput="__e"/></view><view class="one_2"><button class="button" size="mini" type="primary" data-event-opts="{{[['tap',[['toAdd',['$event']]]]]}}" bindtap="__e">添加</button></view></view><view class="two"><scroll-view class="scroll-view" scroll-y="true" data-event-opts="{{[['scrolltolower',[['toPage',['$event']]]],['scroll',[['toScroll',['$event']]]]]}}" bindscrolltolower="__e" bindscroll="__e"><view class="list-scroll-view"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="list"><view class="list_1"><image class="image" src="{{item.g0?item.$orig.file[0].url:''}}" mode></image><view class="other"><view class="name textOver">{{item.$orig.name||'暂无名称'}}</view><view class="type">{{"类型："+(item.$orig.zhType||'暂无类型')}}</view><view class="type">{{"销量："+(item.$orig.sell_num||'暂无销量')}}</view><view class="type">{{"是否使用："+(item.$orig.zhUser||'暂无')}}</view></view></view><view class="btn"><button class="button" type="primary" size="mini" data-event-opts="{{[['tap',[['toEdit',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e">修改</button><button class="button1" type="default" size="mini" data-event-opts="{{[['tap',[['toSpec',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e">新增规格</button><button class="button1" type="warn" size="mini" data-event-opts="{{[['tap',[['toDel',['$0'],[[['list','',index]]]]]]]}}" bindtap="__e">删除</button></view></view></block><block wx:if="{{is_bottom}}"><view class="is_bottom"><text>{{config.bottom_title}}</text></view></block></view></scroll-view></view></view>