5 Commits f9ab63725f ... 0da3c95b1c

Auteur SHA1 Bericht Datum
  cmy 0da3c95b1c Merge branch 'dev-ly' into dev-cmn 21 uur geleden
  luoy b604a583c8 Merge branch 'dev-jcq' of https://s-20coaj910c.zht2.com/cmy/distribution into dev-ly 1 dag geleden
  luoy 629d0a0c39 Merge branch 'dev-cmn' of https://s-20coaj910c.zht2.com/cmy/distribution into dev-ly 1 dag geleden
  jcq bc5c3f817d fix: 8/6 苹果免签安装PC 1 dag geleden
  luoy 9c5fd1edd3 feat:应用列表页面+绑定域名页面 1 dag geleden

+ 11 - 0
.gitignore

@@ -0,0 +1,11 @@
+.vscode/
+.idea/
+.htaccess
+nginx.htaccess
+db_config.php
+my.php
+guzzle
+phpmailer
+cos-sdk-v5
+polyfill-intl-idn
+think-orm

+ 0 - 7
.htaccess

@@ -1,7 +0,0 @@
-<IfModule mod_rewrite.c>
-RewriteEngine on
-
-RewriteCond %{REQUEST_FILENAME} !-d
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteRule ^(.*)$ index.php/$1 [QSA,L]
-</IfModule> 

+ 161 - 0
css/jcq.css

@@ -0,0 +1,161 @@
+.flex {
+    display: flex;
+}
+
+.flex-column {
+    flex-direction: column;
+}
+
+.flex-row {
+    flex-direction: row;
+}
+
+.flex-wrap {
+    flex-wrap: wrap;
+}
+
+.flex-nowrap {
+    flex-wrap: nowrap;
+}
+
+.justify-start {
+    justify-content: flex-start;
+}
+
+.justify-end {
+    justify-content: flex-end;
+}
+
+.justify-center {
+    justify-content: center;
+}
+
+.justify-between {
+    justify-content: space-between;
+}
+
+.items-center {
+    align-items: center;
+}
+
+.items-start {
+    align-items: flex-start;
+}
+
+.items-end {
+    align-items: flex-end;
+}
+
+.w-full {
+    width: 100%;
+}
+
+.h-full {
+    height: 100%;
+}
+
+.ms-btn {
+    border-radius: 5px;
+    font-size: 16px;
+    width: 136px;
+}
+
+.img-note {
+    width: 300px;
+    margin-top: 10px;
+    margin-left: 0;
+    padding-left: 0;
+}
+
+.img-note p {
+    font-size: 13px;
+}
+
+.encapsulation .upload-icon {
+    width: 144px;
+    height: 144px;
+    background-position: center 50px;
+    margin-bottom: 0;
+}
+
+.encapsulation .upload-icon .text {
+    margin-top: 100px;
+}
+
+.form-group .input-text.radio {
+    width: 180px;
+    display: flex;
+    justify-content: space-between;
+    align-items: start;
+    margin-top: 0;
+    margin-bottom: 0;
+    margin-left: 0px;
+}
+
+.radio-box {
+    width: 230px;
+    height: 88px;
+    position: relative;
+    display: flex;
+    align-items: center;
+    justify-content: space-between;
+    font-size: 16px;
+    font-weight: 500;
+    color: #151515;
+    border: 1px solid #edeff0;
+    margin-bottom: 20px;
+    cursor: pointer;
+}
+
+.radio-box.active {
+    border: 1px solid #157df1;
+}
+
+.radio-box .left {
+    padding-top: 0;
+    padding-right: 30px;
+    border-right: 1px solid #E5E5E5;
+}
+
+.radio-box .left .title {
+    font-size: 14px;
+    color: #8F959F;
+    margin-bottom: 10px;
+}
+
+.radio-box div span {
+    color: #157df1;
+    font-size: 32px;
+    font-weight: 500;
+}
+
+.radio-box .radio-checked {
+    position: absolute;
+    bottom: 0;
+    right: 0;
+    display: none;
+}
+
+.radio-box.active .radio-checked {
+    display: block;
+
+}
+.pay-num{
+    text-align: left;
+    line-height: 20px;
+}
+.pay-num b{
+    font-size: 32px;
+    font-weight: 500;
+    margin-left: 10px;
+}
+.pay-num b span{
+    font-size: 14px;
+}
+.yxq-title{
+    font-weight: bold;
+    font-size: 16px;
+    margin-bottom: 10px;
+    color: #151515;
+    margin-top: 10px;
+}

BIN
data/attachment/o_1j1v8df9o1f19hila9l17na1mou9.ipa


+ 4 - 0
images/icon/Total.svg

@@ -0,0 +1,4 @@
+<svg width="44" height="20" viewBox="0 0 44 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+<rect width="44" height="20" rx="4" fill="#CBE7FE"/>
+<path d="M19.024 12.444L19.9 11.94C20.608 12.744 21.34 13.824 21.592 14.592L20.656 15.156C20.416 14.4 19.72 13.272 19.024 12.444ZM13.3 12.06H14.5V14.412C14.5 14.796 14.632 14.856 15.376 14.856C15.712 14.856 17.284 14.856 17.728 14.856C18.304 14.856 18.412 14.7 18.472 13.692C18.736 13.86 19.216 14.04 19.552 14.1C19.396 15.528 19.036 15.888 17.824 15.888C17.488 15.888 15.604 15.888 15.28 15.888C13.696 15.888 13.3 15.564 13.3 14.424V12.06ZM11.524 12.24L12.604 12.432C12.412 13.452 12.028 14.616 11.512 15.36L10.456 14.868C10.936 14.256 11.32 13.188 11.524 12.24ZM13.348 8.316V10.164H18.664V8.316H13.348ZM12.136 7.248H14.104C13.888 6.696 13.432 5.928 12.976 5.352L13.948 4.908C14.464 5.508 15.004 6.324 15.208 6.912L14.512 7.248H16.864C17.308 6.54 17.8 5.592 18.076 4.872L19.252 5.352C18.892 5.988 18.496 6.66 18.112 7.248H19.948V11.244H15.808C16.576 11.748 17.452 12.528 17.896 13.068L17.056 13.8C16.624 13.224 15.736 12.396 14.98 11.868L15.772 11.244H12.136V7.248ZM25.192 7.008V7.572H30.736V7.008H25.192ZM25.192 5.868V6.42H30.736V5.868H25.192ZM24.1 5.244H31.876V8.184H24.1V5.244ZM22.588 8.64H33.436V9.468H22.588V8.64ZM24.952 11.76V12.324H27.436V11.76H24.952ZM28.54 11.76V12.324H31.084V11.76H28.54ZM24.952 10.584V11.148H27.436V10.584H24.952ZM28.54 10.584V11.148H31.084V10.584H28.54ZM22.552 14.868H27.436V14.28H23.584V13.524H27.436V12.972H23.884V9.936H32.212V12.972H28.54V13.524H32.452V14.28H28.54V14.868H33.484V15.72H22.552V14.868Z" fill="#2168FB"/>
+</svg>

+ 4 - 0
images/icon/Used.svg

