equipmentRetrieval.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182
  1. <template>
  2. <view >
  3. <equipmentRetrieval
  4. ref="equipmentRetrievalRef" :iscomponents="0"></equipmentRetrieval>
  5. </view>
  6. </template>
  7. <script>
  8. //import * as API from '@/apis/pagejs/index.js'
  9. import equipmentRetrieval from "@/components/equipmentRetrieval"
  10. export default {
  11. data() {
  12. return {
  13. }
  14. },
  15. components:{
  16. equipmentRetrieval
  17. },
  18. mounted() {
  19. //this.getDeviceTypeList();
  20. },
  21. onReady() {
  22. //this.getList()
  23. },
  24. onReachBottom() {
  25. // this.myLoadmoreonReachBottom()
  26. },
  27. methods: {
  28. },
  29. }
  30. </script>
  31. <style scoped lang="scss">
  32. page {
  33. background-color: #fff;
  34. }
  35. .iscomponents ::v-deep .u-search{
  36. width: 630rpx !important;
  37. }
  38. // 搜索
  39. .search {
  40. padding: 12rpx 24rpx;
  41. display: flex;flex-wrap: wrap;
  42. border-radius: 8px;
  43. overflow: hidden;
  44. .search-box {
  45. display: flex;flex-wrap: wrap;
  46. border-radius: 8px;
  47. overflow: hidden;
  48. }
  49. ::v-deep .u-search {
  50. width: 530rpx;
  51. margin: auto !important;
  52. position: relative;
  53. flex: 0;
  54. margin: 0 !important;
  55. height: 64rpx !important;
  56. }
  57. ::v-deep .u-content {
  58. width: 430px;
  59. border-radius: 0px !important;
  60. height: 64rpx !important;
  61. }
  62. ::v-deep .u-icon--right {
  63. margin-right: 16rpx;
  64. }
  65. .search-btn {
  66. width: 100rpx;
  67. height: 64rpx;
  68. background-color: #f2f2f2;
  69. .text {
  70. height: 40rpx;
  71. margin: 12rpx 0;
  72. border-left: 1px solid #999999;
  73. font-family: Microsoft Yahei;
  74. text-align: center;
  75. color: rgba(16, 98, 213, 1);
  76. font-size: 28rpx;
  77. }
  78. }
  79. }
  80. .main {
  81. display: flex;flex-wrap: wrap;
  82. // 分类
  83. .classify {
  84. width: 170rpx;
  85. height: calc(100vh - 88rpx);
  86. background-color: #F0F0F0;
  87. overflow-y: scroll;
  88. font-size: 28rpx;
  89. .item {
  90. height: 120rpx;
  91. line-height: 120rpx;
  92. text-align: center;
  93. }
  94. .checked {
  95. background-color: #fff;
  96. color: #1062D5
  97. }
  98. }
  99. // 类型
  100. .type{
  101. padding: 24rpx 24rpx;
  102. height: calc(100vh - 88rpx);
  103. .type-item{
  104. //margin-bottom: 80rpx;
  105. }
  106. .title{
  107. color: rgba(51, 51, 51, 1);
  108. font-size: 32rpx;
  109. margin-bottom: 24rpx;
  110. }
  111. .content{
  112. .item{
  113. display: flex;flex-wrap: wrap;
  114. margin-bottom: 34rpx;
  115. border-bottom: 1px dashed;
  116. .option{
  117. padding-left: 20rpx;
  118. }
  119. .picture{
  120. width: 120rpx;
  121. height: 120rpx;
  122. border-radius: 8rpx;
  123. overflow: hidden;
  124. img{
  125. width: 100rpx;
  126. height: 100%;
  127. }
  128. }
  129. .infosQuery{
  130. width:400rpx !important;
  131. }
  132. .infos{
  133. width:200rpx ;
  134. margin-left: 16rpx;
  135. .name{
  136. color: rgba(51, 51, 51, 1);
  137. font-size: 32rpx;
  138. margin-bottom: 16rpx;
  139. }
  140. .model,.inventory{
  141. color: rgba(153, 153, 153, 1);
  142. font-size: 24rpx;
  143. display: flex;flex-wrap: wrap;
  144. margin-bottom: 8rpx;
  145. }
  146. .infos-title{
  147. width: 88rpx;
  148. min-width: 88rpx;
  149. }
  150. }
  151. }
  152. }
  153. }
  154. }
  155. </style>