| 123456789101112131415161718192021222324252627282930313233343536373839404142 |
- <view class="toptip {{tipStaus}} text-white {{tipType}}" style='top:{{CustomBar}}px;'>{{tipText}}</view>
- <cu-custom bgColor="bg-color" isBack="{{true}}" title="{{name}}">
- <!-- <view slot="content">{{name}}</view> -->
- </cu-custom>
- <!-- <view class="top" bindtap="addProduct">
- <text>添加</text>
- </view> -->
- <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 class="product">
- <scroll-view scroll-y enable-back-to-top>
- <view>
- <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">
- <text>{{item.name}}</text>
- <view>
- <view>
- <text class="text">厂家:</text>
- <text>{{item.companyName}}</text>
- </view>
- <view>
- <text class="text">创建时间:</text>
- <text>{{item.createTime}}</text>
- </view>
- </view>
- </view>
- <view class="edit" bindtap="editList" data-item="{{item}}"> 修改 </view>
- <view class="del" bindtap="delList" data-index="{{ index }}"> 删除 </view>
- </view>
- </block>
- </view>
- </scroll-view>
- </view>
- <view class="addLabel" bindtap="addProduct">
- <text>添加</text>
- </view>
|