footer.php 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218
  1. <!--底部-->
  2. <footer>
  3. <div class="container">
  4. <div class="footer">
  5. <div class="clearfix">
  6. <div class="fl left clearfix">
  7. <dl class="fl">
  8. <dt>产品优势</dt>
  9. <dd class="line"></dd>
  10. <dd><a href="/index/apps/apps" target="_blank">应用分发</a></dd>
  11. <dd><a href="/index/apps/super" target="_blank">超级签名</a></dd>
  12. <dd><a href="/index/pack" target="_blank">APP封装</a></dd>
  13. </dl>
  14. <dl class="fl">
  15. <dt>我们的优势</dt>
  16. <dd class="line"></dd>
  17. <dd><a href="#" target="_blank">平台优势</a></dd>
  18. </dl>
  19. <dl class="fl">
  20. <dt>联系我们</dt>
  21. <dd class="line"></dd>
  22. <dd><a href="#" target="_blank">Telegram</a></dd>
  23. <dd><a href="#" target="_blank">WhatsApp</a></dd>
  24. </dl>
  25. </div>
  26. </div>
  27. <div class="copyright" style="text-align: center; margin-top: 32px;">
  28. <p style="color: rgba(255, 255, 255, 0.6); font-size: 12px;">Copyright © 澎湃应用分发平台 版权所有</p>
  29. </div>
  30. </div>
  31. </div>
  32. </footer>
  33. <!-- 右边客服 -->
  34. <div class="contact-nav">
  35. <div class="telegram">
  36. <a href="#">
  37. <img src="/static/index/image/telegram.png" alt="">
  38. </a>
  39. </div>
  40. <div class="whatsapp">
  41. <a href="#">
  42. <img src="/static/index/image/whatsapp.png" alt="">
  43. </a>
  44. </div>
  45. <div class="top">
  46. <a href="javascript:void(0);" id="scrollToTop">
  47. <img src="/static/index/image/top.png" alt="">
  48. </a>
  49. </div>
  50. </div>
  51. <style>
  52. .contact-nav {
  53. position: fixed;
  54. right: 24px;
  55. top: 50%;
  56. transform: translateY(-50%);
  57. z-index: 999;
  58. height: 235px;
  59. }
  60. .contact-nav>div {
  61. margin-bottom: 12px;
  62. }
  63. .contact-nav>div a {
  64. display: block;
  65. width: 60px;
  66. height: 60px;
  67. }
  68. .contact-nav>div a img {
  69. display: block;
  70. width: 100%;
  71. height: 100%;
  72. }
  73. .contact-nav .top {
  74. margin-top: 24px;
  75. filter: drop-shadow(0px 0px 15px rgba(7, 40, 78, 0.15));
  76. }
  77. .contact-nav .top {
  78. display: none;
  79. cursor: pointer;
  80. transition: all 0.3s ease;
  81. }
  82. .contact-nav .top:hover {
  83. transform: translateY(-2px);
  84. box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  85. }
  86. .contact-nav .top a {
  87. display: block;
  88. text-decoration: none;
  89. }
  90. .contact-nav .top img {
  91. width: 100%;
  92. height: auto;
  93. }
  94. @media (max-width: 767px) {
  95. .contact-nav {
  96. right: 8px;
  97. }
  98. .contact-nav>div a {
  99. width: 44px;
  100. height: 44px;
  101. }
  102. }
  103. </style>
  104. <script src="/static/index/js/clipboard.min.js"></script>
  105. <script>
  106. if (!isHideFooter) {
  107. $('.right-float-window').show();
  108. }
  109. $(function () {
  110. // 滚动到顶部功能
  111. $("#scrollToTop").on('click', function() {
  112. $('html, body').animate({
  113. scrollTop: 0
  114. }, 800);
  115. });
  116. // 显示/隐藏回到顶部按钮
  117. $(window).scroll(function() {
  118. if ($(this).scrollTop() > 300) {
  119. $('.top').fadeIn();
  120. } else {
  121. $('.top').fadeOut();
  122. }
  123. });
  124. $("body").on('click', '.fail-pay', function () {
  125. $(".pay-money a:last").removeClass("disabled");
  126. $(".pay-money a:last").addClass("toPay");
  127. });
  128. $("body").on('click', '.complete-pay', function () {
  129. $(".toPay").removeClass('disabled');
  130. order_sn = $('#myModalPay').find('input[name="order_sn"]').val();
  131. if (!order_sn) {
  132. $('#myModalPay').modal('hide');
  133. return;
  134. }
  135. $.post('/index/check_pay', {order_sn: order_sn}, function (result) {
  136. if (result.code != 200) {
  137. $('#myModalPay').modal('hide');
  138. } else {
  139. if (result.data.service_type == 1 || result.data.service_type == 2) {
  140. window.location.href = '/index/publish/apps';
  141. } else if (result.data.service_type == 4 || result.data.service_type == 5) {
  142. window.location.href = '/index/apps/super';
  143. } else if (result.data.service_type == 3) {
  144. window.location.href = '/index/publish_sign?id=' + result.data.appid;
  145. }
  146. }
  147. })
  148. });
  149. var windowWidth = $(window).width();
  150. $("body").on('click', '.chatQQ', function () {
  151. console.info(windowWidth);
  152. if (windowWidth <= 750) {
  153. /*1234567对应的就是需要聊天的客服*/
  154. window.location.href = "mqqwpa://im/chat?chat_type=wpa&uin=<?php echo IN_CONTACT ?>&version=1&src_type=web&web_src=oicqzone.com";
  155. } else {
  156. window.location.href = "http://wpa.qq.com/msgrd?v=3&uin=<?php echo IN_CONTACT ?>&site=qq&menu=yes";
  157. }
  158. });
  159. var source_login = 0;
  160. if (windowWidth <= 750 && source_login) {
  161. Modal.templateModal({
  162. imgName: "modal-bg-3.jpg",
  163. title1: '提示',
  164. title2: '',
  165. p: '建议您:<br>尽快<span class="color-danger">电脑</span>登录<?php echo IN_NAME ?>网站,即可享受<br><span class="iconfont icon-xingxing" style="color: #fec323; font-size: 12px; margin-right: 5px;"></span>免费试用应用分发APP<br><span class="iconfont icon-xingxing" style="color: #fec323; font-size: 12px; margin-right: 5px;"></span>每天免费赠送<span class="color-danger">10</span>次分发下载次数',
  166. align: 'left', // 居左 left, 居中 center, 居右 right
  167. btnText: '知道了',
  168. btnClass: "modal-btn2"
  169. });
  170. }
  171. });
  172. function alert(msg, callback, cancelCallback, align, successBtn, cancelBtn) {
  173. if (!align) align = 'center';
  174. if (!successBtn) successBtn = '确定';
  175. Modal.generalModal({
  176. backdrop: true, // 点击阴影是否关闭弹窗, // true 开启; false 关闭
  177. iconClass: "", // success: icon-modal-success1, error: icon-modal-error2
  178. title: '', // 弹窗标题
  179. p: msg, // 弹窗内容
  180. align: align, // 弹窗内容排列顺序 left center right
  181. cancelBtnText: cancelBtn, // 取消按钮文字
  182. successBtnText: successBtn, // 确定按钮文字
  183. successBtnModal: true, // 点击确定按钮是否关闭弹窗 true 关闭 false 不关闭
  184. cancelBtnModal: true, // 点击取消按钮是否关闭弹窗 true 关闭 false 不关闭
  185. successCallback: callback,
  186. cancelCallback: cancelCallback
  187. });
  188. }
  189. function checkIsBanned() {
  190. var module = '<?php echo $this->module?>';
  191. var IsBanned = '<?php echo $this->user['in_release']?>';
  192. if (module != 'apps' && IsBanned == 1) {
  193. alert('因发布的APP不符合审核规则,已停用账号发布功能', function () {
  194. window.location.href = '/index/apps/<?php echo $this->action?>';
  195. });
  196. }
  197. }
  198. </script>
  199. <?php
  200. echo IN_STAT ? base64_decode(IN_STAT) : '';