| 1234567891011121314151617181920212223242526272829303132 |
- <view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
- <cu-custom bgColor="bg-color" isBack="{{true}}" title="产品类别">
- <!-- <view slot="content">产品类别</view> -->
- </cu-custom>
- <view class="worker_search">
- <view class="worker_search_con">
- <input type="text" placeholder="请输入产品名称、生产企业名称" value="{{keyword}}" bindinput="setKeyword"></input>
- <view class="text-color" bindtap="searchList"><text class="cuIcon-search"></text>搜索</view>
- </view>
- </view>
- <view>
- <scroll-view scroll-y enable-back-to-top>
- <view style="padding-bottom: 100rpx;">
- <block wx:for="{{ productList }}" wx:for-item="item" wx:for-index="index" wx:key="index">
- <view class="productInfo {{ item.isTouchMove ? 'touch-move-active' : '' }}" bindtouchstart="touchStart"
- bindtouchmove="touchMove" data-index="{{ index }}">
- <view class="info" bindtap="toProductInfo" data-id="{{item.id}}" data-name="{{item.name}}">
- <text>{{item.name}}</text>
- <text>{{item.productNum}} ></text>
- </view>
- <view class="scrollText">
- <view class="edit" bindtap="editList" data-index="{{ index }}" data-id="{{item.id}}" data-name="{{item.name}}"> 修改 </view>
- <view class="del" bindtap="delList" data-index="{{ index }}"> 删除 </view>
- </view>
- </view>
- </block>
- </view>
- </scroll-view>
- </view>
- <view class="addLabel" bindtap="addProductType">
- <text>添加</text>
- </view>
|