Card.wxml
1.05 KB
<!--pages/addTransform/components/card/Card.wxml-->
<view class="card-box" bindtap="handleClick">
<image class="img" src="{{IMGURL}}{{cardForm.imgUrl}}?v={{img_version}}" />
<view class="card-block">
<view class="m-b-20">
<text class="card-type" style="color: {{typeObj[cardForm.type].color}}; background-color: {{typeObj[cardForm.type].bgColor}}">{{typeObj[cardForm.type].name}}</text>
<text class="card-title">{{cardForm.proName}}</text>
</view>
<view class="flex card-row">
<view wx:for="{{cardForm.priceList}}" wx:key="index" class="price-item">
<text class="m-r-8">{{item.name}}</text>
<text>¥{{item.value}}</text>
</view>
</view>
<view class="flex-space card-row">
<view wx:if="{{cardForm.profit}}">
<text class="m-r-8">预估收益</text>
<text class="profit-txt">¥{{cardForm.profit}}</text>
</view>
<view wx:else="">暂无预估收益,敬请期待</view>
<view class="profit-jump">产品介绍<text class="arrow"></text></view>
</view>
</view>
</view>