فهرست منبع

站点详情修改

zhupeng 3 سال پیش
والد
کامیت
4ecd9e1b58
1فایلهای تغییر یافته به همراه10 افزوده شده و 4 حذف شده
  1. 10 4
      pages/searchPile/stationAndPile/stationDetails.vue

+ 10 - 4
pages/searchPile/stationAndPile/stationDetails.vue

@@ -4,7 +4,7 @@
 		 
 		<view class="station-details">
 			<u-image v-if="stationDetail.station.image != null" class="img" width="26.6%" height="75px" :src="stationDetail.station.image" loading-icon="photo"></u-image>			
-			<view class="station-name">
+			<view class="station-name" >
 				{{stationDetail.station.name}}
 			</view>
 			
@@ -194,6 +194,11 @@
 		},
 		onLoad(op){
 			_self = this;
+			
+		  document.getElementsByTagName('body')[0].style.setProperty('--test', 'yellow');
+ 	      window.document.getElementsByTagName('body')[0].style.setProperty('--test', 'yellow');
+ 
+//			document.getElementsByTagName('body')[0].style.setProperty('--mode',1)
 			_self.processStationsInfo();
 				 
 			if(op!=null){
@@ -453,7 +458,7 @@
 	}
 </script>
 
-<style lang="scss" scoped>
+<style lang="scss" scoped> 
 	// 站点信息
 	.station-details {
 		width: 100%;
@@ -466,9 +471,10 @@
 		 top: 13px;right: 16px;
 	 }
 		.station-name {
+			//line-height: 18px;
+			color: #101010;		
 			line-height: 18px;
-			color: #101010;
-			margin-bottom: 11px;
+ 			margin-bottom: 11px;
 		}
 
 		.details-item {