xiuli.gao 6 jaren geleden
bovenliggende
commit
f1e7a3da6e
3 gewijzigde bestanden met toevoegingen van 16 en 6 verwijderingen
  1. 13 4
      fund_h5/css/fund_h5_api.css
  2. 2 2
      fund_h5/fund_h5_api.html
  3. 1 0
      fund_h5/js/fund_h5_api.js

+ 13 - 4
fund_h5/css/fund_h5_api.css

@@ -35,7 +35,7 @@ nav i {
35 35
 	margin-left: 0.1rem;
36 36
 }
37 37
 
38
-nav span{
38
+nav .qiehuan{
39 39
 	font-size: 0.13rem;
40 40
     padding-right: 0.13rem;
41 41
     float: right;
@@ -43,7 +43,7 @@ nav span{
43 43
     color: #fff;
44 44
 }
45 45
 
46
-nav span a{
46
+nav .qiehuan a{
47 47
 	color: #FFFFFF;
48 48
 }
49 49
 
@@ -64,7 +64,7 @@ nav p {
64 64
     left: 0;
65 65
     right: 0;
66 66
     margin: auto;
67
-    width: 40%;
67
+    width: 55%;
68 68
 }
69 69
 
70 70
 nav p em{
@@ -73,10 +73,19 @@ nav p em{
73 73
 	width: 0;
74 74
 	height: 0;
75 75
 	position: relative;
76
-	top: 0.15rem;
76
+	top: 0.02rem;
77 77
 	margin-left: 0.06rem;
78 78
 }
79 79
 
80
+nav p span{
81
+	display: inline-block;
82
+    max-width: 81%;
83
+    height: 0.44rem;
84
+    white-space: nowrap;
85
+	overflow: hidden;
86
+	text-overflow: ellipsis;
87
+}
88
+
80 89
 .container {
81 90
     width: 100%;
82 91
     height: 100%;

+ 2 - 2
fund_h5/fund_h5_api.html

@@ -15,8 +15,8 @@
15 15
 <body>
16 16
     <nav>
17 17
         <i id="back"></i>
18
-        <p>公积金查询<em></em></p>
19
-        <span><a href="./choose_city.html">切换城市</a></span>
18
+        <p><span>公积金查询</span><em></em></p>
19
+        <span class="qiehuan"><a href="./choose_city.html">切换城市</a></span>
20 20
     </nav>
21 21
     <div class="container">
22 22
         <!--<div class="header-wrapper">-->

+ 1 - 0
fund_h5/js/fund_h5_api.js

@@ -30,6 +30,7 @@ $().ready(function() {
30 30
     agreementLink.attr('href', agreementLink.attr('href') + '?appName=' + appName);
31 31
 	httpStr += "returnUrl=" + returnUrl + "&appName=" + appName;
32 32
     httpStr = encodeURIComponent(httpStr)
33
+    $("nav p span").html(qs.name+"公积金查询")
33 34
  console.log(httpStr)
34 35
     getLoginInfo();
35 36
     //头部切换公积金类型