publish_success.php 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. $row || exit(include_once dirname(__FILE__) . '/../pack/error/404.php');
  10. ?>
  11. <!DOCTYPE html>
  12. <html lang="">
  13. <head>
  14. <meta charset="utf-8">
  15. <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" />
  16. <meta name="keywords" content="<?php echo IN_KEYWORDS; ?>" />
  17. <meta name="description" content="<?php echo IN_DESCRIPTION; ?>" />
  18. <title><?php echo $row['in_name']; ?>发布成功 - <?php echo IN_NAME; ?> -
  19. 免费应用内测托管平台|iOS应用Beta测试分发|Android应用内测分发</title>
  20. <?php
  21. $this->static_();
  22. ?>
  23. <style>
  24. .release-app .uploaded-success .img-wrap {
  25. border: 1px solid rgba(221, 221, 221, 1);
  26. width: 100px;
  27. height: 100px;
  28. border-radius: 24px;
  29. padding: 0;
  30. box-shadow: unset;
  31. margin-bottom: 12px;
  32. overflow: hidden;
  33. }
  34. .release-app .uploaded-success .tit {
  35. background: unset;
  36. margin-bottom: 12px;
  37. color: rgba(0, 0, 0, 1);
  38. font-family: Source Han Sans SC;
  39. font-weight: 700;
  40. font-size: 16px;
  41. line-height: 25px;
  42. margin-bottom: 12px;
  43. }
  44. .release-app .uploaded-success .p1 {
  45. color: rgba(0, 0, 0, 1);
  46. font-family: Source Han Sans SC;
  47. font-weight: 400;
  48. font-size: 14px;
  49. line-height: 25px;
  50. margin-bottom: 30px;
  51. position: relative;
  52. padding-left: 28px;
  53. display: inline-block;
  54. }
  55. .release-app .uploaded-success .p1::before {
  56. content: '';
  57. position: absolute;
  58. top: 0;
  59. left: 0;
  60. width: 20px;
  61. height: 25px;
  62. background: url(/static/index/image/my-app/icon-success.png) center/100% no-repeat;
  63. }
  64. .release-app .uploaded-success .iconfont {
  65. margin-right: 10px;
  66. font-size: 24px;
  67. width: 24px;
  68. height: 24px;
  69. line-height: 24px;
  70. position: relative;
  71. display: inline-block;
  72. }
  73. .release-app .uploaded-success .up-btn .ms-btn {
  74. font-size: 18px;
  75. line-height: 50px;
  76. height: 50px;
  77. border-radius: 4px;
  78. background-color: rgba(33, 104, 251, 1);
  79. color: #fff;
  80. margin: 0px 20px;
  81. padding: 0 20px;
  82. width: unset;
  83. }
  84. .iconfont::before {
  85. content: "";
  86. background-repeat: no-repeat;
  87. background-size: 100% 100%;
  88. background-position: center;
  89. width: 24px;
  90. height: 24px;
  91. display: inline-block;
  92. position: absolute;
  93. top: 5px;
  94. left: 0;
  95. background-image: url(/static/index/image/my-app/icon-update2.png);
  96. }
  97. .iconfont.icon-download::before {
  98. background-image: url(/static/index/image/my-app/icon-download.png);
  99. }
  100. .iconfont.icon-set::before {
  101. background-image: url(/static/index/image/my-app/icon-set.png);
  102. }
  103. .iconfont.icon-upload1::before {
  104. background-image: url(/static/index/image/my-app/icon-upload1.png);
  105. }
  106. </style>
  107. </head>
  108. <body>
  109. <?php
  110. $this->header();
  111. ?> <div class="release-app-wrap">
  112. <div class="container">
  113. <div class="release-app">
  114. <div class="crumbs">
  115. <a href="/index/apps/apps">我的应用</a><span>/</span>发布
  116. </div>
  117. <div class="uploaded-success">
  118. <div class="img-wrap">
  119. <img src="<?php echo geticon($row['in_icon']); ?>"
  120. onerror="javascript:this.src='<?php echo IN_PATH; ?>static/index/image/<?php echo $row['in_form']; ?>.png'"
  121. alt="" class="img-responsive">
  122. </div>
  123. <div class="tit">
  124. 发布成功
  125. </div>
  126. <div class="p1">
  127. 恭喜您,你的APP【<?php echo $row['in_name']; ?>】发布成功了!
  128. <?php
  129. if ($row['in_applock']) {
  130. ?><br>提示:此应用包含疑似违规信息,需人工审核,请耐心等待。<?php
  131. }
  132. ?> </div>
  133. <div class="up-btn">
  134. <a href="<?php echo getlink($row['in_id']); ?>" target="_blank"
  135. class="ms-btn ms-btn-secondary"><span class="iconfont icon-download"></span>查看下载页面</a>
  136. <a href="/index/publish/apps" class="ms-btn ms-btn-secondary"><span
  137. class="iconfont icon-upload1"></span>继续上传</a>
  138. <a href="/index/publish_setting?id=<?php echo bees_encrypt($row['in_id']); ?>"
  139. class="ms-btn ms-btn-secondary"><span class="iconfont icon-set"></span>APP设置</a>
  140. </div>
  141. </div>
  142. </div>
  143. </div>
  144. </div>
  145. <?php
  146. $this->footer();
  147. ?> </body>
  148. </html>
  149. <?php
  150. }
  151. }