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.

77 lines
1.4 KiB

10 months ago
  1. <template>
  2. <view class="main">
  3. <view class="top_row">
  4. <view class="row selectAll">
  5. <view class="icon ">
  6. <image src="@/static/images/icon (20).png" mode=""></image>
  7. <!-- <image src="@/static/images/icon (22).png" mode=""></image> -->
  8. </view>
  9. <view class="txt">全选</view>
  10. </view>
  11. <view class="searchBox">
  12. <searchRow placeholder="名称/IP过滤" />
  13. </view>
  14. </view>
  15. <view class="card">
  16. <view class="row" v-for="(item,index) in 5" :key="index">
  17. <view class="icon">
  18. <image src="@/static/images/icon (20).png" mode="" v-if="index==1"></image>
  19. <image src="@/static/images/icon (22).png" mode="" v-else></image>
  20. </view>
  21. <view class="txt">192.168.1.44</view>
  22. </view>
  23. </view>
  24. <view class="btnPoz">
  25. <view class="btnBg"> </view>
  26. </view>
  27. </view>
  28. </template>
  29. <script>
  30. export default {
  31. data() {
  32. return {}
  33. }
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. .btnPoz {
  38. position: fixed;
  39. bottom: 30rpx;
  40. left: 0;
  41. width: 100%;
  42. padding: 0 32rpx;
  43. }
  44. .top_row {
  45. display: flex;
  46. align-items: center;
  47. padding: 14rpx 30rpx;
  48. background-color: #fff;
  49. font-size: 26rpx;
  50. .selectAll {
  51. width: 130rpx;
  52. }
  53. .searchBox {
  54. flex: 1;
  55. }
  56. }
  57. .row {
  58. align-items: center;
  59. display: flex;
  60. padding: 24rpx 0;
  61. .icon {
  62. width: 32rpx;
  63. height: 32rpx;
  64. }
  65. .txt {
  66. padding: 0 16rpx;
  67. font-size: 26rpx;
  68. }
  69. }
  70. .card {
  71. margin-top: 8rpx;
  72. padding: 30rpx;
  73. }
  74. </style>