Commit 91e34f0b by 胡悦

修改样式

1 parent 059b6773
......@@ -19,6 +19,14 @@
font-size: 24px;
color: #999999;
}
.name-box {
position: relative;
.price {
position: absolute;
right: 0;
bottom: -4px;
}
}
}
.service-ranking {
display: flex;
......
......@@ -3,7 +3,7 @@
* @Author: huyue
* @Date: 2023-05-12 15:26:33
* @LastEditors: huyue
* @LastEditTime: 2023-05-16 18:31:00
* @LastEditTime: 2023-05-16 21:29:49
-->
<template>
<div class="banner-header">
......@@ -66,7 +66,7 @@
<div class="service-info">
<img class="first-medal" :src="getImageUrl(`${data.classList![index]}-medal`)" alt="">
<div class="right-content">
<div class="name-box"><div class="store-name">{{item.merchantName4s}}</div><div class="price">¥{{item.turnover}}</div></div>
<div class="name-box"><div class="store-name">{{item.merchantName4s.length > 24 ? `${item.merchantName4s.slice(0,24)}...` : item.merchantName4s}}</div><div class="price">¥{{item.turnover}}</div></div>
<div class="resident-sales">驻店销售:{{ item.staffName }}</div>
</div>
</div>
......@@ -120,6 +120,7 @@ const getInfo = async () => {
"dj.api.quotation.smartcarlife.vd.service.battlefield",
query
);
// data.reportInfo.merchantList[0].merchantName4s = '长沙和信丰田贴膜中心长沙和信丰田贴膜中心长沙和信丰田贴膜中心长沙和信丰田贴膜中心'
};
const getImageUrl = (name: any, path = "equity") => {
return new URL(`./${path}/${name}.png?v=${global.version}`, global.$imgUrl)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!