123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- <wxs src="../../utils/filter.wxs" module="filter"></wxs>
- <view class="container">
- <!--screen-->
- <view class="tui-header-screen">
- <view class="cu-bar search bg-white">
- <view class="search-form round">
- <text class="cuIcon-search"></text>
- <input type="text" placeholder="输入商品名称" confirm-type="search" value="{{searchParams.productName}}" data-name="searchParams.productName" catchinput="inputedit" bindblur="inputedit"></input>
- </view>
- <view class="action">
- <button class="cu-btn bg-blue shadow-blur round" bindtap="btnsearch">搜索</button>
- </view>
- </view>
- </view>
- <!--screen-->
- <view class="tui-order-list">
- <view class="tui-order-item" wx:for="{{productList}}">
- <tui-list-cell padding="0">
- <view class="tui-goods-item">
- <image src="{{item.productImg}}" class="tui-goods-img"></image>
- <!-- <view class="tui-goods-center" bindtap="toEdit" data-id="{{item.id}}"> -->
- <view class="tui-goods-center" data-id="{{item.id}}">
- <view class="tui-goods-name">{{item.skuProductName}}</view>
- <view class="tui-goods-attr">商品售价(元):<text style="color:red;">¥{{filter.toDecimal2Penny(item.productPrice)}}</text></view>
- <!-- <view class="tui-goods-attr">商品售价(元):<text style="color:red;">¥{{filter.toDecimal2Penny(item.productPrice)}}</text></view> -->
- <!-- <view class="tui-goods-attr">商品应用格子:
- <tui-tag size="small" tui-tag-class="tui-mrbtm" wx:for="{{filter.gridList(item.productGrid)}}">{{item}}</tui-tag></view> -->
- </view>
- <!-- <view class="tui-price-right">
- <button class="tui-btn tui-btn-small tui-warning tui-fillet" bindtap="deleteProduct" data-id="{{item.id}}">删除</button>
- </view> -->
- </view>
- </tui-list-cell>
- </view>
- </view>
- <!--加载loadding-->
- <tui-loadmore visible="{{loadding}}" index="{{3}}" type="red"></tui-loadmore>
- <tui-nomore visible="{{!pullUpOn}}" bgcolor="#fafafa"></tui-nomore>
- <!--加载loadding-->
- <!-- <tui-button type="blue" height="98rpx" shape="rightAngle" bindtap="toAddProduct" style="position:fixed;bottom:0;width:100%;">添加商品</tui-button> -->
- </view>
|