@jx3box/jx3box-ui 2.0.16 → 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
|
@@ -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>
|