hiddenDangerItemsSearch.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <!-- 隐患项搜索 -->
  2. <template>
  3. <view class="hiddenDangerItemsSearch">
  4. <view class="header">
  5. <view class="search">
  6. <view class="search-r">
  7. <img src="@/pages_safetyCheck/images/icon_aqjc_ss.png">
  8. 模糊搜索检查项
  9. </view>
  10. <view class="cancel">取消</view>
  11. </view>
  12. </view>
  13. <view class="list">
  14. <view class="list-li" v-for="(item,index) in dataList">
  15. <view class="list-li-t">{{item.one}}</view>
  16. <view class="list-li-b">{{item.tow}}</view>
  17. </view>
  18. </view>
  19. </view>
  20. </template>
  21. <script>
  22. import {
  23. config
  24. } from '@/api/request/config.js'
  25. export default {
  26. name: "hiddenDangerItemsSearch",
  27. components: {
  28. },
  29. data() {
  30. return {
  31. baseUrl: config.base_url,
  32. pageType: 1,
  33. tabTextTow: ['待整改', '已整改', '暂无法整改'],
  34. curTabTow: 0,
  35. form: {
  36. imgDtoList: [],
  37. },
  38. newData: {
  39. },
  40. dialogVisible: false,
  41. dataList: [
  42. {
  43. one: '1.1.1实验室安全工作纳入学校决策研究事项',
  44. tow: '三级检查项目条款全显示三级检查项目条款检查项目条款检查项目条款全显示三级检查项目检查项目条款'
  45. },
  46. {
  47. one: '1.1.1实验室安全工作纳入学校决策研究事项',
  48. tow: '三级检查项目条款全显示三级检查项目条款检查项目条款检查项目条款全显示三级检查项目检查项目条款'
  49. },
  50. ],
  51. }
  52. },
  53. onLoad(option) {},
  54. onShow() {
  55. },
  56. mounted() {
  57. },
  58. methods: {
  59. //滚动事件
  60. scrollGet() {},
  61. //顶部tab点击
  62. tabClickTow(index) {
  63. this.curTabTow = index;
  64. },
  65. dialogOpen(){
  66. this.dialogVisible = true;
  67. },
  68. dialogClose() {
  69. this.dialogVisible = false;
  70. },
  71. quotaClick(index){
  72. this.quotaIndex=index
  73. },
  74. }
  75. }
  76. </script>
  77. <style lang="stylus" scoped>
  78. .hiddenDangerItemsSearch{
  79. height: 100%;
  80. display flex;
  81. box-sizing: border-box;
  82. #totalColor-A{
  83. color: #0183FA;
  84. background: rgba(1,131,250,0.2);
  85. }
  86. #totalColor-B{
  87. color: #16B531;
  88. background: rgba(22,181,49,0.2);
  89. }
  90. #totalColor-C{
  91. color: #FF8C00;
  92. background: rgba(255,140,0,0.2);
  93. }
  94. .header {
  95. width: 100%;
  96. position: fixed;
  97. top: 0rpx;
  98. z-index: 100;
  99. background: #fff;
  100. .search {
  101. width: 750rpx;
  102. height: 100rpx;
  103. background: #FFFFFF;
  104. border-radius: 0rpx 0rpx 0rpx 0rpx;
  105. display: flex;
  106. justify-content: center;
  107. align-items: center;
  108. .search-r {
  109. width: 610rpx;
  110. height: 60rpx;
  111. background: #FFFFFF;
  112. border-radius: 50rpx 50rpx 50rpx 50rpx;
  113. border: 1rpx solid #E0E0E0;
  114. font-size: 24rpx;
  115. color: #999999;
  116. line-height: 60rpx;
  117. text-align: left;
  118. display: flex;
  119. justify-content: flex-start;
  120. align-items: center;
  121. padding: 0 20rpx;
  122. box-sizing: border-box;
  123. >img{
  124. width: 30rpx;
  125. height: 30rpx;
  126. margin-right: 20rpx;
  127. }
  128. }
  129. }
  130. .cancel{
  131. font-size: 28rpx;
  132. color: #0183FA;
  133. line-height: 30rpx;
  134. text-align: left;
  135. margin-left: 18rpx;
  136. }
  137. }
  138. .list {
  139. width: 750rpx;
  140. background: #FFFFFF;
  141. margin-top: 110rpx;
  142. padding-top:12rpx;
  143. box-sizing: border-box;
  144. .list-li {
  145. margin: 0 30rpx 20rpx;
  146. .list-li-t {
  147. font-size: 24rpx;
  148. color: #3D3D3D;
  149. line-height: 34rpx;
  150. text-align: left;
  151. margin-bottom: 20rpx;
  152. }
  153. .list-li-b {
  154. width: 690rpx;
  155. background: #F5F5F5;
  156. border-radius: 10rpx 10rpx 10rpx 10rpx;
  157. display: flex;
  158. justify-content: flex-start;
  159. padding: 12rpx 20rpx 14rpx 14rpx;
  160. box-sizing: border-box;
  161. }
  162. }
  163. }
  164. }
  165. </style>