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
1019 B
Plaintext
Raw Normal View History

<!--pages/shop/components/good-list-card.wxml-->
<view class="good-card-container" bindtap="cardOntap" data-goodinfo="{{goodinfo}}">
<!-- <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">
2023-03-19 01:33:43 +08:00
<!-- <text class="good-title line-wrap">{{ goodinfo.goodsName }}</text> -->
<text class="good-title line-wrap">{{ goodinfo.brief }}</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>
</view>
</view>