Explorar el Código

Merge branch 'dev-cmn' of https://s-20coaj910c.zht2.com/cmy/distribution into dev-ly

luoy hace 2 días
padre
commit
ac2837f1fa
Se han modificado 2 ficheros con 253 adiciones y 37 borrados
  1. BIN
      img/qrcode_no_m.png
  2. 253 37
      source/index/combine.php

BIN
img/qrcode_no_m.png


+ 253 - 37
source/index/combine.php

@@ -67,14 +67,14 @@ class combine extends BaseUser
 					width: 303px;
 				}
 
-				#qrcode_img {
+				.qrcode_img {
 					width: 235px;
 					height: 235px;
 					object-fit: cover;
 					border: 1px solid rgba(232, 234, 236, 1);
 				}
 
-				#qrcode_img::placeholder {
+				.qrcode_img::placeholder {
 					color: rgba(143, 149, 159, 1);
 					font-size: 16px;
 					line-height: 22px;
@@ -242,6 +242,7 @@ class combine extends BaseUser
 				/* 记录 */
 				.table-responsive {
 					overflow-x: auto;
+					border: 1px solid rgba(232, 234, 236, 1);
 				}
 
 				/* 通用表格设置 */
@@ -266,7 +267,7 @@ class combine extends BaseUser
 					color: rgba(0, 0, 0, 1);
 					box-sizing: border-box;
 					padding: 0 15px !important;
-					height: 50px;
+					height: 68px;
 					text-align: center;
 					font-family: Source Han Sans SC;
 					font-weight: 400;
@@ -301,6 +302,24 @@ class combine extends BaseUser
 					margin-left: 14px;
 				}
 
+				/* 操作按钮 */
+
+				.table .btn-detail {
+					height: 30px;
+					border-width: 1px;
+					border-radius: 4px;
+					padding-top: 5px;
+					padding-right: 8px;
+					padding-bottom: 5px;
+					padding-left: 8px;
+					color: rgba(255, 116, 41, 1);
+					border: 1px solid rgba(255, 116, 41, 1);
+					font-family: Source Han Sans SC;
+					font-weight: 500;
+					font-size: 14px;
+					line-height: 20px;
+				}
+
 				/* 翻页 */
 
 				.pagination-box {
@@ -334,6 +353,211 @@ class combine extends BaseUser
 					color: rgba(33, 104, 251, 1);
 					pointer-events: none;
 				}
