Feat:店铺搜索增加旅居店铺
This commit is contained in:
@@ -119,7 +119,16 @@
|
|||||||
{{ item.name }}
|
{{ item.name }}
|
||||||
</view>
|
</view>
|
||||||
<view class="type">
|
<view class="type">
|
||||||
<view v-if="item.typeName" class="type-tag">
|
<view
|
||||||
|
v-if="item.isTravel === 1"
|
||||||
|
class="type-tag-travel"
|
||||||
|
>
|
||||||
|
旅居店铺
|
||||||
|
</view>
|
||||||
|
<view
|
||||||
|
v-else-if="item.typeName"
|
||||||
|
class="type-tag"
|
||||||
|
>
|
||||||
{{ item.typeName }}
|
{{ item.typeName }}
|
||||||
</view>
|
</view>
|
||||||
<view v-else> </view>
|
<view v-else> </view>
|
||||||
@@ -531,6 +540,13 @@ export default {
|
|||||||
color: #946300;
|
color: #946300;
|
||||||
background: linear-gradient(to bottom, #FDF8B9, #E3A72C);
|
background: linear-gradient(to bottom, #FDF8B9, #E3A72C);
|
||||||
}
|
}
|
||||||
|
.type-tag-travel {
|
||||||
|
padding: 2px 6px;
|
||||||
|
border-radius: 3px;
|
||||||
|
font-size: 12px;
|
||||||
|
color: #fff;
|
||||||
|
background: linear-gradient(to bottom, #77E49F, #4FA379);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
.desc {
|
.desc {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|||||||
Reference in New Issue
Block a user