exportApplication.vue 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <template>
  2. <view>
  3. <view class="head">
  4. <u-navbar title="出库申请"></u-navbar>
  5. <view class="tabs">
  6. <u-tabs bar-width="80" inactive-color="#777777" active-color="#101010":list="list" :is-scroll="false" :current="current" @change="change"></u-tabs>
  7. <view class="screen" @click="changeShow()">
  8. 筛选<u-icon size="24" name="arrow-down" color="#777777"></u-icon>
  9. </view>
  10. <view class="options" v-if="this.show==true" @click="changeShow()">
  11. 选项3
  12. </view>
  13. </view>
  14. </view>
  15. <view class="list1" v-if="this.current==0">
  16. <view class="item" v-for="item in 2">
  17. <view class="title">
  18. 刘群的出库申请
  19. </view>
  20. <view class="group">
  21. <view class="name">
  22. 申请人:
  23. </view>
  24. <view class="value">
  25. 刘群
  26. </view>
  27. </view>
  28. <view class="group">
  29. <view class="name">
  30. 申请时间:
  31. </view>
  32. <view class="value">
  33. 2023/03/15 16:15
  34. </view>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="list2" v-if="this.current==1" >
  39. <view class="item" v-for="item in 2">
  40. <view class="title">
  41. 刘群的出库申请2
  42. </view>
  43. <view class="group">
  44. <view class="name">
  45. 申请人:
  46. </view>
  47. <view class="value">
  48. 刘群
  49. </view>
  50. </view>
  51. <view class="group">
  52. <view class="name">
  53. 申请时间:
  54. </view>
  55. <view class="value">
  56. 2023/03/15 16:15
  57. </view>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="bottom">
  62. <button>填写出库申请</button>
  63. </view>
  64. </view>
  65. </template>
  66. <script>
  67. export default {
  68. data() {
  69. return {
  70. list: [{
  71. name: '未审批'
  72. }, {
  73. name: '已审批'
  74. }
  75. ],
  76. current: 0,
  77. show:false
  78. }
  79. },
  80. methods: {
  81. change(index) {
  82. this.current = index;
  83. },
  84. changeShow(){
  85. this.show=!this.show
  86. }
  87. }
  88. }
  89. </script>
  90. <style lang="scss" scoped>
  91. page{
  92. padding-bottom: 100rpx;
  93. }
  94. .head{
  95. background: linear-gradient(180deg, rgba(190,211,240,1) 0%,rgba(244,244,246,1) 100%) ;
  96. height: 590rpx;
  97. padding: 0 32rpx;
  98. /deep/.u-navbar{
  99. background: 0!important;
  100. }
  101. /deep/.u-border-bottom:after{
  102. height: 0;
  103. }
  104. }
  105. .tabs{
  106. display: flex;
  107. justify-content: space-between;
  108. align-items: center;
  109. /deep/.u-tabs{
  110. background: 0 !important;
  111. width: 250rpx;
  112. }
  113. /deep/.u-tab-bar{
  114. background-color: #2A8EFB !important;
  115. }
  116. .screen{
  117. color: #415058;
  118. position: relative;
  119. font-family: Microsoft Yahei;
  120. /deep/.uicon-arrow-down{
  121. margin-left: 4rpx;
  122. }
  123. }
  124. .options{
  125. width: 120rpx;
  126. height: 60rpx;
  127. line-height: 60rpx;
  128. text-align: center;
  129. background-color: #fff;
  130. color: rgba(65, 80, 88, 1);
  131. font-family: Microsoft Yahei;
  132. position: absolute;
  133. top: 160rpx;
  134. right: 24rpx;
  135. box-shadow:5px 5px 10px gray;
  136. }
  137. }
  138. .list1,.list2{
  139. padding: 0 32rpx;
  140. margin-top: -400rpx;
  141. .item{
  142. border-radius: 8px;
  143. background-color: rgba(255, 255, 255, 1);
  144. padding: 32rpx;
  145. margin-bottom: 24rpx;
  146. .title{
  147. color: rgba(51, 51, 51, 1);
  148. font-size: 36rpx;
  149. margin-bottom: 16rpx;
  150. }
  151. .group{
  152. display: flex;
  153. color: rgba(119, 119, 119, 1);
  154. margin-top: 16rpx;
  155. font-weight: bold;
  156. }
  157. }
  158. }
  159. .bottom{
  160. position: fixed;
  161. bottom: 0;
  162. left: 0;
  163. right: 0;
  164. background-color: #fff;
  165. padding: 16rpx 32rpx;
  166. uni-button{
  167. height: 88rpx;
  168. line-height: 88rpx;
  169. border-radius: 8px;
  170. background: linear-gradient(180deg, rgba(22,119,255,1) 0%,rgba(16,98,213,1) 100%);
  171. color: rgba(255, 255, 255, 1);
  172. font-size: 32rpx;
  173. font-family: Microsoft Yahei;
  174. }
  175. }
  176. </style>