布局首页

This commit is contained in:
qq787203167
2022-05-24 14:27:10 +08:00
parent c2134f4b25
commit cbdc91c4bf
9 changed files with 490 additions and 15 deletions
@@ -0,0 +1,118 @@
<template>
<div class="myList-box">
<div class="header-text">
<div class="header-text-left">{{this.$t('myList')}}</div>
<div class="header-text-right">{{$t('more')}}</div>
</div>
<div class="myList-box-content">
<div class="myList-box-content-box" v-for="item in 4">
<div class="top">
<span class="top-text">GB 7258 - 2017</span>
<span class="top-admin">握手流程</span>
</div>
<div class="button">
2022-04-04 12:00:00
</div>
<div class="with">
{{$t('Pending')}}
</div>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'myList'
}
</script>
<style scoped lang="less">
.myList-box {
width: 100%;
.header-text {
width: 100%;
display: flex;
justify-content: space-between;
.header-text-left {
font-size: 20px;
font-weight: 400;
color: #040B29;
}
.header-text-right {
font-size: 14px;
font-weight: 400;
color: #9B9DA9;
margin-top: 6px;
}
}
.myList-box-content {
margin-top: 16px;
.myList-box-content-box {
width: 100%;
height: 68px;
background: #F6F7FA;
border: 1px solid #EFF1F3;
border-radius: 4px;
padding: 13px 16px;
box-sizing: border-box;
margin-bottom: 14px;
position: relative;
.top {
.top-text {
font-size: 16px;
font-family: Blue Sky Noto;
font-weight: 400;
color: #040B29;
max-width: 50%;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.top-admin {
font-size: 16px;
font-family: Blue Sky Noto;
display: inline-block;
font-weight: 400;
color: #040B29;
margin-left: 4px;
max-width: calc(50% - 72px);
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
}
.button {
font-size: 14px;
font-weight: 400;
color: #9B9DA9;
margin-top: -7px;
}
.with {
width: 64px;
height: 26px;
background: #00B3BE;
border-radius: 0px 4px 0px 10px;
position: absolute;
right: 0;
top: 0;
text-align: center;
line-height: 26px;
font-size: 12px;
font-weight: 400;
color: #FFFFFF;
}
}
}
}
</style>