|
@ -43,7 +43,7 @@ |
|
|
|
|
|
|
|
|
<!-- 内容区域 --> |
|
|
<!-- 内容区域 --> |
|
|
<view class="content-area"> |
|
|
<view class="content-area"> |
|
|
<view v-if="currentTab == 0" class="notes-content"> |
|
|
<!-- <view v-if="currentTab == 0" class="notes-content"> |
|
|
<WaterfallLayout |
|
|
<WaterfallLayout |
|
|
:items="waterfallItems" |
|
|
:items="waterfallItems" |
|
|
:column-count="2" |
|
|
:column-count="2" |
|
@ -53,18 +53,18 @@ |
|
|
@like-change="handleNoteLikeChange" |
|
|
@like-change="handleNoteLikeChange" |
|
|
style="margin-top: 20rpx" |
|
|
style="margin-top: 20rpx" |
|
|
/> |
|
|
/> |
|
|
</view> |
|
|
|
|
|
<!-- <view v-if="currentTab === 0" class="follow-content recommend-content"> |
|
|
|
|
|
<text class="coming-soon">笔记功能开发中...</text> |
|
|
|
|
|
</view> --> |
|
|
</view> --> |
|
|
|
|
|
<view v-if="currentTab === 0" class="follow-content recommend-content"> |
|
|
|
|
|
<text class="coming-soon">笔记功能开发中...</text> |
|
|
|
|
|
</view> |
|
|
<!-- 关注tab内容 --> |
|
|
<!-- 关注tab内容 --> |
|
|
<view v-if="currentTab == 1" class="follow-content"> |
|
|
<view v-if="currentTab == 1" class="follow-content recommend-content"> |
|
|
<FollowTab ref="followTab" /> |
|
|
<!-- <FollowTab ref="followTab" /> --> |
|
|
<!-- <text class="coming-soon">关注功能开发中...</text> --> |
|
|
<text class="coming-soon">关注功能开发中...</text> |
|
|
</view> |
|
|
</view> |
|
|
|
|
|
|
|
|
<!-- 推荐tab内容 --> |
|
|
<!-- 推荐tab内容 --> |
|
|
<view v-if="currentTab == 2" class="notes-content"> |
|
|
<!-- <view v-if="currentTab == 2" class="notes-content"> |
|
|
<WaterfallLayout |
|
|
<WaterfallLayout |
|
|
:items="waterfallItems" |
|
|
:items="waterfallItems" |
|
|
:column-count="2" |
|
|
:column-count="2" |
|
@ -74,15 +74,18 @@ |
|
|
@like-change="handleNoteLikeChange" |
|
|
@like-change="handleNoteLikeChange" |
|
|
style="margin-top: 20rpx" |
|
|
style="margin-top: 20rpx" |
|
|
/> |
|
|
/> |
|
|
|
|
|
</view> --> |
|
|
|
|
|
<view v-if="currentTab ==2" class="notes-content recommend-content"> |
|
|
|
|
|
<text class="coming-soon">笔记功能开发中...</text> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
</view> |
|
|
<view class="fab-container" v-if="canPublish"> |
|
|
<!-- <view class="fab-container" v-if="canPublish"> --> |
|
|
<image |
|
|
<!-- <image |
|
|
@click="goToPublish" |
|
|
@click="goToPublish" |
|
|
:src="showImg('/uploads/20250825/7ea7864b8abb89c3dd7834f025e49b3f.png')" |
|
|
:src="showImg('/uploads/20250825/7ea7864b8abb89c3dd7834f025e49b3f.png')" |
|
|
style="width: 91rpx; height: 91rpx" |
|
|
style="width: 91rpx; height: 91rpx" |
|
|
></image> |
|
|
></image> |
|
|
</view> |
|
|
</view> --> |
|
|
<!-- 控制按钮 --> |
|
|
<!-- 控制按钮 --> |
|
|
<!-- <view class="controls"> |
|
|
<!-- <view class="controls"> |
|
|
<button @click="addRandomItem" class="control-btn primary"> |
|
|
<button @click="addRandomItem" class="control-btn primary"> |
|
|