This commit is contained in:
zzy
2023-04-18 17:04:41 +08:00
parent f5a85c78bd
commit 23fca53196
14 changed files with 152 additions and 114 deletions
+29 -23
View File
@@ -20,7 +20,6 @@
<div class="dropdown">
<img src="@/assets/1x/source4.png" class="first " @click="handleShowCup">
</div>
<div class="dropdown1">
@@ -206,7 +205,7 @@ const getHomeIpoList = async () => {
title: companyEngFull + ";" + companyChiFull,
status: status,
number: stkCode,
HKD: priceFinal ? priceFinal : priceMinMax(),
HKD: priceFinal.toFixed(3) ? priceFinal.toFixed(3) : priceMinMax(),
time: listingDate ? listingDate : pricingDate,
ipoID: ipoID,
price: priceFinal,
@@ -214,11 +213,11 @@ const getHomeIpoList = async () => {
}
function priceMinMax() {
if (priceMin && priceMax) {
return `${priceMin} - ${priceMax}`
return `${priceMin.toFixed(3)} - ${priceMax.toFixed(3)}`
} else if (priceMin) {
return `${priceMin} - `
return `${priceMin.toFixed(3)} - `
} else if (priceMax) {
return ` -${priceMax}`
return ` -${priceMax.toFixed(3)}`
} else {
return " - "
}
@@ -872,18 +871,18 @@ const showMounth = (date: any) => {
padding: 0;
}
.header{
height: 60rem;
height: 60px;
.menuicon{
display: block ;
margin-left: 5rem;
width: 25rem;
height: 20rem;
margin-left: 5px;
width: 25px;
height: 20px;
}
.menu{
img {
width: 25rem;
height: 20rem;
width: 25px;
height: 20px;
}
@@ -893,14 +892,21 @@ const showMounth = (date: any) => {
display: none;
}
.first{
width: 24rem;
height: 28rem;
margin-top: 6rem;
margin-left: 10rem;
width: 24px;
height: 28px;
margin-top: 6px;
margin-left: 10px;
}
}
}
// :deep(.el-drawer__body){
// background-color: red;
// width: 80vw;
// }
// :deep(.el-overlay){
// background-color: green;
// }
}
</style>
@@ -926,11 +932,11 @@ const showMounth = (date: any) => {
.header .el-input__wrapper {
margin-top: 0;
margin-left: 0;
padding-left: 50rem;
padding-left: 50px;
width: 61vw;
height: 30rem;
border-radius: 25rem;
font-size: 16rem;
height: 30px;
border-radius: 25px;
font-size: 16px;
border: none;
outline: none;
@@ -938,14 +944,14 @@ const showMounth = (date: any) => {
.el-input__inner {
margin: -35rem;
margin: -35px;
padding: 0;
}
.imgSearch123 {
width: 15rem;
height: 15rem;
transform: translateX(-7rem);
width: 15px;
height: 15px;
transform: translateX(-7px);
}
}
</style>