+
+				/* 底部 */
+				.tips {
+					margin: 12px auto 57px;
+					color: rgba(143, 149, 159, 1);
+					font-size: 13px;
+					line-height: 20px;
+				}
+				@media (max-width: 768px) {
+
+					.release-app2>.row {
+						margin: 0;
+					}
+
+					.app-details .details-top {
+						padding: 0.32rem;
+					}
+
+					.details-top .p1{
+						font-size: 0.28rem;
+						line-height: 0.40rem;
+					}
+
+					#hotApp_box {
+						margin: 0;
+						display: block;
+					}
+
+					.download-details {
+						padding: 0.20rem 0.32rem 0.60rem;
+					}
+
+					.flex-left {
+						width: 100%;
+					}
+
+					.flex-right {
+						width: 100%;
+					}
+
+					.qrcode_img {
+						width: 2.66rem;
+						height: 2.66rem;
+						margin: 0 auto;
+					}
+
+					.qrcode_url_tips {
+						font-size: 0.28rem;
+						line-height: 0.34rem;
+						margin: 0.20rem 0;
+					}
+
+					.qrcode_url_input_box {
+						margin-bottom: 0.4rem;
+					}
+
+					.qrcode_url_input_box input {
+						height: 0.64rem;
+						line-height: 0.64rem;
+						padding: 0 0.24rem;
+						font-size: 0.28rem;
+					}
+
+					.qrcode_url_input_box input::placeholder {
+						font-size: 0.28rem;
+					}
+
+					.generate_btn_box {
+						margin-top: 0;
+					}
+
+					.generate_qrcode_btn {
+						width: 100%;
+						height: 0.68rem;
+						border-radius: 0.08rem;
+						font-size: 0.32rem;
+						line-height: 0.68rem;
+						padding: 0;
+					}
+
+					#hotApp-qrcode-downBtn:active:focus,
+					#hotApp-qrcode-downBtn:hover,
+					.generate_qrcode_btn:active:focus,
+					.generate_qrcode_btn:hover {
+						background: rgba(33, 104, 251, 1);
+						color: rgba(255, 255, 255, 1);
+					}
+
+					.qrcode_show_box {
+						margin-bottom: 0.2rem;
+						margin-top: 0.48rem;
+						text-align: center;
+					}
+
+					.qrcode_url_box { margin-bottom: 20px; }
+					.qrcode_url_tips {margin-bottom: 0.20rem;}
+					.qrcode_url_input {
+						width: 100%;
+						padding: 10px; 
+						border-radius: 4px;
+					}
+
+
+					.qrcode_function {
+						margin: 0 auto;
+					}
+
+
+					.down_btnbox {
+						padding-left: 0;
+					}
+
+					#hotApp-qrcode-downBtn {
+						width: 100%;
+						height: 0.68rem;
+						border-radius: 0.08rem;
+						font-size: 0.32rem;
+						line-height: 0.68rem;
+					}
+
+					.down_qrcode_box {
+						width: 100%;
+					}
+
+					/* 标签页样式 */
+					.tabs {
+						margin: 0;
+						padding: 0 0.32rem;
+					}
+
+					.tabs .nav-tabs>li>a {
+						padding: 0.24rem 0.04rem;
+						margin-right: 0.48rem;
+						font-size: 0.30rem;
+						line-height: 0.40rem;
+					}
+
+					/* 通用表格设置 */
+					.table {
+						margin-bottom: 0;
+					}
+
+					.table>tbody>tr>th {
+						height: 0.72rem;
+						font-size: 0.28rem;
+						line-height: 0.36rem;
+					}
+
+					.table>tbody>tr>td {
+						padding: 0.2rem 0.30rem!important;
+						height: 1.36rem;
+						font-size: 0.28rem;
+						line-height: 0.32rem;
+					}
+
+					.table>tfoot>tr>td {
+						padding: 0 0.30rem !important;
+					}
+
+					.table>tbody>tr>td>a {
+						font-size: 0.28rem;
+					}
+
+					.table>tbody>tr>td>a+a {
+						margin-left: 0.28rem;
+					}
+
+					/* 操作按钮 */
+
+					.table .btn-detail {
+						height: 0.60rem;
+						border-radius: 0.08rem;
+						padding-top: 0.10rem;
+						padding-right: 0.16rem;
+						padding-bottom: 0.10rem;
+						padding-left: 0.16rem;
+						font-size: 0.28rem;
+						line-height: 0.40rem;
+					}
+
+					/* 翻页 */
+
+					.pagination {
+						margin: 0.20rem auto 0.20rem;
+					}
+
+					.pagination>li:first-child {
+						padding: 0.14rem 0 0.14rem 0.24rem;
+					}
+
+					/* 底部 */
+					.release-app2 .warn-prompt-wrap {
+						padding-bottom: unset;
+						margin-top: 0;
+						margin-bottom: 1.46rem;
+					}
+
+					.tips {
+						margin: 0.24rem auto 0.48rem;
+						color: rgba(143, 149, 159, 1);
+						font-weight: 400;
+						font-size: 0.24rem;
+						line-height: 0.40rem;
+					}
+				}
 			</style>
             
             <div class="release-app-wrap">
@@ -374,7 +598,8 @@ class combine extends BaseUser
                                         <div class="details-top clearfix">
                                             <b class="p1">外部链接合并</b>
                                             <div class="p1">
-                                                设置提示:本功能可将外部的ios链接或安卓链接,来和本站的链接进行合并到一起使用,<br>
+                                                设置提示:本功能可将外部的ios链接或安卓链接,来和本站的链接进行合并到一起使用,
+												<br class="hidden-xs">
                                                 以便更好的管理不同平台链接的使用,可生成二维码和短链接。
                                             </div>
                                         </div>
@@ -432,7 +657,8 @@ class combine extends BaseUser
 													</div>
 													<div class="flex-right">
 														<div class="qrcode_show_box">
-															<img class="qrcode_img" src="/img/qrcode_no.png" id="qrcode_img">
+															<img class="qrcode_img hidden-xs" src="/img/qrcode_no.png">
+															<img class="qrcode_img visible-xs" src="/img/qrcode_no_m.png">
 														</div>
 														<div class="qrcode_function clearfix row">
 															<input type="hidden" name="" class="qrcode_key" value="">
