2022-07-14 19:31:37 +00:00
|
|
|
<template>
|
|
|
|
<div>
|
|
|
|
<div v-for="index in size" :key="index" class="proposals-box">
|
|
|
|
<div class="columns is-gapless">
|
2022-07-29 14:57:40 +10:00
|
|
|
<div class="column">
|
2022-07-14 19:31:37 +00:00
|
|
|
<div class="proposals-box--title">
|
2022-07-29 14:57:40 +10:00
|
|
|
<div class="proposals-box--skeleton">
|
|
|
|
<b-skeleton height="30" width="110" />
|
|
|
|
</div>
|
|
|
|
<div class="proposals-box--skeleton">
|
|
|
|
<b-skeleton height="30" width="110" />
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="proposals-box--skeleton is-percentage">
|
|
|
|
<b-skeleton height="30" width="36" />
|
|
|
|
</div>
|
2022-07-14 19:31:37 +00:00
|
|
|
</div>
|
2022-07-29 14:57:40 +10:00
|
|
|
<div class="proposals-box--comment">
|
|
|
|
<div class="proposals-box--skeleton">
|
|
|
|
<b-skeleton height="21" width="21" />
|
|
|
|
</div>
|
|
|
|
<div class="proposals-box--skeleton">
|
|
|
|
<b-skeleton height="21" width="260" />
|
|
|
|
</div>
|
2022-07-14 19:31:37 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
props: {
|
|
|
|
size: {
|
|
|
|
type: Number,
|
|
|
|
default: 3
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
2022-07-29 14:57:40 +10:00
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
$margin: 0.714rem;
|
|
|
|
|
|
|
|
.proposals-box {
|
|
|
|
&--title {
|
|
|
|
width: 100%;
|
|
|
|
margin: 0;
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--skeleton {
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
&.is-percentage {
|
|
|
|
float: right;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--comment {
|
|
|
|
margin-top: 1.5rem;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|