fix(client): userpage ui (#9179)
* fix(unverified): clip pages ui * fix(unverified): user page width Co-authored-by: syuilo <Syuilotan@yahoo.co.jp>
This commit is contained in:
parent
2d7f227de7
commit
73b778de2a
|
@ -1,16 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
|
||||||
<MkSpacer :content-max="800">
|
<MkSpacer :content-max="800">
|
||||||
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
<div class="pages-user-clips">
|
||||||
|
<MkPagination v-slot="{items}" ref="list" :pagination="pagination" class="list">
|
||||||
<MkA v-for="item in items" :key="item.id" :to="`/clips/${item.id}`" class="item _panel _gap">
|
<MkA v-for="item in items" :key="item.id" :to="`/clips/${item.id}`" class="item _panel _gap">
|
||||||
<div class="_panel">
|
|
||||||
<b>{{ item.name }}</b>
|
<b>{{ item.name }}</b>
|
||||||
<Mfm v-if="item.description" class="description" :text="item.description"/>
|
<div v-if="item.description" class="description">{{ item.description }}</div>
|
||||||
</div>
|
|
||||||
</MkA>
|
</MkA>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</MkSpacer>
|
|
||||||
</div>
|
</div>
|
||||||
|
</MkSpacer>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
@ -32,5 +30,18 @@ const pagination = {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
|
.pages-user-clips {
|
||||||
|
> .list {
|
||||||
|
> .item {
|
||||||
|
display: block;
|
||||||
|
padding: 16px;
|
||||||
|
|
||||||
|
> .description {
|
||||||
|
margin-top: 8px;
|
||||||
|
padding-top: 8px;
|
||||||
|
border-top: solid 0.5px var(--divider);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
|
||||||
<MkSpacer :content-max="800">
|
<MkSpacer :content-max="800">
|
||||||
<MkPagination v-slot="{items}" :pagination="pagination">
|
<MkPagination v-slot="{items}" :pagination="pagination">
|
||||||
<div class="jrnovfpt">
|
<div class="jrnovfpt">
|
||||||
|
@ -7,7 +6,6 @@
|
||||||
</div>
|
</div>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</MkSpacer>
|
</MkSpacer>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|
|
@ -1,11 +1,9 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
|
||||||
<MkSpacer :content-max="800">
|
<MkSpacer :content-max="800">
|
||||||
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
||||||
<MkPagePreview v-for="page in items" :key="page.id" :page="page" class="_gap"/>
|
<MkPagePreview v-for="page in items" :key="page.id" :page="page" class="_gap"/>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</MkSpacer>
|
</MkSpacer>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
<template>
|
<template>
|
||||||
<div>
|
|
||||||
<MkSpacer :content-max="800">
|
<MkSpacer :content-max="800">
|
||||||
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
<MkPagination v-slot="{items}" ref="list" :pagination="pagination">
|
||||||
<div v-for="item in items" :key="item.id" :to="`/clips/${item.id}`" class="item _panel _gap afdcfbfb">
|
<div v-for="item in items" :key="item.id" :to="`/clips/${item.id}`" class="item _panel _gap afdcfbfb">
|
||||||
|
@ -12,7 +11,6 @@
|
||||||
</div>
|
</div>
|
||||||
</MkPagination>
|
</MkPagination>
|
||||||
</MkSpacer>
|
</MkSpacer>
|
||||||
</div>
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|
Loading…
Reference in New Issue