Преглед на файлове

fix: 页面样式修改

jcq преди 1 ден
родител
ревизия
ff49c2f8ff
променени са 6 файла, в които са добавени 344 реда и са изтрити 87 реда
  1. 221 1
      css/jcq.css
  2. 6 4
      source/index/user_aclog.php
  3. 4 3
      source/index/user_cash.php
  4. 13 4
      source/index/user_order.php
  5. 23 17
      source/index/user_profile.php
  6. 77 58
      source/index/user_promote.php

+ 221 - 1
css/jcq.css

@@ -69,7 +69,7 @@
 .ms-btn {
     border-radius: 5px;
     font-size: 16px;
-    width: 136px;
+    /* width: 136px; */
 }
 
 .img-note {
@@ -334,4 +334,224 @@
     color: #2168FB;
     padding: 7px 30px;
     width: auto;
+}
+
+.user-center1 .account-management>ul {
+    border-bottom: 0;
+    background-color: #fff;
+    font-weight: 500;
+    font-size: 15px;
+    color: #8F959F;
+    margin-bottom: 2px;
+    padding-left: 5px;
+}
+
+.user-center1 .account-management>ul li.active {
+    color: #4B84FF;
+    font-weight: 700;
+    border-bottom: 2px solid #4B84FF;
+}
+
+.user-center1 .account-management .tab {
+    padding: 0 5px;
+}
+
+.user-center1 .account-management .data .table1 tr th:first-of-type {
+    width: 40px;
+    color: #151515;
+    font-weight: 500;
+    font-size: 14px;
+    text-align: right;
+}
+
+.user-center1 .account-management .data .table1 tr td {
+    color: #151515;
+    font-weight: 400;
+    font-size: 14px;
+    text-align: left;
+    padding-left: 40px;
+}
+
+.table.table1 tr {
+    height: 40px;
+}
+
+.user-center1 .account-management .data hr {
+    margin: 10px 0;
+}
+
+.user-center1 .account-management .data .table2 tr th:first-of-type {
+    width: 100px;
+    text-align: right;
+    color: #151515;
+    font-weight: 500;
+    font-size: 14px;
+}
+
+.user-center1 .account-management .data .table2 tr td {
+    color: #151515;
+    font-weight: 400;
+    font-size: 14px;
+    text-align: left;
+    padding-left: 40px;
+}
+
+.user-center1 .account-management .data table {
+    margin-top: 0;
+}
+
+.user-center1 .account-management .pwd .form-group {
+    display: flex;
+}
+
+.user-center1 .account-management .data table tr td .ms-btn-default {
+    border: 1px solid #4B84FF;
+    color: #4B84FF;
+    width: auto;
+}
+
+.user-center1 .account-management .pwd .form-group label {
+    width: 100px;
+    text-align: right;
+    color: #151515;
+    font-weight: 500;
+    font-size: 14px;
+    position: absolute;
+    top: 50%;
+    transform: translateY(-50%);
+}
+
+.user-center1 .account-management .pwd .form-group label span {
+    color: red;
+    margin-right: 5px;
+}
+
+.j-form .form-control {
+    margin-left: 125px;
+}
+
+.user-center1 .account-management .pwd .ms-btn {
+    width: auto;
+    padding: 7px 30px;
+    margin-left: 100px;
+}
+
+.user-center1 .aside-right .balance-recharge .b-num {
+    color: #4B84FF;
+}
+
+.user-center1 .aside-right .balance-recharge .b-tit {
+    color: #151515;
+    font-size: 16px;
+    font-weight: 500;
+}
+
+.user-center1 .aside-right .balance-recharge {
+    border: 0px;
+    margin-bottom: 10px;
+}
+
+.j-partition {
+    width: 104%;
+    height: 20px;
+    background-color: #f2f2f5;
+    margin: 0 -15px;
+    margin-bottom: 10px;
+    box-shadow: 0 0 5px rgba(255, 255, 255, .05);
+}
+
+.user-center1>.row>.col-sm-10 {
+    padding-left: 20px;
+}
+
+.user-center1 .aside-right .balance-recharge p {
+    color: #8F959F;
+    font-size: 14px;
+}
+
+.user-center1 .aside-right .balance-recharge .recharge-btn {
+    line-height: 30px;
+}
+
+.user-center1 .aside-right .user-table .table th {
+    background-color: #f5f6f7;
+    color: #8f959f;
+    font-size: 14px;
+    padding: 7px 10px;
+}
+
+.user-center1 .aside-right .user-table .table td {
+    font-size: 14px;
+    color: #000;
+}
+
+.table_top.clearfix.j-top {
+    background-color: #fff;
+    padding: 15px 5px;
+    margin-bottom: 20px;
+
+}
+
+.table_top.clearfix.j-top a {
+    border-right: 1px solid #e5e5e5;
+
+}
+
+.table_top.clearfix.j-top.top2 a {
+    width: 150px;
+    text-align: center;
+}
+
+.table_top.clearfix.j-top a:last-child {
+    border-right: none;
+}
+
+.table_top.clearfix.j-top p {
+    color: #151515;
+    font-weight: 500;
+    font-size: 16px;
+}
+
+.table_top.clearfix.j-top p.b-num {
+    color: #4B84FF;
+    font-size: 32px;
+}
+
+.table_top.clearfix.j-top p.b-num b {
+    margin-left: 5px;
+}
+
+.warn-prompt {
+    background-color: #e7f2fe;
+    color: #157df1;
+    border-color: #e7f2fe;
+    display: flex;
+    justify-content: space-between;
+}
+
+.warn-prompt .iconfont {
+    font-size: 14px;
+    font-weight: 500;
+    color: #8F959F;
+    margin-left: 0;
+}
+
+.warn-prompt span a {
+    font-size: 14px;
+    font-weight: 500;
+}
+
+.table-list-top {
+    background-color: #fff;
+    padding: 10px;
+    box-shadow: 0 0 5px rgba(0, 0, 0, .05);
+    margin-bottom: 20px;
+    padding-bottom: 2px;
+}
+
+.table-list-body {
+    background-color: #fff;
+    background-color: #fff;
+    padding: 10px;
+    box-shadow: 0 0 5px rgba(0, 0, 0, .05)
 }

