origanization - 单独部门列表.vue 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <template>
  2. <view>
  3. <view class="search">
  4. <view class="box">
  5. <view class="icon">
  6. <uni-icons type="search" size="14" color="#BBBBBB"></uni-icons>
  7. </view>
  8. <view class="text">搜索</view>
  9. </view>
  10. </view>
  11. <view class="content">
  12. <view class="title">
  13. <view class="icon">
  14. <image src="./icon/title_icon.png" mode=""></image>
  15. </view>
  16. <view class="text">国家能源集团枣泉煤矿</view>
  17. </view>
  18. <view class="section">
  19. <view class="box">
  20. <view class="item">
  21. <view class="left">
  22. <view class="icon">
  23. <image src="./icon/open.png" mode=""></image>
  24. </view>
  25. <view class="text">党群工作部 (9)</view>
  26. </view>
  27. <view class="right">
  28. <uni-icons type="eye"></uni-icons>
  29. </view>
  30. </view>
  31. </view>
  32. </view>
  33. <view class="section">
  34. <view class="box">
  35. <view class="item">
  36. <view class="left">
  37. <view class="icon">
  38. <image src="./icon/close.png" mode=""></image>
  39. </view>
  40. <view class="text">生产技术部 (10)</view>
  41. </view>
  42. <view class="right">
  43. <uni-icons type="eye"></uni-icons>
  44. </view>
  45. </view>
  46. </view>
  47. <view class="inner_list">
  48. <view class="item" v-for="item in 6">
  49. <view class="icon">杨</view>
  50. <view class="text">杨名一 部长</view>
  51. </view>
  52. </view>
  53. </view>
  54. </view>
  55. </view>
  56. </template>
  57. <script>
  58. export default {
  59. data() {
  60. return {
  61. };
  62. },
  63. onLoad() {
  64. // 获取部门
  65. this.get_section_getGroupList()
  66. },
  67. methods:{
  68. get_section_getGroupList(){
  69. this.$api.section_getGroupList({
  70. }).then((res)=>{
  71. console.log(res)
  72. })
  73. }
  74. }
  75. }
  76. </script>
  77. <style lang="scss">
  78. page{
  79. background-color: #F3F8F7;
  80. }
  81. .search{
  82. margin-bottom: 20rpx;
  83. background-color: #FFFFFF;
  84. box-sizing: border-box;
  85. padding: 25rpx 30rpx;
  86. .box{
  87. height: 60rpx;
  88. background-color: #F4F4F4;
  89. border-radius: 50rpx;
  90. display: flex;
  91. align-items: center;
  92. box-sizing: border-box;
  93. padding: 0 25rpx;
  94. .icon{
  95. margin-right: 10rpx;
  96. }
  97. .text{
  98. font-size: 24rpx;
  99. color: #BBBBBB;
  100. }
  101. }
  102. }
  103. .content{
  104. background-color: #FFFFFF;
  105. .title{
  106. height: 95rpx;
  107. display: flex;
  108. align-items: center;
  109. box-sizing: border-box;
  110. padding: 0 36rpx;
  111. border-bottom: 1rpx solid #F3F8F7;
  112. .icon{
  113. image{
  114. width: 48rpx;
  115. height: 36rpx;
  116. }
  117. }
  118. .text{
  119. margin-left: 20rpx;
  120. font-size: 36rpx;
  121. font-weight: 700;
  122. }
  123. }
  124. .section{
  125. box-sizing: border-box;
  126. padding: 0 20rpx;
  127. .box{
  128. .item{
  129. height: 95rpx;
  130. display: flex;
  131. align-items: center;
  132. justify-content: space-between;
  133. margin-left: 20rpx;
  134. border-bottom: 1rpx solid #F3F8F7;
  135. .left{
  136. display: flex;
  137. align-items: center;
  138. .icon{
  139. line-height: 95rpx;
  140. width: 90rpx;
  141. text-align: center;
  142. image{
  143. width: 24rpx;
  144. height: 24rpx;
  145. }
  146. }
  147. .text{
  148. font-size: 28rpx;
  149. }
  150. }
  151. .right{
  152. line-height: 95rpx;
  153. width: 90rpx;
  154. text-align: center;
  155. }
  156. }
  157. }
  158. .inner_list{
  159. .item{
  160. height: 95rpx;
  161. display: flex;
  162. align-items: center;
  163. margin-left: 108rpx;
  164. border-bottom: 1rpx solid #F3F8F7;
  165. .icon{
  166. width: 35rpx;
  167. text-align: center;
  168. line-height: 35rpx;
  169. border-radius: 50%;
  170. border: 1rpx solid #00A1E9;
  171. font-size: 24rpx;
  172. color: #00A1E9;
  173. }
  174. .text{
  175. margin-left: 18rpx;
  176. font-size: 28rpx;
  177. }
  178. }
  179. }
  180. }
  181. }
  182. </style>