Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
pirms 11 mēnešiem
1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. import {
  2. getItem
  3. } from "@/utils/storage";
  4. export function jump(type,item){
  5. console.log("type",type,item)
  6. let data=""//传递过来的数据
  7. if(item){
  8. data = JSON.parse(decodeURIComponent(item))
  9. }
  10. let path=""
  11. let jumpType=type //1 obu重新激活 2 卡签注销 3 首次激活 4客车个人用户办理etc 5更换设备 6卡签续期 7申请换货 8申请退货 9申请补货
  12. // 10 上传身份信息 11待支付 12待签约 13异地-邮寄地址填写
  13. if(jumpType=="1"){
  14. path="pages/route/index"
  15. }else if(jumpType=="2"){
  16. path="pages/route/index"
  17. }else if(jumpType=="3"){
  18. path="pages/route/index"
  19. }else if(jumpType=="4"){
  20. path="pages/route/index"
  21. }else if(jumpType=="5"){
  22. path="pages/route/index"
  23. }else if(jumpType=="6"){ //卡签续期 renevalType
  24. path="pages/route/index"
  25. }else if(jumpType=="7"){
  26. path="pages/route/index"
  27. }else if(jumpType=="8"){
  28. path="pages/route/index"
  29. }else if(jumpType=="9"){
  30. path="pages/route/index"
  31. }else if(jumpType=="10"){
  32. path="pages/route/index"
  33. }else if(jumpType=="11"){
  34. path="pages/route/index"
  35. }else if(jumpType=="12"){
  36. path="pages/route/index"
  37. }else if(jumpType=="13"){
  38. path="pages/route/index"
  39. }
  40. console.log("===",getItem("QYorder").openid,data.vehicleId,data.cardId,jumpType)
  41. uni.navigateToMiniProgram({
  42. appId: "wxbcad394b3d99dac9",
  43. path: path,
  44. extraData: {
  45. openid: getItem("QYorder").openid,
  46. access_token: getItem("QYorder").access_token,
  47. mobile: getItem("mobile"),
  48. vehicleId: data.vehicleId?data.vehicleId:"",
  49. cardId: data.cardId?data.cardId:"",
  50. obuId: data.obuId?data.obuId:"" ,
  51. },
  52. success(res) {
  53. console.log(res);
  54. },
  55. complete(res) {
  56. console.log(res);
  57. },
  58. fail(res) {
  59. console.log(res);
  60. // 未成功跳转到车主小程序
  61. },
  62. })
  63. }