+ 6 - 4
source/index/user_aclog.php

@@ -62,6 +62,7 @@ class user_aclog extends BaseUser
                     color: blue !important;
                 }
             </style>
+            <link rel="stylesheet" href="/css/jcq.css">
         </head>
         <body>
         <?php 
@@ -75,11 +76,12 @@ class user_aclog extends BaseUser
                 <div class="user-center1">
                     <div class="row clearfix">
                         <?php 
-		$this->user_left();
-		?>                        <div class="col-sm-10">
+                        $this->user_left();
+                        ?>                        
+                        <div class="col-sm-10">
                             <div class="aside-right">
                                 <div class="order">
-								<div class="table_top clearfix">
+								<div class="table_top clearfix j-top">
 								<a href="/index/user_aclog?type=money">
 									<p>余额</p>
 									<p class="b-num">
@@ -111,7 +113,7 @@ class user_aclog extends BaseUser
 										<?php echo $this->user["promote_money"];?>									</p>
 								</a>
 							</div>
-                                    <div class="table-list-wrap" style="padding:0;">
+                                    <div class="table-list-wrap" style="padding:15px;">
                                         <div class="table-list">
                                             <div class="user-table">
                                                 <div class="table-wrap">

+ 4 - 3
source/index/user_cash.php

@@ -143,6 +143,7 @@ class user_cash extends BaseUser
                     color: orange !important;
                 }
             </style>
+            <link rel="stylesheet" href="/css/jcq.css">
         </head>
         <body>
         <?php 
@@ -160,9 +161,9 @@ class user_cash extends BaseUser
 		?>                        <div class="col-sm-10">
                             <div class="aside-right">
                                 <div class="order">
-                                    <div class="table-list-wrap">
+                                    <div class="table-list-wrap" style="background-color: transparent; box-shadow:none; padding:0;">
                                         <div class="table-list">
