Skip to content

Commit

Permalink
Merge branch 'master' of github.com:kingwrcy/moments
Browse files Browse the repository at this point in the history
  • Loading branch information
Jerry committed May 20, 2024
2 parents 9f008e6 + 1f7bbcd commit 16844c9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/FriendsMemo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

<div class="memo flex flex-row gap-2 sm:gap-4 text-sm border-x-0 pt-2 p-2 sm:p-4"
:class="{ 'bg-slate-100 dark:bg-neutral-800': props.memo.pinned }">
<img :src="props.memo.user.avatarUrl" class="avatar w-9 h-9 rounded" @click="toDetail" />
<img :src="props.memo.user.avatarUrl" class="avatar w-9 h-9 rounded cursor-pointer" @click="toDetail" />
<div class="flex flex-col gap-.5 flex-1">
<div class="flex flex-row justify-between items-center">
<div class="username text-[#576b95] cursor-default mb-1 dark:text-white" @click="toDetail">{{
<div class="username text-[#576b95] cursor-default mb-1 dark:text-white cursor-pointer" @click="toDetail">{{
props.memo.user.nickname }}</div>
<Pin :size=14 v-if="props.memo.pinned" />
</div>
Expand Down
2 changes: 1 addition & 1 deletion pages/detail/[id].vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<div>
<div class="p-2 sm:p-4">
<div class="pt-4">
<FriendsMemo :memo="data?.data as any as Memo" v-if="data?.data" :show-more="false" @memo-update="refresh" />
</div>
</div>
Expand Down
7 changes: 7 additions & 0 deletions release.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
### 0.1.5发布了 2024-05-20
- 手机上不展示右侧滚动条
- 修复S3图片后缀写死的bug,需要手动填写
- 点击头像/用户名跳转到详情页
- 图片编辑时支持拖拽排序
- 支持发言时通过输入`#`创建tag标签,支持按标签过滤

### v0.1.3 发布了 2024-05-09
- 配置改为通过界面配置,实时生效,无需重启了
- 优化视频的展示效果
Expand Down

0 comments on commit 16844c9

Please sign in to comment.