工单小程序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.

188 lines
3.1 KiB

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