index.vue 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. <template>
  2. <el-dialog
  3. title="设计分工"
  4. :visible.sync="dialogVisible"
  5. width="65%"
  6. :modal="true"
  7. :modal-append-to-body="false"
  8. :appen-to-body="true"
  9. class="bs-dialog-wrap bs-el-dialog"
  10. >
  11. <div class="content">
  12. <div class="top">
  13. <div class="top-item">
  14. <span class="title">总体设计原则:</span> 先总体后细节
  15. </div>
  16. <div class="top-item">
  17. <span class="title">布局设计原则:</span>
  18. 上下布局择上、左右布局择左、三栏布局择中
  19. </div>
  20. </div>
  21. <div class="bottomContent">
  22. <div class="bottom">
  23. <div class="bottom-item">
  24. <img
  25. class="imgItem"
  26. src="./image/card1.png"
  27. alt=""
  28. >
  29. <div class="bottom-item_title">
  30. 项目经理
  31. </div>
  32. <div class="bottom-item_content">
  33. 与客户沟通大屏需求、确定设备分辨率、确定大屏展示内容
  34. </div>
  35. </div>
  36. <div class="bottom-item">
  37. <img
  38. class="imgItem"
  39. src="./image/card2.png"
  40. alt=""
  41. >
  42. <div class="bottom-item_title">
  43. 设计师
  44. </div>
  45. <div class="bottom-item_content">
  46. 设计视觉元素、图片、排版布局、配色方案、确保整个屏幕外观美观、易读和引人注目
  47. </div>
  48. </div>
  49. <div class="bottom-item">
  50. <img
  51. class="imgItem"
  52. src="./image/card3.png"
  53. alt=""
  54. >
  55. <div class="bottom-item_title">
  56. 开发者
  57. </div>
  58. <div class="bottom-item_content">
  59. 收集数据,格式化数据、开发数据集、联调大屏测试
  60. </div>
  61. </div>
  62. </div>
  63. </div>
  64. </div>
  65. </el-dialog>
  66. </template>
  67. <script>
  68. import { pageMixins } from 'packages/js/mixins/page'
  69. export default {
  70. name: 'ComponentDialog',
  71. mixins: [pageMixins],
  72. props: {},
  73. data () {
  74. return {
  75. dialogVisible: false
  76. }
  77. },
  78. computed: {},
  79. mounted () {},
  80. methods: {
  81. init () {
  82. this.dialogVisible = true
  83. },
  84. // 点击确定
  85. confirm () {
  86. this.dialogVisible = false
  87. }
  88. }
  89. }
  90. </script>
  91. <style lang="scss" scoped>
  92. @import '../../assets/style/bsTheme.scss';
  93. .content {
  94. display: flex;
  95. flex-direction: column;
  96. .top {
  97. padding: 18px 24px;
  98. color: #707076;
  99. height: 200px;
  100. font-size: 15px;
  101. &-item {
  102. padding: 8px 30px;
  103. .title {
  104. font-weight: bolder;
  105. }
  106. }
  107. }
  108. .bottom {
  109. // position: absolute;
  110. padding: 18px 24px;
  111. margin-top: -90px;
  112. display: flex;
  113. flex-direction: row;
  114. justify-content: space-evenly;
  115. &-item {
  116. width: 25%;
  117. display: flex;
  118. flex-direction: column;
  119. align-items: center;
  120. &_title {
  121. font-weight: bolder;
  122. color: #d9d9d9;
  123. font-size: 16px;
  124. margin: 24px 0 16px 0;
  125. }
  126. &_content {
  127. color: #a6a6a6;
  128. width: 70%;
  129. text-align: center;
  130. }
  131. .imgItem {
  132. width: 100%;
  133. }
  134. }
  135. }
  136. }
  137. .bottomContent {
  138. min-height: 250px;
  139. background-color: #3f3f3f;
  140. }
  141. /deep/ .el-dialog__body {
  142. padding: 0 !important;
  143. max-height: 100vh !important;
  144. }
  145. </style>