工单小程序2024-11-20
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

194 lines
3.7 KiB

3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
3 months ago
  1. <template>
  2. <view class="page">
  3. <navbar />
  4. <view class="Carousel-image">
  5. <view class="imgs">
  6. <uv-swiper :list="list" indicator indicatorMode="dot" circular height="420"></uv-swiper>
  7. </view>
  8. <view class="search">
  9. <view class="center-area">
  10. <image style="margin-right: 20rpx;" src="@/static/image/home/search-icon.png"></image>
  11. <input v-model="queryParams.title" placeholder="输入单号进行搜索" />
  12. </view>
  13. </view>
  14. </view>
  15. <view class="festival">
  16. <view class="indus">
  17. <view class="horn">
  18. <uv-icon name="volume" size=""></uv-icon>
  19. </view>
  20. <view class="words">
  21. 中秋节放假及工作安排通知
  22. </view>
  23. </view>
  24. <view class="arrow">
  25. <uv-icon name="arrow-right"></uv-icon>
  26. </view>
  27. </view>
  28. <uv-divider text="" textColor="#2979ff" lineColor="grey" textSize="1"></uv-divider>
  29. <view class="task">
  30. <view class="backimg" @click="$utils.navigateTo('/pages_order/order/WorkOrderListitem')" >
  31. <view class="Work-Order">
  32. 所有工单
  33. </view>
  34. </view>
  35. </view>
  36. <uv-divider text="" textColor="#2979ff" lineColor="grey" textSize="1"></uv-divider>
  37. <view class="Urgent-Work-Order">
  38. <view class="Urgent-Work">
  39. 紧急工单
  40. </view>
  41. <WorkOrderitem
  42. v-for="(item,index) in 2 "
  43. />
  44. </view>
  45. <PrivacyAgreementPoup/>
  46. <tabber select="0"/>
  47. </view>
  48. </template>
  49. <script>
  50. import PrivacyAgreementPoup from '@/components/config/PrivacyAgreementPoup.vue'
  51. import Position from '@/utils/position.js'
  52. import tabber from '@/components/base/tabbar.vue'
  53. import productList from '@/components/user/productList.vue'
  54. import WorkOrderitem from '@/components/work/WorkOrderitem.vue'
  55. import {
  56. mapGetters
  57. } from 'vuex'
  58. // import selectArea from '../../components/selectArea.vue';
  59. export default {
  60. components: {
  61. tabber,
  62. productList,
  63. PrivacyAgreementPoup,
  64. WorkOrderitem,
  65. },
  66. data() {
  67. return {
  68. list: [
  69. 'https://cdn.uviewui.com/uview/swiper/swiper1.png',
  70. 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  71. 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  72. ],
  73. area: '长沙',
  74. text: '长沙市刘师傅在服务过程中客户投诉“服务过程中有不文明的行为”.....',
  75. queryParams: {
  76. pageNo: 1,
  77. pageSize: 10,
  78. title: ''
  79. },
  80. bannerList: [{
  81. url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  82. },
  83. {
  84. url: 'https://cdn.uviewui.com/uview/swiper/swiper2.png',
  85. },
  86. {
  87. url: 'https://cdn.uviewui.com/uview/swiper/swiper3.png',
  88. },
  89. ],
  90. }
  91. },
  92. computed: {
  93. },
  94. methods: {
  95. }
  96. }
  97. </script>
  98. <style scoped lang="scss">
  99. .Carousel-image {
  100. position: relative;
  101. display: inline-block;
  102. width: 100%;
  103. .search {
  104. height: 82rpx;
  105. width: 710rpx;
  106. background: #FFFFFF;
  107. margin: 20rpx auto;
  108. border-radius: 41rpx;
  109. box-sizing: border-box;
  110. padding: 0 15rpx;
  111. display: flex;
  112. align-items: center;
  113. position: absolute;
  114. top: 10px;
  115. left: 10px;
  116. //搜素框
  117. .center-area {
  118. display: flex;
  119. flex-wrap: nowrap;
  120. align-items: center;
  121. width: calc(100% - 290rpx);
  122. margin-left: 30rpx;
  123. image {
  124. width: 26rpx;
  125. height: 26rpx;
  126. }
  127. }
  128. }
  129. }
  130. .festival {
  131. margin-top: 20rpx;
  132. display: flex;
  133. justify-content: space-between;
  134. .indus {
  135. display: flex;
  136. .words {
  137. margin: 0rpx 5rpx;
  138. font-size: 27rpx;
  139. opacity: 0.8;
  140. }
  141. .horn {
  142. margin: 5rpx 10rpx;
  143. }
  144. }
  145. .arrow {
  146. padding: 8rpx;
  147. }
  148. }
  149. .task {
  150. .backimg {
  151. width: 100%;
  152. height: 320rpx;
  153. background-color: greenyellow;
  154. .Work-Order {
  155. margin: 20rpx;
  156. }
  157. }
  158. }
  159. .page {
  160. & /deep/ .uv-icon__icon {
  161. font-size: 30rpx !important;
  162. }
  163. }
  164. </style>