empowerOpen.vue 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180
  1. <!-- 拍照检查 -->
  2. <template>
  3. <view id="empowerOpen">
  4. <view class="page-one" v-if="pageType==1">
  5. <view class="header">
  6. <input class="header-l" type="text" v-model="newData.subId" placeholder="实验室名称">
  7. </view>
  8. <view class="list">
  9. <view class="list-li">
  10. <view class="list-li-l">实验室名称(房间号)</view>
  11. <view class="list-li-r">授权</view>
  12. </view>
  13. </view>
  14. </view>
  15. <view class="page-tow" v-if="pageType==2">
  16. <view class="list-tow">
  17. <view class="list-tow-li">
  18. <view class="list-tow-li-t">被授权人</view>
  19. <input class="list-tow-li-b" type="text" v-model="newData.subId" placeholder="">
  20. </view>
  21. <view class="list-tow-li">
  22. <view class="list-tow-li-t">生效时间</view>
  23. <view class="time">
  24. <view class="time-l">2024/02/04 12:23</view>
  25. <view class="time-c">-</view>
  26. <view class="time-r">2024/02/04 12:23</view>
  27. </view>
  28. </view>
  29. </view>
  30. </view>
  31. </view>
  32. </template>
  33. <script>
  34. import {
  35. config
  36. } from '@/api/request/config.js'
  37. export default {
  38. components: {
  39. },
  40. data() {
  41. return {
  42. pageType: 2,
  43. baseUrl: config.base_url,
  44. newData: {
  45. },
  46. }
  47. },
  48. onLoad(option) {
  49. },
  50. onShow() {
  51. },
  52. methods: {
  53. }
  54. }
  55. </script>
  56. <style lang="stylus" scoped>
  57. #empowerOpen {
  58. .page-one{
  59. .header{
  60. width: 749rpx;
  61. height: 120rpx;
  62. background: #FFFFFF;
  63. padding: 20rpx 30rpx;
  64. box-sizing: border-box;
  65. border-bottom: 1rpx solid #D8D8D8;
  66. .header-l{
  67. width: 690rpx;
  68. height: 80rpx;
  69. border-radius: 10rpx 10rpx 10rpx 10rpx;
  70. border: 1rpx solid #E0E0E0;
  71. padding: 20rpx;
  72. box-sizing: border-box;
  73. }
  74. }
  75. .list{
  76. padding: 0 30rpx;
  77. box-sizing: border-box;
  78. background: #fff;
  79. .list-li{
  80. height: 90rpx;
  81. display: flex;
  82. justify-content: space-between;
  83. align-items: center;
  84. border-bottom: 1rpx solid #D8D8D8;
  85. .list-li-l{
  86. flex: 1;
  87. font-family: PingFang SC, PingFang SC;
  88. font-weight: 400;
  89. font-size: 30rpx;
  90. color: #333333;
  91. line-height: 42rpx;
  92. }
  93. .list-li-r{
  94. font-family: PingFang SC, PingFang SC;
  95. font-weight: 400;
  96. font-size: 28rpx;
  97. color: #0183FA;
  98. line-height: 39rpx;
  99. }
  100. }
  101. }
  102. }
  103. .page-tow{
  104. .list-tow{
  105. padding: 0 30rpx;
  106. box-sizing: border-box;
  107. background: #fff;
  108. .list-tow-li{
  109. .list-tow-li-t{
  110. font-family: PingFang SC, PingFang SC;
  111. font-weight: 400;
  112. font-size: 30rpx;
  113. color: #333333;
  114. line-height: 42rpx;
  115. text-align: left;
  116. margin: 24rpx 0;
  117. }
  118. .list-tow-li-b{
  119. width: 690rpx;
  120. height: 80rpx;
  121. border-radius: 10rpx 10rpx 10rpx 10rpx;
  122. border: 1rpx solid #E0E0E0;
  123. }
  124. .time{
  125. display:flex;
  126. justify-content: flex-start;
  127. align-items: center;
  128. width: 690rpx;
  129. height: 80rpx;
  130. border-radius: 10rpx 10rpx 10rpx 10rpx;
  131. border: 1rpx solid #E0E0E0;
  132. .time-l{
  133. height: 80rpx;
  134. width: 324rpx;
  135. border-right:1rpx solid #E0E0E0;
  136. font-family: PingFang SC, PingFang SC;
  137. font-weight: 400;
  138. font-size: 28rpx;
  139. color: #333333;
  140. line-height: 80rpx;
  141. text-align: left;
  142. }
  143. .time-c{
  144. height: 80rpx;
  145. width: 40rpx;
  146. text-align: center;
  147. line-height: 80rpx;
  148. }
  149. .time-r{
  150. height: 80rpx;
  151. width: 324rpx;
  152. background: #E0E0E0;
  153. border-left:1rpx solid #E0E0E0;
  154. font-family: PingFang SC, PingFang SC;
  155. font-weight: 400;
  156. font-size: 28rpx;
  157. color: #333333;
  158. line-height: 80rpx;
  159. text-align: left;
  160. }
  161. }
  162. }
  163. }
  164. }
  165. }
  166. </style>