-                                            <div class="table_top">
+                                            <div class="table_top j-top clearfix">
                                                 <a href="/index/user_cash">
                                                     <p>佣金</p>
                                                     <p class="b-num">
@@ -180,7 +181,7 @@ class user_cash extends BaseUser
                                                 <?php 
 		}
 		?>                                            </div>
-                                            <div class="user-table">
+                                            <div class="user-table table-list-body">
                                                 <div class="table-wrap">
                                                     <div class="table-responsive">
                                                         <table class="table">

+ 13 - 4
source/index/user_order.php

@@ -29,7 +29,9 @@ class user_order extends BaseUser
             <title>我的订单 - <?php echo IN_NAME;?> - 免费应用内测托管平台|iOS应用Beta测试分发|Android应用内测分发</title>
             <?php 
 		$this->static_();
-		?>        </head>
+		?>        
+        <link rel="stylesheet" href="/css/jcq.css">    
+    </head>
         <body>
         <?php 
 		$this->header();
@@ -42,8 +44,9 @@ class user_order extends BaseUser
                 <div class="user-center1">
                     <div class="row clearfix">
                         <?php 
-		$this->user_left();
-		?>                        <div class="col-sm-10">
+                        $this->user_left();
+                        ?>                        
+                        <div class="col-sm-10">
                             <div class="aside-right">
                                 <div class="order">
                                     <div class="table-list-wrap">
@@ -56,8 +59,14 @@ class user_order extends BaseUser
                                                     <?php echo $this->user["money"];?>                                                </div>
                                                 <p>账户余额可以用来购买平台的分发下载点数(<?php echo IN_POINTNAME;?>                                                    )、企业签名、超级签名设备和封装APP等服务,余额账户的钱不支持提现。</p>
                                                 <a href="/index/item_price"
-                                                   class="ms-btn ms-btn-primary w80 recharge-btn">充值</a>
+                                                   class="ms-btn ms-btn-primary w80 recharge-btn"> 
+                                                   <svg width="16" height="16" viewBox="0 0 16 16" style="transform: translateY(2px);" 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>
+
+                                                   充值</a>
                                             </div>
+                                            <div class="j-partition"></div>
                                             <div class="user-table">
                                                 <div class="table-wrap">
                                                     <div class="table-responsive">

+ 23 - 17
source/index/user_profile.php

@@ -16,7 +16,9 @@ class user_profile extends BaseUser
             <title>账号设置 - <?php echo IN_NAME;?> - 免费应用内测托管平台|iOS应用Beta测试分发|Android应用内测分发</title>
             <?php 
 		$this->static_();
-		?>        </head>
+		?>        
+        <link rel="stylesheet" href="/css/jcq.css">    
+    </head>
         <body>
         <?php 
 		$this->header();
@@ -28,8 +30,9 @@ class user_profile extends BaseUser
                 <div class="user-center1">
                     <div class="row clearfix">
                         <?php 
-		$this->user_left();
-		?>                        <div class="col-sm-10">
+                            $this->user_left();
+                            ?>                       
+                            <div class="col-sm-10">
                             <div class="aside-right">
                                 <div class="account-management">
                                     <ul class="clearfix">
@@ -41,33 +44,36 @@ class user_profile extends BaseUser
                                             <div class="row">
                                                 <div class="col-sm-8">
                                                     <div class="table-responsive">
-                                                        <table class="table table1">
+                                                        <table class="table table1" style="margin-top: 15px;">
                                                             <tbody>
                                                             <tr>
                                                                 <th>
-                                                                    用户名
+                                                                    用户名
                                                                 </th>
                                                                 <td>
                                                                     <?php echo $this->user["in_username"];?>                                                                </td>
                                                             </tr>
                                                             <tr>
                                                                 <th>
-                                                                    会员等级
+                                                                    会员等级
                                                                 </th>
                                                                 <td>
                                                                     <?php 
