department.vue 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. <!-- @format -->
  2. <template>
  3. <view class="container">
  4. <view style="margin: 15rpx 0">
  5. <view class="contentItems" v-for="item of 2">
  6. <view class="content">
  7. <view class="title"
  8. >部门流转编号
  9. <text style="margin-left: 40rpx"> 2024845782 </text>
  10. </view>
  11. </view>
  12. <view class="content">
  13. <view class="title">检定实验室名称</view>
  14. <view class="message">衡器</view>
  15. </view>
  16. <view class="content">
  17. <view class="title">部门联系电话</view>
  18. <view class="message">1663846779</view>
  19. </view>
  20. <view class="content">
  21. <view class="title">器具数量</view>
  22. <view class="message"> 2 </view>
  23. </view>
  24. <view class="content">
  25. <view class="title">器具状况</view>
  26. <view class="message">
  27. <u-button
  28. @click="handleDepartment"
  29. style="width: 120rpx; height: 40rpx"
  30. type="primary"
  31. size="small"
  32. >查看</u-button
  33. >
  34. </view>
  35. </view>
  36. <view class="content">
  37. <view class="title">预约时间</view>
  38. <view class="message"> 2024-04-20 -- 2024-06-18 </view>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. </template>
  44. <script>
  45. export default {
  46. data() {
  47. return {
  48. historyPopDia: false,
  49. activeContent: "我的申请",
  50. tabsList: [
  51. {
  52. name: "我的申请",
  53. },
  54. ],
  55. };
  56. },
  57. methods: {
  58. //备案申请
  59. handleApplicat() {
  60. uni.navigateTo({
  61. url: "/pages/assay/application",
  62. success: (res) => {},
  63. fail: () => {},
  64. complete: () => {},
  65. });
  66. },
  67. handleChange(row) {
  68. this.activeContent = row.name;
  69. },
  70. handleCurrentForm() {},
  71. handleDetails() {
  72. uni.navigateTo({
  73. url: "/pages/assay/details",
  74. success: (res) => {},
  75. fail: () => {},
  76. complete: () => {},
  77. });
  78. },
  79. },
  80. };
  81. </script>
  82. <style lang="scss" scoped>
  83. .createFixed {
  84. background: #2979ff;
  85. display: flex;
  86. justify-content: center;
  87. align-items: center;
  88. width: 90rpx;
  89. height: 90rpx;
  90. border-radius: 50%;
  91. position: fixed;
  92. right: 30rpx;
  93. bottom: 200rpx;
  94. }
  95. .createNew {
  96. font-size: 30rpx;
  97. margin: 20rpx 0 20rpx 20rpx;
  98. color: #3c9ff3;
  99. }
  100. .container {
  101. height: 100vh;
  102. background: rgb(243, 244, 249);
  103. .contentItems {
  104. width: 93%;
  105. border-radius: 6px;
  106. background: #fff;
  107. margin: 0rpx auto 20rpx;
  108. padding: 20rpx 30rpx 20rpx;
  109. .content {
  110. border-bottom: 1px solid rgb(242, 242, 242);
  111. padding: 24rpx 0;
  112. display: flex;
  113. justify-content: space-between;
  114. }
  115. .content:last-child {
  116. border-bottom: none;
  117. }
  118. .title {
  119. font-size: 26rpx;
  120. color: black;
  121. letter-spacing: 3rpx;
  122. }
  123. .message {
  124. font-size: 26rpx;
  125. color: rgb(146, 146, 146);
  126. }
  127. }
  128. }
  129. </style>