| 1234567891011121314151617181920212223242526272829 |
- <!-- top-view -->
- <view class="top-view">
- <!-- 导航栏 -->
- <van-nav-bar custom-style="background-color: #407DB8">
- <van-icon slot="left" name="arrow-left" size="25px" color="#fff" bind:click="backToParent"/>
- <text slot="title" style="color: #fff;">钻石首饰</text>
- </van-nav-bar>
- <!-- 搜索视图 -->
- <van-search model:value="{{ result }}" use-action-slot background="#9DBAD6" shape="round" placeholder="搜索首饰" bind:change="onChange">
- <view slot="action" bind:tap="onSearch" style="color: #fff;">搜索</view>
- </van-search>
- </view>
- <!-- 商品卡片 -->
- <view class="goodscard" style="padding-bottom: {{ safeBottom }}px;">
- <view class="goodscard-item" wx:for="{{ sellOrders }}" wx:for-item="itm" wx:for-index="idx" wx:key="idx" data-num="{{ idx }}" bindtap="onItemClick">
- <van-image width="100%" radius="10px 10px 0px 0px" height="180px" use-loading-slot fit="cover" src="{{ itm.imagepath }}" >
- <van-loading slot="loading" type="spinner" size="20" vertical />
- </van-image>
- <text class="goods-title">{{ itm.zsstyletypedisplay }} {{ itm.totalqty }}ct {{ itm.settingmaterial }}</text>
- <text class="goods-price">{{ itm.zscurrencytypedisplayunit }}{{ itm.price }}</text>
- </view>
- </view>
- <!-- 无数据 -->
- <van-empty wx:if="{{ isEmpty }}" class="custom-image" description="无数据"/>
- <!-- toast -->
- <van-toast id="van-toast" />
|