delay.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. <template>
  2. <view class="container">
  3. <!-- 接单考核时间区域 -->
  4. <view class="box">
  5. 接单考核时间
  6. <view class="box_time">
  7. <input type="text" v-model="time" />
  8. <img src="../../static/images/repairsImg/clock.png" />
  9. </view>
  10. 分钟
  11. </view>
  12. <!-- 维修考核时间区域 -->
  13. <view class="box">
  14. 维修考核时间
  15. <view class="box_time">
  16. <input type="text" v-model="time2" />
  17. <img src="../../static/images/repairsImg/clock.png" />
  18. </view>
  19. 分钟
  20. </view>
  21. <!-- 提交按钮区域 -->
  22. <view class="btn">提交</view>
  23. </view>
  24. </template>
  25. <script>
  26. export default {
  27. data() {
  28. return {
  29. time: 5,
  30. time2: 10
  31. }
  32. },
  33. methods: {}
  34. }
  35. </script>
  36. <style lang="scss" scoped>
  37. .container {
  38. box-sizing: border-box;
  39. padding: 0 30rpx;
  40. width: 100vw;
  41. height: 100vh;
  42. .box {
  43. display: flex;
  44. align-items: center;
  45. height: 100rpx;
  46. font-size: 32rpx;
  47. font-weight: bold;
  48. .box_time {
  49. display: flex;
  50. justify-content: space-between;
  51. align-items: center;
  52. box-sizing: border-box;
  53. padding: 0 23rpx;
  54. margin: 0 25rpx;
  55. width: 237rpx;
  56. height: 68rpx;
  57. font-weight: 400;
  58. border-radius: 4rpx;
  59. border: 1rpx solid #a6a6a6;
  60. input {
  61. flex: 1;
  62. }
  63. img {
  64. width: 40rpx;
  65. height: 40rpx;
  66. }
  67. }
  68. }
  69. .btn {
  70. position: absolute;
  71. bottom: 66rpx;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. margin: auto;
  76. width: 690rpx;
  77. height: 100rpx;
  78. color: #fff;
  79. font-size: 32rpx;
  80. border-radius: 12rpx;
  81. background-color: #6fb6b8;
  82. }
  83. }
  84. </style>