浏览代码

feature_20250722_金牌店档案收集

zhujindu 4 月之前
父节点
当前提交
78c0cf9546
共有 4 个文件被更改,包括 18 次插入14 次删除
  1. 二进制
      src/assets/hua.png
  2. 二进制
      src/assets/ownerBirthdayBG.png
  3. 17 13
      src/views/home/bottomBtn.vue
  4. 1 1
      src/views/home/index.vue

二进制
src/assets/hua.png


二进制
src/assets/ownerBirthdayBG.png


+ 17 - 13
src/views/home/bottomBtn.vue

@@ -93,13 +93,11 @@
     <!-- <p class="updataTime" v-if="type != 4 && tabVal != '-1'">更新时间:{{ updataTime }}</p> -->
     <div class="ownerBirthdayRemind" v-if="ownerBirthdayBoxFlag">
       <div class="ownerBirthdayBox">
-        <div class="title">金牌店生日提醒</div>
+        <div class="title"><img :src="require('@/assets/hua.png')" />金牌店生日提醒</div>
         <div class="content">
-          请及时送上生日祝福!{{
-            this.reportInfoData.ownerBirthdayRemind
-          }}将在3日后生日,请及时送上生日祝福!
+          {{ this.reportInfoData.ownerBirthdayRemind }}将在3日后生日,请及时送上生日祝福!
         </div>
-        <img :src="require('@/assets/dangao.png')" />
+        <img class="dangao" :src="require('@/assets/dangao.png')" />
       </div>
       <div class="close" @click="ownerBirthdayBoxFlag = false">
         <img :src="require('@/assets/close.png')" />
@@ -171,7 +169,7 @@ export default {
             this.ownerBirthdayBoxFlag = true;
             this.reportInfoData.ownerBirthdayRemind = res.data.ownerBirthdayRemind.join(',');
           } else {
-            this.ownerBirthdayBoxFlag = false;
+            this.ownerBirthdayBoxFlag = true;
           }
         } else {
           this.$toast(res.msg);
@@ -236,32 +234,38 @@ export default {
         text-align: center;
         font-size: 20px;
         color: #99443b;
-        // margin-top: 30px;
         font-weight: bold;
-        height: 68px;
         display: flex;
         align-items: end;
+        padding-top: 40px;
+        position: relative;
+        img {
+          width: 35px;
+          height: 35px;
+          position: absolute;
+          left: -55px;
+        }
       }
       .content {
-        width: 75%;
+        width: 80%;
         line-height: 30px;
         font-size: 16px;
         color: #555555;
         text-align: center;
         margin-top: 20px;
       }
-      img {
-        width: 75%;
+      .dangao {
+        width: 80%;
         height: 160px;
         margin-top: 20px;
-        margin-bottom: 30px;
+        margin-bottom: 35px;
       }
     }
     .close {
       img {
         width: 35px;
         height: 35px;
-        margin-top: 10px;
+        margin-top: 20px;
       }
     }
   }

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

@@ -128,6 +128,7 @@ export default {
             this.tabVal = '-1';
           }
         }
+        if (this.$refs.bottomBtn) this.$refs.bottomBtn.getReportInfo();
         if (this.tabVal == '-1') {
           if (this.$refs.hintTabPage) this.$refs.hintTabPage.initData();
         } else if (this.tabVal == '0') {
@@ -135,7 +136,6 @@ export default {
         } else if (this.tabVal == '1') {
           if (this.$refs.Btarget) this.$refs.Btarget.initData();
         }
-        if (this.$refs.bottomBtn) this.$refs.bottomBtn.getReportInfo();
       });
     },
     onClickTabs(val) {