detail.vue 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <template>
  2. <view class="page" :style="{'min-height':h+'px', 'padding-top':mt+'px'}">
  3. <cus-header title='详情'></cus-header>
  4. <div class="boxs">
  5. <div class="box">
  6. <div class="box_item">
  7. <div class="left">项目订单号</div>
  8. <div class="right">{{'PO0098877666'}}</div>
  9. </div>
  10. <div class="box_item">
  11. <div class="left">巡检地点</div>
  12. <div class="right">{{'长鑫科技集团股份有限公司'}}</div>
  13. </div>
  14. <div class="box_item">
  15. <div class="left">巡检任务</div>
  16. <div class="right">{{'日常巡检'}}</div>
  17. </div>
  18. <div class="box_item">
  19. <div class="left">巡检负责人</div>
  20. <div class="right">{{'王安宇'}}</div>
  21. </div>
  22. <div class="box_item">
  23. <div class="left">巡检时间</div>
  24. <div class="right">{{'2025-03-28'}}</div>
  25. </div>
  26. </div>
  27. <div class="box">
  28. <div class="box_item">
  29. <div class="left">巡检结果</div>
  30. <div class="right">{{'正常'}}</div>
  31. </div>
  32. <div class="box_item2">
  33. <div class="top">备注</div>
  34. <div class="bottom">{{''}}</div>
  35. </div>
  36. </div>
  37. <div class="box">
  38. <div class="box_item2">
  39. <div class="top">巡检打卡</div>
  40. <div class="bottom">{{''}}</div>
  41. </div>
  42. </div>
  43. </div>
  44. <div class="bottom">
  45. <div class="btn" @tap="back">返回</div>
  46. </div>
  47. </view>
  48. </template>
  49. <script>
  50. export default {
  51. data(){
  52. return {
  53. }
  54. },
  55. methods:{
  56. back(){
  57. uni.navigateBack()
  58. }
  59. }
  60. }
  61. </script>
  62. <style scoped lang="less">
  63. .page{
  64. padding-bottom: 168rpx;
  65. background: #F4F8FB;
  66. .boxs{
  67. padding: 0 24rpx;
  68. .box{
  69. background: #FFFFFF;
  70. border-radius: 16rpx;
  71. margin-top: 20rpx;
  72. padding: 0 24rpx;
  73. }
  74. }
  75. .box_item{
  76. display: flex;
  77. align-items: center;
  78. justify-content: space-between;
  79. box-shadow: inset 0rpx -1rpx 0rpx 0rpx #ECEEF5;
  80. padding: 24rpx 0;
  81. .left{
  82. font-family: PingFangSC, PingFang SC;
  83. font-weight: 400;
  84. font-size: 30rpx;
  85. color: #1D2129;
  86. line-height: 42rpx;
  87. }
  88. .right{
  89. font-family: PingFangSC, PingFang SC;
  90. font-weight: 400;
  91. font-size: 28rpx;
  92. color: #4E5969;
  93. line-height: 40rpx;
  94. text-align: right;
  95. }
  96. }
  97. .box_item2{
  98. .top{
  99. font-family: PingFangSC, PingFang SC;
  100. font-weight: 400;
  101. font-size: 30rpx;
  102. color: #1D2129;
  103. line-height: 42rpx;
  104. padding: 24rpx 0;
  105. }
  106. .bottom{
  107. font-family: PingFangSC, PingFang SC;
  108. font-weight: 400;
  109. font-size: 28rpx;
  110. color: #4E5969;
  111. line-height: 40rpx;
  112. }
  113. }
  114. .bottom{
  115. width: 100%;
  116. height: 148rpx;
  117. padding: 20rpx 48rpx;
  118. box-sizing: border-box;
  119. background: #FFFFFF;
  120. position: fixed;
  121. bottom: 0;
  122. left: 0;
  123. z-index: 9;
  124. .btn{
  125. width: 100%;
  126. height: 88rpx;
  127. background: #2E69EB;
  128. border-radius: 16rpx;
  129. font-family: PingFang-SC, PingFang-SC;
  130. font-weight: bold;
  131. font-size: 32rpx;
  132. color: #FFFFFF;
  133. line-height: 88rpx;
  134. text-align: center;
  135. }
  136. }
  137. }
  138. </style>