@@ -453,37 +679,25 @@ class combine extends BaseUser
 											<!-- 合并记录表格 -->
 											<div id="tab-record" class="tab-content <?php echo (SafeRequest("tab", "get") == 'record') ? 'active' : ''; ?>">
 												<div class="table-responsive">
-													<table class="table table-striped">
-														<!-- <thead>
-															<tr>
-																<th>ID</th>
-																<th>iOS链接</th>
-																<th>Android链接</th>
-																<th>短链接</th>
-																<th>创建时间</th>
-																<th>操作</th>
-															</tr>
-														</thead> -->
+													<table class="table">
 														<tbody>
 															<tr>
 																<th>ID</th>
-																<th>iOS链接</th>
-																<th>Android链接</th>
+																<th>安卓地址</th>
+																<th>IOS地址</th>
 																<th>短链接</th>
-																<th>创建时间</th>
+																<th>添加时间</th>
 																<th>操作</th>
 															</tr>
 															<?php if(!empty($result) && $count > 0): ?>
 																<?php foreach($result as $item): ?>
 																<tr>
-																	<td><?php echo $item['id']; ?></td>
-																	<td><?php echo htmlspecialchars($item['ios']); ?></td>
-																	<td><?php echo htmlspecialchars($item['android']); ?></td>
-																	<td><?php echo htmlspecialchars($item['link']); ?></td>
-																	<td><?php echo date('Y-m-d H:i:s', $item['ctime']); ?></td>
-																	<td>
-																		<a href="<?php echo $item['link']; ?>" target="_blank" class="btn btn-xs btn-primary">查看</a>
-																	</td>
+																	<td><div><?php echo $item['id']; ?></div></td>
+																	<td><div><?php echo htmlspecialchars($item['android']); ?></div></td>
+																	<td><div><?php echo htmlspecialchars($item['ios']); ?></div></td>
+																	<td><div><?php echo htmlspecialchars($item['link']); ?></div></td>
+																	<td><div style="min-width: 135px;"><?php echo date('Y-m-d H:i:s', $item['ctime']); ?></div></td>
+																	<td><div><a href="<?php echo $item['link']; ?>" target="_blank" class="btn-detail">查看</a></div></td>
 																</tr>
 																<?php endforeach; ?>
 															<?php else: ?>
@@ -515,15 +729,17 @@ class combine extends BaseUser
                                 </div>
                             </div>
                         </div>
-                    </div>
-                    <div class="warn-prompt-wrap clearfix">
-                        <dl class="clearfix fr warn-prompt-1">
-                            <dt class="fl">提示:</dt>
-                            <dd>请您确认您合并的二维码,符合
-                                《<a href="/index/about/specification" target="_blank" class="color-hover">审核规范</a>》,如违反规范,APP将做删除处理,屡次合并二维码将被封禁账号。
-                                <br>根据最新审核规范,不接受如下APP在平台进行合并二维码:色情类、直播类、金融类、区块链虚拟币等。如已合并,将做删除处理。
-                            </dd>
-                        </dl>
+						
+				<div class="warn-prompt-wrap clearfix">
+					<dl class="clearfix fr warn-prompt-1 tips">
+						<!-- <dd> -->
+							提示:请您确认您合并的二维码,符合
+							《<a href="/index/about/specification" target="_blank" class="color-hover">审核规范</a>》,如违反规范,APP将做删除处理,屡次合并二维码将被封禁账号。
+							<br>根据最新审核规范,不接受如下APP在平台进行合并二维码:色情类、直播类、金融类、区块链虚拟币等。如已合并,将做删除处理。
+						<!-- </dd> -->
+					</dl>
+				</div>
+
                     </div>
                 </div>
             </div>
@@ -640,7 +856,7 @@ class combine extends BaseUser
                     console.log('AJAX成功响应:', ret);
                     $btn.button('reset');
                     if (ret.status == 1) {
-                        $('#qrcode_img').attr("src", ret.qrcode_path);
+                        $('.qrcode_img').attr("src", ret.qrcode_path);
                         $('#shortUrlh').val(ret.shortUrl);
                         $('#shortUrlha').show();
                         $('.qrcode_path').val(ret.qrcode_path);