-		if ($this->user["in_svip"] == 0) {
-			?>                                                                        体验会员
+            if ($this->user["in_svip"] == 0) {
+                ?>                                                                     
+                   体验会员
                                                                     <?php 
 		}
 		?>                                                                    <?php 
 		if ($this->user["in_svip"] == 1) {
-			?>                                                                        初级会员
+			?>                                                                       
+             初级会员
                                                                     <?php 
 		}
 		?>                                                                    <?php 
 		if ($this->user["in_svip"] == 2) {
-			?>                                                                        中级会员
+			?>                                                                       
+             中级会员
                                                                     <?php 
 		}
 		?>                                                                    <?php 
@@ -121,7 +127,7 @@ class user_profile extends BaseUser
                                                  <div class="col-sm-8">
                                                     <div class="table-responsive">
                                                         
-                                                         <h5 class="card-title"><font size="3" color="#333">账户绑定 </font></h5>
+                                                         <!-- <h5 class="card-title"><font size="3" color="#333">账户绑定 </font></h5> -->
                                                         <table class="table table2">
                                                             <tbody>
                                                      <!--新增QQ互联绑定-->
@@ -150,7 +156,7 @@ class user_profile extends BaseUser
                                                     <!--新增QQ互联绑定--> 
                                                              <tr>
                                                                 <th>
-                                                                    邮箱号码
+                                                                    邮箱号码
                                                                 </th>
                                                                 <td>
                                                                     <?php 
@@ -168,7 +174,7 @@ class user_profile extends BaseUser
                                                             </tr>
                                                              <tr>
                                                                 <th>
-                                                                    手机号码
+                                                                    手机号码
                                                                 </th>
                                                                 <td>
                                                                     <?php 
@@ -293,16 +299,16 @@ class user_profile extends BaseUser
                                         <div class="pwd">
                                             <div class="row clearfix">
                                                 <div class="col-sm-7">
-                                                    <form action="" method="post">
+                                                    <form action="" method="post" class="j-form">
                                                         <div class="form-group">
-                                                            <label>原密码</label>
+                                                            <label><span>*</span>原密码</label>
                                                             <input type="password" name="pwd" id="old_password"
                                                                    class="form-control" placeholder="请输入您的原密码" required>
                                                             <span class="iconfont icon-eye-no pwd-toggle"></span>
                                                             <div class="error">密码错误</div>
                                                         </div>
                                                         <div class="form-group">
-                                                            <label>新密码</label>
+                                                            <label><span>*</span>新密码</label>
                                                             <input type="password" name="pwd" id="password"
                                                                    class="form-control"
                                                                    placeholder="请输入您的新密码" required>
@@ -310,7 +316,7 @@ class user_profile extends BaseUser
                                                             <div class="error">请输入密码,数量至少6位</div>
                                                         </div>
                                                         <div class="form-group">
-                                                            <label>确认新密码</label>
+                                                            <label><span>*</span>确认新密码</label>
                                                             <input type="password" name="pwd" id="repassword"
                                                                    class="form-control" placeholder="请再次输入您的新密码"
                                                                    required>

+ 77 - 58
source/index/user_promote.php

@@ -200,6 +200,7 @@ class user_promote extends BaseUser
                     line-height: 35px;
                 }
             </style>
+            <link rel="stylesheet" href="/css/jcq.css">
         </head>
         <body>
         <?php 
@@ -213,13 +214,15 @@ class user_promote extends BaseUser
                 <div class="user-center1">
                     <div class="row clearfix">
                         <?php 
-		$this->user_left();
-		?>                        <div class="col-sm-10">
+                        $this->user_left();
+                        ?>                       
+                        <div class="col-sm-10">
                             <div class="aside-right">
                                 <div class="order">
-                                    <div class="table-list-wrap">
+                                    <div class="table-list-wrap" style="background-color: transparent; box-shadow:none; padding:0;">
                                         <div class="table-list">
-                                            <div class="table_top">
+                                          <div class="table-list-top">
+                                              <div class="table_top  j-top clearfix top2">
                                                 <a href="/index/user_promote">
                                                     <p>总推广</p>
                                                     <p class="b-num">
