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.

161 lines
3.1 KiB

12 months ago
  1. <template>
  2. <view class="main">
  3. <view class="searchBox">
  4. <searchRow placeholder="请输入机器/名称/路径/命令" />
  5. </view>
  6. <view class="ul">
  7. <view class="total">共3条</view>
  8. <view class="card">
  9. <view class="row">
  10. <view class="lab">机器</view>
  11. <view class="val">192.68.1.44主机</view>
  12. </view>
  13. <view class="row">
  14. <view class="lab">名称</view>
  15. <view class="val ">host</view>
  16. </view>
  17. <view class="row">
  18. <view class="lab">路径</view>
  19. <view class="val blue">host</view>
  20. </view>
  21. <view class="row">
  22. <view class="lab">命令</view>
  23. <view class="val ">host</view>
  24. </view>
  25. <view class="row">
  26. <view class="lab">偏移量</view>
  27. <view class="val ">host</view>
  28. </view>
  29. <view class="row">
  30. <view class="lab">修改时间</view>
  31. <view class="val ">host</view>
  32. </view>
  33. <view class="row">
  34. <view class="lab">创建时间</view>
  35. <view class="val ">host</view>
  36. </view>
  37. <view class="status_row">
  38. <view class="blueTxt">
  39. <view class="icon">
  40. <image src="../../../static/images/icon (21).png" mode=""></image>
  41. </view>
  42. <view class="text">修改</view>
  43. </view>
  44. <view class="blueTxt" style="color: #ff2222;">
  45. <view class="icon">
  46. <image src="../../../static/images/icon (17).png" mode=""></image>
  47. </view>
  48. <view class="text">删除</view>
  49. </view>
  50. </view>
  51. </view>
  52. </view>
  53. <view class="addBtn">
  54. <view class="btnBg" @click="$goPage('/pages/sub/logPanel/addNewLog')"> </view>
  55. </view>
  56. </view>
  57. </template>
  58. <script>
  59. export default {
  60. data() {
  61. return {
  62. }
  63. },
  64. methods: {
  65. }
  66. }
  67. </script>
  68. <style lang="scss" scoped>
  69. .searchBox {
  70. padding: 16rpx 30rpx;
  71. background-color: #fff;
  72. }
  73. .addBtn {
  74. text-align: center;
  75. position: fixed;
  76. bottom: 20rpx;
  77. left: 0;
  78. width: 100%;
  79. padding: 0 30rpx;
  80. .btnBg {
  81. line-height: 96rpx;
  82. height: 96rpx;
  83. }
  84. }
  85. .tabs {
  86. background-color: #fff;
  87. margin-top: 8rpx;
  88. padding: 16rpx 0;
  89. }
  90. .ul {
  91. width: 100%;
  92. padding: 0 30rpx 140rpx 30rpx;
  93. .total {
  94. height: 66rpx;
  95. line-height: 66rpx;
  96. font-size: 24rpx;
  97. color: #999;
  98. text-align: right;
  99. }
  100. .card {
  101. padding: 10rpx 28rpx;
  102. .row {
  103. align-items: center;
  104. display: flex;
  105. justify-content: space-between;
  106. padding: 16rpx 0;
  107. font-size: 26rpx;
  108. color: #333;
  109. .lab {
  110. }
  111. .val {
  112. &.blue {
  113. color: $themC;
  114. }
  115. &.hui {
  116. color: #999;
  117. }
  118. &.yellow {
  119. color: #fc7710;
  120. }
  121. }
  122. .flex {
  123. display: flex;
  124. justify-content: flex-end;
  125. .icon {
  126. width: 28rpx;
  127. height: 30rpx;
  128. margin-right: 20rpx;
  129. }
  130. }
  131. }
  132. .status_row {
  133. color: $themC;
  134. font-size: 28rpx;
  135. font-weight: 600;
  136. display: flex;
  137. padding: 20rpx 0;
  138. .blueTxt {
  139. flex: 1;
  140. text-align: center;
  141. display: flex;
  142. align-items: center;
  143. justify-content: center;
  144. .icon {
  145. width: 28rpx;
  146. height: 28rpx;
  147. margin-right: 14rpx;
  148. }
  149. }
  150. }
  151. }
  152. }
  153. </style>