@jx3box/jx3box-common-ui 7.9.10 → 8.0.0
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/package.json +1 -1
- package/src/App.vue +2 -2
- package/src/Author.vue +11 -7
- package/src/author/AuthorFollow.vue +6 -6
- package/src/bread/AdminDirectMessage.vue +1 -1
package/package.json
CHANGED
package/src/App.vue
CHANGED
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
bread info
|
|
16
16
|
</Breadcrumb>
|
|
17
17
|
|
|
18
|
-
<LeftSidebar :open="true" :uid="
|
|
18
|
+
<LeftSidebar :open="true" :uid="8">
|
|
19
19
|
<LeftSideToggle :mobileOnly="true" />
|
|
20
|
-
<Author :author="author" :uid="
|
|
20
|
+
<Author :author="author" :uid="8" />
|
|
21
21
|
</LeftSidebar>
|
|
22
22
|
|
|
23
23
|
<Main :withoutLeft="false" :withoutRight="false">
|
package/src/Author.vue
CHANGED
|
@@ -3,14 +3,15 @@
|
|
|
3
3
|
<AuthorInfo :uid="uid" @ready="installModules" />
|
|
4
4
|
<template v-if="data">
|
|
5
5
|
<div class="u-interact">
|
|
6
|
-
<AuthorFollow style="margin-right: 8px
|
|
7
|
-
<AuthorGift :uid="uid" />
|
|
6
|
+
<AuthorFollow style="margin-right: 8px" :uid="uid" />
|
|
7
|
+
<!-- <AuthorGift :uid="uid" /> -->
|
|
8
|
+
<el-button icon="el-icon-message" class="u-btn" size="mini" @click="onMessage">私信</el-button>
|
|
8
9
|
</div>
|
|
9
10
|
<!-- <AuthorMsg :uid="uid" /> -->
|
|
10
11
|
<AuthorLink class="u-block u-links" :uid="uid" :data="data" />
|
|
11
12
|
<AuthorMedals class="u-block u-trophy" :uid="uid" />
|
|
12
13
|
<AuthorTeams class="u-block u-teams" :uid="uid" />
|
|
13
|
-
<AuthorFans class="u-block u-fans" :uid="uid" />
|
|
14
|
+
<!-- <AuthorFans class="u-block u-fans" :uid="uid" /> -->
|
|
14
15
|
<slot></slot>
|
|
15
16
|
<AuthorPosts class="u-block u-posts" :uid="uid" />
|
|
16
17
|
</template>
|
|
@@ -22,8 +23,8 @@ import AuthorInfo from "./author/AuthorInfo.vue";
|
|
|
22
23
|
import AuthorLink from "./author/AuthorLink.vue";
|
|
23
24
|
import AuthorFollow from "./author/AuthorFollow.vue";
|
|
24
25
|
// import AuthorMsg from "./author/AuthorMsg.vue";
|
|
25
|
-
import AuthorGift from "./author/AuthorGift.vue";
|
|
26
|
-
import AuthorFans from "./author/AuthorFans.vue";
|
|
26
|
+
// import AuthorGift from "./author/AuthorGift.vue";
|
|
27
|
+
// import AuthorFans from "./author/AuthorFans.vue";
|
|
27
28
|
import AuthorMedals from "./author/AuthorMedals.vue";
|
|
28
29
|
import AuthorTeams from "./author/AuthorTeams.vue";
|
|
29
30
|
import AuthorPosts from "./author/AuthorPosts.vue";
|
|
@@ -39,17 +40,20 @@ export default {
|
|
|
39
40
|
installModules: function (data) {
|
|
40
41
|
this.data = data;
|
|
41
42
|
},
|
|
43
|
+
onMessage: function () {
|
|
44
|
+
window.open("/dashboard/letter?receiver=" + this.uid, "_blank");
|
|
45
|
+
},
|
|
42
46
|
},
|
|
43
47
|
components: {
|
|
44
48
|
AuthorInfo,
|
|
45
49
|
AuthorLink,
|
|
46
50
|
AuthorFollow,
|
|
47
51
|
// AuthorMsg,
|
|
48
|
-
AuthorGift,
|
|
52
|
+
// AuthorGift,
|
|
49
53
|
AuthorMedals,
|
|
50
54
|
AuthorTeams,
|
|
51
55
|
AuthorPosts,
|
|
52
|
-
AuthorFans,
|
|
56
|
+
// AuthorFans,
|
|
53
57
|
},
|
|
54
58
|
};
|
|
55
59
|
</script>
|
|
@@ -58,12 +58,12 @@ export default {
|
|
|
58
58
|
},
|
|
59
59
|
actions() {
|
|
60
60
|
return [
|
|
61
|
-
{
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
},
|
|
61
|
+
// {
|
|
62
|
+
// label: "发送私信",
|
|
63
|
+
// action: () => {
|
|
64
|
+
// window.open("/dashboard/letter?receiver=" + this.uid);
|
|
65
|
+
// },
|
|
66
|
+
// },
|
|
67
67
|
{
|
|
68
68
|
label: "取消关注",
|
|
69
69
|
action: () => {
|