Commit 91ee7c38 by 胡悦

修复线上样式问题

1 parent a78c5df2
...@@ -23,6 +23,13 @@ ...@@ -23,6 +23,13 @@
height: 96px; height: 96px;
} }
.store-name { .store-name {
display: -webkit-box;
word-break: break-all;
text-overflow:ellipsis;
overflow: hidden;
white-space: pre-line;
-webkit-box-orient: vertical;
-webkit-line-clamp:2;
font-weight: 600; font-weight: 600;
font-size: 32px; font-size: 32px;
color: #121314; color: #121314;
...@@ -34,11 +41,12 @@ ...@@ -34,11 +41,12 @@
} }
.name-box { .name-box {
position: relative; position: relative;
.price { align-items: stretch !important;
position: absolute; // .price {
right: 0; // // position: absolute;
bottom: -4px; // right: 0;
} // bottom: -4px;
// }
} }
} }
.service-ranking { .service-ranking {
......
...@@ -162,7 +162,7 @@ ...@@ -162,7 +162,7 @@
} }
} }
.output-content { .output-content {
padding: 48px 36px 56px !important; padding: 48px 26px 56px !important;
.output { .output {
display: flex; display: flex;
align-items: center; align-items: center;
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2023-05-12 15:26:33 * @Date: 2023-05-12 15:26:33
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-05-25 10:58:26 * @LastEditTime: 2023-06-02 14:25:32
--> -->
<template> <template>
<div class="banner-header"> <div class="banner-header">
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
<div class="medal-bg">{{ index + 1 }}</div> <div class="medal-bg">{{ index + 1 }}</div>
</template> </template>
<div class="right-content"> <div class="right-content">
<div class="name-box"><div class="store-name">{{item.merchantName4s && item.merchantName4s.length > 24 ? `${item.merchantName4s!.slice(0,24)}...` : item.merchantName4s}}</div><div class="price">¥{{item.turnover}}</div></div> <div class="name-box"><div class="store-name">{{item.merchantName4s}}</div><div class="price">¥{{item.turnover}}</div></div>
<div class="resident-sales">驻店销售:{{ item.staffName }}</div> <div class="resident-sales">驻店销售:{{ item.staffName }}</div>
</div> </div>
</div> </div>
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!