maintenance.vue 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323
  1. <template>
  2. <view class="content">
  3. <view class="top">
  4. <view class="tabBox">
  5. <view class="tabline tabActive" >我的</view>
  6. <view class="tabline" >全部</view>
  7. </view>
  8. <view class="qiehuanBOx">
  9. <view class="tabBox2">
  10. <view class="tabline2 tabActive2">未处理 (7)</view>
  11. <view class="tabline2">处理中 (99+)</view>
  12. <view class="tabline2">已完成</view>
  13. <view class="tabline2">全部</view>
  14. </view>
  15. </view>
  16. <view class="topPadding">
  17. <view class="searchBox">
  18. <view class="searchInputBox">
  19. <image src="../../static/img/icon_search.png" mode="" class="searchIcon"></image>
  20. <input type="text" placeholder="单号、车牌号、客户姓名、手机号 " class="searchInput">
  21. </view>
  22. <view class="searchBtnBox">
  23. <image src="../../static/img/shaixuan.png" mode="" class="shaixuan"></image>
  24. <span class="searchBtnSpan">筛选</span>
  25. </view>
  26. </view>
  27. <view class="sxBox">
  28. <view class="sxLine">
  29. <span>提醒类别</span>
  30. <image src="../../static/img/arrow_down.png" mode="" class="downIcon"></image>
  31. </view>
  32. <view class="sxLine">
  33. <span>下次服务日期</span>
  34. <image src="../../static/img/arrow_down.png" mode="" class="downIcon"></image>
  35. </view>
  36. <view class="sxLine">
  37. <span>上次消费门店</span>
  38. <image src="../../static/img/arrow_down.png" mode="" class="downIcon"></image>
  39. </view>
  40. </view>
  41. </view>
  42. </view>
  43. <view class="lineBox">
  44. <view class="line" @click="goDetail()">
  45. <view class="codeBox">
  46. <view class="code">TX202209090009</view>
  47. <view class="linestate">提醒单状态</view>
  48. </view>
  49. <view class="lineCont">
  50. <view class="lineCtop">
  51. <view class="lineCtopLeft">
  52. <view class="name">鲁A29090</view>
  53. <view class="name" style="padding-left: 30rpx;">张珊</view>
  54. <image src="../../static/img/wechat.png" mode="" class="weChat"></image>
  55. <image src="../../static/img/wx1.png" mode="" class="weChat"></image>
  56. </view>
  57. <image src="../../static/img/lanCall.png" mode="" class="call"></image>
  58. </view>
  59. <view class="lineMs1">东风日产-轩逸-2022款 e-POWER 超智PLUS</view>
  60. <view class="lineMs1">上次到店:2019-05-12</view>
  61. <view class="lineMs2">
  62. <view>下次保养:2016-06-25</view>
  63. <view class="day">剩15天到期</view>
  64. </view>
  65. <view class="lineMs3">
  66. <view>提醒类别:机油滤清器备份</view>
  67. <view>处理人:张三</view>
  68. </view>
  69. </view>
  70. <view class="lineBottom">
  71. <view class="lineB">
  72. <image src="../../static/img/bcall.png" mode="" class="lineBIcon"></image>
  73. <view class="lineBtxt">电话</view>
  74. </view>
  75. <view class="lineB">
  76. <image src="../../static/img/duanxin.png" mode="" class="lineBIcon"></image>
  77. <view class="lineBtxt">短信</view>
  78. </view>
  79. <view class="lineB">
  80. <image src="../../static/img/bwx.png" mode="" class="lineBIcon"></image>
  81. <view class="lineBtxt">微信</view>
  82. </view>
  83. <view class="lineB">
  84. <image src="../../static/img/bwc.png" mode="" class="lineBIcon"></image>
  85. <view class="lineBtxt">完成</view>
  86. </view>
  87. </view>
  88. </view>
  89. </view>
  90. </view>
  91. </template>
  92. <script>
  93. export default {
  94. data() {
  95. return {
  96. iStatusBarHeight:'',
  97. token:'',
  98. uid:'',
  99. }
  100. },
  101. onLoad(opt) {
  102. console.log(window.location.origin)
  103. //this.url=window.location.origin
  104. this.iStatusBarHeight = uni.getSystemInfoSync().statusBarHeight;
  105. this.token=opt.token;
  106. this.uid=opt.uid
  107. },
  108. methods: {
  109. getList(){
  110. //console.log("list")
  111. },
  112. goDetail(){
  113. uni.navigateTo({
  114. url:'maintenanceDetail'
  115. })
  116. }
  117. },
  118. onPullDownRefresh() {
  119. this.page = 1;
  120. this.getList()
  121. setTimeout(function() {
  122. uni.stopPullDownRefresh();
  123. }, 1000);
  124. }
  125. }
  126. </script>
  127. <style scoped>
  128. .content{
  129. min-height: 100vh;
  130. background: #F6F6F6;
  131. }
  132. .tabBox{
  133. display: flex;justify-content: space-around;
  134. }
  135. .tabline{
  136. font-size: 30rpx;
  137. color: #666666;
  138. width: 134rpx;
  139. text-align: center;
  140. line-height: 76rpx;
  141. }
  142. .top{
  143. background: #ffffff;
  144. }
  145. .tabActive{
  146. color: #3F90F7;border-bottom: 4rpx solid #3F90F7;
  147. }
  148. .tabBox2{
  149. display: flex;
  150. line-height: 58rpx;
  151. border: 1px solid #EEEEEE;
  152. border-radius: 6rpx;
  153. overflow: hidden;
  154. }
  155. .qiehuanBOx{
  156. padding: 20rpx 34rpx 0 34rpx;
  157. }
  158. .tabline2{
  159. width: 25%;text-align: center;
  160. font-size: 26rpx;
  161. color: #333333;
  162. }
  163. .tabActive2{
  164. color: #3F90F7;background: rgba(63,144,247,0.08);
  165. }
  166. .topPadding{
  167. padding: 20rpx 24rpx;
  168. }
  169. .shaixuan{
  170. width: 32rpx;
  171. height: 32rpx;
  172. }
  173. .searchBox{
  174. display: flex;
  175. }
  176. .searchInputBox{
  177. display: flex;
  178. width: 572rpx;
  179. height: 72rpx;
  180. background: #F4F5F7;
  181. border-radius: 36rpx;
  182. }
  183. .searchIcon{
  184. width: 40rpx;height: 40rpx;
  185. margin-top: 16rpx;
  186. margin-left: 20rpx;
  187. }
  188. .searchInput{
  189. height: 72rpx;
  190. line-height: 73rpx;
  191. padding-left: 11px;
  192. font-size: 26rpx;
  193. color: #999999;
  194. width: 400rpx;
  195. }
  196. .searchBtnBox{
  197. display: flex;
  198. padding: 20rpx;
  199. }
  200. .searchBtnSpan{
  201. line-height: 32rpx;padding-left:10rpx ;
  202. font-size: 26rpx;
  203. color: #333333;
  204. }
  205. .downIcon{
  206. width: 24rpx;height: 24rpx;
  207. margin-top: 6rpx;margin-left: 6rpx;
  208. }
  209. .sxLine{
  210. display: flex;
  211. font-size: 26rpx;
  212. color: #3C3C3C;
  213. line-height: 36rpx;
  214. }
  215. .sxBox{
  216. display: flex;justify-content: space-between;
  217. padding-top: 36rpx;
  218. }
  219. .line{
  220. background: #FFFFFF;
  221. border-radius: 10rpx;
  222. margin-top: 20rpx;
  223. }
  224. .lineBox{
  225. padding: 0 24rpx;
  226. }
  227. .codeBox{
  228. border-bottom: 1px solid #EEEEEE;
  229. padding: 20rpx;
  230. display: flex;
  231. justify-content: space-between;
  232. font-size: 26rpx;
  233. color: #999999;
  234. line-height: 37rpx;
  235. }
  236. .linestate{
  237. color: #3F90F7;
  238. }
  239. .lineCtopLeft{
  240. display: flex;
  241. font-weight: 500;
  242. font-size: 30rpx;
  243. color: #3C3C3C;
  244. line-height: 38rpx;
  245. }
  246. .weChat{
  247. width: 38rpx;height: 31rpx;
  248. margin-left: 16rpx;
  249. margin-top: 2rpx;
  250. }
  251. .lineCont{
  252. padding: 20rpx;
  253. border-bottom: 1px solid #EEEEEE;
  254. }
  255. .lineMs1{
  256. font-size: 24rpx;
  257. color: #999999;
  258. padding-top: 10rpx;
  259. }
  260. .lineMs2{
  261. display: flex;
  262. padding-top: 10rpx;
  263. line-height: 36rpx;
  264. font-weight: 500;
  265. font-size: 24rpx;
  266. color: #3C3C3C;
  267. }
  268. .day{
  269. background: #FEF8EB;
  270. border-radius: 4rpx;
  271. height: 36rpx;
  272. font-size: 22rpx;
  273. color: #F19D01;
  274. line-height: 36rpx;
  275. padding: 0 10rpx;
  276. font-weight: 400;
  277. margin-left: 20rpx;
  278. }
  279. .lineMs3{
  280. display: flex;
  281. padding-top: 10rpx;
  282. line-height: 36rpx;
  283. font-weight: 500;
  284. font-size: 24rpx;
  285. color: #3C3C3C;
  286. justify-content: space-between;
  287. }
  288. .call{
  289. width: 40rpx;height: 40rpx;
  290. }
  291. .lineCtop{
  292. display: flex;justify-content: space-between;
  293. }
  294. .lineBottom{
  295. display: flex;
  296. justify-content: space-between;
  297. padding: 26rpx 30rpx;
  298. }
  299. .lineBIcon{
  300. width: 32rpx;height: 32rpx;
  301. }
  302. .lineB{
  303. display: flex;line-height: 32rpx;
  304. }
  305. .lineBtxt{
  306. font-size: 26rpx;
  307. color: #333333;
  308. padding-left: 6rpx;
  309. }
  310. </style>