You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

140 lines
3.0 KiB

12 months ago
  1. <template>
  2. <view class="main">
  3. <view class="pad">
  4. <view class="top_row">
  5. <view class="flex">
  6. <view class="icon">
  7. <image src="@/static/images/icon (9).png" mode=""></image>
  8. </view>
  9. <view class="text">192.168.1.44</view>
  10. </view>
  11. <view class="flex">
  12. <view class="text">已完成</view>
  13. <view class="icon" style="width: 26rpx;height: 24rpx;">
  14. <image src="@/static/images/icon (5).png" mode=""></image>
  15. </view>
  16. </view>
  17. </view>
  18. <view class="blackBg">
  19. <view class="ul">
  20. <view class="tit">#准备执行命令</view>
  21. <view class="li">
  22. <view class="lab">执行用户</view>
  23. <view class="val">root@123</view>
  24. </view>
  25. </view>
  26. <view class="ul">
  27. <view class="tit">#执行命令</view>
  28. <view class="li">
  29. <view class="lab skyBlue">eho 123</view>
  30. <view class="lab skyBlue">eho 123</view>
  31. </view>
  32. </view>
  33. <view class="ul">
  34. <view class="tit">#开始执行</view>
  35. <view class="li">
  36. <view class="lab">123</view>
  37. <view class="lab">12345</view>
  38. </view>
  39. </view>
  40. <view class="ul">
  41. <view class="tit">#命令执行完毕</view>
  42. <view class="li">
  43. <view class="lab">exitcode</view>
  44. <view class="val">0</view>
  45. </view>
  46. <view class="li">
  47. <view class="lab">结束时间</view>
  48. <view class="val">0</view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. </view>
  54. </template>
  55. <script>
  56. import Watermark from "@/common/js/waterMark.js";
  57. export default {
  58. data() {
  59. return {
  60. }
  61. },
  62. mounted() {
  63. /* 给系统所有页面加水印*/
  64. // 第一个参数:水印文字 第二个参数: 加水印的底图,默认body 给所有页面加水印, 第三个参数:水印颜色
  65. Watermark.set("用户名", '', '#8c9093');
  66. // /* 给当前页面加水印*/
  67. // // 第一个参数:水印文字 第二个参数: 加水印的底图,默认body 给所有页面加水印, 第三个参数:水印颜色
  68. // Watermark.set("cc-innovation.gd", this.$refs.content, 'red');
  69. },
  70. }
  71. </script>
  72. <style lang="scss" lang="scss">
  73. .main {
  74. .pad {
  75. background-color: #fff;
  76. }
  77. .top_row {
  78. display: flex;
  79. align-items: center;
  80. justify-content: space-between;
  81. height: 72rpx;
  82. border: 1rpx solid $themC;
  83. background-color: #e8f4ff;
  84. padding: 0 30rpx;
  85. .flex {
  86. .icon {
  87. width: 36rpx;
  88. height: 32rpx;
  89. }
  90. .text {
  91. font-size: 26rpx;
  92. color: $themC;
  93. margin: 0 16rpx;
  94. }
  95. }
  96. }
  97. .blackBg {
  98. background: #000;
  99. padding: 16rpx;
  100. margin-top: 30rpx;
  101. border-radius: 8rpx;
  102. .ul {
  103. margin-bottom: 40rpx;
  104. .tit {
  105. font-size: 28rpx;
  106. color: #6cb71d;
  107. margin-bottom: 4rpx;
  108. }
  109. .li {
  110. display: flex;
  111. font-size: 24rpx;
  112. align-items: center;
  113. margin-bottom: 4rpx;
  114. .lab {
  115. color: #ffffff;
  116. }
  117. .val {
  118. color: #4a62c3;
  119. margin-left: 20rpx;
  120. }
  121. .skyBlue {
  122. color: #55d7b4;
  123. }
  124. }
  125. }
  126. }
  127. }
  128. </style>