publish_success.php 8.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  1. <?php
  2. namespace app\index;
  3. class publish_success extends BaseUser
  4. {
  5. function index()
  6. {
  7. $id = bees_decrypt(SafeRequest("id", "get"));
  8. $row = db('appid')->where('in_uid', $this->userid)->where('in_id', $id)->find();
  9. // print_r($row);die;
  10. $row || exit(include_once dirname(__FILE__) . '/../pack/error/404.php');
  11. ?>
  12. <!DOCTYPE html>
  13. <html lang="">
  14. <head>
  15. <meta charset="utf-8">
  16. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" />
  17. <meta name="keywords" content="<?php echo IN_KEYWORDS; ?>" />
  18. <meta name="description" content="<?php echo IN_DESCRIPTION; ?>" />
  19. <title><?php echo $row['in_name']; ?>发布成功 - <?php echo IN_NAME; ?> -
  20. 免费应用内测托管平台|iOS应用Beta测试分发|Android应用内测分发</title>
  21. <?php
  22. $this->static_();
  23. ?>
  24. <style>
  25. .release-app .uploaded-success .img-wrap {
  26. border: 1px solid rgba(221, 221, 221, 1);
  27. width: 100px;
  28. height: 100px;
  29. border-radius: 24px;
  30. padding: 0;
  31. box-shadow: unset;
  32. margin-bottom: 12px;
  33. overflow: hidden;
  34. }
  35. .release-app .uploaded-success .tit {
  36. background: unset;
  37. margin-bottom: 12px;
  38. color: rgba(0, 0, 0, 1);
  39. font-family: Source Han Sans SC;
  40. font-weight: 700;
  41. font-size: 16px;
  42. line-height: 25px;
  43. margin-bottom: 12px;
  44. }
  45. .release-app .uploaded-success .p1 {
  46. color: rgba(0, 0, 0, 1);
  47. font-family: Source Han Sans SC;
  48. font-weight: 400;
  49. font-size: 14px;
  50. line-height: 25px;
  51. margin-bottom: 30px;
  52. position: relative;
  53. padding-left: 28px;
  54. display: inline-block;
  55. }
  56. .release-app .uploaded-success .p1::before {
  57. content: '';
  58. position: absolute;
  59. top: 0;
  60. left: 0;
  61. width: 20px;
  62. height: 25px;
  63. background: url(/static/index/image/my-app/icon-success.png) center/100% no-repeat;
  64. }
  65. .release-app .uploaded-success .iconfont {
  66. margin-right: 10px;
  67. font-size: 24px;
  68. width: 24px;
  69. height: 24px;
  70. line-height: 24px;
  71. position: relative;
  72. display: inline-block;
  73. }
  74. .release-app .uploaded-success .up-btn .ms-btn {
  75. font-size: 18px;
  76. line-height: 44px;
  77. height: 44px;
  78. border-radius: 4px;
  79. background-color: rgba(33, 104, 251, 1);
  80. color: #fff;
  81. margin: 0px 20px;
  82. padding: 0 20px;
  83. width: unset;
  84. }
  85. .iconfont::before {
  86. content: "";
  87. background-repeat: no-repeat;
  88. background-size: 100% 100%;
  89. background-position: center;
  90. width: 24px;
  91. height: 24px;
  92. display: inline-block;
  93. position: absolute;
  94. top: 5px;
  95. left: 0;
  96. background-image: url(/static/index/image/my-app/icon-update2.png);
  97. }
  98. .iconfont.icon-download::before {
  99. background-image: url(/static/index/image/my-app/icon-download.png);
  100. }
  101. .iconfont.icon-set::before {
  102. background-image: url(/static/index/image/my-app/icon-set.png);
  103. }
  104. .iconfont.icon-upload1::before {
  105. background-image: url(/static/index/image/my-app/icon-upload1.png);
  106. }
  107. </style>
  108. <link rel="stylesheet" href="/static/index/css/apps.css">
  109. </head>
  110. <body>
  111. <?php
  112. $this->header();
  113. ?> <div class="release-app-wrap">
  114. <div class="container">
  115. <div class="release-app">
  116. <div class="crumbs">
  117. <a href="/index/apps/apps">我的应用</a><span>/</span>上传应用
  118. </div>
  119. <div class="uploaded-success">
  120. <div class="img-wrap">
  121. <img src="<?php echo geticon($row['in_icon']); ?>"
  122. onerror="javascript:this.src='<?php echo IN_PATH; ?>static/index/image/<?php echo $row['in_form']; ?>.png'"
  123. alt="" class="img-responsive">
  124. </div>
  125. <div class="tit">
  126. <?php echo $row['in_name']; ?>
  127. </div>
  128. <div class="p1">
  129. 您的应用<?php echo $row['in_name']; ?>已经上传成功啦!
  130. <?php
  131. if ($row['in_applock']) {
  132. ?><br>提示:此应用包含疑似违规信息,需人工审核,请耐心等待。<?php
  133. }
  134. ?> </div>
  135. <div class="up-btn">
  136. <a href="<?php
  137. $extraPath = '';
  138. if (strpos($_SERVER['REQUEST_URI'], 'super') !== false) {
  139. $extraPath = '/super';
  140. } elseif (strpos($_SERVER['REQUEST_URI'], 'sign') !== false) {
  141. $extraPath = '/sign';
  142. }
  143. echo "/index/publish_detail" . $extraPath . "?id=" . bees_encrypt($row['in_id']);
  144. ?>" class="ms-btn ms-btn-secondary"><span class="iconfont icon-set"></span>APP设置</a>
  145. <!-- <a href="/index/publish_detail?id=<?php echo bees_encrypt($row['in_id']); ?>"
  146. class="ms-btn ms-btn-secondary"><span class="iconfont icon-set"></span>APP设置</a> -->
  147. <a href="javascript:history.back(-1)" class="ms-btn ms-btn-secondary"><span
  148. class="iconfont icon-upload1"></span>继续上传</a>
  149. <a href="<?php echo getlink($row['in_id']); ?>" target="_blank"
  150. class="ms-btn ms-btn-secondary"><span class="iconfont icon-download"></span>查看下载页面</a>
  151. </div>
  152. </div>
  153. <div class="warn-prompt-wrap clearfix">
  154. <dl class="clearfix fr warn-prompt-1">
  155. <dt class="fl hidden-xs">提示:</dt>
  156. <dd>
  157. <i class="visible-xs">提示:</i>请您确认上传的APP,符合
  158. 《<a href="/index/about/specification" target="_blank"
  159. class="color-hover"><?php echo IN_NAME; ?>应用审核规范</a>》,如违反规范,APP将做删除处理,屡次上传将被封禁账号。
  160. <br />根据最新审核规范,不接受如下APP上传本平台:色情类、直播类、金融类、区块链虚拟币等。如已上传,将做删除处理。
  161. </dd>
  162. </dl>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. <?php
  168. $this->footer();
  169. ?> </body>
  170. </html>
  171. <?php
  172. }
  173. }