Skip to content

Commit

Permalink
feat: 移除打赏
Browse files Browse the repository at this point in the history
  • Loading branch information
Kaviilee committed Dec 8, 2023
1 parent c50f41f commit 961d314
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 13 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@jx3box/jx3box-vue3-ui",
"version": "0.5.2",
"version": "0.5.3",
"description": "JX3BOX Vue3 UI",
"main": "index.js",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions src/author/AuthorFollow.vue
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,12 @@ export default {
},
actions() {
return [
{
label: "发送私信",
action: () => {
window.open("/dashboard/letter?receiver=" + this.uid);
},
},
// {
// label: "发送私信",
// action: () => {
// window.open("/dashboard/letter?receiver=" + this.uid);
// },
// },
{
label: "取消关注",
action: () => {
Expand Down
16 changes: 10 additions & 6 deletions src/single/Author.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@
<template v-if="data">
<div class="u-interact">
<AuthorFollow style="margin-right: 8px;" :uid="uid" />
<AuthorGift :uid="uid" />
<!-- <AuthorGift :uid="uid" /> -->
<el-button icon="Message" class="u-btn" @click="onMessage">私信</el-button>
</div>
<!-- <AuthorMsg :uid="uid" /> -->
<AuthorLink class="u-block u-links" :uid="uid" :data="data" />
<AuthorMedals class="u-block u-trophy" :uid="uid" />
<AuthorTeams class="u-block u-teams" :uid="uid" />
<AuthorFans class="u-block u-fans" :uid="uid" />
<!-- <AuthorFans class="u-block u-fans" :uid="uid" /> -->
<slot></slot>
<AuthorPosts class="u-block u-posts" :uid="uid" />
</template>
Expand All @@ -22,8 +23,8 @@ import AuthorInfo from "../author/AuthorInfo.vue";
import AuthorLink from "../author/AuthorLink.vue";
import AuthorFollow from "../author/AuthorFollow.vue";
// import AuthorMsg from "./author/AuthorMsg.vue";
import AuthorGift from "../author/AuthorGift.vue";
import AuthorFans from "../author/AuthorFans.vue";
// import AuthorGift from "../author/AuthorGift.vue";
// import AuthorFans from "../author/AuthorFans.vue";
import AuthorMedals from "../author/AuthorMedals.vue";
import AuthorTeams from "../author/AuthorTeams.vue";
import AuthorPosts from "../author/AuthorPosts.vue";
Expand All @@ -39,17 +40,20 @@ export default {
installModules: function (data) {
this.data = data;
},
onMessage: function () {
window.open("/dashboard/letter?receiver=" + this.uid, "_blank");
},
},
components: {
AuthorInfo,
AuthorLink,
AuthorFollow,
// AuthorMsg,
AuthorGift,
// AuthorGift,
AuthorMedals,
AuthorTeams,
AuthorPosts,
AuthorFans,
// AuthorFans,
},
};
</script>
Expand Down

0 comments on commit 961d314

Please sign in to comment.