@@ -254,22 +257,27 @@ class user_promote extends BaseUser
                                                 </a>
                                                 <a href="javascript:;"
                                                    class="ms-btn ms-btn-primary mt3"
-                                                   id="addcode" style="float: right">添加下級</a>
+                                                   id="addcode" style="float: right; width:auto;">添加下級</a>
                                             </div>
                                             <div class="warn-prompt">
-                                        <span><i class="icon-warn iconfont"><b>推广链接:</b></i>
+                                        <span><i class=" iconfont"><b>推广链接:</b></i>
                                             <?php 
-		if (IN_PROMOTE) {
-			?>                                                <a href="<?php echo $_var_32;?>"
+                                                if (IN_PROMOTE) {
+                                                    ?>                                                
+                                                    <a href="<?php echo $_var_32;?>"
                                                    target="_blank"><?php echo $_var_32;?></a>
                                             <?php 
-		} else {
-			?><a>推广活动已结束</a><?php 
-		}
-		?>                                        </span>
-                                                <span><i class="icon-warn iconfont"><b>如何充值:</b></i><a>点击对应蓝色数值为下级进行充值</a></span>
+                                            } else {
+                                                ?>
+                                                <a>推广活动已结束</a>
+                                                <?php 
+                                            }
+                                            ?>                                        
+                                        </span>
+                                                <span><i class=" iconfont"><b>如何充值:</b></i><a>点击对应蓝色数值为下级进行充值</a></span>
                                             </div>
-                                            <div class="user-table table-list">
+                                          </div>
+                                            <div class="user-table table-list table-list-body">
                                                 <div class="table-wrap">
                                                     <div class="table-responsive">
                                                         <table class="table app-table" id="table">
@@ -296,13 +304,15 @@ class user_promote extends BaseUser
                                                                 </th>
 
                                                                 <?php 
-		if (IN_PROMOTE && IN_PROMOTE_DAY > 0) {
-			?>                                                                    <th>
+                                                                if (IN_PROMOTE && IN_PROMOTE_DAY > 0) {
+                                                                    ?>                                                                    
+                                                                    <th>
                                                                         剩余时长
                                                                     </th>
                                                                 <?php 
-		}
-		?>                                                                <th>
+                                                                }
+                                                                ?>                                                                
+                                                                <th>
                                                                     注册日期
                                                                 </th>
                                                                 <th>
@@ -316,8 +326,9 @@ class user_promote extends BaseUser
                                                                 </th>
                                                             </tr>
                                                             <?php 
-		foreach ($_var_26 as $_var_34 => $_var_35) {
-			?>                                                                <tr data-id="<?php echo $_var_35["in_userid"];?>">
+                                                                foreach ($_var_26 as $_var_34 => $_var_35) {
+                                                                    ?>                                                                
+                                                                    <tr data-id="<?php echo $_var_35["in_userid"];?>">
                                                                     <td>
                                                                         <?php echo $_var_35["in_username"];?><br>
                                                                         <?php echo $_var_35["in_mobile"];?>                                                                    </td>
@@ -345,13 +356,15 @@ class user_promote extends BaseUser
                                                                     </td>
 
                                                                     <?php 
-			if (IN_PROMOTE && IN_PROMOTE_DAY > 0) {
-				$_var_36 = round(strtotime("+" . IN_PROMOTE_DAY . " days", strtotime($_var_35["in_regdate"]) - time()) / 3600 / 24);
-				?>                                                                        <td>
+                                                                    if (IN_PROMOTE && IN_PROMOTE_DAY > 0) {
+                                                                        $_var_36 = round(strtotime("+" . IN_PROMOTE_DAY . " days", strtotime($_var_35["in_regdate"]) - time()) / 3600 / 24);
+                                                                        ?>                                                                        
+                                                                        <td>
                                                                             <?php echo $_var_36 > 0 ? "<a class=\"green\">" . $_var_36 . "天</a>" : "<a class=\"red\">已结束</a>";?>                                                                        </td>
                                                                     <?php 
-			}
-			?>                                                                    <td>
+                                                                    }
+                                                                    ?>                                                                    
+                                                                    <td>
                                                                         <?php echo $_var_35["in_regdate"];?>                                                                    </td>
                                                                     <td onclick="editAttr(<?php echo $_var_35["in_userid"];?>,'pmark','<?php echo $_var_35["pmark"];?>')">
                                                                         <a><?php echo $_var_35["pmark"] ?: "--";?></a>
@@ -367,47 +380,53 @@ class user_promote extends BaseUser
                                                                     </td>
                                                                 </tr>
                                                             <?php 
-		}
-		?>                                                        </table>
+                                                                }
+                                                                ?>                                                        
+                                                                </table>
                                                         <?php 
