qukaidi %!s(int64=4) %!d(string=hai) anos
pai
achega
8db2fdb7ff
Modificáronse 1 ficheiros con 6 adicións e 8 borrados
  1. 6 8
      pages/home/monthly-policy/monthly-policy.vue

+ 6 - 8
pages/home/monthly-policy/monthly-policy.vue

@@ -20,7 +20,7 @@
 			this.handleGetData();
 		},
 		methods: {
-			handleGetData: function(){
+			handleGetData(){
 				uni.showLoading({
 					title: "加载中"
 				});
@@ -33,11 +33,11 @@
 					}
 				}).then(res => {
 					console.log(res)
-					if(res.data.code==0){
+					if (res.data.code == 0) {
 						_this.contentDetail = res.data.data.contentDetail;
 					}
-				}).catch(err => {
-				}).finally(() => {
+				}).catch(err => {})
+				.finally(() => {
 					setTimeout(() => {
 						uni.hideLoading();
 						this.loading = false;
@@ -49,11 +49,9 @@
 </script>
 
 <style lang="scss" scoped>
-	.picture{
-		img{
+	.picture {
+		/deep/img {
 			width: 100vw;
-			margin-bottom: -40rpx;
 		}
 	}
-
 </style>