王晓晨 пре 3 година
родитељ
комит
cfd2552125
1 измењених фајлова са 14 додато и 0 уклоњено
  1. 14 0
      pages/reportPage/reportPage.vue

+ 14 - 0
pages/reportPage/reportPage.vue

@@ -83,6 +83,14 @@
 			
 		</view>
 		
+		<view class="homeBtn" 
+		:style="`position: fixed; z-index: 1000; right: 0; bottom: 15%; width: 96rpx; height: 110rpx; display: flex; flex-direction: column; align-items: center;border-radius: 20rpx 0rpx 0px 20rpx;box-shadow: 0rpx 10rpx 20rpx 0px rgba(119,55,12,0.20); background-color: ${color2};`"
+		@click="backAction">
+			<image class="icon" style="margin-top: 8rpx;width: 30rpx; height: 28rpx;" src="https://dm.static.elab-plus.com/yezhu/h5/icon_homeBtn.png" mode="aspectFit"></image>
+			<view class="text" style="margin-top: 6rpx;font-size: 12rpx;font-family: PingFang SC, PingFang SC-Semibold;font-weight: 400;text-align: center;color: #ffffff;">返回</view>
+			<view class="text" style="margin-top: -2rpx;;font-size: 12rpx;font-family: PingFang SC, PingFang SC-Semibold;font-weight: 400;text-align: center;color: #ffffff;">任务大厅</view>
+		</view>
+		
 		<dm-calendar-picker-view ref='calendarPickerView' @confirmSelDate='confirmSelDate'></dm-calendar-picker-view>
 	</view>
 
@@ -255,6 +263,12 @@
 					this.getReportList()
 				}
 			},
+			
+			backAction() {
+				uni.navigateBack({
+					delta: 1
+				})
+			}
 		},