Quellcode durchsuchen

change the myInfo page style

git vor 5 Jahren
Ursprung
Commit
f00b7ce376

+ 1 - 1
pages/baojinginfo/baojinginfo.js

@@ -35,7 +35,7 @@
 							callback(data, count+1);
 						})
 
-					}, 1000);
+					}, 300);
 				},
 				renderData: function (_index, _item) {// 渲染数据模板
 					var _msg_html_list = '';

+ 0 - 2
pages/my/my.css

@@ -29,8 +29,6 @@
     .lr-my-page .userinfo .subname {
         border-radius: 8px;
         font-size: 14px;
-        background-color: #c6c6c6;
-        padding: 0 5px;
     }
 
     .lr-my-page .userinfo:after {

+ 1 - 1
pages/my/my.html

@@ -3,7 +3,7 @@
         <img alt="" src="images/on-boy.jpg">
         <div class="content">
             <div class="name"></div>
-            <span class="subname">gps设备号:<span id="my-gpsNumber"></span> </span>
+            <span class="subname"><span id="my-gpsNumber"></span> </span>
         </div>
     </div>
     <div class="lr-list">

+ 2 - 4
pages/my/userInfo/userInfo.html

@@ -4,14 +4,12 @@
         <div>头像</div>
         <img alt="" src="images/on-boy.jpg">
     </div>
-    <div class="lr-list-item"><div>账号</div><span class="account"></span></div>
+    <div class="lr-list-item"><div>姓名</div><span class="account"></span></div>
     <div class="lr-list-item"><div>车牌</div><span class="my-plate"></span></div>
-    <div class="lr-list-item"><div>工号</div><span class="enCode"></span></div>
+    <div class="lr-list-item"><div>Gps号</div><span class="my-gpsNumber"></span></div>
     <div class="lr-list-item"><div>姓名</div><span class="realName"></span></div>
     <div class="lr-list-item"><div>性别</div><span class="gender"></span></div>
     <div class="lr-list-item"><div>公司</div><span class="company"></span></div>
     <div class="lr-list-item"><div>部门</div><span class="department"></span></div>
-    <div class="lr-list-item"><div>岗位</div><span class="post"></span></div>
-    <div class="lr-list-item"><div>角色</div><span class="role"></span></div>
     
 </div>

+ 1 - 0
pages/my/userInfo/userInfo.js

@@ -13,6 +13,7 @@
 
             $page.find('.account').text(baseinfo.account);
             $page.find('.my-plate').text(baseinfo.plate);
+            $page.find('.my-gpsNumber').text(baseinfo.gpsNumber);
             $page.find('.enCode').text(baseinfo.enCode);
             $page.find('.realName').text(baseinfo.realName);
             $page.find('.gender').text(baseinfo.gender == 1 ? '男' : '女');