|
@@ -159,7 +159,7 @@
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="top">
|
|
<div class="top">
|
|
- <a href="#">
|
|
|
|
|
|
+ <a href="javascript:void(0);" id="scrollToTop">
|
|
<img src="/static/index/image/top.png" alt="">
|
|
<img src="/static/index/image/top.png" alt="">
|
|
</a>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
@@ -215,6 +215,50 @@
|
|
</div>
|
|
</div>
|
|
</li>
|
|
</li>
|
|
</ul> -->
|
|
</ul> -->
|
|
|
|
+<style>
|
|
|
|
+.contact-nav {
|
|
|
|
+ position: fixed;
|
|
|
|
+ right: 24px;
|
|
|
|
+ top: 50%;
|
|
|
|
+ transform: translateY(-50%);
|
|
|
|
+ z-index: 999;
|
|
|
|
+ height: 235px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.contact-nav>div {
|
|
|
|
+ margin-bottom: 12px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.contact-nav>div a {
|
|
|
|
+ width: 60px;
|
|
|
|
+ height: 60px;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.contact-nav .top {
|
|
|
|
+ margin-top: 24px;
|
|
|
|
+ filter: drop-shadow(0px 0px 15px rgba(7, 40, 78, 0.15));
|
|
|
|
+}
|
|
|
|
+.contact-nav .top {
|
|
|
|
+ display: none;
|
|
|
|
+ cursor: pointer;
|
|
|
|
+ transition: all 0.3s ease;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.contact-nav .top:hover {
|
|
|
|
+ transform: translateY(-2px);
|
|
|
|
+ box-shadow: 0 4px 8px rgba(0,0,0,0.2);
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.contact-nav .top a {
|
|
|
|
+ display: block;
|
|
|
|
+ text-decoration: none;
|
|
|
|
+}
|
|
|
|
+
|
|
|
|
+.contact-nav .top img {
|
|
|
|
+ width: 100%;
|
|
|
|
+ height: auto;
|
|
|
|
+}
|
|
|
|
+</style>
|
|
<script src="/static/index/js/clipboard.min.js"></script>
|
|
<script src="/static/index/js/clipboard.min.js"></script>
|
|
<script>
|
|
<script>
|
|
if (!isHideFooter) {
|
|
if (!isHideFooter) {
|
|
@@ -222,6 +266,22 @@
|
|
}
|
|
}
|
|
|
|
|
|
$(function () {
|
|
$(function () {
|
|
|
|
+ // 滚动到顶部功能
|
|
|
|
+ $("#scrollToTop").on('click', function() {
|
|
|
|
+ $('html, body').animate({
|
|
|
|
+ scrollTop: 0
|
|
|
|
+ }, 800);
|
|
|
|
+ });
|
|
|
|
+
|
|
|
|
+ // 显示/隐藏回到顶部按钮
|
|
|
|
+ $(window).scroll(function() {
|
|
|
|
+ if ($(this).scrollTop() > 300) {
|
|
|
|
+ $('.top').fadeIn();
|
|
|
|
+ } else {
|
|
|
|
+ $('.top').fadeOut();
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
$("body").on('click', '.fail-pay', function () {
|
|
$("body").on('click', '.fail-pay', function () {
|
|
$(".pay-money a:last").removeClass("disabled");
|
|
$(".pay-money a:last").removeClass("disabled");
|
|
$(".pay-money a:last").addClass("toPay");
|
|
$(".pay-money a:last").addClass("toPay");
|