repairEntrance.vue 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <template>
  2. <view class="repairEntrance">
  3. <view class="info page_padding">
  4. <view class="info_text">
  5. <view class="text_left text_justify">您没有报修处理权限,如需要请联系管理员。</view>
  6. </view>
  7. <view class="info_tips text_center">如您需要报修点击<text class="info_primary">"进入报修”</text></view>
  8. </view>
  9. <view class="foot_common_btns">
  10. <button @click="goToRepair" type="default" class="primaryButton btn">进入报修</button>
  11. </view>
  12. </view>
  13. </template>
  14. <script setup>
  15. import { useSetTitle } from '@/share/useSetTitle.js'
  16. useSetTitle()
  17. /**
  18. * 进入报修
  19. */
  20. function goToRepair() {
  21. location.href = location.origin + '/req';
  22. }
  23. </script>
  24. <style lang="scss" scoped>
  25. .repairEntrance {
  26. height: 100%;
  27. display: flex;
  28. flex-direction: column;
  29. justify-content: space-between;
  30. align-items: center;
  31. .info {
  32. .info_text {
  33. line-height: 56rpx;
  34. font-size: 34rpx;
  35. padding: 90rpx 0 58rpx;
  36. display: flex;
  37. justify-content: center;
  38. align-items: center;
  39. }
  40. .info_tips {
  41. font-size: 24rpx;
  42. color: $uni-secondary-color;
  43. .info_primary {
  44. color: $uni-primary;
  45. }
  46. }
  47. }
  48. }
  49. </style>