修改问题
parent
5e8ad6b6d2
commit
7333e7275f
@ -0,0 +1,256 @@
|
||||
<template>
|
||||
<div class="main">
|
||||
<div class="top">
|
||||
<a-form-model layout="inline" :model="form">
|
||||
<a-row>
|
||||
<a-col :span="5">
|
||||
<a-form-model-item label="Activity name">
|
||||
<a-input v-model="form.name" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<a-col :span="5">
|
||||
<a-form-model-item label="Activity name">
|
||||
<a-input v-model="form.name" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<a-col :span="5">
|
||||
<a-form-model-item label="Activity name">
|
||||
<a-input v-model="form.name" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<a-col :span="5">
|
||||
<a-form-model-item label="Activity name">
|
||||
<a-input v-model="form.name" />
|
||||
</a-form-model-item>
|
||||
</a-col>
|
||||
<a-col :span="4">
|
||||
<a-button type="primary">查询</a-button>
|
||||
<a-button style="margin: 0 15px;">重置</a-button>
|
||||
<a-button type="primary" @click="handleBack">返回</a-button>
|
||||
</a-col>
|
||||
</a-row>
|
||||
</a-form-model>
|
||||
</div>
|
||||
<div class="content">
|
||||
<div class="card">
|
||||
<div class="card-top">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-top" style="background: red;">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-top" style="background: rgb(104,208,32);">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-top">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
<div class="card-icon">
|
||||
<a-icon style="font-size: 15px;position: absolute;top: -40px;left: -23px;" type="star" theme="filled" />
|
||||
</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-top">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-top">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-top">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-top">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="card">
|
||||
<div class="card-top">
|
||||
<div class="card-top-title">XXXX</div>
|
||||
MSK
|
||||
</div>
|
||||
<div class="card-bottom">
|
||||
<div class="card-item"><span style="margin-right: 7px;">委托单位:</span><span>青岛德茂</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">开船日期:</span><span>2023-10-2</span></div>
|
||||
<div class="card-item"><span style="margin-right: 7px;">订舱代理:</span><span>测试数据测试数据</span></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'BookCard',
|
||||
props: {
|
||||
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
form: {}
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
},
|
||||
methods: {
|
||||
handleBack() {
|
||||
this.$emit('back')
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.main {
|
||||
background: white;
|
||||
padding: 10px;
|
||||
padding-bottom: 30px;
|
||||
}
|
||||
|
||||
.content {
|
||||
margin-top: 50px;
|
||||
padding: 0 100px;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
}
|
||||
|
||||
.card {
|
||||
border: 1px #ebebeb solid;
|
||||
border-radius: 15px;
|
||||
margin-right: 70px;
|
||||
width: 200px;
|
||||
padding-bottom: 8px;
|
||||
-webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
|
||||
transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
|
||||
margin-bottom: 40px;
|
||||
cursor: pointer;
|
||||
|
||||
&::after {
|
||||
content: "";
|
||||
border-radius: 15px;
|
||||
position: absolute;
|
||||
z-index: -1;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
|
||||
opacity: 0;
|
||||
-webkit-transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
|
||||
transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
|
||||
}
|
||||
|
||||
&:hover {
|
||||
-webkit-transform: scale(1.1, 1.1);
|
||||
transform: scale(1.1, 1.1);
|
||||
}
|
||||
|
||||
&:hover::after {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.card-top {
|
||||
border-top-left-radius: 15px;
|
||||
border-top-right-radius: 15px;
|
||||
background-color: rgb(126, 206, 243);
|
||||
padding: 5px;
|
||||
color: white;
|
||||
font-size: 35px;
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
|
||||
.card-top-title {
|
||||
color: black;
|
||||
font-size: 12px;
|
||||
text-align: left;
|
||||
padding-left: 5px;
|
||||
}
|
||||
|
||||
.card-icon {
|
||||
width: 0;
|
||||
height: 0;
|
||||
border-top: 50px solid #d98d1c;
|
||||
position: absolute;
|
||||
border-left: 50px solid transparent;
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
border-top-right-radius: 15px;
|
||||
}
|
||||
}
|
||||
|
||||
.card-bottom {
|
||||
border-bottom-left-radius: 15px;
|
||||
border-bottom-right-radius: 15px;
|
||||
background-color: #f9f9f9;
|
||||
padding: 0 10px;
|
||||
|
||||
.card-item {
|
||||
margin-top: 7px;
|
||||
font-size: 13px;
|
||||
color: #67aaef;
|
||||
display: flex;
|
||||
justify-content: flex-start;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
Loading…
Reference in New Issue