Fix:2459 【商城小程序】康养首页--城市列表应以三列进行展示

This commit is contained in:
modendeveloper
2024-10-10 19:17:12 +08:00
parent 8c2e785ea0
commit b3d8fefaba
+10 -1
View File
@@ -108,7 +108,7 @@
> >
<view <view
v-if="tabIndex === 0" v-if="tabIndex === 0"
class="item item-store" class="city-item"
@click="goStore(item.id, item.cityName)" @click="goStore(item.id, item.cityName)"
> >
<image <image
@@ -305,6 +305,15 @@ export default {
<style scoped lang="less"> <style scoped lang="less">
@import "@/assets/css/product.less"; @import "@/assets/css/product.less";
.cover{
width: 160rpx !important;
height: 160rpx !important;
border-radius: 8rpx;
}
.city-item{
width: 160rpx !important;
margin: 30rpx 0rpx 0rpx 20rpx;
}
.news-title{ .news-title{
white-space: nowrap; white-space: nowrap;
} }