feat: tinymce
This commit is contained in:
@ -10,11 +10,11 @@
|
||||
<h1 class="main-title">#{{ lunTanRes.channelTitle }}</h1>
|
||||
<div class="action-buttons">
|
||||
<el-button v-if="!lunTanRes.isFollow" type="danger" class="subscribe-btn" @click="handleFollow"
|
||||
><el-icon class="mr-4px color-#fff!"><Plus /></el-icon> 关注
|
||||
><el-icon class="mr-[4px] color-[#fff!]"><Plus /></el-icon> 关注
|
||||
</el-button>
|
||||
<el-button v-else type="danger" class="subscribe-btn" @click="handleUnfollow"> 取消关注 </el-button>
|
||||
<el-button type="danger" class="post-btn" @click="handleClick">
|
||||
<el-icon class="mr-4px color-#fff!"><EditPen /></el-icon> 发帖
|
||||
<el-icon class="mr-[4px] color-[#fff!]"><EditPen /></el-icon> 发帖
|
||||
</el-button>
|
||||
</div>
|
||||
|
||||
@ -37,7 +37,7 @@
|
||||
<div class="stats-item">
|
||||
<span class="stats-label">当前有</span>
|
||||
<span class="stats-value"><i class="el-icon-arrow-up"></i> {{ lunTanRes.chatUserCount }}人聊天</span>
|
||||
<span class="stats-value ml-2px cursor-pointer color-#1a65ff!" @click="handleChat">立即加入</span>
|
||||
<span class="stats-value ml-[2px] cursor-pointer color-[#1a65ff!]" @click="handleChat">立即加入</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -76,7 +76,7 @@
|
||||
})
|
||||
|
||||
const handleClick = () => {
|
||||
window.open('/channel/create?channelId=' + lunTanRes.value.channelId, '_blank')
|
||||
navigateTo('/channel/create?channelId=' + lunTanRes.value.channelId)
|
||||
}
|
||||
const handleFollow = () => {
|
||||
createChannelFollow({ channelId: lunTanRes.value.channelId }).then((res) => {
|
||||
|
||||
Reference in New Issue
Block a user