소스 검색

feat:弹窗样式调整、推送设置显示编辑按钮

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 년 전
부모
커밋
4285a219ca
2개의 변경된 파일17개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/assets/js/selector.js
  2. 16 2
      src/views/ent-intel/MyClient.vue

+ 1 - 1
src/assets/js/selector.js

@@ -610,7 +610,7 @@ export const pushFunctionData = [
     type: 'o_owner_monitor',
     name: '业主监控',
     desc: '监控业主一旦发布与“我的订阅”相关的招标动态,会推送业主的招标项目、时间等公告信息,如未订阅则推送全部招标动态。',
-    showEdit: false
+    showEdit: true
   },
   {
     type: 'o_follow_ent',

+ 16 - 2
src/views/ent-intel/MyClient.vue

@@ -105,14 +105,14 @@
       </template>
     </forLayOut>
     <CollectInfo ref="collectRef"></CollectInfo>
-    <common-dialog width="380px" :visible="monitorInfo.showD2" title="确定不再监控?">
+    <common-dialog custom-class="monitor-class" width="380px" :visible="monitorInfo.showD2" title="确定不再监控?">
       <template #footer>
         <button class="action-button confirm" @click="setClientMonitorConfirm('2')">我再想想</button>
         <button class="action-button cancel" @click="setClientMonitorCancel('2')">确认取消</button>
       </template>
       取消监控,将错过业主最新动态推送
     </common-dialog>
-    <common-dialog width="380px" :visible="monitorInfo.showD3" title="申请监控更多业主">
+    <common-dialog custom-class="monitor-class" width="380px" :visible="monitorInfo.showD3" title="申请监控更多业主">
       <template #footer>
         <button class="action-button confirm" @click="setClientMonitorConfirm('3')">联系客服</button>
         <button class="action-button cancel" @click="setClientMonitorCancel('3')">返回</button>
@@ -499,6 +499,20 @@ export default {
       }
     }
   }
+  ::v-deep{
+    .monitor-class {
+      padding: 32px;
+      .el-dialog__header {
+        padding: 0;
+      }
+      .el-dialog__body {
+        padding: 20px 0 32px;
+      }
+      .el-dialog__footer{
+        padding: 0;
+      }
+    }
+  }
   .area-icon {
     display: inline-block;
     width: 18px;