|
|
@@ -40,7 +40,16 @@
|
|
|
v-if="info.limitBuy > 0">限购{{ info.limitBuy }}份</text>
|
|
|
|
|
|
{{ info.name }}
|
|
|
- <text v-if="info.variety && info.variety ==1" class="show-color"></text>
|
|
|
+
|
|
|
+ <block v-if="info.kind == 2">
|
|
|
+ <text class="show-tree"></text>
|
|
|
+ </block>
|
|
|
+ <block v-else-if="info.kind ==3">
|
|
|
+ <text class="show-hole"></text>
|
|
|
+ </block>
|
|
|
+ <block v-else>
|
|
|
+ <text v-if="info.variety && info.variety ==1" class="show-color"></text>
|
|
|
+ </block>
|
|
|
</view>
|
|
|
<view class="kc">
|
|
|
<text style="color:green;font-weight:normal;">¥{{ info.hjPrice?parseFloat(info.hjPrice):0 }}</text>
|
|
|
@@ -221,6 +230,24 @@ export default {
|
|
|
border:none;
|
|
|
margin-left:15upx;
|
|
|
}
|
|
|
+ .show-tree{
|
|
|
+ display:inline-block;
|
|
|
+ width:25upx;
|
|
|
+ height:25upx;
|
|
|
+ background-color:rgb(230, 8, 19);
|
|
|
+ border-radius:0;
|
|
|
+ border:none;
|
|
|
+ margin-left:16upx;
|
|
|
+ }
|
|
|
+ .show-hole{
|
|
|
+ display:inline-block;
|
|
|
+ width:0;
|
|
|
+ height:0;
|
|
|
+ border-left:14upx solid transparent;
|
|
|
+ border-right:14upx solid transparent;
|
|
|
+ border-bottom:25upx solid rgb(36, 103, 228);
|
|
|
+ margin-left:16upx;
|
|
|
+ }
|
|
|
& .kc {
|
|
|
color: red;
|
|
|
font-size: 27upx;
|