@jx3box/jx3box-ui 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.env +6 -0
- package/README.md +4 -0
- package/assets/css/bread/admin.less +131 -0
- package/assets/css/bread/breadcrumb.less +163 -0
- package/assets/css/bread/crumb.less +17 -0
- package/assets/css/comment/quick-reply.less +56 -0
- package/assets/css/common/bottom.less +21 -0
- package/assets/css/common/footer.less +78 -0
- package/assets/css/common/left-sidebar.less +137 -0
- package/assets/css/common/main.less +75 -0
- package/assets/css/common/right-sidebar.less +193 -0
- package/assets/css/common/suspend-common.less +343 -0
- package/assets/css/editor/article.less +36 -0
- package/assets/css/editor/combo.less +311 -0
- package/assets/css/editor/resource.less +335 -0
- package/assets/css/editor/tinymce.less +80 -0
- package/assets/css/editor/upload.less +111 -0
- package/assets/css/filters/client-by.less +33 -0
- package/assets/css/header/box.less +181 -0
- package/assets/css/interact/like2.less +20 -0
- package/assets/css/interact/share2.less +101 -0
- package/assets/css/mixin.less +64 -0
- package/assets/css/module/author.less +190 -0
- package/assets/css/module/buff.less +78 -0
- package/assets/css/module/directory.less +143 -0
- package/assets/css/module/icon.less +21 -0
- package/assets/css/module/item.less +229 -0
- package/assets/css/module/item_simple.less +51 -0
- package/assets/css/module/jx3_element.less +4 -0
- package/assets/css/module/macro.less +72 -0
- package/assets/css/module/npc.less +220 -0
- package/assets/css/module/resource.less +80 -0
- package/assets/css/module/skill.less +65 -0
- package/assets/css/module/talent.less +424 -0
- package/assets/css/single/author.less +101 -0
- package/assets/css/single/cms-single.less +55 -0
- package/assets/css/single/thx.less +230 -0
- package/assets/css/tinymce/_.less +28 -0
- package/assets/css/tinymce/a.less +29 -0
- package/assets/css/tinymce/code.less +159 -0
- package/assets/css/tinymce/combo.less +86 -0
- package/assets/css/tinymce/fold.less +70 -0
- package/assets/css/tinymce/h.less +58 -0
- package/assets/css/tinymce/hr.less +9 -0
- package/assets/css/tinymce/img.less +16 -0
- package/assets/css/tinymce/imgpreview.less +14 -0
- package/assets/css/tinymce/latex.less +43 -0
- package/assets/css/tinymce/list.less +65 -0
- package/assets/css/tinymce/macro.less +40 -0
- package/assets/css/tinymce/nextpage.less +65 -0
- package/assets/css/tinymce/p.less +8 -0
- package/assets/css/tinymce/plugin.less +3 -0
- package/assets/css/tinymce/pz.less +39 -0
- package/assets/css/tinymce/qixue.less +39 -0
- package/assets/css/tinymce/quote.less +12 -0
- package/assets/css/tinymce/table.less +59 -0
- package/assets/css/tinymce/video.less +61 -0
- package/assets/css/var.less +1 -0
- package/assets/data/box.json +184 -0
- package/assets/data/box2.json +606 -0
- package/assets/data/detach_type.json +29 -0
- package/assets/data/game_font.json +242 -0
- package/assets/data/nav.json +12 -0
- package/assets/data/panel.json +27 -0
- package/assets/data/reply_template.json +6 -0
- package/assets/data/weapon_type.json +20 -0
- package/assets/data/zlp.json +5 -0
- package/assets/img/author/bilibili.png +0 -0
- package/assets/img/author/bilibili.svg +1 -0
- package/assets/img/author/chat.png +0 -0
- package/assets/img/author/douyu.png +0 -0
- package/assets/img/author/douyu.svg +1 -0
- package/assets/img/author/github.svg +1 -0
- package/assets/img/author/huya.png +0 -0
- package/assets/img/author/huya.svg +1 -0
- package/assets/img/author/msg.svg +55 -0
- package/assets/img/author/tuilan.png +0 -0
- package/assets/img/author/weibo.svg +70 -0
- package/assets/img/bread/menu.svg +1 -0
- package/assets/img/comment/comment.svg +1 -0
- package/assets/img/comment/heart_1.svg +1 -0
- package/assets/img/comment/heart_2.svg +1 -0
- package/assets/img/comment/hide.svg +1 -0
- package/assets/img/common/add.svg +1 -0
- package/assets/img/common/android.svg +1 -0
- package/assets/img/common/bell.svg +1 -0
- package/assets/img/common/bilibili-black.svg +1 -0
- package/assets/img/common/bilibili.svg +1 -0
- package/assets/img/common/check.svg +1 -0
- package/assets/img/common/coin.svg +1 -0
- package/assets/img/common/coupon.svg +56 -0
- package/assets/img/common/douyin.svg +1 -0
- package/assets/img/common/edit.svg +1 -0
- package/assets/img/common/followus.svg +18 -0
- package/assets/img/common/gift.svg +1 -0
- package/assets/img/common/harmony.svg +1 -0
- package/assets/img/common/ios.svg +1 -0
- package/assets/img/common/jx3-origin.svg +15 -0
- package/assets/img/common/jx3-www.svg +9 -0
- package/assets/img/common/lang.svg +6 -0
- package/assets/img/common/logo.svg +5 -0
- package/assets/img/common/manage.svg +1 -0
- package/assets/img/common/miniprogram.jpg +0 -0
- package/assets/img/common/miniprogram.svg +1 -0
- package/assets/img/common/mp.jpg +0 -0
- package/assets/img/common/msg.svg +1 -0
- package/assets/img/common/news.svg +20 -0
- package/assets/img/common/qqbot.svg +7 -0
- package/assets/img/common/qrcode.svg +1 -0
- package/assets/img/common/search-key-slash.svg +5 -0
- package/assets/img/common/send.svg +56 -0
- package/assets/img/common/setting.svg +1 -0
- package/assets/img/common/vip.svg +1 -0
- package/assets/img/common/wechat.svg +48 -0
- package/assets/img/common/weibo.svg +70 -0
- package/assets/img/editor/buff.svg +1 -0
- package/assets/img/editor/file.svg +51 -0
- package/assets/img/editor/icons.svg +15 -0
- package/assets/img/editor/item.svg +46 -0
- package/assets/img/editor/jx3.svg +11 -0
- package/assets/img/editor/jx3box.svg +5 -0
- package/assets/img/editor/skill.svg +53 -0
- package/assets/img/editor/view.svg +1 -0
- package/assets/img/footer/android.svg +1 -0
- package/assets/img/footer/china.svg +1 -0
- package/assets/img/footer/harmony.svg +1 -0
- package/assets/img/footer/ios.svg +1 -0
- package/assets/img/footer/logo.svg +5 -0
- package/assets/img/footer/miniprogram.svg +1 -0
- package/assets/img/footer/qqbot.svg +7 -0
- package/assets/img/header/add.svg +1 -0
- package/assets/img/header/bell.svg +1 -0
- package/assets/img/header/check.svg +1 -0
- package/assets/img/header/coin.svg +1 -0
- package/assets/img/header/edit.svg +1 -0
- package/assets/img/header/gift.svg +1 -0
- package/assets/img/header/logo.svg +5 -0
- package/assets/img/header/manage.svg +1 -0
- package/assets/img/header/msg.svg +1 -0
- package/assets/img/header/search-key-slash.svg +5 -0
- package/assets/img/header/send.svg +56 -0
- package/assets/img/header/setting.svg +1 -0
- package/assets/img/header/translator.svg +1 -0
- package/assets/img/header/vip.svg +1 -0
- package/assets/img/leftsidebar/arrow.svg +64 -0
- package/assets/img/leftsidebar/close.svg +49 -0
- package/assets/img/leftsidebar/fans.svg +1 -0
- package/assets/img/leftsidebar/medal.svg +1 -0
- package/assets/img/leftsidebar/more.svg +50 -0
- package/assets/img/leftsidebar/open.svg +51 -0
- package/assets/img/leftsidebar/post.svg +46 -0
- package/assets/img/leftsidebar/team.svg +1 -0
- package/assets/img/leftsidebar/united.svg +1 -0
- package/assets/img/list/post.svg +1 -0
- package/assets/img/mobile/miniprogram.jpg +0 -0
- package/assets/img/mobile/mp.jpg +0 -0
- package/assets/img/npc/attack.svg +69 -0
- package/assets/img/npc/buff.svg +20 -0
- package/assets/img/npc/energy.svg +1 -0
- package/assets/img/npc/miss.svg +1 -0
- package/assets/img/npc/npc.svg +1 -0
- package/assets/img/npc/radar.svg +45 -0
- package/assets/img/npc/shield.svg +1 -0
- package/assets/img/npc/sight.svg +1 -0
- package/assets/img/npc/skull.svg +15 -0
- package/assets/img/npc/target.svg +55 -0
- package/assets/img/price/jin.png +0 -0
- package/assets/img/price/tong.png +0 -0
- package/assets/img/price/yin.png +0 -0
- package/assets/img/price/zhuan.png +0 -0
- package/assets/img/rightsidebar/ac.svg +1 -0
- package/assets/img/rightsidebar/github.svg +1 -0
- package/assets/img/rightsidebar/repo.svg +1 -0
- package/assets/img/rightsidebar/topic_bg.svg +1 -0
- package/assets/img/rightsidebar/topic_bg_bps.svg +113 -0
- package/assets/img/single/author.svg +1 -0
- package/assets/img/single/directory-header.svg +1 -0
- package/assets/img/single/lock.svg +1 -0
- package/assets/img/single/modate.svg +24 -0
- package/assets/img/single/podate.svg +23 -0
- package/assets/img/single/ticket.svg +1 -0
- package/assets/img/suspend/ArrowsLeftRight.svg +1 -0
- package/assets/img/suspend/circle.svg +7 -0
- package/assets/img/suspend/collect.svg +1 -0
- package/assets/img/suspend/collect_slash.svg +1 -0
- package/assets/img/suspend/collect_slash_touchbar.svg +1 -0
- package/assets/img/suspend/collect_slash_touchbar_100.svg +1 -0
- package/assets/img/suspend/collect_touchbar.svg +1 -0
- package/assets/img/suspend/collect_touchbar_100.svg +1 -0
- package/assets/img/suspend/lafter_touchbar.svg +1 -0
- package/assets/img/suspend/later-on.svg +1 -0
- package/assets/img/suspend/line.svg +3 -0
- package/assets/img/suspend/more.svg +1 -0
- package/assets/img/suspend/pin_slash_24.svg +1 -0
- package/assets/img/suspend/pin_slash_touchbar.svg +1 -0
- package/assets/img/suspend/pin_slash_touchbar_24.svg +1 -0
- package/assets/img/suspend/pin_slash_touchbar_40.svg +1 -0
- package/assets/img/suspend/pin_touchbar.svg +1 -0
- package/assets/img/suspend/pin_touchbar_100.svg +1 -0
- package/assets/img/suspend/pin_touchbar_24.svg +1 -0
- package/assets/img/suspend/report_100.svg +1 -0
- package/assets/img/suspend/rss_touchbar.svg +1 -0
- package/assets/img/suspend/rss_touchbar_100.svg +1 -0
- package/assets/img/suspend/search.svg +3 -0
- package/assets/img/suspend/search_touchbar.svg +1 -0
- package/assets/img/widget/admin_gift.svg +10 -0
- package/assets/img/widget/gift.svg +1 -0
- package/assets/img/widget/heart.svg +17 -0
- package/assets/img/widget/heart1.svg +1 -0
- package/assets/img/widget/heart2.svg +11 -0
- package/assets/img/widget/heart3.svg +37 -0
- package/assets/img/widget/like.svg +1 -0
- package/assets/img/widget/like2.svg +1 -0
- package/assets/img/widget/like3.svg +14 -0
- package/assets/img/widget/like4.png +0 -0
- package/assets/img/widget/like4ing.gif +0 -0
- package/assets/img/widget/qq.svg +1 -0
- package/assets/img/widget/qr-code.svg +1 -0
- package/assets/img/widget/qzone.svg +1 -0
- package/assets/img/widget/records.svg +1 -0
- package/assets/img/widget/share-link.png +0 -0
- package/assets/img/widget/share.svg +13 -0
- package/assets/img/widget/share2.svg +19 -0
- package/assets/img/widget/star.svg +9 -0
- package/assets/img/widget/tieba.svg +1 -0
- package/assets/img/widget/unstar.svg +21 -0
- package/assets/img/widget/web_heart_animation.png +0 -0
- package/assets/img/widget/weibo.svg +1 -0
- package/assets/img/widget/weixin.svg +1 -0
- package/assets/js/a.js +46 -0
- package/assets/js/app.js +7 -0
- package/assets/js/code.js +13 -0
- package/assets/js/combo.js +40 -0
- package/assets/js/directory.js +114 -0
- package/assets/js/filter2.js +186 -0
- package/assets/js/fold.js +11 -0
- package/assets/js/gallery.js +14 -0
- package/assets/js/hljs_languages.js +177 -0
- package/assets/js/iframe.js +38 -0
- package/assets/js/img.js +23 -0
- package/assets/js/item/attribute_percent.js +88 -0
- package/assets/js/item/bind.js +18 -0
- package/assets/js/item/border.js +19 -0
- package/assets/js/item/border_quest.js +12 -0
- package/assets/js/item/color.js +25 -0
- package/assets/js/item/hljs_languages.js +177 -0
- package/assets/js/item/icon_url.js +15 -0
- package/assets/js/item/second_format.js +19 -0
- package/assets/js/jx3_element.js +73 -0
- package/assets/js/katex.js +181 -0
- package/assets/js/macro.js +16 -0
- package/assets/js/nextpage.js +4 -0
- package/assets/js/pswp.js +67 -0
- package/assets/js/pswp_template.js +66 -0
- package/assets/js/pz_iframe.js +30 -0
- package/assets/js/qixue.js +28 -0
- package/assets/js/renderImgPreview.js +18 -0
- package/assets/js/script.js +6 -0
- package/assets/js/stat.js +107 -0
- package/assets/js/talent2.js +21 -0
- package/assets/js/tex-mml-chtml.js +36310 -0
- package/assets/js/voice.js +238 -0
- package/assets/js/xss.js +130 -0
- package/babel.config.js +3 -0
- package/docs/README.md +78 -0
- package/i18n/index.js +134 -0
- package/i18n/messages/en-US.js +124 -0
- package/i18n/messages/vi.js +124 -0
- package/i18n/messages/zh-CN.js +124 -0
- package/i18n/messages/zh-TW.js +124 -0
- package/i18n/mixin.js +23 -0
- package/index.js +73 -0
- package/package.json +97 -0
- package/postcss.config.js +3 -0
- package/service/admin.js +20 -0
- package/service/author.js +94 -0
- package/service/breadcrumb.js +13 -0
- package/service/cms.js +137 -0
- package/service/comment.js +187 -0
- package/service/database.js +115 -0
- package/service/design.js +13 -0
- package/service/enum/CollectionPublic.js +13 -0
- package/service/enum/EquipPosition.js +48 -0
- package/service/enum/EquipType.js +33 -0
- package/service/fav.js +27 -0
- package/service/follow.js +55 -0
- package/service/github.js +15 -0
- package/service/header.js +42 -0
- package/service/item.js +22 -0
- package/service/resource.js +31 -0
- package/service/suspend.js +81 -0
- package/service/thx.js +60 -0
- package/src/App.vue +212 -0
- package/src/Bottom.vue +23 -0
- package/src/Box.vue +149 -0
- package/src/Breadcrumb.vue +141 -0
- package/src/CommonFooter.vue +69 -0
- package/src/CommonHeader.vue +270 -0
- package/src/Footer.vue +45 -0
- package/src/LeftSideToggle.vue +64 -0
- package/src/LeftSidebar.vue +123 -0
- package/src/Main.vue +48 -0
- package/src/RightSidebar.vue +61 -0
- package/src/SuspendCommon.vue +705 -0
- package/src/author/AuthorFans.vue +170 -0
- package/src/author/AuthorFollow.vue +205 -0
- package/src/author/AuthorGift.vue +286 -0
- package/src/author/AuthorHonor.vue +128 -0
- package/src/author/AuthorInfo.vue +245 -0
- package/src/author/AuthorLink.vue +113 -0
- package/src/author/AuthorMedals.vue +87 -0
- package/src/author/AuthorMsg.vue +25 -0
- package/src/author/AuthorPosts.vue +114 -0
- package/src/author/AuthorRss.vue +160 -0
- package/src/author/AuthorTeams.vue +106 -0
- package/src/author/Avatar.vue +168 -0
- package/src/author/UserPop.vue +198 -0
- package/src/bread/Admin.vue +400 -0
- package/src/bread/AdminButton.vue +31 -0
- package/src/bread/AdminDirectMessage.vue +73 -0
- package/src/bread/AdminDrop.vue +155 -0
- package/src/bread/Crumb.vue +27 -0
- package/src/bread/DesignTask.vue +194 -0
- package/src/comment/Avatar.vue +124 -0
- package/src/comment/CommentContent.vue +486 -0
- package/src/comment/CommentContentSimple.vue +240 -0
- package/src/comment/CommentInputForm.vue +182 -0
- package/src/comment/CommentWithReply.vue +261 -0
- package/src/comment/QuickReply.vue +64 -0
- package/src/comment/ReplyForReply.vue +127 -0
- package/src/comment/ReplyItem.vue +92 -0
- package/src/comment/ReplyList.vue +126 -0
- package/src/comment/Upload.vue +108 -0
- package/src/editor/Article.vue +230 -0
- package/src/editor/BoxResource.vue +441 -0
- package/src/editor/Resource.vue +623 -0
- package/src/editor/Tinymce.vue +204 -0
- package/src/editor/Upload.vue +277 -0
- package/src/editor/UploadAlum.vue +176 -0
- package/src/editor/UploadBanner.vue +156 -0
- package/src/editor/components/Author.vue +322 -0
- package/src/editor/components/Avatar.vue +95 -0
- package/src/editor/components/Buff.vue +80 -0
- package/src/editor/components/Combo.vue +259 -0
- package/src/editor/components/Equip.vue +299 -0
- package/src/editor/components/GameText.vue +242 -0
- package/src/editor/components/Item.vue +325 -0
- package/src/editor/components/ItemSimple.vue +134 -0
- package/src/editor/components/Medal.vue +43 -0
- package/src/editor/components/Npc.vue +215 -0
- package/src/editor/components/PostAuthor.vue +102 -0
- package/src/editor/components/Skill.vue +71 -0
- package/src/filters/clientBy.vue +96 -0
- package/src/filters/markBy.vue +177 -0
- package/src/filters/menuBy.vue +63 -0
- package/src/filters/orderBy.vue +170 -0
- package/src/filters/tagBy.vue +171 -0
- package/src/filters/topicBy.vue +151 -0
- package/src/filters/versionBy.vue +49 -0
- package/src/filters/zlpBy.vue +70 -0
- package/src/footer/copyright.vue +59 -0
- package/src/footer/links.vue +79 -0
- package/src/footer/official.vue +142 -0
- package/src/footer/resource.vue +146 -0
- package/src/header/alternate.vue +299 -0
- package/src/header/asset.vue +180 -0
- package/src/header/box.vue +161 -0
- package/src/header/box2.vue +479 -0
- package/src/header/bus.js +9 -0
- package/src/header/client.vue +183 -0
- package/src/header/lang.vue +136 -0
- package/src/header/logo.vue +95 -0
- package/src/header/manage.vue +200 -0
- package/src/header/message.vue +93 -0
- package/src/header/nav.vue +356 -0
- package/src/header/publish.vue +38 -0
- package/src/header/search.vue +120 -0
- package/src/header/search_map.json +3 -0
- package/src/header/shop.vue +121 -0
- package/src/header/user.vue +250 -0
- package/src/header/userInfo.vue +621 -0
- package/src/header/utils.js +126 -0
- package/src/header/vip.vue +120 -0
- package/src/interact/BoxcoinAdmin.vue +185 -0
- package/src/interact/BoxcoinRecords.vue +153 -0
- package/src/interact/BoxcoinUser.vue +194 -0
- package/src/interact/Contributors.vue +111 -0
- package/src/interact/Fav.vue +95 -0
- package/src/interact/Like.vue +61 -0
- package/src/interact/Rss.vue +163 -0
- package/src/interact/Share.vue +166 -0
- package/src/interact/WatchLater.vue +108 -0
- package/src/main.js +72 -0
- package/src/single/Author.vue +72 -0
- package/src/single/Collection.vue +176 -0
- package/src/single/Comment.vue +454 -0
- package/src/single/Creators.vue +214 -0
- package/src/single/PostDirectory.vue +147 -0
- package/src/single/PostHeader.vue +397 -0
- package/src/single/PostTopic.vue +127 -0
- package/src/single/SimpleThx.vue +217 -0
- package/src/single/Thx.vue +260 -0
- package/src/single/cms-single.vue +235 -0
- package/tailwind.config.js +13 -0
- package/utils/bus.js +5 -0
- package/utils/emotion.js +21 -0
- package/utils/index.js +36 -0
- package/vue.config.js +158 -0
package/service/fav.js
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { $next } from "@jx3box/jx3box-common/js/api";
|
|
2
|
+
const $n = $next();
|
|
3
|
+
|
|
4
|
+
function hasFav(post_type, post_id) {
|
|
5
|
+
return $n.get(`api/article/favorites/is-my/${post_id}/${post_type}`).then((res) => {
|
|
6
|
+
return res.data.data;
|
|
7
|
+
});
|
|
8
|
+
}
|
|
9
|
+
function addFav(post_type, post_id, post_title) {
|
|
10
|
+
return $n.post(`api/article/favorites/add/${post_id}/${post_type}`, { post_title }).then((res) => {
|
|
11
|
+
return res.data.data;
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
function delFav(id) {
|
|
15
|
+
return $n.delete(`api/article/favorites/my/${id}`);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
// 稍后再看
|
|
19
|
+
function addWatchLater(data) {
|
|
20
|
+
return $n.post(`api/next2/userdata/watch-later/item`, data)
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function delWatchLater(params) {
|
|
24
|
+
return $n.delete(`api/next2/userdata/watch-later/item`, { params })
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export { hasFav, addFav, delFav, addWatchLater, delWatchLater };
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { $next } from "@jx3box/jx3box-common/js/api";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* 关注用户
|
|
5
|
+
* @param {*} userId 用户id
|
|
6
|
+
*/
|
|
7
|
+
function follow(userId) {
|
|
8
|
+
return $next().post(`/api/my-userlist/follow/${userId}`);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* 取消关注用户
|
|
13
|
+
* @param {*} userId 用户id
|
|
14
|
+
*/
|
|
15
|
+
function unfollow(userId) {
|
|
16
|
+
return $next().delete(`/api/my-userlist/follow/${userId}`);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* 获取我的关注列表
|
|
21
|
+
* @param {*} param 参数
|
|
22
|
+
* @param {*} param.pageIndex 页码
|
|
23
|
+
* @param {*} param.pageSize 每页数量
|
|
24
|
+
* @param {*} param.user_id 用户id
|
|
25
|
+
* @param {*} param.display_name 用户昵称
|
|
26
|
+
*/
|
|
27
|
+
function getMyFollowList(params) {
|
|
28
|
+
return $next().get(`/api/my-userlist/follow`, {
|
|
29
|
+
params,
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* 获取我的粉丝列表
|
|
35
|
+
* @param {*} param 参数
|
|
36
|
+
* @param {*} param.pageIndex 页码
|
|
37
|
+
* @param {*} param.pageSize 每页数量
|
|
38
|
+
* @param {*} param.user_id 用户id
|
|
39
|
+
* @param {*} param.display_name 用户昵称
|
|
40
|
+
*/
|
|
41
|
+
function getMyFansList(params) {
|
|
42
|
+
return $next().get(`/api/my-userlist/follow-me`, {
|
|
43
|
+
params,
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* 获取某个用户的粉丝数量
|
|
49
|
+
* @param {*} userId 用户id
|
|
50
|
+
*/
|
|
51
|
+
function getFansCount(userId) {
|
|
52
|
+
return $next().get(`/api/followers/${userId}/count`);
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export { follow, unfollow, getMyFollowList, getMyFansList, getFansCount };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import axios from "axios";
|
|
2
|
+
|
|
3
|
+
function getRepoInfo(repo) {
|
|
4
|
+
return axios.get(`https://api.github.com/github?repo=${repo}`);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function getBuilders(coders) {
|
|
8
|
+
return axios.get(`https://server.jx3box.com/user/list?uid=${coders}`);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function getRepoCoders(repo) {
|
|
12
|
+
return axios.get(`https://api.github.com/repos/JX3BOX/${repo}/contributors`);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { getRepoInfo, getBuilders, getRepoCoders };
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import axios from "axios";
|
|
2
|
+
import { $cms, $next } from "@jx3box/jx3box-common/js/api";
|
|
3
|
+
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
4
|
+
|
|
5
|
+
function getLetter() {
|
|
6
|
+
return $next({ mute: true }).get("/api/letter/unread/count");
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function getMsg() {
|
|
10
|
+
return $next({ mute: true }).get("/api/next2/userdata/messages/unread_total");
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function getNav(client = "std") {
|
|
14
|
+
let file = client == "origin" ? "header_nav_origin.json" : "header_nav.json";
|
|
15
|
+
return axios.get(JX3BOX.__dataPath + `data/box/${file}`);
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
function getPanel() {
|
|
19
|
+
return axios.get(JX3BOX.__dataPath + "data/box/header_panel.json");
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
function getBox(client = "std") {
|
|
23
|
+
let filename = client == "origin" ? "box_origin.json" : "box.json";
|
|
24
|
+
return axios.get(JX3BOX.__dataPath + "data/box/" + filename);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
function getMenu(key) {
|
|
28
|
+
return $cms().get(`/api/cms/config/menu/${key}`);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function getGames() {
|
|
32
|
+
return axios.get(JX3BOX.__dataPath + "data/product/games.json");
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
// 获取全局配置
|
|
36
|
+
function getGlobalConfig() {
|
|
37
|
+
return axios.get(`${JX3BOX.__ossRoot}config/global.json`).then((res) => {
|
|
38
|
+
return res.data;
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
export { getLetter, getMsg, getNav, getPanel, getBox, getMenu, getGames, getGlobalConfig };
|
package/service/item.js
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { $helper } from "@jx3box/jx3box-common/js/api";
|
|
2
|
+
|
|
3
|
+
// 获取物品
|
|
4
|
+
function get_item(item_id, client) {
|
|
5
|
+
if (!item_id) return;
|
|
6
|
+
let options = {
|
|
7
|
+
url: `/api/item/${item_id}`,
|
|
8
|
+
params : {
|
|
9
|
+
client
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
return $helper({ mute: true })(options);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// 获取清单
|
|
16
|
+
function get_plan(plan_id) {
|
|
17
|
+
return $helper()({
|
|
18
|
+
url: `api/item_plan/${plan_id}`,
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export { get_item, get_plan };
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* @Author: X3ZvaWQ
|
|
3
|
+
* @Date: 2022-08-20 22:17:27
|
|
4
|
+
* @LastEditors: X3ZvaWQ
|
|
5
|
+
* @LastEditTime: 2022-08-20 23:54:41
|
|
6
|
+
* @Description:
|
|
7
|
+
*/
|
|
8
|
+
import { $node } from "@jx3box/jx3box-common/js/api";
|
|
9
|
+
const $ = $node();
|
|
10
|
+
|
|
11
|
+
/* import axios from 'axios'
|
|
12
|
+
const $ = axios.create({
|
|
13
|
+
baseURL: 'http://localhost:7002/',
|
|
14
|
+
}) */
|
|
15
|
+
|
|
16
|
+
function getResource(type, ids, client = "std") {
|
|
17
|
+
return $.post(`/resource/${client}/${type}/`, { ids });
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
function getSkill(query, params) {
|
|
21
|
+
let condition = isNaN(query) ? "name" : "id";
|
|
22
|
+
return $node().get(`/skill/${condition}/${query}`, {
|
|
23
|
+
params: params,
|
|
24
|
+
}).then(res => {
|
|
25
|
+
return res.data;
|
|
26
|
+
}).catch((err) => {
|
|
27
|
+
console.log(err);
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export { getResource, getSkill };
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import { $next } from "@jx3box/jx3box-common/js/api";
|
|
2
|
+
//订阅作者
|
|
3
|
+
function subscribeAuthor(authorId, data) {
|
|
4
|
+
return $next().post(`/api/next2/rss/subscribe/author/${authorId}`, data);
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
function unsubscribeAuthor(authorId) {
|
|
8
|
+
return $next().delete(`/api/next2/rss/subscribe/author/${authorId}`);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
function getSubscribeStatus(authorId) {
|
|
12
|
+
return $next().get(`/api/next2/rss/overview/author/${authorId}`);
|
|
13
|
+
}
|
|
14
|
+
//订阅帖子
|
|
15
|
+
function subscribePost(id, data) {
|
|
16
|
+
return $next().post(`/api/next2/rss/subscribe/community/${id}`, data);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
function unsubscribePost(id) {
|
|
20
|
+
return $next().delete(`/api/next2/rss/subscribe/community/${id}`);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function getSubscribePostStatus(id) {
|
|
24
|
+
return $next().get(`/api/next2/rss/overview/community/${id}`);
|
|
25
|
+
}
|
|
26
|
+
//订阅文章
|
|
27
|
+
function subscribeArticle(postType, postId, data) {
|
|
28
|
+
return $next().post(`/api/next2/rss/subscribe/posts/${postType}/${postId}`, data);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function unsubscribeArticle(postType, postId) {
|
|
32
|
+
return $next().delete(`/api/next2/rss/subscribe/posts/${postType}/${postId}`);
|
|
33
|
+
}
|
|
34
|
+
function getSubscribeArticleStatus(postType, postId) {
|
|
35
|
+
return $next().get(`/api/next2/rss/overview/posts/${postType}/${postId}`);
|
|
36
|
+
}
|
|
37
|
+
//订阅百科
|
|
38
|
+
function subscribeWiki(wikiType, id, data) {
|
|
39
|
+
return $next().post(`/api/next2/rss/subscribe/wiki/${wikiType}/${id}`, data);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
function unsubscribeWiki(wikiType, id) {
|
|
43
|
+
return $next().delete(`/api/next2/rss/subscribe/wiki/${wikiType}/${id}`);
|
|
44
|
+
}
|
|
45
|
+
function getSubscribeWikiStatus(wikiType, id) {
|
|
46
|
+
return $next().get(`/api/next2/rss/overview/wiki/${wikiType}/${id}`);
|
|
47
|
+
}
|
|
48
|
+
//稍后看
|
|
49
|
+
function later(data) {
|
|
50
|
+
return $next().post(`/api/next2/userdata/watch-later/item`, data);
|
|
51
|
+
}
|
|
52
|
+
// 收藏相关
|
|
53
|
+
function setCollect(id, type, post_title) {
|
|
54
|
+
return $next().post(`/api/article/favorites/add/${id}/${type}`, {
|
|
55
|
+
post_title: post_title,
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function getCollectList(id, type) {
|
|
59
|
+
return $next().get(`/api/article/favorites/is-my/${id}/${type}`);
|
|
60
|
+
}
|
|
61
|
+
function cancelCollect(id) {
|
|
62
|
+
return $next().delete(`/api/article/favorites/my/${id}`);
|
|
63
|
+
}
|
|
64
|
+
export {
|
|
65
|
+
subscribeAuthor,
|
|
66
|
+
unsubscribeAuthor,
|
|
67
|
+
subscribePost,
|
|
68
|
+
unsubscribePost,
|
|
69
|
+
subscribeArticle,
|
|
70
|
+
unsubscribeArticle,
|
|
71
|
+
subscribeWiki,
|
|
72
|
+
unsubscribeWiki,
|
|
73
|
+
getSubscribeStatus,
|
|
74
|
+
getSubscribePostStatus,
|
|
75
|
+
getSubscribeArticleStatus,
|
|
76
|
+
getSubscribeWikiStatus,
|
|
77
|
+
later,
|
|
78
|
+
setCollect,
|
|
79
|
+
getCollectList,
|
|
80
|
+
cancelCollect,
|
|
81
|
+
};
|
package/service/thx.js
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { $pay, $cms } from "@jx3box/jx3box-common/js/api";
|
|
2
|
+
|
|
3
|
+
function getPostBoxcoinRecords(postType, postId, params) {
|
|
4
|
+
return $pay().get(`/api/inspire/article/${postType}/${postId}/history`, {
|
|
5
|
+
params,
|
|
6
|
+
});
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
function grantBoxcoin(postType, postId, userId, count, data) {
|
|
10
|
+
return $pay().post(`/api/inspire/article/${postType}/${postId}/manager2creator/${userId}/coins/${count}`, data);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
function rewardBoxcoin(postType, postId, userId, count, data) {
|
|
14
|
+
return $pay().post(`/api/inspire/article/${postType}/${postId}/user2creator/${userId}/coins/${count}`, data);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function recoveryBoxcoin(id) {
|
|
18
|
+
return $pay().delete(`/api/inspire/coins/log/${id}/recovery`);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function getPostBoxcoinConfig(postType) {
|
|
22
|
+
return $pay().get(`/api/inspire/article/${postType}/boxcoin/limit`);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
function getBoxcoinStatus() {
|
|
26
|
+
return $cms().get(`/api/cms/config`, {
|
|
27
|
+
params: {
|
|
28
|
+
key: "boxcoin",
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function sendCny(payUserId, accessUserId, money, remark) {
|
|
34
|
+
return $pay().post(`/api/cny/consume/user-charge/${payUserId}/to/${accessUserId}/${money}`, { remark });
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
function checkCnyStatus(id) {
|
|
38
|
+
return $pay().get(`/api/cny/consume/check-status/${id}`);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function checkGiftStatus(accessUserId) {
|
|
42
|
+
return $pay().get(`/api/cny/consume/user-charge/to/${accessUserId}/check-status`);
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
function batchReward(articleType, count, data) {
|
|
46
|
+
return $pay().post(`/api/inspire/batch/article/${articleType}/coins/${count}`, data);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export {
|
|
50
|
+
getPostBoxcoinRecords,
|
|
51
|
+
grantBoxcoin,
|
|
52
|
+
rewardBoxcoin,
|
|
53
|
+
recoveryBoxcoin,
|
|
54
|
+
getPostBoxcoinConfig,
|
|
55
|
+
getBoxcoinStatus,
|
|
56
|
+
sendCny,
|
|
57
|
+
checkCnyStatus,
|
|
58
|
+
checkGiftStatus,
|
|
59
|
+
batchReward,
|
|
60
|
+
};
|
package/src/App.vue
ADDED
|
@@ -0,0 +1,212 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="container-page">
|
|
3
|
+
<CommonHeader></CommonHeader>
|
|
4
|
+
<!-- <breadcrumb
|
|
5
|
+
name="频道名称"
|
|
6
|
+
slug="slug"
|
|
7
|
+
root="/slug"
|
|
8
|
+
:publishEnable="true"
|
|
9
|
+
:feedbackEnable="true"
|
|
10
|
+
:adminEnable="true"
|
|
11
|
+
:crumbEnable="true"
|
|
12
|
+
>
|
|
13
|
+
<template #logo>
|
|
14
|
+
<img svg-inline src="../assets/img/editor/jx3.svg" />
|
|
15
|
+
</template>
|
|
16
|
+
<template #op-prepend> </template>
|
|
17
|
+
</breadcrumb>
|
|
18
|
+
<LeftSidebar :open="true" :uid="7">
|
|
19
|
+
<LeftSideToggle :mobileOnly="true" />
|
|
20
|
+
<Author :uid="7" />
|
|
21
|
+
</LeftSidebar>
|
|
22
|
+
<Main :withoutLeft="false" :withoutRight="false">
|
|
23
|
+
<versionBy value=""></versionBy>
|
|
24
|
+
<el-divider></el-divider>
|
|
25
|
+
<UploadAlum />
|
|
26
|
+
<singlebox :post="post" />
|
|
27
|
+
<SimpleThxVue
|
|
28
|
+
postType="bbs"
|
|
29
|
+
postTitle="bbs23865的标题"
|
|
30
|
+
:userId="7"
|
|
31
|
+
:adminBoxcoinEnable="true"
|
|
32
|
+
:userBoxcoinEnable="true"
|
|
33
|
+
:allowGift="true"
|
|
34
|
+
:postId="57260"
|
|
35
|
+
/>
|
|
36
|
+
<Thx
|
|
37
|
+
postType="bbs"
|
|
38
|
+
postTitle="bbs23865的标题"
|
|
39
|
+
type="batchReward"
|
|
40
|
+
:userId="7"
|
|
41
|
+
:adminBoxcoinEnable="true"
|
|
42
|
+
:userBoxcoinEnable="true"
|
|
43
|
+
:postId="57260"
|
|
44
|
+
:allowGift="true"
|
|
45
|
+
:showRss="true"
|
|
46
|
+
/>
|
|
47
|
+
<Comment category="post" id="80449"></Comment>
|
|
48
|
+
<RightSidebar :show-toggle="true">
|
|
49
|
+
<PostTopic type="bps" :id="48857"></PostTopic>
|
|
50
|
+
<div id="directory"></div>
|
|
51
|
+
</RightSidebar>
|
|
52
|
+
|
|
53
|
+
<SuspendCommon
|
|
54
|
+
:drawerOptions="{
|
|
55
|
+
author: {
|
|
56
|
+
name: '作者名字',
|
|
57
|
+
avatar: 'https://cdn.jx3box.com/upload/avatar/2022/3/2/8_9860765.png',
|
|
58
|
+
author_id: 8,
|
|
59
|
+
},
|
|
60
|
+
subscribeType: 'posts',
|
|
61
|
+
postType: 'macro',
|
|
62
|
+
id: 97147,
|
|
63
|
+
title: '薄嘴唇靓仔!!!',
|
|
64
|
+
}"
|
|
65
|
+
@search="suspendSearch"
|
|
66
|
+
>
|
|
67
|
+
<template #default>
|
|
68
|
+
<div style="display: flex; gap: 1rem">
|
|
69
|
+
<div>切换</div>
|
|
70
|
+
<div>切换</div>
|
|
71
|
+
<div>切换</div>
|
|
72
|
+
</div>
|
|
73
|
+
</template>
|
|
74
|
+
</SuspendCommon>
|
|
75
|
+
</Main> -->
|
|
76
|
+
<CommonFooter> </CommonFooter>
|
|
77
|
+
</div>
|
|
78
|
+
</template>
|
|
79
|
+
|
|
80
|
+
<script>
|
|
81
|
+
// import singlebox from "./single/cms-single.vue";
|
|
82
|
+
// import UploadAlum from "./editor/UploadAlum.vue";
|
|
83
|
+
// import Author from "./single/Author.vue";
|
|
84
|
+
// import SimpleThxVue from "./single/SimpleThx.vue";
|
|
85
|
+
// import Comment from "./single/Comment.vue";
|
|
86
|
+
// import Thx from "./single/Thx.vue";
|
|
87
|
+
// import PostHeader from "./single/PostHeader.vue";
|
|
88
|
+
// import PostTopic from "./single/PostTopic.vue";
|
|
89
|
+
// import axios from "axios";
|
|
90
|
+
// import post_topics from "@jx3box/jx3box-common/data/post_topics.json";
|
|
91
|
+
// import { get_item } from "../service/item";
|
|
92
|
+
// import AdminDirectMessage from "./bread/AdminDirectMessage.vue";
|
|
93
|
+
// import Admin from "@/bread/Admin.vue";
|
|
94
|
+
// import versionBy from "./filters/versionBy.vue";
|
|
95
|
+
// import SuspendCommon from "./SuspendCommon.vue";
|
|
96
|
+
export default {
|
|
97
|
+
name: "App",
|
|
98
|
+
components: {
|
|
99
|
+
// SimpleThxVue,
|
|
100
|
+
// Author,
|
|
101
|
+
// Comment,
|
|
102
|
+
// Thx,
|
|
103
|
+
// // PostHeader,
|
|
104
|
+
// PostTopic,
|
|
105
|
+
// UploadAlum,
|
|
106
|
+
// // AdminDirectMessage,
|
|
107
|
+
// singlebox,
|
|
108
|
+
// versionBy,
|
|
109
|
+
// SuspendCommon,
|
|
110
|
+
// // Admin,
|
|
111
|
+
},
|
|
112
|
+
data() {
|
|
113
|
+
return {
|
|
114
|
+
post_id: "74662",
|
|
115
|
+
post: "",
|
|
116
|
+
client: location.href.includes("origin") ? "origin" : "std",
|
|
117
|
+
tag: "",
|
|
118
|
+
// post_topics: post_topics["bps_pve"],
|
|
119
|
+
tag2: "",
|
|
120
|
+
item1: null,
|
|
121
|
+
item2: null,
|
|
122
|
+
item3: null,
|
|
123
|
+
item4: null,
|
|
124
|
+
item5: null,
|
|
125
|
+
item6: null,
|
|
126
|
+
};
|
|
127
|
+
},
|
|
128
|
+
watch: {
|
|
129
|
+
post_id: {
|
|
130
|
+
immediate: true,
|
|
131
|
+
handler: function () {
|
|
132
|
+
// this.loadPost();
|
|
133
|
+
},
|
|
134
|
+
},
|
|
135
|
+
},
|
|
136
|
+
methods: {
|
|
137
|
+
suspendSearch: function (val) {
|
|
138
|
+
console.log(val, "222");
|
|
139
|
+
},
|
|
140
|
+
update(data) {
|
|
141
|
+
console.log(data);
|
|
142
|
+
},
|
|
143
|
+
loadPost() {
|
|
144
|
+
axios.get(`/api/cms/post/${this.post_id}`).then((res) => {
|
|
145
|
+
this.post = res.data.data;
|
|
146
|
+
this.$forceUpdate();
|
|
147
|
+
});
|
|
148
|
+
},
|
|
149
|
+
filterMeta(val) {
|
|
150
|
+
console.log(val);
|
|
151
|
+
},
|
|
152
|
+
loadItems() {
|
|
153
|
+
get_item("10_310").then((res) => {
|
|
154
|
+
let data = res.data;
|
|
155
|
+
if (data.code === 200) {
|
|
156
|
+
let item = data.data.item;
|
|
157
|
+
this.item1 = JSON.stringify(item) !== "{}" ? item : null;
|
|
158
|
+
}
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
get_item("6_4396").then((res) => {
|
|
162
|
+
let data = res.data;
|
|
163
|
+
if (data.code === 200) {
|
|
164
|
+
let item = data.data.item;
|
|
165
|
+
this.item2 = JSON.stringify(item) !== "{}" ? item : null;
|
|
166
|
+
}
|
|
167
|
+
});
|
|
168
|
+
|
|
169
|
+
get_item("10_202").then((res) => {
|
|
170
|
+
let data = res.data;
|
|
171
|
+
if (data.code === 200) {
|
|
172
|
+
let item = data.data.item;
|
|
173
|
+
this.item3 = JSON.stringify(item) !== "{}" ? item : null;
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
get_item("10_98").then((res) => {
|
|
178
|
+
let data = res.data;
|
|
179
|
+
if (data.code === 200) {
|
|
180
|
+
let item = data.data.item;
|
|
181
|
+
this.item4 = JSON.stringify(item) !== "{}" ? item : null;
|
|
182
|
+
}
|
|
183
|
+
});
|
|
184
|
+
|
|
185
|
+
get_item("5_3028", 1).then((res) => {
|
|
186
|
+
let data = res.data;
|
|
187
|
+
if (data.code === 200) {
|
|
188
|
+
let item = data.data.item;
|
|
189
|
+
this.item5 = JSON.stringify(item) !== "{}" ? item : null;
|
|
190
|
+
}
|
|
191
|
+
});
|
|
192
|
+
|
|
193
|
+
get_item("5_3028", 2).then((res) => {
|
|
194
|
+
let data = res.data;
|
|
195
|
+
if (data.code === 200) {
|
|
196
|
+
let item = data.data.item;
|
|
197
|
+
this.item6 = JSON.stringify(item) !== "{}" ? item : null;
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
},
|
|
201
|
+
},
|
|
202
|
+
mounted() {
|
|
203
|
+
// this.loadItems();
|
|
204
|
+
},
|
|
205
|
+
};
|
|
206
|
+
</script>
|
|
207
|
+
|
|
208
|
+
<style lang="less">
|
|
209
|
+
body {
|
|
210
|
+
padding-top: @header-height;
|
|
211
|
+
}
|
|
212
|
+
</style>
|
package/src/Bottom.vue
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<footer class="m-bottom">
|
|
3
|
+
<a :href="homepage" target="_blank">© JX3BOX.COM</a>
|
|
4
|
+
<a class="u-feedback" :href="feedback" target="_blank">❤ Help</a>
|
|
5
|
+
</footer>
|
|
6
|
+
</template>
|
|
7
|
+
|
|
8
|
+
<script>
|
|
9
|
+
import JX3BOX from "@jx3box/jx3box-common/data/jx3box.json";
|
|
10
|
+
export default {
|
|
11
|
+
name: "CommonBottom",
|
|
12
|
+
data: function () {
|
|
13
|
+
return {
|
|
14
|
+
homepage: JX3BOX.__Root,
|
|
15
|
+
feedback: JX3BOX.feedback + "&subject=" + location.href,
|
|
16
|
+
};
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
</script>
|
|
20
|
+
|
|
21
|
+
<style lang="less">
|
|
22
|
+
@import "../assets/css/common/bottom.less";
|
|
23
|
+
</style>
|