1
0
Code Issues Pull Requests Packages Projects Releases Wiki Activity GitHub Gitee
epp/weixin-miniprogram/pages/shop/components/good-list-card.wxml

22 lines
961 B
Plaintext

<!--pages/shop/components/good-list-card.wxml-->
<view class="good-card-container">
<!-- <view class="good-card-image" style="background-image: url('../../../image/home.jpg');">
</view> -->
<view class="good-card-image" style="background-image: {{ 'url(' + goodinfo.picUrl + ');'}};">
</view>
<view class="good-card-info">
<text class="good-title line-wrap">{{ goodinfo.goodsName }}</text>
<view class="good-price good-price-counter">
<!-- 原价 -->
<view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ goodinfo.counterPrice }}</view>
</view>
<view class="good-price good-price-retail">
<!-- 售价 -->
<view style="height:0.12em;" class="good-price-line"></view>
<view class="good-price-symbol">¥</view>
<view class="good-price-number">{{ goodinfo.retailPrice }}</view>
</view>
<!-- <text class="line-wrap">{{ displayGoodsInfo }}</text> -->
</view>
</view>