Style(搜索):界面调整
This commit is contained in:
@@ -104,7 +104,10 @@
|
|||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</view>
|
</view>
|
||||||
<view class="type">
|
<view class="type">
|
||||||
{{ item.typeName || ' ' }}
|
<view v-if="item.typeName" class="type-tag">
|
||||||
|
{{ item.typeName }}
|
||||||
|
</view>
|
||||||
|
<view v-else> </view>
|
||||||
</view>
|
</view>
|
||||||
<view class="desc">
|
<view class="desc">
|
||||||
<view class="tip one-t">
|
<view class="tip one-t">
|
||||||
@@ -117,6 +120,7 @@
|
|||||||
<view v-if="item.products" class="good-list">
|
<view v-if="item.products" class="good-list">
|
||||||
<view
|
<view
|
||||||
v-for="(good) in item.products"
|
v-for="(good) in item.products"
|
||||||
|
:key="good.productId"
|
||||||
class="good-item"
|
class="good-item"
|
||||||
@click="goGoodsCon(good.productId)"
|
@click="goGoodsCon(good.productId)"
|
||||||
>
|
>
|
||||||
@@ -425,12 +429,20 @@ export default {
|
|||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.type {
|
.type {
|
||||||
|
display: flex;
|
||||||
margin: 10rpx 0 0 0;
|
margin: 10rpx 0 0 0;
|
||||||
|
.type-tag {
|
||||||
|
padding: 4px 8px;
|
||||||
|
border-radius: 3px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #946300;
|
||||||
|
background: linear-gradient(to bottom, #FDF8B9, #E3A72C);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.desc {
|
.desc {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
margin: 10rpx 0 0 0;
|
align-items: center;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
.tip {
|
.tip {
|
||||||
flex: 1;
|
flex: 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user