diff --git a/pages/index/searchbar/detail/index.wxss b/pages/index/searchbar/detail/index.wxss index 3fd9f59..8581566 100644 --- a/pages/index/searchbar/detail/index.wxss +++ b/pages/index/searchbar/detail/index.wxss @@ -80,9 +80,6 @@ padding-left: 30rpx; } -.merchant-brand view:nth-child(2) text:nth-child(1) { - margin-top: 20rpx; -} .merchant-shop text, .merchant-phone text { font-size: 30rpx; @@ -153,9 +150,18 @@ width: 92%; margin: 0 auto; } +.merchant-brand view:nth-child(2) text:nth-child(1) { + margin-top: 20rpx; +} + .title{ font-size: 24rpx; color: #666; + width: 530rpx; + height: 40rpx; + white-space: nowrap; + text-overflow: ellipsis; + overflow: hidden; } .merchant-shop,.merchant-phone{ width: 92%;