xiaoshushu hace 2 años
padre
commit
aa512f98a4
Se han modificado 2 ficheros con 20 adiciones y 17 borrados
  1. 0 1
      pages/parttime/detail.html
  2. 20 16
      tab/home.html

+ 0 - 1
pages/parttime/detail.html

@@ -131,7 +131,6 @@
 							if(res.result == true) {
 								vm.msg = '已报名'
 								mui.toast('报名成功');
-								open('jz_list', '/tab/jz_list.html', {}, 'slide-in-bottom');
 							} else {
 								mui.alert(res.msg);
 							}

+ 20 - 16
tab/home.html

@@ -9,7 +9,11 @@
 		<link href="../css/mui.min.css" rel="stylesheet" />
 		<link href="../css/animate.min.css" rel="stylesheet" />
 		<style>
-			.mui-bar{height: 80px!important;padding-top: 30px!important;}
+			.mui-bar {
+				height: 80px !important;
+				padding-top: 30px !important;
+			}
+
 			.mui-slider {
 				margin-top: 15px;
 				margin-bottom: 10px;
@@ -126,6 +130,7 @@
 			.mui-table-view:before {
 				background-color: #ffffff;
 			}
+
 			.vimg {
 				width: 60px;
 				height: 60px;
@@ -169,11 +174,14 @@
 			}
 
 			.mttime {
-				position: absolute;
 				bottom: 13px;
 				left: 4px;
+				float: right;
+			}
+            .mTitles{
+				float: left;
+				width: 73%;
 			}
-
 			.lvs {
 				position: relative;
 				overflow: hidden !important;
@@ -181,7 +189,7 @@
 
 			.sousuo {
 				color: white !important;
-				margin: 15px 10px 10px 8px!important;
+				margin: 15px 10px 10px 8px !important;
 			}
 
 			input::-webkit-input-placeholder {
@@ -192,7 +200,7 @@
 
 			.input-group input {
 				padding: 13px 11px 11px 35px;
-				height: 35px!important;
+				height: 35px !important;
 			}
 
 			[v-cloak] {
@@ -298,13 +306,13 @@
 							</div>
 							<div class="f">
 								<img src="../images/256x256.png" class="vimg" />
-								<div class="cvt">汇金雨公司</div>
+								<div class="cvt omit">汇金雨公司</div>
 								<div class="nums">3个兼职</div>
 								<div class="ckk">查看</div>
 							</div>
 							<div class="f">
 								<img src="../images/ls.png" class="vimg" />
-								<div class="cvt">基栋科技公司</div>
+								<div class="cvt omit">基栋科技公司</div>
 								<div class="nums">1个兼职</div>
 								<div class="ckk">查看</div>
 							</div>
@@ -317,13 +325,10 @@
 							<span class="mores" @click="more('政策宣传')">更多</span>
 						</div>
 						<div class="item row lvs" v-for="(item,index) in new_list2" @click="detail(item.id)">
-							<div class="sm9">
-								<div>
-									{{item.mTitle}}
-								</div>
-								<div class="mttime">{{item.mTime.substring(5,16)}}</div>
-
+							<div class="mTitles omit">
+								{{item.mTitle}}
 							</div>
+							<div class="mttime">{{item.mTime.substring(5,11)}}</div>
 							<!--<div class="sm4">
 								<img src="../images/u83.png">
 							</div>-->
@@ -354,15 +359,14 @@
 					param: {}
 				},
 				mounted: function() {
-					//mui.plusReady(function() {
+					mui.plusReady(function() {
 					request(urls().main, null, function(res) {
-						console.log("asd:" + JSON.stringify(res));
 						vm.banner_list = res.banner_list;
 						vm.new_list1 = res.new_list1;
 						vm.new_list2 = res.new_list2;
 						plus.nativeUI.closeWaiting();
 					})
-					//})
+					})
 				},
 				methods: {
 					more: function(type) {