YlycModalHeader.vue 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. <script>
  2. export default {
  3. name: 'YlycModalHeader',
  4. methods: {
  5. getShoeInfo(name){
  6. this.showModal(name);
  7. },
  8. }
  9. }
  10. </script>
  11. <template >
  12. <div class="el-dialog__title" >
  13. <span>“一楼一策”隐患整治清单</span>
  14. <!-- <img class="imgs" src="@/assets/images/dd_wh.png" alt="" > -->
  15. <div class="btn" @click="getShoeInfo('whFxModal')">隐患闭环处置流程</div>
  16. <!-- 风险问号弹窗 -->
  17. <basic-modal :modal="false" top="30px" ref="whFxModal" name="隐患处置流程" width="90%">
  18. <div style="display: flex; flex-direction: column; justify-content: center">
  19. <img src="@/assets/images/yhpc-tip.png" />
  20. </div>
  21. </basic-modal>
  22. </div>
  23. </template>
  24. <style scoped lang='less'>
  25. .el-dialog__title {
  26. display: flex;
  27. align-items: center;
  28. }
  29. .imgs{
  30. width: 20px;
  31. height: 20px;
  32. cursor: pointer;
  33. display: inline-block;
  34. margin-left: 5px;
  35. }
  36. .btn {
  37. // width: 55px;
  38. height: 22px;
  39. margin-left: 5px;
  40. padding: 0px 5px;
  41. background: linear-gradient(
  42. 180deg,
  43. rgba(0, 209, 255, 0.245) 0%,
  44. rgba(0, 255, 224, 0.435) 100%
  45. );
  46. border: 1px solid rgba(0, 213, 255, 0.22);
  47. border-radius: 2px;
  48. font-family: "Abel";
  49. font-style: normal;
  50. font-weight: 400;
  51. font-size: 12px;
  52. line-height: 24px;
  53. align-items: center;
  54. color: #ffffff;
  55. text-align: center;
  56. cursor: pointer;
  57. }
  58. </style>