feat: 商品标签的调整
This commit is contained in:
@@ -8,16 +8,10 @@
|
||||
>
|
||||
<view class="mk-card-item" @click="placeOrderHandle(item)">
|
||||
<!-- <view class="card-badge">超值推荐</view> -->
|
||||
<image
|
||||
class="card-img"
|
||||
:src="item.commodityIcon"
|
||||
mode="aspectFill"
|
||||
/>
|
||||
<image class="card-img" :src="item.commodityIcon" mode="aspectFill" />
|
||||
<view class="card-content">
|
||||
<view class="card-title-column">
|
||||
<text class="card-title">{{
|
||||
item.commodityName
|
||||
}}</text>
|
||||
<text class="card-title">{{ item.commodityName }}</text>
|
||||
<view
|
||||
class="card-tags"
|
||||
v-for="tag in item.commodityTradeRuleList"
|
||||
@@ -27,9 +21,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<template
|
||||
v-for="(
|
||||
serviceItem, index
|
||||
) in item.commodityServices"
|
||||
v-for="(serviceItem, index) in item.commodityServices"
|
||||
:key="serviceItem.serviceTitle"
|
||||
>
|
||||
<view v-if="index < 3" class="card-desc"
|
||||
@@ -39,9 +31,7 @@
|
||||
<view class="card-bottom-row">
|
||||
<view class="card-price-row">
|
||||
<text class="card-price-fu">¥</text>
|
||||
<text class="card-price">{{
|
||||
item.commodityPrice
|
||||
}}</text>
|
||||
<text class="card-price">{{ item.commodityPrice }}</text>
|
||||
<text class="card-unit">/人</text>
|
||||
</view>
|
||||
|
||||
@@ -156,7 +146,6 @@ const placeOrderHandle = (item) => {
|
||||
}
|
||||
|
||||
.card-tag {
|
||||
background: #f5f5f5;
|
||||
color: #ff6600;
|
||||
font-size: 10px;
|
||||
border-radius: 4px;
|
||||
|
||||
@@ -14,9 +14,7 @@
|
||||
/>
|
||||
<view class="card-content">
|
||||
<view class="card-title-column">
|
||||
<text class="card-title">{{
|
||||
item.commodityName
|
||||
}}</text>
|
||||
<text class="card-title">{{ item.commodityName }}</text>
|
||||
<view
|
||||
class="card-tags"
|
||||
v-for="tag in item.commodityTradeRuleList"
|
||||
@@ -26,9 +24,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<template
|
||||
v-for="(
|
||||
serviceItem, index
|
||||
) in item.commodityServices"
|
||||
v-for="(serviceItem, index) in item.commodityServices"
|
||||
:key="serviceItem.serviceTitle"
|
||||
>
|
||||
<view v-if="index < 3" class="card-desc"
|
||||
@@ -38,9 +34,7 @@
|
||||
<view class="card-bottom-row">
|
||||
<view class="card-price-row">
|
||||
<text class="card-price-fu">¥</text>
|
||||
<text class="card-price">{{
|
||||
item.specificationPrice
|
||||
}}</text>
|
||||
<text class="card-price">{{ item.specificationPrice }}</text>
|
||||
<text class="card-unit">/人</text>
|
||||
</view>
|
||||
<text class="card-btn">下单</text>
|
||||
@@ -156,7 +150,6 @@ const placeOrderHandle = (item) => {
|
||||
}
|
||||
|
||||
.card-tag {
|
||||
background: #f5f5f5;
|
||||
color: #ff6600;
|
||||
font-size: 10px;
|
||||
border-radius: 4px;
|
||||
|
||||
Reference in New Issue
Block a user