anime
This commit is contained in:
@@ -10,34 +10,17 @@
|
||||
li 除去阅览以外, 还可以做一些什么
|
||||
li 如翻页, 如发表
|
||||
li
|
||||
nuxt-link(to="/thread/create")
|
||||
NuxtLink(to="/thread/create")
|
||||
button 新议题
|
||||
//.index.main-width
|
||||
// article
|
||||
// .card
|
||||
// .content
|
||||
// p 下载 Kana: 400 行代码实现服务端
|
||||
// p 下载 Kana-bbs: 基于 kana 后端使用 Nuxt3 构建的社区论坛程序
|
||||
// p 文档补全计划: 标记任何你感到疑惑的或是不符合直觉之处, 以及你需要却感觉无法轻松实现的功能
|
||||
// //ModelBox
|
||||
// //ModelConesInner
|
||||
// .card
|
||||
// .header
|
||||
// span 最新
|
||||
// span 精华
|
||||
// .expnone
|
||||
// nuxt-link.create-thread(to="/thread/create") 新议题
|
||||
// .content
|
||||
// ThreadList(:data="data")
|
||||
// aside
|
||||
// .card
|
||||
// .content
|
||||
// .bbs-title Kana 开发者论坛
|
||||
// p
|
||||
// | 基于 node 实现的小型服务端,旨在快速灵活构建小型项目
|
||||
// | <br/> 1. 数据类型无限扩展并复用
|
||||
// | <br/> 2. 无依赖免配置一键安装
|
||||
// | <br/> 3. 接口模型
|
||||
//NuxtLink(to="/index") NASAS
|
||||
//NuxtLink(to="/index/hCG7UKzSRgCzyd8Y") |NASAS
|
||||
//Nuxt
|
||||
footer.footer
|
||||
p
|
||||
b Kana
|
||||
.github
|
||||
a(href="https://github.com/InvisibleFuture/kana")
|
||||
span.fab.fa-github
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
3
pages/thread.vue
Normal file
3
pages/thread.vue
Normal file
@@ -0,0 +1,3 @@
|
||||
<template lang="pug">
|
||||
Nuxt
|
||||
</template>
|
@@ -1,31 +1,31 @@
|
||||
<template lang="pug">
|
||||
.thread
|
||||
.header
|
||||
h1.title {{ thread.title }}
|
||||
.info
|
||||
span.user.fas.fa-user-secret {{ thread.user.name }}
|
||||
span.date.far.fa-calendar-alt {{ rwdate(thread.createdAt) }}
|
||||
span.view.far.fa-eye {{ thread.views }}
|
||||
.tags
|
||||
span.tag test
|
||||
span.tag demo
|
||||
.content.circumscription
|
||||
.thread-main(v-html="markdown(thread.data)")
|
||||
button.magic
|
||||
i.fas.fa-magic
|
||||
|
||||
//button.editor(
|
||||
// v-if="account.online && (account.uid === thread.uid || account.gid === 1)",
|
||||
// @click="edit_mode = !edit_mode"
|
||||
//)
|
||||
// i.fas.fa-magic
|
||||
// | Editor
|
||||
PostList(:data="postlist")
|
||||
.post-create(v-if="account.online")
|
||||
img.avatar(:src="account.avatar")
|
||||
.content
|
||||
textarea(v-model="post.data", rows="12")
|
||||
button.submit(@click="createpost") 发表
|
||||
Drawer
|
||||
.thread
|
||||
.header
|
||||
h1.title {{ thread.title }}
|
||||
.info
|
||||
span.user.fas.fa-user-secret {{ thread.user.name }}
|
||||
span.date.far.fa-calendar-alt {{ rwdate(thread.createdAt) }}
|
||||
span.view.far.fa-eye {{ thread.views }}
|
||||
.tags
|
||||
span.tag test
|
||||
span.tag demo
|
||||
.content.circumscription
|
||||
.thread-main(v-html="markdown(thread.data)")
|
||||
button.magic
|
||||
i.fas.fa-magic
|
||||
//button.editor(
|
||||
// v-if="account.online && (account.uid === thread.uid || account.gid === 1)",
|
||||
// @click="edit_mode = !edit_mode"
|
||||
//)
|
||||
// i.fas.fa-magic
|
||||
// | Editor
|
||||
PostList(:data="postlist")
|
||||
.post-create(v-if="account.online")
|
||||
img.avatar(:src="account.avatar")
|
||||
.content
|
||||
textarea(v-model="post.data", rows="12")
|
||||
button.submit(@click="createpost") 发表
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
Reference in New Issue
Block a user