message.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199
  1. <template>
  2. <view class="teacher_box">
  3. <view class="jie_card">
  4. <view class="xiaoxi_title">
  5. 您的借单号为212322131231的借单审批未通过!
  6. </view>
  7. <uv-line></uv-line>
  8. <view class="xiaoxi_title xiaoxi_box">
  9. <text>驳回理由:没有写清楚借用的具体时间,请重新修改提交</text>
  10. </view>
  11. <view class="xiaoxi_title xiaoxi_box">
  12. <text>审批人:王文杰</text>
  13. </view>
  14. <view class="xiaoxi_title xiaoxi_box2">
  15. <view class="xiaoxi_zt">
  16. 借单驳回
  17. </view>
  18. <view class="xiaoxi_time">
  19. 2024-02-14 10:32:24
  20. </view>
  21. </view>
  22. </view>
  23. <view class="jie_card">
  24. <view class="xiaoxi_title">
  25. 您的借单号为212322131231的借单审批通过!
  26. </view>
  27. <uv-line></uv-line>
  28. <view class="xiaoxi_title xiaoxi_box">
  29. <text>管理员备注:12号14点前到一楼实验室来领取</text>
  30. </view>
  31. <view class="xiaoxi_title xiaoxi_box">
  32. <text>审批人:王文杰</text>
  33. </view>
  34. <view class="xiaoxi_title xiaoxi_box2">
  35. <view class="xiaoxi_zt" style="background-color: #2d8cf0;">
  36. 借单通过
  37. </view>
  38. <view class="xiaoxi_time">
  39. 2024-02-14 10:32:24
  40. </view>
  41. </view>
  42. </view>
  43. <view class="jie_card">
  44. <view class="xiaoxi_title">
  45. 您的借单号为212322131231的借单即将逾期!
  46. </view>
  47. <uv-line></uv-line>
  48. <view class="xiaoxi_title xiaoxi_box">
  49. <text>约定归还时间:2024-02-14</text>
  50. </view>
  51. <view class="xiaoxi_title xiaoxi_box">
  52. <text>请及时归还!</text>
  53. </view>
  54. <view class="xiaoxi_title xiaoxi_box2">
  55. <view class="xiaoxi_zt" style="background-color: #ed4014">
  56. 借单逾期
  57. </view>
  58. <view class="xiaoxi_time">
  59. 2024-02-14 10:32:24
  60. </view>
  61. </view>
  62. </view>
  63. <view style="width: 100%; height: 10vh;">
  64. </view>
  65. </view>
  66. </template>
  67. <script setup>
  68. import {ref} from 'vue'
  69. import {
  70. requestApi
  71. } from '@/api/request.js'
  72. // onShow是uni-app中的一个全局生命周期函数,当页面从后台进入前台显示时会被触发。
  73. import {
  74. onShow,
  75. } from '@dcloudio/uni-app'
  76. </script>
  77. <style lang="less">
  78. page {
  79. background-color: rgb(244, 245, 249);
  80. overflow: hidden;
  81. }
  82. .search {
  83. padding: 20rpx 20rpx 20rpx 20rpx;
  84. background-color: #fff;
  85. }
  86. .xiaoxi_zt{
  87. background-color:#ff9900 ;
  88. float: left;
  89. padding: 7rpx;
  90. color: #fff;
  91. font-size: 20rpx;
  92. }
  93. .xiaoxi_title{
  94. margin: 15rpx 0;
  95. }
  96. swiper {
  97. min-height: 95vh;
  98. // overflow-y:auto;
  99. }
  100. .xiaoxi_box{
  101. font-size: 25rpx;
  102. color: #808695;
  103. }
  104. .xiaoxi_box2{
  105. margin-top: 30rpx;
  106. font-size: 25rpx;
  107. color: #808695;
  108. height: 50rpx;
  109. }
  110. .xiaoxi_time{
  111. float: right;
  112. }
  113. .jie_card {
  114. width: 90%;
  115. margin: 20rpx auto;
  116. // height: 250rpx;
  117. border-radius: 20rpx;
  118. background-color: #fff;
  119. padding: 10rpx 20rpx;
  120. }
  121. .jie_card_title {
  122. width: 100%;
  123. height: 70rpx;
  124. line-height: 80rpx;
  125. }
  126. .jie_swiper {
  127. // min-height: 1000rpx;
  128. background-color: rgb(244, 245, 249);
  129. }
  130. .jie_card_title_text {
  131. margin-left: 15rpx;
  132. line-height: center;
  133. }
  134. .jie_tags {
  135. float: right;
  136. background-color: #E1F3D8;
  137. width: 90rpx;
  138. height: 40rpx;
  139. margin-top: 20rpx;
  140. border-radius: 20rpx 0 0 20rpx;
  141. font-size: 20rpx;
  142. padding-left: 10rpx;
  143. line-height: 40rpx;
  144. color: #529B2E;
  145. }
  146. .jie_contend {
  147. margin-left: 15rpx;
  148. margin-top: 15rpx;
  149. float: left;
  150. }
  151. .jie_contend_text {
  152. margin-bottom: 10rpx;
  153. }
  154. .jie_contend_text1 {
  155. color: #606266;
  156. }
  157. .jie_contend_text2 {
  158. color: #303133;
  159. }
  160. .teacher_box{
  161. height: 90vh;
  162. overflow-y:auto
  163. }
  164. .jie_card_ztai {
  165. width: 120rpx;
  166. height: 120rpx;
  167. background-color: #F89898;
  168. border-radius: 50%;
  169. line-height: 120rpx;
  170. float: right;
  171. color: #fff;
  172. font-size: 25rpx;
  173. text-align: center;
  174. margin-top: 30rpx;
  175. margin-right: 40rpx;
  176. }
  177. </style>