init
This commit is contained in:
22
components/articlecard/articlecard.wxml
Normal file
22
components/articlecard/articlecard.wxml
Normal file
@@ -0,0 +1,22 @@
|
||||
<view class="shopcard" bindtap="leavFor" data-id="{{data.id}}">
|
||||
|
||||
<image class="shopcard_img" src="{{data.cover}}"/>
|
||||
|
||||
<view class="shopcard_content">
|
||||
|
||||
<text class="shopcard_content_title">{{data.title}}</text>
|
||||
|
||||
<!-- <view class="shopcard_content_auth">
|
||||
<text wx:if="{{data.category == 2}}" style="color: #07C160;">免费
|
||||
</text>
|
||||
<text wx:if="{{data.category == 1}}" style="color: #d40909;">付费
|
||||
</text>
|
||||
</view> -->
|
||||
|
||||
<view class="shopcard_num">
|
||||
<!-- <text>下载:{{data.downloadNum}}</text> -->
|
||||
<!-- <text>收藏:{{data.collectionNum}}</text> -->
|
||||
</view>
|
||||
|
||||
</view>
|
||||
</view>
|
||||
Reference in New Issue
Block a user