소스 검색

站点详情页图片

常志远 3 년 전
부모
커밋
1748e2d3ab
2개의 변경된 파일11개의 추가작업 그리고 2개의 파일을 삭제
  1. 6 1
      pages/searchPile/stationAndPile/stationDetails.vue
  2. 5 1
      pages/user/coupon/myCoupon.vue

+ 6 - 1
pages/searchPile/stationAndPile/stationDetails.vue

@@ -3,6 +3,7 @@
 		<u-navbar title="站点详情"></u-navbar>
 		 
 		<view class="station-details">
+			<u-image class="img" width="26.6%" height="75px" :src="src" loading-icon="photo"></u-image>
 			<view class="station-name">
 				{{stationDetail.station.name}}
 			</view>
@@ -458,7 +459,11 @@
 		height: 100%;
 		padding: 20px 16px 16px;
 		background-color: #fff;
-
+		position: relative;
+     .img{
+		 position: absolute;
+		 top: 13px;right: 16px;
+	 }
 		.station-name {
 			line-height: 18px;
 			color: #101010;

+ 5 - 1
pages/user/coupon/myCoupon.vue

@@ -315,7 +315,11 @@
 		}
 	}
 </script>
-
+<style>
+	page{
+		padding-bottom: 50px;
+	}
+</style>
 <style lang="scss" scoped>
 	.exchange{
 		margin-left: 85.3%;