@@ -0,0 +1,4 @@
+<svg width="44" height="20" viewBox="0 0 44 20" fill="none" xmlns="http://www.w3.org/2000/svg">
+<rect width="44" height="20" rx="4" fill="#FEDACB"/>
+<path d="M11.104 5.592H19.96V11.316H18.772V10.728H12.832V13.644C12.832 14.4 13.084 14.544 14.404 14.544C15.028 14.544 17.944 14.544 18.7 14.544C19.984 14.544 20.188 14.172 20.356 12.324C20.656 12.516 21.172 12.708 21.508 12.78C21.256 15.012 20.8 15.672 18.724 15.672C18.196 15.672 14.92 15.672 14.44 15.672C12.316 15.672 11.668 15.276 11.668 13.632V7.788H12.832V9.612H18.772V6.708H11.104V5.592ZM23.776 5.7H32.716V14.58C32.716 15.24 32.56 15.576 32.128 15.756C31.684 15.936 30.964 15.948 29.848 15.936C29.812 15.648 29.632 15.144 29.476 14.844C30.244 14.892 31.06 14.88 31.276 14.868C31.504 14.868 31.588 14.796 31.588 14.568V12.408H28.66V15.888H27.52V12.408H24.748C24.544 13.74 24.112 15.096 23.224 16.08C23.056 15.852 22.588 15.48 22.336 15.336C23.656 13.86 23.776 11.712 23.776 10.02V5.7ZM24.904 6.78V8.484H27.52V6.78H24.904ZM31.588 6.78H28.66V8.484H31.588V6.78ZM24.904 9.54V10.032C24.904 10.44 24.892 10.872 24.856 11.328H27.52V9.54H24.904ZM31.588 9.54H28.66V11.328H31.588V9.54Z" fill="#FF7429"/>
+</svg>

+ 3 - 0
images/icon/Vector.svg

@@ -0,0 +1,3 @@
+<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M7 0C3.13041 0 0 3.13041 0 7C0 10.8696 3.13041 14 7 14C10.8696 14 14 10.8696 14 7C13.9783 3.13041 10.8478 0 7 0ZM7.41304 11.1087H6.17391V9.86957H7.41304V11.1087ZM8.86954 6.21737C8.73913 6.45654 8.47824 6.73911 8.10872 7.1087C7.71739 7.47828 7.47828 7.76085 7.41304 7.91304C7.3478 8.0652 7.30435 8.32609 7.30435 8.73913L7.41304 9.06522H6.17391L6.15217 8.71741C6.17391 8.30437 6.23909 7.93478 6.34783 7.65215C6.47826 7.3478 6.73911 7 7.13041 6.58696C7.5 6.21737 7.71739 5.93474 7.80437 5.80433C7.86952 5.67391 7.91304 5.52178 7.91304 5.30433C7.91304 5.00007 7.82609 4.76087 7.63043 4.587C7.43476 4.41309 7.17394 4.30439 6.82609 4.30439C6.08696 4.30439 5.82607 4.82613 5.76087 5.76089H4.52174V5.63043C4.54348 5.19561 4.58691 4.86954 4.69561 4.60872C4.8043 4.3478 4.9565 4.10872 5.19563 3.8913C5.4348 3.67391 5.69563 3.52172 5.97826 3.43476C6.2608 3.34785 6.54346 3.28261 6.8478 3.28261C7.47824 3.28261 8.0217 3.47828 8.4348 3.84787C8.84783 4.21739 9.06522 4.73913 9.06522 5.36954C9.06522 5.69563 8.99996 5.97826 8.86954 6.21737Z" fill="#C2C9D4"/>
+</svg>

+ 3 - 0
images/icon/add.svg

@@ -0,0 +1,3 @@
+<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M8.875 8.875V14.125C8.875 14.3571 8.78281 14.5796 8.61872 14.7437C8.45462 14.9078 8.23206 15 8 15C7.76794 15 7.54538 14.9078 7.38128 14.7437C7.21719 14.5796 7.125 14.3571 7.125 14.125V8.875H1.875C1.64294 8.875 1.42038 8.78281 1.25628 8.61872C1.09219 8.45462 1 8.23206 1 8C1 7.76794 1.09219 7.54538 1.25628 7.38128C1.42038 7.21719 1.64294 7.125 1.875 7.125H7.125V1.875C7.125 1.64294 7.21719 1.42038 7.38128 1.25628C7.54538 1.09219 7.76794 1 8 1C8.23206 1 8.45462 1.09219 8.61872 1.25628C8.78281 1.42038 8.875 1.64294 8.875 1.875V7.125H14.125C14.3571 7.125 14.5796 7.21719 14.7437 7.38128C14.9078 7.54538 15 7.76794 15 8C15 8.23206 14.9078 8.45462 14.7437 8.61872C14.5796 8.78281 14.3571 8.875 14.125 8.875H8.875Z" fill="white" fill-opacity="0.88"/>
+</svg>

+ 1 - 1
nginx.htaccess

@@ -1,5 +1,5 @@
 location / {
 if (!-e $request_filename){
-rewrite  ^(.*)$  /index.php$1  last;   break;
+rewrite ^(.*)$ /index.php$1 last; break;
 }
 }

File diff suppressed because it is too large
+ 540 - 505
source/index/apps.php


+ 184 - 172
source/index/domain.php

