tag-type
3 | -------------------------------------------------------------------------------- /src/pages/tags/_id/index.vue: -------------------------------------------------------------------------------- 1 | 2 |tags-id page
3 | -------------------------------------------------------------------------------- /src/static/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/1.jpg -------------------------------------------------------------------------------- /src/static/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/2.jpg -------------------------------------------------------------------------------- /src/static/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/3.jpg -------------------------------------------------------------------------------- /src/static/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/4.jpg -------------------------------------------------------------------------------- /src/static/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/logo.png -------------------------------------------------------------------------------- /src/static/cover.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/cover.png -------------------------------------------------------------------------------- /src/static/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/favicon.ico -------------------------------------------------------------------------------- /src/static/poster.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/poster.png -------------------------------------------------------------------------------- /src/static/review.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/review.png -------------------------------------------------------------------------------- /src/apollo/allCategories.gql: -------------------------------------------------------------------------------- 1 | { 2 | allCategories(first: 8) { 3 | name, 4 | id 5 | } 6 | } -------------------------------------------------------------------------------- /src/pages/beecms/setting/index.vue: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | -------------------------------------------------------------------------------- /src/static/poster/5dbd8936276aeb0ea379cc26-5YaP2Olwg4_small.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/poster/5dbd8936276aeb0ea379cc26-5YaP2Olwg4_small.jpg -------------------------------------------------------------------------------- /src/static/poster/5dbd8dfa276aeb0ea379cc28-1bf124bb97861b5c768cdc2408034889186997df.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/poster/5dbd8dfa276aeb0ea379cc28-1bf124bb97861b5c768cdc2408034889186997df.jpg -------------------------------------------------------------------------------- /src/static/poster/5df4a81f8bf583067be30b4f-7e3e6709c93d70cf3b56f10862786605bba12bb4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bookyo/BeeCMS/HEAD/src/static/poster/5df4a81f8bf583067be30b4f-7e3e6709c93d70cf3b56f10862786605bba12bb4.jpeg -------------------------------------------------------------------------------- /email/sendCode.pug: -------------------------------------------------------------------------------- 1 | doctype html 2 | html(lang="en") 3 | head 4 | style(type="text/css"). 5 | .firstline { 6 | font-weight: bold; 7 | } 8 | body 9 | p.firstline 欢迎加入beecms社区 10 | p 您的验证码为:#{code}。 11 | p 请使用您验证码进行注册或者修改密码。 -------------------------------------------------------------------------------- /src/middleware/isadmin.js: -------------------------------------------------------------------------------- 1 | export default function ({ store, redirect }) { 2 | if (!store.state.authUser) { 3 | return redirect("/") 4 | } else { 5 | if (!store.state.authUser.isAdmin) { 6 | return redirect("/") 7 | } 8 | } 9 | } -------------------------------------------------------------------------------- /src/assets/variables.scss: -------------------------------------------------------------------------------- 1 | $body-font-family: Roboto, "Noto Sans CJK SC", "Noto Sans SC", "Microsoft Yahei", 2 | Arial, Helvetica, sans-serif; 3 | $heading-font-family: Roboto, "Noto Sans CJK SC", "Noto Sans SC", "Microsoft Yahei", 4 | Arial, Helvetica, sans-serif; 5 | @import '~vuetify/src/styles/styles.sass'; -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | 蜂窝创作平台:BeeCMS,让每个人都能创作,全内容全域UGC平台。所有内容全部用户产生,web2.0全域CMS。 2 | 3 | 技术栈:Graphql,mongodb,nodejs,vuetify,nuxtjs,expressjs,redis。 4 | 5 | - 官网:https://www.iqi360.com/p/BeeCMS 6 | - 演示站:https://beefun.cc https://yize-ad.com 7 | 8 | 功能介绍: 9 | - 一、四大内容模块:视频、小说/教程、图集/漫画、自媒体,可独立使用其中一个或多个模块。 10 | - 二、前后端完全分离,后端完全采用Graphql服务器,完备的API层面的用户权限控制。 11 | - 三、演示前端采用nuxtjs和vuetify开发,效果极佳。 12 | - 四、可单独作为API后端使用,前端可对接安卓/IOS,web,小程序等一切平台,使用同一套API规则。 -------------------------------------------------------------------------------- /email/index.js: -------------------------------------------------------------------------------- 1 | const { emailSender } = require('@keystonejs/email'); 2 | 3 | const pugEmailSender = emailSender.pug({ 4 | root: __dirname, 5 | transport: 'mailgun', 6 | }); 7 | 8 | const sendEmail = (templatePath, rendererProps, options) => { 9 | if (!templatePath) { 10 | console.error('No template path provided'); 11 | } 12 | return pugEmailSender(templatePath).send(rendererProps, options); 13 | }; 14 | 15 | module.exports = { 16 | sendEmail, 17 | }; -------------------------------------------------------------------------------- /src/plugins/toast.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import VuetifyNotify from 'vuetify-notify' 3 | 4 | export default ({ app }, inject) => { 5 | window.onNuxtReady(() => { 6 | Vue.use(VuetifyNotify, { 7 | vuetify: app.vuetify, 8 | container: '__nuxt', 9 | options: { 10 | toast: { 11 | x: 'center', 12 | y: 'top', 13 | color: 'primary' 14 | }, 15 | dialog: { 16 | width: 300 17 | } 18 | } 19 | }) 20 | }) 21 | } -------------------------------------------------------------------------------- /.envdemo: -------------------------------------------------------------------------------- 1 | ENDPOINT=http://127.0.0.1:3000/admin/api 2 | MONGOURI=mongodb://beecms:beecms@127.0.0.1:27017/beecms 3 | COOKIESECRET=beecmsdocsmyfever 4 | CODE_EXPIRY=480000 5 | HOST=http://127.0.0.1:3000 6 | 7 | TENCENTCLOUD_SECRET_ID=yoursecret 8 | TENCENTCLOUD_SECRET_KEY=yourkey 9 | 10 | CLOUD_HOST=image.querydata.org 11 | BUCKET=beecms 12 | PUBLICURL=https://image.querydata.org/beecms 13 | ACCESS_ID=79c1bf 14 | SECRET_KEY=3ed8b 15 | USE_SSL=on 16 | 17 | MAILGUN_DOMAIN=mail.bai.moe 18 | MAILGUN_API_KEY=269 19 | MAILGUN_FROM=admin@bai.moe -------------------------------------------------------------------------------- /src/layouts/error.vue: -------------------------------------------------------------------------------- 1 | 2 |
7 |
修改《{{ novel.title }}》的{{chapter.title}}
5 |{{ comic.content }}
24 |{{ novel.content }}
24 |添加《{{ novel.title }}》的章节
16 |本内容需要点数付费购买,所需积分为:{{ comicChapter.price }}
34 |本内容需要点数付费购买,所需积分为:{{ bee.price }}
23 |本内容需要点数付费购买,所需积分为:{{ chapter.price }}
42 |