liyongli 2 years ago
parent
commit
5489bbdf18
1 changed files with 8 additions and 6 deletions
  1. 8 6
      src/views/report/Calendar/index.vue

+ 8 - 6
src/views/report/Calendar/index.vue

@@ -23,8 +23,9 @@
         />
         <p class="headTitle" v-html="item.title"></p>
         <p class="subTitle" v-text="item.subTitle"></p>
-        <div v-if="item.data.length">
-          <div v-for="(v1, i1) in item.data" :key="i1" class="monthlyCalendar">
+        <div v-if="item.data.length" class="monthlyCalendar" style="position: relative;">
+            <img src="../../../assets/image/C_bg.png" style="width: 100%;float: left;position: absolute;z-index: -1;top: 0;" alt="">
+          <div v-for="(v1, i1) in item.data" :key="i1" >
             <!-- 月历主页 -->
             <div style="margin-bottom: 1em;">
               <div style="display: flex">
@@ -256,11 +257,12 @@ export default {
 }
 
 .monthlyCalendar {
-  background-image: url("../../../assets/image/C_bg.png");
-  background-size: 100% 100%;
-  width: 82.5%;
+  /* background-image: url("../../../assets/image/C_bg.png");
+  background-size: 100% 100%; */
+  background-color: #fff;
+  width: 82.6%;
   height: calc((82.5% - 10px) * 1.5);
-  padding: 1.5em 1px 0 1px;
+  padding:  0 1px;
   max-width: 614px;
   margin: 0 auto;
   margin-top: 1.5em;