31 lines
1.6 KiB
Plaintext
31 lines
1.6 KiB
Plaintext
<!-- 产品列表 -->
|
|
<view class="product">
|
|
<view class="product-list" wx:if="{{goodsArr.length > 0}}">
|
|
<navigator hover-class="none" url="../details/details?id={{item.goods_id}}" class="product-item" wx:for="{{goodsArr}}" wx:key="goodsArr">
|
|
<image class="product-item-img" mode="aspectFill" src="{{item.cover}}"></image>
|
|
<view class="product-item-cont">
|
|
<view class="nowrap product-item-title">{{item.name}}</view>
|
|
<view class="product-item-specs">{{item.description}}</view>
|
|
<view class="product-item-see">
|
|
<view class="product-item-price"><text>¥</text>{{item.price.vip}}<view class="product-item-vip">VIP</view></view>
|
|
<view class="product-item-number"><text>原价¥</text>{{item.price.price}}</view>
|
|
</view>
|
|
<view class="product-item-btn">
|
|
立即购买<image src="https://cdn.shuiganying.com/images/2023/03/29/bf6111cde69274156b23f87dd4a812f3.png" mode="widthFix" class="product-item-arrow"></image>
|
|
</view>
|
|
</view>
|
|
</navigator>
|
|
<view class="pagesLoding" wx:if="{{lodingStats}}">
|
|
<block wx:if="{{page.has_more}}">
|
|
<image class="pagesLoding-icon" src="/static/icons/refresh_loding.gif" mode="widthFix"></image>加载中...
|
|
</block>
|
|
<block wx:else>
|
|
没有更多了~
|
|
</block>
|
|
</view>
|
|
</view>
|
|
<view class="pack-center pages-hint" wx:else>
|
|
<image src="/static/imgs/text_null.png"></image>
|
|
<view>暂无数据</view>
|
|
</view>
|
|
</view> |