浏览代码

fix:bug修复

cmy 1 天之前
父节点
当前提交
f2e0d42737
共有 3 个文件被更改,包括 20 次插入19 次删除
  1. 17 15
      source/index/publish_detail.php
  2. 1 0
      static/index/css/apps-detail.css
  3. 2 4
      static/index/css/apps-info-top.css

+ 17 - 15
source/index/publish_detail.php

@@ -221,10 +221,9 @@ class publish_detail extends BaseUser
                                                                     id="copy-bid"
                                                                     data-popover="true"
                                                                     data-content="<?= htmlspecialchars($row['in_bid']) ?>">
-                                                                    <?= htmlspecialchars($row['in_bid']) ?>
-                                                                </span>
-                                                                <button class="info-copy"
-                                                                    data-target="#copy-bid">复制</button>
+                                                                    <?= htmlspecialchars($row['in_bid']) ?></span>
+                                                                <button class="copy info-copy" data-clipboard-action="copy"
+                                                                    data-clipboard-target="#copy-bid">复制</button>
                                                             </div>
 
                                                             <?php if ($row["in_form"] == "iOS" && strstr($row["in_app"], "ipa") && $this->action != "super"): ?>
@@ -234,10 +233,10 @@ class publish_detail extends BaseUser
                                                                         id="copy-nick"
                                                                         data-popover="true"
                                                                         data-content="<?= htmlspecialchars($row['in_nick']) ?>">
-                                                                        <?= htmlspecialchars($row['in_nick']) ?>
-                                                                    </span>
-                                                                    <button class="info-copy"
-                                                                        data-target="#copy-nick">复制</button>
+                                                                        <?= htmlspecialchars($row['in_nick']) ?></span>
+                                                                    <button class="copy info-copy"
+                                                                        data-clipboard-action="copy"
+                                                                        data-clipboard-target="#copy-nick">复制</button>
                                                                 </div>
                                                             <?php endif; ?>
                                                         </div>
@@ -266,11 +265,11 @@ class publish_detail extends BaseUser
                                                                     <span class="info-value"
                                                                         id="copy-team"
                                                                         data-popover="true"
-                                                                        data-content="<?= htmlspecialchars($row['in_team']) ?>">
-                                                                        <?= htmlspecialchars($row['in_team']) ?>
-                                                                    </span>
-                                                                    <button class="info-copy"
-                                                                        data-target="#copy-team">复制</button>
+                                                                        data-content="<?= htmlspecialchars($row['in_team']) ?>"
+                                                                    ><?= htmlspecialchars($row['in_team']) ?></span>
+                                                                    <button class="copy info-copy"
+                                                                        data-clipboard-action="copy"
+                                                                        data-clipboard-target="#copy-team">复制</button>
                                                                 </div>
                                                             <?php endif; ?>
                                                         </div>
@@ -307,10 +306,13 @@ class publish_detail extends BaseUser
                                                                         <a href="<?php echo $durl; ?>"
                                                                             target="_blank"
                                                                             data-popover="true"
-                                                                            data-content="<?php echo $durl; ?>">
+                                                                            data-content="<?php echo $durl; ?>"
+                                                                            style="vertical-align: middle;display: inline-block;"
+                                                                        >
                                                                             <?php echo $durl; ?>
                                                                         </a>
-                                                                        <button class="info-copy"
+                                                                        <button class="copy info-copy"
+                                                                            data-clipboard-action="copy"
                                                                             data-clipboard-text="<?php echo $durl; ?>">复制</button>
                                                                     <?php else: ?>
                                                                         <?php echo [-1 => "审核中", "正常", "封禁"][$row["in_applock"]]; ?>

+ 1 - 0
static/index/css/apps-detail.css

@@ -906,6 +906,7 @@
 
 .download-details .d-top button:hover {
     color: #ffffff;
+    background-color: rgba(33, 104, 251, 1);
 }
 
 .download-details .d-top .num {

+ 2 - 4
static/index/css/apps-info-top.css

@@ -29,10 +29,7 @@
     font-size: 24px;
     line-height: 23px;
     margin-right: 13px;
-          /* 禁止换行 */
-    overflow: hidden;        /* 隐藏溢出内容 */
-     /* 显示省略号 */
-                 /* 或指定一个固定宽度 */
+    overflow: hidden;
     height: 23px;
     display: inline-block;
     max-width: calc(100% - 100px);
@@ -365,5 +362,6 @@
         line-height: 0.46rem;
         border: unset;
         background: unset;
+        margin-left: 0;
     }
 }