footer.php 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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="c-go-top 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. display: none;
  98. }
  99. .show-right-nav .contact-nav {
  100. display: block;
  101. }
  102. .contact-nav>div a {
  103. width: 44px;
  104. height: 44px;
  105. }
  106. }
  107. </style>
  108. <script src="/static/index/js/clipboard.min.js"></script>
  109. <script>
  110. if (!isHideFooter) {
  111. $('.right-float-window').show();
  112. }
  113. $(function () {
  114. // 滚动到顶部功能
  115. $("#scrollToTop").on('click', function() {
  116. $('html, body').animate({
  117. scrollTop: 0
  118. }, 800);
  119. });
  120. // 显示/隐藏回到顶部按钮
  121. $(window).scroll(function() {
  122. if ($(this).scrollTop() > 300) {
  123. $('.c-go-top').fadeIn();
  124. } else {
  125. $('.c-go-top').fadeOut();
  126. }
  127. });
  128. $("body").on('click', '.fail-pay', function () {
  129. $(".pay-money a:last").removeClass("disabled");
  130. $(".pay-money a:last").addClass("toPay");
  131. });
  132. $("body").on('click', '.complete-pay', function () {
  133. $(".toPay").removeClass('disabled');
  134. order_sn = $('#myModalPay').find('input[name="order_sn"]').val();
  135. if (!order_sn) {
  136. $('#myModalPay').modal('hide');
  137. return;
  138. }
  139. $.post('/index/check_pay', {order_sn: order_sn}, function (result) {
  140. if (result.code != 200) {
  141. $('#myModalPay').modal('hide');
  142. } else {
  143. if (result.data.service_type == 1 || result.data.service_type == 2) {
  144. window.location.href = '/index/publish/apps';
  145. } else if (result.data.service_type == 4 || result.data.service_type == 5) {
  146. window.location.href = '/index/apps/super';
  147. } else if (result.data.service_type == 3) {
  148. window.location.href = '/index/publish_sign?id=' + result.data.appid;
  149. }
  150. }
  151. })
  152. });
  153. var windowWidth = $(window).width();
  154. $("body").on('click', '.chatQQ', function () {
  155. console.info(windowWidth);
  156. if (windowWidth <= 750) {
  157. /*1234567对应的就是需要聊天的客服*/
  158. window.location.href = "mqqwpa://im/chat?chat_type=wpa&uin=<?php echo IN_CONTACT ?>&version=1&src_type=web&web_src=oicqzone.com";
  159. } else {
  160. window.location.href = "http://wpa.qq.com/msgrd?v=3&uin=<?php echo IN_CONTACT ?>&site=qq&menu=yes";
  161. }
  162. });
  163. var source_login = 0;
  164. if (windowWidth <= 750 && source_login) {
  165. Modal.templateModal({
  166. imgName: "modal-bg-3.jpg",
  167. title1: '提示',
  168. title2: '',
  169. 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>次分发下载次数',
  170. align: 'left', // 居左 left, 居中 center, 居右 right
  171. btnText: '知道了',
  172. btnClass: "modal-btn2"
  173. });
  174. }
  175. });
  176. function alert(msg, callback, cancelCallback, align, successBtn, cancelBtn) {
  177. if (!align) align = 'center';
  178. if (!successBtn) successBtn = '确定';
  179. Modal.generalModal({
  180. backdrop: true, // 点击阴影是否关闭弹窗, // true 开启; false 关闭
  181. iconClass: "", // success: icon-modal-success1, error: icon-modal-error2
  182. title: '', // 弹窗标题
  183. p: msg, // 弹窗内容
  184. align: align, // 弹窗内容排列顺序 left center right
  185. cancelBtnText: cancelBtn, // 取消按钮文字
  186. successBtnText: successBtn, // 确定按钮文字
  187. successBtnModal: true, // 点击确定按钮是否关闭弹窗 true 关闭 false 不关闭
  188. cancelBtnModal: true, // 点击取消按钮是否关闭弹窗 true 关闭 false 不关闭
  189. successCallback: callback,
  190. cancelCallback: cancelCallback
  191. });
  192. }
  193. function checkIsBanned() {
  194. var module = '<?php echo $this->module?>';
  195. var IsBanned = '<?php echo $this->user['in_release']?>';
  196. if (module != 'apps' && IsBanned == 1) {
  197. alert('因发布的APP不符合审核规则,已停用账号发布功能', function () {
  198. window.location.href = '/index/apps/<?php echo $this->action?>';
  199. });
  200. }
  201. }
  202. </script>
  203. <?php
  204. echo IN_STAT ? base64_decode(IN_STAT) : '';