technicalIndicator.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  1. <template>
  2. <div class="bigBox">
  3. <div class="top">
  4. <el-button icon="el-icon-arrow-left" style="margin: 20px;" @click="goback">返回上一级</el-button>
  5. <h2 style="font-size: 42px;color: #0f0f0f;display: inline-block;margin: 0;">技术指标体系</h2>
  6. </div>
  7. <div class="imgBox">
  8. <el-image :src="url"></el-image>
  9. <el-button class="imgBtnOne" @click="check(1)"></el-button>
  10. <el-button class="imgBtnTwo" @click="check(2)"></el-button>
  11. <el-button class="imgBtnThree" @click="check(3)"></el-button>
  12. </div>
  13. <el-dialog
  14. :title=title
  15. :visible.sync="dialogVisible"
  16. class="dialog"
  17. width="900px">
  18. <div v-html="text" style="font-size: 18px;line-height: 30px;" v-if="!threeShow"></div>
  19. <el-image style="width: 800px" :src="urlImg" v-if="threeShow"></el-image>
  20. <span slot="footer" class="dialog-footer">
  21. <el-button type="primary" @click="dialogVisible = false">确 定</el-button>
  22. </span>
  23. </el-dialog>
  24. </div>
  25. </template>
  26. <script>
  27. export default {
  28. name:'technicalIndicator',
  29. data() {
  30. return {
  31. url:require('../../assets/tree.png'),
  32. text:'',
  33. dialogVisible:false,
  34. title:'',
  35. urlImg:require('../../assets/12.png'),
  36. threeShow:false
  37. }
  38. },
  39. methods:{
  40. goback(){
  41. this.$router.push({ name:'mainPage' })
  42. },
  43. check(num){
  44. switch (num) {
  45. case 1:
  46. this.title='目标感知能力';
  47. this.threeShow=false
  48. this.text=`分为<span style="color:red;font-size:20px">目标智能探测技术</span>和<span style="color:red;font-size:20px">目标智能识别技术</span><br>`
  49. this.dialogVisible=true;
  50. break;
  51. case 2:
  52. this.title='目标智能探测';
  53. this.threeShow=false
  54. this.text=`<span style="color:red;font-size:20px">通用指标——识别准确率</span><br>
  55. <span style="font-weight:700">1)指标介绍</span><br>
  56. 在已知目标类型时,识别系统输出结果正确数与总输入样本数的比值<br>
  57. <span style="font-weight:700">2)指标计算</span><br>
  58. 记输出结果正确数为 A,错误数为 B,总样本数为 A+B,则<br>
  59. <span style="font-weight:700">3)指标分析</span><br>
  60. 准确率越高,表明探测效果越好<br>`
  61. this.dialogVisible=true;
  62. break;
  63. case 3:
  64. this.title='基于被动声学信号的目标智能探测技术指标';
  65. this.threeShow=true
  66. this.dialogVisible=true;
  67. break;
  68. default:
  69. break;
  70. }
  71. }
  72. },
  73. }
  74. </script>
  75. <style scoped>
  76. .bigBox{
  77. width: 1920px;
  78. height: 1080px;
  79. position: absolute;
  80. left: 1920px;
  81. top: 0;
  82. background-color: white;
  83. /* background-image: url('/public/homeImg.jpg');
  84. background-repeat: no-repeat;
  85. background-size: 1920px 1080px;
  86. background-position: center top; */
  87. /* text-align: center; */
  88. }
  89. .imgBox{
  90. width: 100%;
  91. height:100%;
  92. position: relative;
  93. }
  94. ::v-deep(.dialog .el-dialog__body) {
  95. height: 400px;
  96. overflow: hidden;
  97. overflow-y: scroll;
  98. }
  99. ::v-deep(::-webkit-scrollbar) {
  100. display: none;
  101. }
  102. .imgBtnOne{
  103. opacity: 0;
  104. position:absolute;
  105. left:690px;
  106. top:136px;
  107. width:100px;
  108. height:30px;
  109. }
  110. .imgBtnTwo{
  111. opacity: 0;
  112. position:absolute;
  113. left:560px;
  114. top:50px;
  115. width:100px;
  116. height:30px;
  117. }
  118. .imgBtnThree{
  119. opacity: 0;
  120. position:absolute;
  121. left:300px;
  122. top:33px;
  123. width:250px;
  124. height:30px;
  125. }
  126. </style>