diff --git a/app/index/view/pc/public/footer.html b/app/index/view/pc/public/footer.html index 41d388e7..18134a18 100644 --- a/app/index/view/pc/public/footer.html +++ b/app/index/view/pc/public/footer.html @@ -88,4 +88,35 @@ - \ No newline at end of file + +
+ + 返回顶部 +
+ \ No newline at end of file diff --git a/public/static/index/pc/css/public.css b/public/static/index/pc/css/public.css index 00c0faa4..a3870db5 100755 --- a/public/static/index/pc/css/public.css +++ b/public/static/index/pc/css/public.css @@ -156,6 +156,26 @@ div{ #header{ height: 60px; } +.backtop { + position: fixed; + right: 1.25rem; + padding: 10px 5px; + bottom: 10%; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; + color: #666; + font-size: 0.75rem; + background: #fff; + cursor: pointer; + border: 1px solid rgb(241, 241, 241); +} +.backtop .ictop { + height: 1.125rem; + width: 0.9375rem; + margin-bottom: 0.25rem; +} /*屏幕兼容性*/ @media screen and (min-width:150px) and (max-width:749px){ body{ diff --git a/public/static/index/pc/images/ic-backtop.png b/public/static/index/pc/images/ic-backtop.png new file mode 100644 index 00000000..a0fb1cf9 Binary files /dev/null and b/public/static/index/pc/images/ic-backtop.png differ