@jx3box/jx3box-ui 2.0.15 → 2.0.17
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/assets/css/common/bottom.less +21 -0
- package/index.js +2 -0
- package/package.json +1 -1
- package/src/App.vue +5 -0
- package/src/CommonBottom.vue +25 -0
- package/src/author/AuthorFans.vue +1 -1
- package/src/author/AuthorGift.vue +1 -1
- package/src/author/AuthorLink.vue +1 -1
- package/src/header/box.vue +1 -1
- package/src/interact/BoxcoinUser.vue +1 -1
- package/src/interact/Fav.vue +1 -1
- package/src/single/Author.vue +4 -4
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
@gray: #888;
|
|
2
|
+
@space: 20px;
|
|
3
|
+
@pink: #f39;
|
|
4
|
+
|
|
5
|
+
.m-bottom {
|
|
6
|
+
font-size: 12px;
|
|
7
|
+
color: @gray;
|
|
8
|
+
margin-top: @space;
|
|
9
|
+
font-family: verdana,'Trebuchet MS',Tahoma;
|
|
10
|
+
|
|
11
|
+
a {
|
|
12
|
+
color: @gray;
|
|
13
|
+
&:hover {
|
|
14
|
+
color: @pink;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.u-feedback {
|
|
19
|
+
float: right;
|
|
20
|
+
}
|
|
21
|
+
}
|
package/index.js
CHANGED
|
@@ -3,6 +3,7 @@ import CommonHeader from "./src/CommonHeader.vue";
|
|
|
3
3
|
import Footer from "./src/Footer.vue";
|
|
4
4
|
import CommonFooter from "./src/CommonFooter.vue";
|
|
5
5
|
import Icon from "./src/Icon.vue";
|
|
6
|
+
import CommonBottom from "./src/CommonBottom.vue";
|
|
6
7
|
|
|
7
8
|
// 布局
|
|
8
9
|
import Main from "./src/Main.vue";
|
|
@@ -46,6 +47,7 @@ const components = {
|
|
|
46
47
|
CommonFooter,
|
|
47
48
|
Footer,
|
|
48
49
|
Icon,
|
|
50
|
+
CommonBottom,
|
|
49
51
|
|
|
50
52
|
Main,
|
|
51
53
|
Breadcrumb,
|
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -40,6 +40,11 @@
|
|
|
40
40
|
<div class="m-block">
|
|
41
41
|
<UploadBanner v-model="uploadBanner" />
|
|
42
42
|
</div>
|
|
43
|
+
|
|
44
|
+
<h1 class="m-title">公共bottom</h1>
|
|
45
|
+
<div class="m-block">
|
|
46
|
+
<CommonBottom />
|
|
47
|
+
</div>
|
|
43
48
|
</el-tab-pane>
|
|
44
49
|
<el-tab-pane label="文章列表" name="list">
|
|
45
50
|
<h1 class="m-title">筛选</h1>
|
|
@@ -0,0 +1,25 @@
|
|
|
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
|
+
const { __Root } = jx3box;
|
|
11
|
+
export default {
|
|
12
|
+
name: "Bottom",
|
|
13
|
+
data: function() {
|
|
14
|
+
return {
|
|
15
|
+
homepage: __Root,
|
|
16
|
+
// feedback: '/feedback' + '&refer=' + location.href,
|
|
17
|
+
feedback: "mailto:service@jx3box.com?subject=Feedback",
|
|
18
|
+
};
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
</script>
|
|
22
|
+
|
|
23
|
+
<style lang="less">
|
|
24
|
+
@import "../assets/css/common/bottom.less";
|
|
25
|
+
</style>
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
</div>
|
|
22
22
|
<div class="f-bottom">
|
|
23
23
|
{{ $jx3boxT("jx3boxUi.authorFans.fansCount", "粉丝数: {count}", { count: fans_count }) }}
|
|
24
|
-
|
|
24
|
+
<template v-if="boxcoin_count"
|
|
25
25
|
>{{ $jx3boxT("jx3boxUi.authorFans.boxcoinCount", ",累计收到盒币打赏: {count}", { count: boxcoin_count }) }}</template
|
|
26
26
|
>
|
|
27
27
|
</div>
|
package/src/header/box.vue
CHANGED
package/src/interact/Fav.vue
CHANGED
package/src/single/Author.vue
CHANGED
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
</div>
|
|
14
14
|
<!-- <AuthorLink class="u-block u-links" :uid="uid" :data="data" /> -->
|
|
15
15
|
<AuthorMedals class="u-block u-trophy" :uid="uid" />
|
|
16
|
-
<!-- <AuthorTeams class="u-block u-teams" :uid="uid" />
|
|
17
|
-
<AuthorFans class="u-block u-fans" :uid="uid" />
|
|
16
|
+
<!-- <AuthorTeams class="u-block u-teams" :uid="uid" /> -->
|
|
17
|
+
<AuthorFans class="u-block u-fans" :uid="uid" />
|
|
18
18
|
<slot></slot>
|
|
19
19
|
<AuthorPosts class="u-block u-posts" :uid="uid" />
|
|
20
20
|
</template>
|
|
@@ -26,7 +26,7 @@ import AuthorInfo from "../author/AuthorInfo.vue";
|
|
|
26
26
|
// import AuthorLink from "../author/AuthorLink.vue";
|
|
27
27
|
// import AuthorFollow from "../author/AuthorFollow.vue";
|
|
28
28
|
// import AuthorGift from "../author/AuthorGift.vue";
|
|
29
|
-
|
|
29
|
+
import AuthorFans from "../author/AuthorFans.vue";
|
|
30
30
|
import AuthorMedals from "../author/AuthorMedals.vue";
|
|
31
31
|
// import AuthorTeams from "../author/AuthorTeams.vue";
|
|
32
32
|
import AuthorPosts from "../author/AuthorPosts.vue";
|
|
@@ -70,7 +70,7 @@ export default {
|
|
|
70
70
|
AuthorMedals,
|
|
71
71
|
// AuthorTeams,
|
|
72
72
|
AuthorPosts,
|
|
73
|
-
|
|
73
|
+
AuthorFans,
|
|
74
74
|
AuthorRss,
|
|
75
75
|
},
|
|
76
76
|
};
|