LayerQualityInspectionRules.vue 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. <template>
  2. <el-container>
  3. <el-row class="first_level_title">字段限制</el-row>
  4. <el-row class="main_body" v-for="(str, index) in textArr" :key="index">
  5. {{ index + 1 }}. {{ str }}
  6. </el-row>
  7. <!-- <el-row class="first_level_title">示例截图</el-row> -->
  8. <el-image :src="showImg" :preview-src-list="srcList"></el-image>
  9. </el-container>
  10. </template>
  11. <script>
  12. import showImg from "@/assets/images/layerZJImage/layer.jpg";
  13. export default {
  14. data() {
  15. return {
  16. showImg: showImg,
  17. srcList: [showImg],
  18. textArr: [
  19. "第三方表名(TABLE_NAME)不能为空,长度100字符。",
  20. "标题(TITLE)不能为空,长度20字符。",
  21. "描述(CONTENT)不能为空,长度100字符。",
  22. "内容描述(JSON_STR)可以为空,长度64字符。",
  23. "几何类型不能为空。",
  24. ],
  25. };
  26. },
  27. components: {},
  28. methods: {},
  29. };
  30. </script>
  31. <style lang="less" scoped>
  32. .el-container {
  33. display: block;
  34. width: 100%;
  35. padding: 10px 20px;
  36. box-sizing: border-box;
  37. background: #ffffff;
  38. overflow: hidden;
  39. overflow-y: auto;
  40. .el-row {
  41. // margin-bottom: 10px;
  42. line-height: 40px;
  43. &:last-child {
  44. // margin-bottom: 10px;
  45. }
  46. &::before {
  47. display: unset;
  48. }
  49. }
  50. .first_level_title {
  51. font-size: 18px;
  52. font-weight: bold;
  53. }
  54. .main_body {
  55. display: block;
  56. font-size: 16px;
  57. text-indent: 25px;
  58. }
  59. .el-image {
  60. width: 62.5%;
  61. // height: 100%;
  62. margin: 0 auto;
  63. display: block;
  64. }
  65. }
  66. </style>