@@ -5,139 +5,147 @@ namespace app\index;
 
 class domain extends BaseUser
 {
-	function initialize()
-	{
-		parent::initialize();
-	}
-	function index()
-	{
-		$_var_0 = db("app_domain")->where("uid", $this->userid)->order("id desc")->select();
-		?>        <!DOCTYPE html>
+    function initialize()
+    {
+        parent::initialize();
+    }
+    function index()
+    {
+        $_var_0 = db("app_domain")->where("uid", $this->userid)->order("id desc")->select();
+?>
+        <!DOCTYPE html>
         <html lang="zh-cn">
+
         <head>
             <meta charset="utf-8">
-            <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"/>
-            <meta name="keywords" content="<?php echo IN_KEYWORDS;?>"/>
-            <meta name="description" content="<?php echo IN_DESCRIPTION;?>"/>
-            <title>自定义域名设置 - <?php echo IN_NAME;?> - 免费应用内测托管平台|iOS应用Beta测试分发|Android应用内测分发</title>
-            <?php 
-		$this->static_();
-		?>        </head>
+            <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0" />
+            <meta name="keywords" content="<?php echo IN_KEYWORDS; ?>" />
+            <meta name="description" content="<?php echo IN_DESCRIPTION; ?>" />
+            <title>自定义域名设置 - <?php echo IN_NAME; ?> - 免费应用内测托管平台|iOS应用Beta测试分发|Android应用内测分发</title>
+            <?php
+            $this->static_();
+            ?>
+        </head>
+
         <body>
-        <?php 
-		$this->header();
-		?>        <link rel="stylesheet" href="/static/pack/font-awesome-4.7.0/css/font-awesome.css"/>
-        <script src="/static/index/js/jquery.form.js"></script>
-        <div class="release-app-wrap">
-            <div class="container">
-                <div class="release-app2">
-                    <div class="crumbs">
-                        <a href="/index/apps">我的应用</a>
-                        <span>/</span>
-                        <a href="/index/apps">应用列表</a>
-                        <span>/</span>
-                        自定义域名
-                    </div>
-                    <div class="row clearfix">
-                        <div class="col-sm-2">
-        <aside class="aside-left">
-        <ul>
-           <li class="<?php echo ($this->module == 'publish' || $this->module == 'publish_update') ? 'active' : '' ?>">
-            <a href="/index/publish/<?php echo $this->action ?>"> <span class="iconfont icon-upload1"></span>上传应用</a>
-           </li>
-                
-            <li class="<?php echo $this->module == 'apps' ? 'active' : '' ?>">
-                <a href="/index/apps/<?php echo $this->action ?>"><span class="iconfont icon-41"></span>应用列表</a>
-            </li>
-            <li class="<?php echo $this->module == 'domain' ? 'active' : '' ?>">
-                <a href="/index/domain/<?php echo $this->action ?>"><span class="iconfont icon-liulanqi"></span>绑定域名</a>
-            </li>
-            <li class="<?php echo $this->module == 'combine' ? 'active' : '' ?>">
-                <a href="/index/combine/<?php echo $this->action ?>"><span class="iconfont icon-erweima"></span>外部链接合并</a>
-            </li>
-             <li class="<?php echo $this->module == 'jilu' ? 'active' : '' ?>">
-                <a href="/index/jilu/<?php echo $this->action ?>"><span class="iconfont icon-jilu"></span>合并记录</a>
-            </li>
-        </ul>
-    </aside>
-   </div>              
-   <div class="col-sm-10">
-                            <div class="aside-right">
-                                <div class="app-details app-details2">
-                                    <div class="details-top clearfix">
-                                        <b>自定义域名</b>
-                                        <div>
-                                            设置提示:首先将您的域名别名解析(cname)到 <?php echo IN_CNAME ? IN_CNAME : $_SERVER["HTTP_HOST"];?>                                            ,然后下方添加域名。<br>苹果应用需支持https访问,请去第三方平台申请cdn加速配置证书。
-                                        </div>
-                                    </div>
-                                    <hr/>
-                                    <div class="download-details">
+            <?php
+            $this->header();
+            ?>
+            <link rel="stylesheet" href="/static/pack/font-awesome-4.7.0/css/font-awesome.css" />
+            <script src="/static/index/js/jquery.form.js"></script>
+            <div class="release-app-wrap">
+                <div class="container">
+                    <div class="release-app2">
+                        <div class="crumbs">
+                            <a href="/index/apps">我的应用</a>
+                            <span>/</span>
+                            <a href="/index/apps">应用列表</a>
+                            <span>/</span>
+                            自定义域名
+                        </div>
+                        <div class="row clearfix">
+                            <div class="col-sm-2">
+                                <aside class="aside-left">
+                                    <ul>
+                                        <li class="<?php echo ($this->module == 'publish' || $this->module == 'publish_update') ? 'active' : '' ?>">
+                                            <a href="/index/publish/<?php echo $this->action ?>"> <span class="iconfont icon-upload1"></span>上传应用</a>
+                                        </li>
 
-                                        <div class="d-top clearfix">
-                                            <div class="fl">
-                                                <input class="form-control" type="text" id="urlpre" value=""
-                                                       placeholder="输入您的域名">
+                                        <li class="<?php echo $this->module == 'apps' ? 'active' : '' ?>">
+                                            <a href="/index/apps/<?php echo $this->action ?>"><span class="iconfont icon-41"></span>应用列表</a>
+                                        </li>
+                                        <li class="<?php echo $this->module == 'domain' ? 'active' : '' ?>">
+                                            <a href="/index/domain/<?php echo $this->action ?>"><span class="iconfont icon-liulanqi"></span>绑定域名</a>
+                                        </li>
+                                        <li class="<?php echo $this->module == 'combine' ? 'active' : '' ?>">
+                                            <a href="/index/combine/<?php echo $this->action ?>"><span class="iconfont icon-erweima"></span>外部链接合并</a>
+                                        </li>
+                                        <li class="<?php echo $this->module == 'jilu' ? 'active' : '' ?>">
+                                            <a href="/index/jilu/<?php echo $this->action ?>"><span class="iconfont icon-jilu"></span>合并记录</a>
+                                        </li>
+                                    </ul>
+                                </aside>
+                            </div>
+                            <div class="col-sm-10">
+                                <div class="aside-right">
+                                    <div class="app-details app-details2">
+                                        <div class="details-top clearfix" style="padding: 39px 30px;">
+                                            <b class="f16-w500-c151515">自定义域名</b>
+                                            <div class="f16-w500-c151515">
+                                                设置提示:首先将您的域名别名解析(cname)到 <?php echo IN_CNAME ? IN_CNAME : $_SERVER["HTTP_HOST"]; ?> ,然后下方添加域名。<br>苹果应用需支持https访问,请去第三方平台申请cdn加速配置证书。
                                             </div>
-                                            <button onclick="urladd();" type="button"
-                                                    class="ms-btn ms-btn-primary fl query">添加
-                                            </button>
                                         </div>
+                                        <div style="height: 10px; background: rgb(242, 242, 245)"></div>
+                                    <div class="download-details" style="padding: 20px 30px;">
+
+                                            <div class="d-top clearfix">
+                                                <div class="fl">
+                                                    <input class="form-control w194-h34" type="text" id="urlpre" value=""
+                                                        placeholder="输入您的域名">
+                                                </div>
+                                                <button onclick="urladd();" type="button"
+                                                    class="app-bloder-btn">添加
+                                                </button>
+                                            </div>
 
-                                        <div class="table-responsive">
-                                            <table class="table version-history-table">
-                                                <tbody>
-                                                <tr>
-                                                    <th>
-                                                        ID
-                                                    </th>
-                                                    <th>
-                                                        域名地址
-                                                    </th>
-                                                    <th>
-                                                        访问次数
-                                                    </th>
+                                            <div class="table-responsive">
+                                                <table class="table version-history-table">
+                                                    <tbody>
+                                                        <tr>
+                                                            <th>
+                                                                ID
+                                                            </th>
+                                                            <th>
+                                                                域名地址
+                                                            </th>
+                                                            <th>
+                                                                访问次数
+                                                            </th>
 
-                                                    <th>
-                                                        添加时间
-                                                    </th>
-                                                    <th>
-                                                        操作
-                                                    </th>
-                                                </tr>
-                                                <?php 
-		if ($_var_0) {
-			foreach ($_var_0 as $_var_1 => $_var_2) {
-				?>                                                        <tr>
-                                                            <td class="angle-parent">
-                                                                <?php echo $_var_2["id"];?>                                                            </td>
-                                                            <td>
-                                                                <a id="copylink<?php echo $_var_2["id"];?>"
-                                                                   style="margin:0 5px;color:#157df1;font-size:14px;"
-                                                                   class="fl" target="_blank"
-                                                                   href="http://<?php echo $_var_2["domain"];?>">http://<?php echo $_var_2["domain"];?></a>
-                                                                <button class="copy table-btn fl"
-                                                                        style="padding: 0 5px;border:0;font-size:14px;"
-                                                                        data-clipboard-action="copy"
-                                                                        data-clipboard-target="#copylink<?php echo $_var_2["id"];?>">
-                                                                    复制
-                                                                </button>
-                                                            </td>
-                                                            <td>
-                                                                <?php echo $_var_2["hits"];?>                                                            </td>
-                                                            <td>
-                                                                <?php echo $_var_2["create_time"];?>                                                            </td>
-                                                            <td>
-                                                                <input name="del_id" type="hidden"
-                                                                       value="<?php echo $_var_2["id"];?>">
-                                                                <a href="javascript:;" class="iconfont icon-shanchu"
-                                                                   title="删除"></a>
-                                                            </td>
+                                                            <th>
+                                                                添加时间
+                                                            </th>
+                                                            <th>
+                                                                操作
+                                                            </th>
                                                         </tr>
-                                                    <?php 
-			}
-		}
-		?>                                                </tbody>
-                                            </table>
+                                                        <?php
+                                                        if ($_var_0) {
+                                                            foreach ($_var_0 as $_var_1 => $_var_2) {
+                                                        ?> <tr>
+                                                                    <td class="angle-parent">
+                                                                        <?php echo $_var_2["id"]; ?> </td>
+                                                                    <td>
+                                                                        <a id="copylink<?php echo $_var_2["id"]; ?>"
+                                                                            style="margin:0 5px;color:#157df1;font-size:14px;"
+                                                                            class="fl" target="_blank"
+                                                                            href="http://<?php echo $_var_2["domain"]; ?>">http://<?php echo $_var_2["domain"]; ?></a>
+                                                                        <button class="copy table-btn fl"
+                                                                            style="padding: 0 5px;border:0;font-size:14px;background:transparent;"
+                                                                            data-clipboard-action="copy"
+                                                                            data-clipboard-target="#copylink<?php echo $_var_2["id"]; ?>">
+                                                                            复制
+                                                                        </button>
+                                                                    </td>
+                                                                    <td>
+                                                                        <?php echo $_var_2["hits"]; ?> </td>
+                                                                    <td>
+                                                                        <?php echo $_var_2["create_time"]; ?> </td>
+                                                                    <td>
+                                                                        <input name="del_id" type="hidden"
+                                                                            value="<?php echo $_var_2["id"]; ?>">
+                                                                        <!-- <a href="javascript:;" class="iconfont icon-shanchu"
+                                                                            title="删除"></a> -->
+                                                                        <div class="icon-shanchu app-bloder-btn" style="color: #FF7429;border-color:#FF7429">删除</div>
+                                                                    </td>
+                                                                </tr>
+                                                        <?php
+                                                            }
+                                                        }
+                                                        ?>
+                                                    </tbody>
+                                                </table>
+                                            </div>
                                         </div>
                                     </div>
                                 </div>
@@ -146,58 +154,62 @@ class domain extends BaseUser
                     </div>
                 </div>
             </div>
-        </div>
-        <script>
-            function urladd() {
-                var domain = $("#urlpre").val();
-                if (!domain) {
-                    return alert('请输入域名!');
-                }
-                $.post('/index/domain/add', {domain}, function (ret) {
-                    ret.msg && alert(ret.msg, function () {
-                        if (ret.code) {
-                            window.location.reload();
-                        }
-                    });
-                }, 'json');
-            }
-
-            $('.icon-shanchu').click(function () {
-                var id = $(this).parent().find('input').val();
-                alert('<b>你确定要删除该记录吗?</b>', function () {
-                    $.post('/index/domain/del', {id}, function (ret) {
-                        ret.msg && alert(ret.msg, function () {
+            <script>
+                function urladd() {
+                    var domain = $("#urlpre").val();
+                    if (!domain) {
+                        return alert('请输入域名!');
+                    }
+                    $.post('/index/domain/add', {
+                        domain
+                    }, function(ret) {
+                        ret.msg && alert(ret.msg, function() {
                             if (ret.code) {
                                 window.location.reload();
                             }
                         });
                     }, 'json');
-                }, function () {
-                }, 'center', '删除', '取消');
-            });
-        </script>
-        <?php 
-		$this->footer();
-		?>        </body>
+                }
+
+                $('.icon-shanchu').click(function() {
+                    var id = $(this).parent().find('input').val();
+                    alert('<b>你确定要删除该记录吗?</b>', function() {
+                        $.post('/index/domain/del', {
+                            id
+                        }, function(ret) {
+                            ret.msg && alert(ret.msg, function() {
+                                if (ret.code) {
+                                    window.location.reload();
+                                }
+                            });
+                        }, 'json');
+                    }, function() {}, 'center', '删除', '取消');
+                });
+            </script>
+            <?php
+            $this->footer();
+            ?>
+        </body>
+
         </html>
-        <?php 
-	}
-	function add()
-	{
-		$_var_3 = SafeRequest("domain");
-		if (!$_var_3) {
-			reJson("请输入域名!");
-		}
-		if (db("app_domain")->where("domain", $_var_3)->count() || $_var_3 == $_SERVER["HTTP_HOST"] || $_var_3 == IN_TZDOMAIN || stristr(IN_SJDOMAIN, $_var_3)) {
-			reJson("域名已存在!");
-		}
-		$_var_4 = db("app_domain")->insertGetId(["uid" => $this->userid, "domain" => $_var_3]);
-		reJson($_var_4 ? "添加成功!" : "添加失败!", $_var_4);
-	}
-	function del()
-	{
-		$_var_5 = SafeRequest("id");
-		$_var_6 = db("app_domain")->where("id", $_var_5)->delete();
-		reJson($_var_6 ? "删除成功!" : "删除失败!", $_var_6);
-	}
-}
+<?php
+    }
+    function add()
+    {
+        $_var_3 = SafeRequest("domain");
+        if (!$_var_3) {
+            reJson("请输入域名!");
+        }
+        if (db("app_domain")->where("domain", $_var_3)->count() || $_var_3 == $_SERVER["HTTP_HOST"] || $_var_3 == IN_TZDOMAIN || stristr(IN_SJDOMAIN, $_var_3)) {
+            reJson("域名已存在!");
+        }
+        $_var_4 = db("app_domain")->insertGetId(["uid" => $this->userid, "domain" => $_var_3]);
+        reJson($_var_4 ? "添加成功!" : "添加失败!", $_var_4);
+    }
+    function del()
+    {
+        $_var_5 = SafeRequest("id");
+        $_var_6 = db("app_domain")->where("id", $_var_5)->delete();
+        reJson($_var_6 ? "删除成功!" : "删除失败!", $_var_6);
+    }
+}

+ 251 - 200
source/index/webview2.php

@@ -4,41 +4,58 @@ namespace app\index;
 
 class webview2 extends BaseUser
 {
-	function index()
-	{
-		$_var_0 = "http://" . $_SERVER["HTTP_HOST"] . IN_PATH;
-		$_var_1 = is_ssl() ? str_replace("http://", "https://", $_var_0) : $_var_0;
-		$_var_2 = $this->action && $this->action != "index" ? bees_decrypt($this->action) : 0;
-		$_var_3 = db("app_pack")->where("user_id", $this->userid)->where("id", $_var_2)->json(["config"], true)->find();
-		$_var_4 = $_var_3 && ($_var_3["period"] < 1 || $_var_3["period"] > time());
-		$_var_5 = $this->userid . "-" . time();
-		if (!$_var_3) {
-			$_var_3 = ["name" => "", "url" => "", "bundle_id" => "", "version" => "", "type" => 2, "config" => NUll];
-		}
-		if (!$_var_3["config"]) {
-			$_var_3["config"] = ["FullScreen" => true, "IsRemovable" => true, "IsRemovURL" => false];
-		}
-		$_var_6 = json_decode(IN_WEBVIEWPOINTS, true);
-		?>        <!DOCTYPE html>
+    function index()
+    {
+        $_var_0 = "http://" . $_SERVER["HTTP_HOST"] . IN_PATH;
+        $_var_1 = is_ssl() ? str_replace("http://", "https://", $_var_0) : $_var_0;
+        $_var_2 = $this->action && $this->action != "index" ? bees_decrypt($this->action) : 0;
+        $_var_3 = db("app_pack")->where("user_id", $this->userid)->where("id", $_var_2)->json(["config"], true)->find();
+        $_var_4 = $_var_3 && ($_var_3["period"] < 1 || $_var_3["period"] > time());
+        $_var_5 = $this->userid . "-" . time();
+        
+        if (!$_var_3) {
+            $_var_3 = [
+                "name" => "", 
+                "url" => "", 
+                "bundle_id" => "", 
+                "version" => "", 
+                "type" => 2, 
+                "config" => null
+            ];
+        }
+        
+        if (!$_var_3["config"]) {
+            $_var_3["config"] = [
+                "FullScreen" => true, 
+                "IsRemovable" => true, 
+                "IsRemovURL" => false
+            ];
+        }
+        
+        $_var_6 = json_decode(IN_WEBVIEWPOINTS, true);
+        ?>
+        <!DOCTYPE html>
         <html lang="">
         <head>
             <meta charset="utf-8">
             <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=0"/>
-            <meta name="keywords" content="<?php echo IN_KEYWORDS;?>"/>
-            <meta name="description" content="<?php echo IN_DESCRIPTION;?>"/>
-            <title>APP打包封装 - <?php echo IN_NAME;?> - 免费应用内测托管平台|iOS应用Beta测试分发|Android应用内测分发</title>
+            <meta name="keywords" content="<?php echo IN_KEYWORDS; ?>"/>
+            <meta name="description" content="<?php echo IN_DESCRIPTION; ?>"/>
+            <title>APP打包封装 - <?php echo IN_NAME; ?> - 免费应用内测托管平台|iOS应用Beta测试分发|Android应用内测分发</title>
             <?php 
-		$this->static_();
-		?>            <script src="<?php echo IN_PATH;?>static/pack/mobileconfig/lib.js"></script>
+            $this->static_();
+            ?>
+            <script src="<?php echo IN_PATH; ?>static/pack/mobileconfig/lib.js"></script>
             <script>
-                var in_path = '<?php echo IN_PATH;?>';
-                var in_login = '<?php echo $this->userlogined ? "1" : "-1";?>';
+                var in_path = '<?php echo IN_PATH; ?>';
+                var in_login = '<?php echo $this->userlogined ? "1" : "-1"; ?>';
             </script>
+            <link rel="stylesheet" href="/css/jcq.css">
         </head>
         <body>
         <?php 
-		$this->header();
-		?>     
+        $this->header();
+        ?>
         <div class="release-app-wrap">
             <div class="container">
                 <div class="release-app2">
@@ -47,13 +64,16 @@ class webview2 extends BaseUser
                     </div>
                     <div class="row clearfix signature1">
                         <?php 
-		$this->webview_left();
-		?>                        <div class="col-sm-10">
+                        $this->webview_left();
+                        ?>
+                        <div class="col-sm-10">
                             <div class="aside-right">
                                 <div class="account-management real-name" style="height: auto;padding: 0px">
                                     <div class="pack-step1 encapsulation">
                                         <div class="step1 step-common">
-                                            <input type="hidden" name="id" value="<?php echo $_var_2;?>">
+                                            <input type="hidden" name="id" value="<?php echo $_var_2; ?>">
+                                            
+                                            <!-- APP名称 -->
                                             <div class="form-group clearfix">
                                                 <label class="control-label col-sm-2"><span>*</span>APP名称</label>
                                                 <div class="col-sm-6">
@@ -61,100 +81,102 @@ class webview2 extends BaseUser
                                                         <input type="text" id="mc_title" name="mc_title"
                                                                class="form-control input-change1" rows="5"
                                                                placeholder="请填写APP名字,建议5个字以内的中文,英文或数字"
-                                                               value="<?php echo $_var_3["name"];?>">
-                                                        <div class="error1 color-danger">名字不能为空,且仅支持中文,英文或数字,不支持特殊字符
-                                                        </div>
+                                                               value="<?php echo $_var_3["name"]; ?>">
+                                                        <div class="error1 color-danger">名字不能为空,且仅支持中文,英文或数字,不支持特殊字符</div>
                                                     </div>
                                                 </div>
                                             </div>
+                                            
+                                            <!-- 网站链接 -->
                                             <div class="form-group clearfix">
                                                 <label class="control-label col-sm-2"><span>*</span>网站链接</label>
                                                 <div class="col-sm-6">
                                                     <div class="input-text">
-                                                        <input type="text" class="form-control input-change2 "
-                                                               id="mc_url"
-                                                               name="mc_url" rows="5"
-                                                               placeholder="请您填写完整的网站链接(例如:http://<?php echo $_SERVER["HTTP_HOST"];?>/)"
-                                                               value="<?php echo $_var_3["url"];?>">
+                                                        <input type="text" class="form-control input-change2"
+                                                               id="mc_url" name="mc_url" rows="5"
+                                                               placeholder="请您填写完整的网站链接(例如:http://<?php echo $_SERVER["HTTP_HOST"]; ?>/)"
+                                                               value="<?php echo $_var_3["url"]; ?>">
                                                         <div class="error1 color-danger">
                                                             请输入完整的网站链接,必须带http或https开头的链接地址
                                                         </div>
                                                     </div>
                                                 </div>
                                             </div>
+                                            
+                                            <!-- APP图标 -->
                                             <div class="form-group clearfix">
                                                 <label class="control-label col-sm-2"><span>*</span>APP图标</label>
-                                                <div class="clearfix col-sm-6">
+                                                <div class="clearfix col-sm-6 flex items-end flex-wrap">
                                                     <input type="file" id="upload_mc_a_icon"
                                                            onchange="upload_mc_a_icon()"
                                                            style="display:none">
-                                                    <div id="preview_mc_a_icon" class="upload-icon fl "
+                                                    <div id="preview_mc_a_icon" class="upload-icon fl"
                                                          onclick="$('#upload_mc_a_icon').click()">
                                                         <?php 
-		if (!empty($_var_3["icon"])) {
-			?>                                                            <img src="<?php echo $_var_3["icon"];?>">
-                                                        <?php 
-		} else {
-			?>                                                            <div class="text" id="tips_a_icon">点击上传图标</div>
+                                                        if (!empty($_var_3["icon"])) {
+                                                            ?>
+                                                            <img src="<?php echo $_var_3["icon"]; ?>">
+                                                            <?php 
+                                                        } else {
+                                                            ?>
+                                                            <div class="text" id="tips_a_icon">点击上传图标</div>
                                                             <div class="reset">重新上传</div>
-                                                        <?php 
-		}
-		?>                                                    </div>
-                                                    <div class="img-note fl">
+                                                            <?php 
+                                                        }
+                                                        ?>
+                                                    </div>
+                                                    <div class="img-note fl col-sm-6">
                                                         <div>
                                                             <a class="ms-btn ms-btn-secondary mb5"
-                                                               href="<?php echo IN_PATH;?>index/icon_make"
+                                                               href="<?php echo IN_PATH; ?>index/icon_make"
                                                                target="_blank">在线制作图标</a>
-                                                            <p>200*200尺寸,小于1M<br>PNG、JPG格式</p>
+                                                            <p>尺寸200*200,圆形或白色背景LOGO,PNG格式</p>
                                                         </div>
                                                     </div>
                                                 </div>
                                             </div>
+                                            
+                                            <!-- 是否全屏显示 -->
                                             <div class="form-group clearfix">
                                                 <label class="control-label col-sm-2"><span>*</span>是否全屏显示</label>
                                                 <div class="col-sm-6">
-                                                    <div class="input-text">
-                                                        <input type="radio" name="FullScreen"
-                                                               value="1" <?php 
-		if ($_var_3["config"]["FullScreen"]) {
-			?>checked="checked"<?php 
-		}
-		?>>
-                                                        是
-                                                        <input
-                                                                type="radio" name="FullScreen"
-                                                                value="0" <?php 
-		if (!$_var_3["config"]["FullScreen"]) {
-			?>checked="checked"<?php 
-		}
-		?>>
-                                                        否
+                                                    <div class="input-text radio">
+                                                        <label>
+                                                            <input type="radio" name="FullScreen" value="1" 
+                                                                   <?php if ($_var_3["config"]["FullScreen"]) { ?>checked="checked"<?php } ?>>
+                                                            是
+                                                        </label>
+                                                        <label>
+                                                            <input type="radio" name="FullScreen" value="0" 
+                                                                   <?php if (!$_var_3["config"]["FullScreen"]) { ?>checked="checked"<?php } ?>>
+                                                            否
+                                                        </label>
                                                         <div class="error1 color-danger">全屏显示没有导航按钮</div>
                                                     </div>
                                                 </div>
                                             </div>
+                                            
+                                            <!-- 是否允许删除 -->
                                             <div class="form-group clearfix">
                                                 <label class="control-label col-sm-2"><span>*</span>是否允许删除</label>
                                                 <div class="col-sm-6">
-                                                    <div class="input-text">
-                                                        <input type="radio" name="IsRemovable"
-                                                               value="1" <?php 
-		if ($_var_3["config"]["IsRemovable"]) {
-			?>checked="checked"<?php 
-		}
-		?>>
-                                                        是
-                                                        <input type="radio" name="IsRemovable"
-                                                               value="0" <?php 
-		if (!$_var_3["config"]["IsRemovable"]) {
-			?>checked="checked"<?php 
-		}
-		?>>
-                                                        否
+                                                    <div class="input-text radio">
+                                                        <label>
+                                                            <input type="radio" name="IsRemovable" value="1" 
+                                                                   <?php if ($_var_3["config"]["IsRemovable"]) { ?>checked="checked"<?php } ?>>
+                                                            是
+                                                        </label>
+                                                        <label>
+                                                            <input type="radio" name="IsRemovable" value="0" 
+                                                                   <?php if (!$_var_3["config"]["IsRemovable"]) { ?>checked="checked"<?php } ?>>
+                                                            否
+                                                        </label>
                                                         <div class="error1 color-danger">如选择否安装后无法删除</div>
                                                     </div>
                                                 </div>
                                             </div>
+                                            
+                                            <!-- 自定义包名 -->
                                             <div class="form-group clearfix">
                                                 <label class="control-label col-sm-2">自定义包名</label>
                                                 <div class="col-sm-6">
@@ -162,12 +184,14 @@ class webview2 extends BaseUser
                                                         <input type="text" id="bundle_id" name="bundle_id"
                                                                class="form-control input-change1" rows="5"
                                                                placeholder="自定义包名,留空则随机生成"
-                                                               value="<?php echo $_var_3["bundle_id"];?>" <?php echo $_var_4 ? "readonly" : "";?>>
-                                                        <div class="error1 color-danger">包名格式如:com.xuanfeng.app
-                                                        </div>
+                                                               value="<?php echo $_var_3["bundle_id"]; ?>" 
+                                                               <?php echo $_var_4 ? "readonly" : ""; ?>>
+                                                        <div class="error1 color-danger">包名格式如:com.xuanfeng.app</div>
                                                     </div>
                                                 </div>
                                             </div>
+                                            
+                                            <!-- 自定义版本号 -->
                                             <div class="form-group clearfix">
                                                 <label class="control-label col-sm-2">自定义版本号</label>
                                                 <div class="col-sm-6">
@@ -175,80 +199,147 @@ class webview2 extends BaseUser
                                                         <input type="text" id="version" name="version"
                                                                class="form-control input-change1" rows="5"
                                                                placeholder="默认1.0.0"
-                                                               value="<?php echo $_var_3["version"];?>">
+                                                               value="<?php echo $_var_3["version"]; ?>">
+                                                    </div>
+                                                </div>
+                                            </div>
+                                            
+                                            <!-- 封装方式 -->
+                                            <div class="form-group clearfix">
+                                                <label class="control-label col-sm-2"><span>*</span>封装方式</label>
+                                                <div class="col-sm-10">
+                                                    <div class="input-text radio" style="margin-left: 0px;">
+                                                        <label onclick="$('#note').hide()">
+                                                            <input type="radio" name="IsRemovURL" value="0" 
+                                                                   <?php if (!$_var_3["config"]["IsRemovURL"]) { ?>checked="checked"<?php } ?>>
+                                                            普通封装
+                                                        </label>
+                                                        <label onclick="$('#note').show()">
+                                                            <input type="radio" name="IsRemovURL" value="1" 
+                                                                   <?php if ($_var_3["config"]["IsRemovURL"]) { ?>checked="checked"<?php } ?>>
+                                                            高级封装
+                                                        </label>
+                                                        <div class="error1 color-danger"></div>
+                                                    </div>
+                                                    <div class="col-sm-10" id="note"
+                                                         style="padding: 5px;<?php if (!$_var_3["config"]["IsRemovURL"]) { ?>display:none;<?php } ?>">
+                                                        <p style="padding: 5px">
+                                                            1、IOS APP只能打开网站首页,点击内部的链接会跳转到safari浏览器?<br>
+                                                            在您的网站head里添加以下script代码,可以解决此问题。<br>
+                                                            <code>&lt;script src="<?php echo $_var_1; ?>static/index/js/nosafari.js"&gt;&lt;/script&gt;</code>
+                                                        </p>
+                                                        <p style="padding: 5px">
+                                                            2、隐藏头部网址,<code><a onclick="createHtml()" style="color: #c7254e">下载app1.html文件</a></code>,放在网站根目录<br>
+                                                            此文件名称必须为app1.html,不能改名<br>
+                                                        </p>
+                                                        <p style="padding: 5px;">如需技术支持,请联系客服,我们提供付费服务。</p>
                                                     </div>
                                                 </div>
                                             </div>
+                                            <hr>
                                             <?php 
-		if (!$_var_4) {
-			?>                                                <div class="form-group clearfix">
-                                                    <label class="control-label col-sm-2"><span>*</span>选择有效期</label>
-                                                    <div class="col-sm-6">
+                                            if (!$_var_4) {
+                                                ?>
+                                                <!-- 选择有效期 -->
+
+                                                <div class="yxq-title">选择有效期</div>
+                                                <div class="form-group clearfix">
+                                                    <div class="col-sm-10">
+                                                        
                                                         <ul class="clearfix period">
+                                                            
                                                             <?php 
-			$_var_7 = "active";
-			$_var_8 = "icon-radio-checked";
-			$_var_9 = 0;
-			if ($_var_9 == 0) {
-				if (!empty($_var_6[0])) {
-					?>                                                                    <li class="clearfix  <?php echo $_var_7;?>"
-                                                                        data-id="0"
-                                                                        data-price="<?php echo $_var_6[0];?>">
-                                                                        <span class="icon icon-radio fl <?php echo $_var_8;?>"></span>
-                                                                        <span class="fl">一个月</span>
+                                                            $_var_7 = "active";
+                                                            $_var_8 = "icon-radio-checked";
+                                                            $_var_9 = 0;
+                                                            
+                                                            if ($_var_9 == 0) {
+                                                                if (!empty($_var_6[0])) {
+                                                                    ?>
+                                                                     <li class="clearfix radio-box <?php echo $_var_7; ?>" data-id="0" data-price="<?php echo $_var_6[0]; ?>">
+                                                                        <div class="left">
+                                                                            <div class="title">有效期</div>
+                                                                            <div class="content">一个月</div>
+                                                                        </div>
+                                                                        <div>
+                                                                            <span style="color:#157df1"><?php echo $_var_6[0]; ?></span>元
+                                                                        </div>
+                                                                        <span class="radio-checked icon icon-checkbox"></span>
                                                                     </li>
                                                                     <?php 
-					$_var_7 = $_var_8 = "";
-				}
-				echo "                                                                ";
-				if (!empty($_var_6[1])) {
-					$_var_9 = $_var_7 ? 1 : $_var_9;
-					?>                                                                    <li class="clearfix  <?php echo $_var_7;?>"
-                                                                        data-id="1"
-                                                                        data-price="<?php echo $_var_6[1];?>">
-                                                                        <span class="icon icon-radio fl <?php echo $_var_8;?>"></span>
-                                                                        <span class="fl">三个月</span>
+                                                                    $_var_7 = $_var_8 = "";
+                                                                }
+                                                                
+                                                                if (!empty($_var_6[1])) {
+                                                                    $_var_9 = $_var_7 ? 1 : $_var_9;
+                                                                    ?>
+                                                                    <li class="clearfix radio-box <?php echo $_var_7; ?>" data-id="1" data-price="<?php echo $_var_6[1]; ?>">
+                                                                        <div class="left">
+                                                                            <div class="title">有效期</div>
+                                                                            <div class="content">三个月</div>
+                                                                        </div>
+                                                                        <div>
+                                                                            <span style="color:#157df1"><?php echo $_var_6[1]; ?></span>元
+                                                                        </div>
+                                                                        <span class="radio-checked icon icon-checkbox"></span>
                                                                     </li>
                                                                     <?php 
-					$_var_7 = $_var_8 = "";
-				}
-				echo "                                                                ";
-				if (!empty($_var_6[2])) {
-					$_var_9 = $_var_7 ? 2 : $_var_9;
-					?>                                                                    <li class="clearfix  <?php echo $_var_7;?>"
-                                                                        data-id="2"
-                                                                        data-price="<?php echo $_var_6[2];?>">
-                                                                        <span class="icon icon-radio fl <?php echo $_var_8;?>"></span>
-                                                                        <span class="fl">六个月</span>
+                                                                    $_var_7 = $_var_8 = "";
+                                                                }
+                                                                
+                                                                if (!empty($_var_6[2])) {
+                                                                    $_var_9 = $_var_7 ? 2 : $_var_9;
+                                                                    ?>
+                                                                     <li class="clearfix radio-box <?php echo $_var_7; ?>" data-id="1" data-price="<?php echo $_var_6[2]; ?>">
+                                                                        <div class="left">
+                                                                            <div class="title">有效期</div>
+                                                                            <div class="content">六个月</div>
+                                                                        </div>
+                                                                        <div>
+                                                                            <span style="color:#157df1"><?php echo $_var_6[2]; ?></span>元
+                                                                        </div>
+                                                                        <span class="radio-checked icon icon-checkbox"></span>
                                                                     </li>
+                                                                  
                                                                     <?php 
-					$_var_7 = $_var_8 = "";
-				}
-				echo "                                                                ";
-				if (!empty($_var_6[3])) {
-					$_var_9 = $_var_7 ? 3 : $_var_9;
-					?>                                                                    <li class="clearfix  <?php echo $_var_7;?>"
-                                                                        data-id="3"
-                                                                        data-price="<?php echo $_var_6[3];?>">
-                                                                        <span class="icon icon-radio fl <?php echo $_var_8;?>"></span>
-                                                                        <span class="fl">一年</span>
+                                                                    $_var_7 = $_var_8 = "";
+                                                                }
+                                                                
+                                                                if (!empty($_var_6[3])) {
+                                                                    $_var_9 = $_var_7 ? 3 : $_var_9;
+                                                                    ?>
+                                                                   <li class="clearfix radio-box <?php echo $_var_7; ?>" data-id="1" data-price="<?php echo $_var_6[3]; ?>">
+                                                                        <div class="left">
+                                                                            <div class="title">有效期</div>
+                                                                            <div class="content">一年</div>
+                                                                        </div>
+                                                                        <div>
+                                                                            <span style="color:#157df1"><?php echo $_var_6[3]; ?></span>元
+                                                                        </div>
+                                                                        <span class="radio-checked icon icon-checkbox"></span>
                                                                     </li>
                                                                     <?php 
-					$_var_7 = $_var_8 = "";
-				}
-			}
-			echo "                                                            ";
-			if (!empty($_var_6[4])) {
-				$_var_9 = $_var_7 ? 4 : $_var_9;
-				?>                                                                <li class="clearfix  <?php echo $_var_7;?>"
-                                                                    data-id="4"
-                                                                    data-price="<?php echo $_var_6[4];?>">
-                                                                    <span class="icon icon-radio fl <?php echo $_var_8;?>"></span>
-                                                                    <span class="fl">永久</span>
-                                                                </li>
-                                                            <?php 
-			}
-			?>                                                        </ul>
+                                                                    $_var_7 = $_var_8 = "";
+                                                                }
+                                                            }
+                                                            
+                                                            if (!empty($_var_6[4])) {
+                                                                $_var_9 = $_var_7 ? 4 : $_var_9;
+                                                                ?>
+                                                                 <li class="clearfix radio-box <?php echo $_var_7; ?>" data-id="1" data-price="<?php echo $_var_6[4]; ?>">
+                                                                        <div class="left">
+                                                                            <div class="title">有效期</div>
+                                                                            <div class="content">永久</div>
+                                                                        </div>
+                                                                        <div>
+                                                                            <span style="color:#157df1"><?php echo $_var_6[4]; ?></span>元
+                                                                        </div>
+                                                                        <span class="radio-checked icon icon-checkbox"></span>
+                                                               
+                                                                <?php 
+                                                            }
+                                                            ?>
+                                                        </ul>
                                                         <script>
                                                             $('ul.period>li').click(function () {
                                                                 $(this).addClass('active').siblings().removeClass('active');
@@ -259,62 +350,23 @@ class webview2 extends BaseUser
                                                         </script>
                                                     </div>
                                                 </div>
-												 <div class="form-group clearfix">
-                                                <label class="control-label col-sm-2 col-xs-4"><span>*</span>收费标准</label>
-                                                <div class="col-sm-2 col-xs-4" id="price">
-                                                    <b class="color-danger"><?php echo $_var_6[$_var_9];?></b>元
-                                                </div>
-												 <div class="col-sm-2 col-xs-4"><a class="ms-btn ms-btn-secondary" href="<?php echo IN_PATH;?>index/item_price" target="_blank">充值购买</a></div>
-                                            </div>
-                                                <?php 
-		}
-		?>                                            <div class="form-group clearfix">
-                                                <label class="control-label col-sm-2"><span>*</span>封装方式</label>
-                                                <div class="col-sm-10">
-                                                    <div class="input-text">
-                                                        <label onclick="$('#note').hide()">
-                                                            <input type="radio" name="IsRemovURL"
-                                                                   value="0" <?php 
-		if (!$_var_3["config"]["IsRemovURL"]) {
-			?>checked="checked"<?php 
-		}
-		?>>
-                                                            普通封装
-                                                        </label>
-                                                        <label onclick="$('#note').show()">
-                                                            <input type="radio" name="IsRemovURL"
-                                                                   value="1" <?php 
-		if ($_var_3["config"]["IsRemovURL"]) {
-			?>checked="checked"<?php 
-		}
-		?>>
-                                                            高级封装
-                                                        </label>
-                                                        <div class="error1 color-danger"></div>
+                                                
+                                                <!-- 收费标准 -->
+                                                <div class="form-group clearfix">
+                                                    <div class="col-sm-2 col-xs-4 pay-num" id="price">
+                                                        <div class="fl">应支付</div>
+                                                        <b class="color-danger"><span>¥</span><?php echo $_var_6[$_var_9]; ?></b>
                                                     </div>
-                                                    <div class="col-sm-10" id="note"
-                                                         style="padding: 5px;<?php 
-		if (!$_var_3["config"]["IsRemovURL"]) {
-			?>display:none;<?php 
-		}
-		?>">
-                                                        <p style="padding: 5px">
-                                                            1、IOS APP只能打开网站首页,点击内部的链接会跳转到safari浏览器?<br>
-                                                            在您的网站head里添加以下script代码,可以解决此问题。<br>
-                                                            <code> &lt;script
-                                                                src="<?php echo $_var_1;?>static/index/js/nosafari.js                                                                "&gt;&lt;/script&gt; </code>
-                                                        </p>
-                                                        <p style="padding: 5px">
-                                                            2、隐藏头部网址,<code><a onclick="createHtml()"
-                                                                              style="color: #c7254e">下载app1.html文件</a></code>,放在网站根目录<br>
-                                                            此文件名称必须为app1.html,不能改名<br>
-                                                        </p>
-                                                        <p style="padding: 5px;">如需技术支持,请联系客服,我们提供付费服务。</p>
+                                                    <div class="col-sm-2 col-xs-4">
+                                                        <a class="ms-btn ms-btn-secondary" href="<?php echo IN_PATH; ?>index/item_price" target="_blank">充值购买</a>
                                                     </div>
                                                 </div>
-                                            </div>
+                                                <?php 
+                                            }
+                                            ?>
+                                            
+                                            <!-- 操作按钮 -->
                                             <div class="form-group clearfix mt40">
-                                                <label class="control-label col-sm-2"></label>
                                                 <div class="col-sm-6">
                                                     <button class="ms-btn ms-btn-primary w140 ng-binding" type="button"
                                                             onclick="mobile_config();">
@@ -332,7 +384,6 @@ class webview2 extends BaseUser
                                                     </button>
                                                 </div>
                                             </div>
-
                                         </div>
                                     </div>
                                 </div>
@@ -342,10 +393,10 @@ class webview2 extends BaseUser
                 </div>
             </div>
             <?php 
-		$this->footer();
-		?>        </body>
+            $this->footer();
+            ?>
+        </body>
         </html>
-
         <?php 
-	}
+    }
 }

+ 5 - 1
source/index/webview_left.php

@@ -9,12 +9,16 @@ if (!defined("IN_ROOT")) {
         <ul>
             <li class="<?php echo $this->module == "webview" ? "active" : "";?>">
                 <a href="/index/webview">
+                   
+
                     <span class="iconfont icon-xiangzi font18"></span>标准封装
                 </a>
             </li>
             <li class="<?php echo $this->module == "webview2" ? "active" : "";?>">
+                
                 <a href="/index/webview2">
-                    <span class="iconfont icon-xiangzi font18"></span>苹果免签封装
+                     
+                    苹果免签封装
                 </a>
             </li>
             <li class="<?php echo $this->module == "webview_log" ? "active" : "";?>">

+ 2 - 2
source/system/my.php

@@ -5,7 +5,7 @@ define('IN_CONFIG_TYPE','{"url":"\u94fe\u63a5","date":"\u65e5\u671f","list":"\u5
 define('IN_CONFIG_CATEGORY','{"dev":"\u5f00\u53d1\u914d\u7f6e","pay":"\u652f\u4ed8\u914d\u7f6e","sms":"\u77ed\u4fe1\u914d\u7f6e","sign":"\u7b7e\u540d\u914d\u7f6e","site":"\u7ad9\u70b9\u914d\u7f6e","credit":"\u4e1a\u52a1\u914d\u7f6e","extend":"\u6269\u5c55\u914d\u7f6e","system":"\u5168\u5c40\u914d\u7f6e","upload":"\u4e0a\u4f20\u914d\u7f6e"}');
 define('IN_ARTICLE_GROUP','{"tf":"TF\u7b7e\u540d","vip":"VIP\u4f1a\u5458","sign":"\u4f01\u4e1a\u7b7e\u540d","distr":"\u5206\u53d1","pack":"\u5c01\u88c5APP"}');
 define('IN_ACLOG_TYPE','{"in_points":"\u4e91\u5e01","device_num":"\u516c\u6709\u8bbe\u5907","max_super_code":"\u6388\u6743\u7801","money":"\u73b0\u91d1\u4f59\u989d","prv_device_num":"\u79c1\u6709\u8bbe\u5907","promote_money":"\u4f63\u91d1"}');
-define('IN_NAME','刀客源码分发');
+define('IN_NAME','鸿山分发');
 define('IN_KEYWORDS','APP,ios免签,APP封装,企业签名,超级签名');
 define('IN_DESCRIPTION','APP分发为开发者提供专业的APP分发和封装打包等稳定服务,我们支持IOS在线签名,企业签名,APP应用托管,Android应用内测等等一系列的方案!');
 define('IN_ICP','ICP备案:豫ICP备XXXXXXX号-2 增值电信业务许可证号   豫B2-XXXXXXX');
@@ -29,7 +29,7 @@ define('IN_WXAPPID','1');
 define('IN_WXAPPSECRET','1');
 define('IN_ALIPAYID','1');
 define('IN_ALIPAYKEY','1');
-define('IN_POINTNAME','币');
+define('IN_POINTNAME','澎湃币');
 define('IN_RMBPOINTS','100');
 define('IN_LOGINPOINTS','10');
 define('IN_REGSPACE','300');

+ 73 - 0
static/index/css/ly.css

@@ -0,0 +1,73 @@
+.f16-w500-c151515 {
+  font-size: 16px !important;
+  font-weight: 500 !important;
+  color: #151515 !important;
+  font: Source Han Sans SC;
+}
+.w194-h34 {
+  width: 194px !important;
+  height: 34px !important;
+}
+.apps-tit {
+    font-size: 16px !important;
+    font-weight: 500 !important;
+    color: #151515 !important;
+    margin-right: 5px
+}
+.apps-titbox {
+    text-align: left;
+}
+.apps-num {
+    font-size: 32px !important;
+    font-weight: 500 !important;
+    color: #151515 !important;
+    display: block;
+}
+.apps-numbox {
+    height: 80px;
+    text-align: left;
+    display: flex;
+    align-items: end;
+    padding-bottom: 5px;
+}
+.apps-numbox-n {
+    height: 80px;
+    text-align: left;
+    display: flex;
+}
+.apps-right-line {
+    position: absolute;
+    top: 30px;
+    right: 0;
+    background-color: #e5e5e5;
+    width: 1px;
+    height: 60px;
+}
+.apps-buyBtn {
+    width: 100px !important;
+    height: 36px;
+    font-size: 16px !important;
+    font-weight: 500 !important;
+    margin-top: 40px !important;
+}
+.apps-buyBtn-font {
+    transform: translate(1px, 3px);
+    display: inline-block;
+}
+.app-bloder-btn{
+    width: 70px;
+    height: 34px;
+    display: inline-block;
+    margin-left: 10px;
+    background-color: #fff;
+    color: #2168F8;
+    border: 1px solid #2168F8;
+    border-radius: 4px;
+    text-align: center;
+    line-height: 32px;
+    font-weight: 500;
+    cursor: pointer;
+}
+.app-bloder-btn::before{
+    content: '' !important;
+}

+ 3 - 3
static/index/css/main.css

@@ -1,5 +1,5 @@
 @charset "utf-8";
-
+@import url("./ly.css");
 @media (min-width: 1300px) {
     .container {
         width: 1300px;
@@ -10071,7 +10071,7 @@ aside.aside-left ul li:hover a .iconfont {
     padding: 0 10px;
     vertical-align: middle;
     border-color: #e5e5e5;
-    color: #666;
+    color: #000000;
     height: 60px;
 }
 
@@ -10631,7 +10631,7 @@ aside.aside-left ul li:hover a .iconfont {
     vertical-align: middle;
     text-align: center;
     font-size: 12px;
-    color: #666;
+    color: #000000;
 }
 
 .download-details .table tr:hover {

+ 1 - 0
vendor/guzzlehttp/guzzle

@@ -0,0 +1 @@
+Subproject commit 9d4290de1cfd701f38099ef7e183b64b4b7b0c5e

+ 1 - 0
vendor/phpmailer/phpmailer

@@ -0,0 +1 @@
+Subproject commit 917ab212fa00dc6eacbb26e8bc387ebe40993bc1

+ 1 - 0
vendor/qcloud/cos-sdk-v5

@@ -0,0 +1 @@
+Subproject commit d9fa5e8468ce4462d671976555efaa9acd2896e4

+ 1 - 0
vendor/symfony/polyfill-intl-idn

@@ -0,0 +1 @@
+Subproject commit a57f8161502549a742a63c09f0a604997bf47027

+ 1 - 0
vendor/topthink/think-orm

@@ -0,0 +1 @@
+Subproject commit 57f9b98895b0ff4ae7b7b75e51456fd8cb8fb629

Some files were not shown because too many files changed in this diff