-		if ($_var_21 == 0) {
-			?>                                                            <div class="text-center no-content">
+                                                        if ($_var_21 == 0) {
+                                                            ?>                                                            
+                                                            <div class="text-center no-content">
                                                                 <img src="/static/index/image/icon-21.png" alt="">
                                                                 <p class="color-333 mt10">
                                                                     暂无订单信息
                                                                 </p>
                                                             </div>
                                                         <?php 
-		}
-		?>                                                    </div>
+                                                    }
+                                                    ?>                                                    
+                                                    </div>
                                                     <?php 
-		if ($_var_24 != 1) {
-			?>                                                        <?php 
-			if ($_var_21 !== 0) {
-				?>                                                            <div style="text-align: center"><ul id="pager" class="pagination"><li><a>共<b><?php echo $_var_21;?></b>条记录</b> <?php echo $_var_23;?>/<?php echo $_var_24;?></a></li><?php 
-				if ($_var_23 == 1) {
-					?><li class='active'><a>首页</a></li><?php 
-				} else {
-					?><li><a href='?page=1'>首页</a></li><?php 
-				}
-				if ($_var_30) {
-					?><li><a href='?page=<?php echo $_var_30;?>'>上一页</a></li><?php 
-				} else {
-				}
-				if ($_var_29) {
-					?><li><a href='?page=<?php echo $_var_29;?>'>下一页</a></li><?php 
-				} else {
-				}
-				if ($_var_23 == $_var_24) {
-					?><li class='active'><a>尾页</a></li><?php 
-				} else {
-					?><li><a href='?page=<?php echo $_var_24;?>'>尾页</a></li><?php 
-				}
-				?></ul></div>                                                        <?php 
-			}
-			?>                                                    <?php 
-		}
-		?>                                                </div>
+                                                if ($_var_24 != 1) {
+                                                    ?>                                                       
+                                                    <?php 
+                                                    if ($_var_21 !== 0) {
+                                                        ?>                                                            
+                                                        <div style="text-align: center"><ul id="pager" class="pagination"><li><a>共<b><?php echo $_var_21;?></b>条记录</b> <?php echo $_var_23;?>/<?php echo $_var_24;?></a></li><?php 
+                                                        if ($_var_23 == 1) {
+                                                            ?><li class='active'><a>首页</a></li><?php 
+                                                        } else {
+                                                            ?><li><a href='?page=1'>首页</a></li><?php 
+                                                        }
+                                                        if ($_var_30) {
+                                                            ?><li><a href='?page=<?php echo $_var_30;?>'>上一页</a></li><?php 
+                                                        } else {
+                                                        }
+                                                        if ($_var_29) {
+                                                            ?><li><a href='?page=<?php echo $_var_29;?>'>下一页</a></li><?php 
+                                                        } else {
+                                                        }
+                                                        if ($_var_23 == $_var_24) {
+                                                            ?><li class='active'><a>尾页</a></li><?php 
+                                                        } else {
+                                                            ?><li><a href='?page=<?php echo $_var_24;?>'>尾页</a></li><?php 
+                                                        }
+                                                        ?></ul></div>                                                        <?php 
+                                                    }
+                                                    ?>                                                    <?php 
+                                                }
+                                                ?>                                                
+                                                </div>
                                             </div>
                                         </div>
                                     </div>