halo-dev / theme-earth

Halo 2.0 的默认主题
https://demo.halo.run/?preview-theme=theme-earth
GNU General Public License v3.0
42 stars 54 forks source link

Feat/back to the top #66

Closed L-fw closed 11 months ago

L-fw commented 1 year ago

What type of PR is this?

/kind improvement

What this PR does / why we need it:

通过点击回到顶部按钮,可以平滑回到顶部。

image image

Which issue(s) this PR fixes:

Ref #43

Special notes for your reviewer:

1、当页面超过总页面的20%时,才显示回到顶部按钮。 2、返回顶部时为平滑移动。 3、按钮为固定定位(fixed),位置为右边往左25px,底部向上125px,当鼠标悬停时透明度为1,其他为0.3

Does this PR introduce a user-facing change?

支持点击回到顶部按钮回到顶部。
f2c-ci-robot[bot] commented 1 year ago

@L-fw: The label(s) area/console cannot be applied, because the repository doesn't have them.

In response to [this](https://github.com/halo-dev/theme-earth/pull/66): >#### What type of PR is this? > >/kind improvement >/area console > >#### What this PR does / why we need it: > >通过点击回到顶部按钮,可以平滑回到顶部。 >image >image > > >#### Which issue(s) this PR fixes: > >Ref #43 > >#### Special notes for your reviewer: > >1、当页面超过总页面的20%时,才显示回到顶部按钮。 >2、返回顶部时为平滑移动。 >3、按钮为固定定位(fixed),位置为右边往左25px,底部向上125px,当鼠标悬停时透明度为1,其他为0.3 > >#### Does this PR introduce a user-facing change? > >```release-note >Console 端支持点击回到顶部按钮回到顶部。 >``` Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
f2c-ci-robot[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: To complete the pull request process, please assign guqing after the PR has been reviewed. You can assign the PR to them by writing /assign @guqing in a comment when ready.

The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files: - **[OWNERS](https://github.com/halo-dev/theme-earth/blob/main/OWNERS)** Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment
ruibaby commented 1 year ago

@L-fw 感谢参与贡献,为什么要 close 这个 PR 呢?

L-fw commented 1 year ago

pr的标签写错了,不知道写哪个标签。。

JohnNiang commented 1 year ago

没事,PR 的标签我们会修正的。我将重新开启当前 PR。

/reopen

f2c-ci-robot[bot] commented 1 year ago

@JohnNiang: Reopened this PR.

In response to [this](https://github.com/halo-dev/theme-earth/pull/66#issuecomment-1514048373): >没事,PR 的标签我们会修正的。我将重新开启当前 PR。 > >/reopen Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.
L-fw commented 1 year ago

ok

L-fw commented 1 year ago

好的

ruibaby commented 11 months ago

感谢贡献,由于此 PR 已经不活跃,我将关闭此 PR。

/close

f2c-ci-robot[bot] commented 11 months ago

@ruibaby: Closed this PR.

In response to [this](https://github.com/halo-dev/theme-earth/pull/66#issuecomment-1759080534): >感谢贡献,由于此 PR 已经不活跃,我将关闭此 PR。 > >/close Instructions for interacting with me using PR comments are available [here](https://git.k8s.io/community/contributors/guide/pull-requests.md). If you have questions or suggestions related to my behavior, please file an issue against the [kubernetes/test-infra](https://github.com/kubernetes/test-infra/issues/new?title=Prow%20issue:) repository.