Browse Source

pref: 修改首页计数器

wangcz 7 năm trước cách đây
mục cha
commit
e4e68df525

+ 4 - 4
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/_layout.html

@@ -172,16 +172,16 @@
         <div class="count-list">
             <div class="items">
                 <p class="title">企业用户</p>
-                <span class="count-item userspace-count">800000.00人</span>
+                <span class="count-item userspace-count"></span>
             </div>
             <div class="items">
                 <p class="title">个人用户</p>
-                <span class="count-item user-count">800000.00人</span>
+                <span class="count-item user-count"></span>
             </div>
             <div class="items">
                 <p class="title two_item">交易金额</p>
-                <span class="count-item this-year-trader-count">本年800000.00亿</span><br/>
-                <span class="count-item last-year-trader-count">上年8000亿</span>
+                <span class="count-item two-count-item this-year-trader-count"></span><br/>
+                <span class="count-item two-count-item last-year-trader-count"></span>
             </div>
         </div>
         <div class="count-close">×</div>

+ 12 - 7
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/assets/css/index.css

@@ -2416,16 +2416,16 @@ a.x_gray_text.x_more{
 }
 #statistic .count-list{
     width: 187px;
-    height: 320px;
+    height: 335px;
     margin-left:-295px;
     background: url(../images/statistic.png) no-repeat center center;
-    padding-top: 20px;
+    padding-top: 15px;
 }
 
 #statistic .count-list .items{
-    color:#fff;
+    color:#3E85F6;
     text-align: center;
-    margin-bottom:10px;
+    margin-bottom:32px;
     padding-left:10px;
 }
 #statistic .count-list .items .title{
@@ -2441,7 +2441,12 @@ a.x_gray_text.x_more{
 }
 
 #statistic .count-list .items .two_item{
-    line-height: 50px;
+    line-height: 55px;
+}
+#statistic .count-list .items .two-count-item{
+    color:#fff;
+    font-size:16px;
+    line-height: 25px;
 }
 
 #statistic .count-close{
@@ -2453,8 +2458,8 @@ a.x_gray_text.x_more{
     border-radius: 50%;
     width: 25px;
     height: 25px;
-    background: red;
-    color:#fff;
+    background: #fff;
+    color:#3E85F6;
     text-align: center;
     line-height: 20px;
     font-size: 20px;

BIN
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/assets/images/statistic.png


+ 1 - 1
jpress-web-template-mallcms/src/main/webapp/templates/mallcms/assets/js/index.js

@@ -214,7 +214,7 @@ $(function () {
         return (count + unit)
     }
 
-    var countHtml = '', userspaceCount, userCount, lastYearTraderCount, thisYearTraderCount;
+    var userspaceCount, userCount, lastYearTraderCount, thisYearTraderCount;
     // 企业用户数量
     $.ajax({
         type: "GET",