1234567891011121314151617181920212223242526272829303132333435363738394041 |
- <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.skuProductName}}" data-name="searchParams.skuProductName" 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">
- <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.productSellPrice)}}</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" hover-class="tui-warning-hover" bindtap="toEdit" data-item="{{item}}">添加</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-->
- </view>
|