update:前段代码首次上传
This commit is contained in:
33
FrontCode1/vue/src/components/table.vue
Normal file
33
FrontCode1/vue/src/components/table.vue
Normal file
@@ -0,0 +1,33 @@
|
||||
<template>
|
||||
<div class="box">
|
||||
<div>
|
||||
<span>{{ data.date }}</span>
|
||||
<span>{{ data.address }}</span>
|
||||
</div>
|
||||
<div>
|
||||
<div>郁金花园北地块</div>
|
||||
<div>协议签订阶段</div>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name: 'table',
|
||||
props: ['data'],
|
||||
}
|
||||
</script>
|
||||
<style lang="less" scoped>
|
||||
.box {
|
||||
> :nth-child(1) {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding-bottom: 10px;
|
||||
}
|
||||
> :nth-child(2) {
|
||||
border-top: 2px solid #a8cbec;
|
||||
> div {
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user