Jelajahi Sumber

img cover 设置

shaogen1995 9 bulan lalu
induk
melakukan
9454a80ae6

+ 2 - 2
src/api/request.ts

@@ -5,10 +5,10 @@ import axios from 'axios';
 
 
 // 线下环境
-// export const baseIMGUrl = "https://sit-ningguobwg.4dage.com/";
+export const baseIMGUrl = "https://sit-ningguobwg.4dage.com/";
 
 // 线上环境
-export const baseIMGUrl = "";
+// export const baseIMGUrl = "";
 
 
 

+ 1 - 1
src/views/ExhibitionService/BookingTime.vue

@@ -157,7 +157,7 @@ const acDay =dayArr1.split('-')[2]
 
 let nowDay =d.getDate()
 
-console.log(nowDay>=Number(acDay));
+// console.log(nowDay>=Number(acDay));
 
 if(nowDay>=Number(acDay)){
 

+ 1 - 0
src/views/ExhibitionService/active-detail.vue

@@ -98,6 +98,7 @@ onBeforeMount(() => {
     width: 100%;
     height: 30vh;
     margin-bottom: 10px;
+    object-fit: cover;
 
   }
 

+ 1 - 1
src/views/ExhibitionService/activeBooking.vue

@@ -178,7 +178,7 @@ onMounted(() => {
 
       .thumb {
         width: 100%;
-        height: 25vh;
+        height: auto;
         border-radius: 15px 15px 0 0;
       }
 

+ 1 - 0
src/views/SmartTour/exhibition-detail.vue

@@ -94,6 +94,7 @@ onBeforeMount(() => {
     width: 100%;
     margin-bottom: 10px;
     height: 30vh;
+    object-fit: cover;
   }
 
   .content-box {

+ 1 - 1
src/views/SmartTour/exhibition.vue

@@ -175,7 +175,7 @@ onBeforeMount(() => {
 
         img {
           width: 100%;
-          height: 210px;
+          height: auto;
           border-radius: 10px;
         }
 

+ 1 - 0
src/views/VolunteerHome/detail.vue

@@ -83,6 +83,7 @@ onBeforeMount(() => {
     width: 100%;
     margin-bottom: 10px;
     height: 30vh;
+    object-fit: cover;
   }
 
   .content-box {

+ 1 - 1
src/views/VolunteerHome/home.vue

@@ -154,7 +154,7 @@ onBeforeMount(() => {
 
       .thumb {
         width: 100%;
-        height: 25vh;
+        height: auto;
         border-radius: 15px 15px 0 0;
       }