zmm 6 years ago
parent
commit
fe499ab754

+ 15 - 9
CZKJ.GBRS2.WebMVC/Views/PriceAnnouncement/Index.cshtml

@@ -22,12 +22,18 @@
22 22
             .filterInp .d-close.d-hide {
23 23
                 display: none;
24 24
             }
25
+
26
+        @@media(max-width:768px) {
27
+            .mobilemargintop {
28
+                margin-top: 40px !important;
29
+            }
30
+        }
25 31
     </style>
26 32
 }
27
-<div class="banner">
28
-    <img src="@Model.Banner.Image" alt="">
29
-</div>
30
-<div class="container info">
33
+@*<div class="banner">
34
+        <img src="@Model.Banner.Image" alt="">
35
+    </div>*@
36
+<div class="container info mobilemargintop" style="margin-top:120px;">
31 37
     <div class="row">
32 38
         <h2 class="title visible-xs-inline-block open-mask">
33 39
             价格公告
@@ -60,10 +66,10 @@
60 66
                         <div class="filterInp filSelect">
61 67
                             <p class="filSeleKey" data-id="@Model.TypeId">@(Model.TypeId == 0 ? "全部" : Model.TypeList.FirstOrDefault(x => x.Id == Model.TypeId).Name)</p><i class="arraw"></i>
62 68
                             <ul class="filOption">
63
-                                <li title="全部" data-id="0">全部</li>
69
+                                <li title="全部" data-id="0" class="@(Model.TypeId == 0?"c":"")">全部</li>
64 70
                                 @foreach (var item in Model.TypeList)
65 71
                                 {
66
-                                    <li title="@item.Name" data-id="@item.Id">@item.Name</li>
72
+                                    <li class="@(item.Id == Model.TypeId?"c":"")" title="@item.Name" data-id="@item.Id">@item.Name</li>
67 73
                                 }
68 74
                             </ul>
69 75
                         </div>
@@ -82,9 +88,9 @@
82 88
                             <span class="d-close @(Model.EndTime.HasValue?"":"d-hide")" date-name="date-end">×</span>
83 89
                         </div>
84 90
                     </label>
85
-                    <div>
91
+                    <div style="margin-top:5px;">
86 92
                         <a class="filSubmit filterSubmit" href="javascript:void(0);">查询</a>
87
-                        <a class="filSubmit hisSubmit" href="javascript:void(0);">查询历史</a>
93
+                        <a class="filSubmit filterSubmit" href="javascript:void(0);">查询历史利率</a>
88 94
                     </div>
89 95
                 </div>
90 96
                 <table border="1" cellspacing="0" class="subheadTab detailTab">
@@ -197,7 +203,7 @@
197 203
 
198 204
 
199 205
         // 点击查询
200
-        $('.filterSubmit').click(function () {
206
+        $('.filSubmit').click(function () {
201 207
              var start = $('#date_start').val();
202 208
             var end = $('#date_end').val();
203 209
             if (start > end) {

+ 2 - 2
CZKJ.GBRS2.WebMVC/appsettings.json

@@ -26,8 +26,8 @@
26 26
     "Website": "www.guobaojinrong.com"
27 27
   },
28 28
   "ConnectionStrings": {
29
-    "Development": "Data Source=sp5045a8d445fe0.mysql.rds.aliyuncs.com;user id=gbrs2_dba;password=CZKJczkj2016gbrs2;Initial Catalog=gbrs2"
30
-    //"Development": "Data Source=10.237.55.203;user id=ow_dl;password=6hioO78*1$;Initial Catalog=ow"
29
+    //"Development": "Data Source=sp5045a8d445fe0.mysql.rds.aliyuncs.com;user id=gbrs2_dba;password=CZKJczkj2016gbrs2;Initial Catalog=gbrs2"
30
+    "Development": "Data Source=10.237.55.203;user id=ow_dl;password=6hioO78*1$;Initial Catalog=ow"
31 31
   },
32 32
   //"CoreQuery": {
33 33
   //  "CustomerType": "0",

+ 3 - 0
CZKJ.GBRS2.WebMVC/wwwroot/assets/css/rate.css

@@ -1,3 +1,6 @@
1
+.c {
2
+    color:#ed4747 !important;
3
+}
1 4
 .info-detail {
2 5
   padding: 0;
3 6
 }