Commit a63dfbb0 by renyizhao

调整计算资源卡片样式

parent bf371b32
......@@ -8,3 +8,4 @@ VITE_APP_ENV = 'development'
#VITE_APP_BASE_API = 'http://192.168.1.112:48080/app-api/'
#VITE_APP_BASE_API = 'https://client.phsl.lijinqi.com/app-api/'
VITE_APP_BASE_API = 'http://localhost:48080/app-api'
#VITE_APP_BASE_API = 'https://phslkhd.hnluchuan.com/app-api'
......@@ -192,7 +192,7 @@
<!--卡片形式-->
<div v-if="showVersion === 2" class="version-2">
<el-row :gutter="24" v-if="tableData.length !== 0">
<el-col v-for="(item,index) in tableData" :key="index" :span="6">
<el-col v-for="(item,index) in tableData" :key="index" :span="6" style="margin-bottom: 24px">
<div class="product-card">
<div class="top-info">
<div class="title">{{ item.name }}</div>
......@@ -222,8 +222,8 @@
<div class="value">{{ item.location || '-' }}</div>
</div>
</el-col>
</el-row>
<div class="margin-top-auto">
<el-divider></el-divider>
<div class="flex-justify-end price">
¥{{ item.price ? (item.price / 100).toFixed(2) : '-' }}<template v-if="item.feeInfo">/{{ item.feeInfo }}</template>
......@@ -236,7 +236,7 @@
</el-button>
</div>
</div>
</div>
</div>
</el-col>
</el-row>
......@@ -1317,12 +1317,15 @@ onMounted(() => {
}
.product-card {
margin-bottom: 24px;
border: 1px solid rgba(0, 0, 0, 0.08);
//box-shadow: 0 0 10px 4px rgba(0, 0, 0, 0.08);
box-shadow: 0 5px 10px 2px rgba(0, 0, 0, 0.08);
border-radius: 15px;
display: flex;
flex-direction: column;
height: 100%;
&:hover {
border: 1px solid #2E77E3;
box-sizing: border-box;
......@@ -1357,10 +1360,15 @@ onMounted(() => {
.bottom-info {
padding: 12px 24px 20px 24px;
display: flex;
flex-direction: column;
flex: 1;
.el-divider {
margin: 12px 0;
}
.margin-top-auto {
margin-top : auto;
}
}
.el-col {
......@@ -1375,7 +1383,7 @@ onMounted(() => {
}
.height276 {
height: 276px;
max-height : 276px;
overflow-y: auto;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment