PageSourceSearch

https://www.mechrevo.com/en/_nuxt/BRxqMYem.js

js mechrevo.com collected 2026-10-02 11:06:31 UTC 8,495 bytes, 1 lines download raw bytes

1import{a3 as M,x as c,p as R,i as V,o as _,c as L,a as s,b as e,w as l,f as u,d as b,I as F,R as H,n as O,A as j,u as D,g as I,_ as E,O as Q}from"./CBVuVATE.js";import{u as G}from"./7wDI_HF0.js";import{I as J}from"./C-s4FLFn.js";import{_ as K}from"./CbBh4sUL.js";import{_ as W}from"./CfXGDlWm.js";import{_ as X}from"./DlqKviNY.js";import{_ as Y}from"./CKGOmlzf.js";import{g as Z}from"./84M-Bk_D.js";import{S as tt,a as st,b as ot}from"./0udINejZ.js";import{S as et}from"./D90v5NxZ.js";import{o as $}from"./pb_TXfmz.js";import{_ as k}from"./DlAUqK2U.js";import{A as it}from"./qxRBVmAk.js";import{A}from"./CkJpP-Nn.js";import"./D2ILL_is.js";import"./DjAMax5V.js";import"./D_55ujGA.js";import"./DqyvCMfs.js";import"./Deuc0E8-.js";import"./D1ihiQni.js";import"./D1mFsme-.js";import"./D6qJbdzf.js";import"./B9yxvNgP.js";import"./BWPJAYnm.js";import"./DDkvXkMO.js";import"./BvDKD9B8.js";import"./BUbgdMAE.js";import"./C9PSfLM3.js";import"./CX9Zmyoh.js";import"./wy6QX1Ie.js";import"./Dua2NKO9.js";import"./C13c8upd.js";import"./CpVhHdWL.js";import"./BOzQKgBA.js";import"./BQNm_k1a.js";import"./CLFzEa0p.js";import"./MhBZj6m4.js";const nt={class:"user-services-page"},lt={class:"bind-section"},rt={class:"bind-content"},at={class:"bind-form"},ct={class:"input-wrapper"},dt={class:"mx-2"},pt={class:"help-btn"},ut={class:"popular-services-section"},vt={class:"container"},mt={class:"service-cards"},_t={class:"service-card"},gt={class:"service-card"},ft={class:"service-card"},bt={class:"download-center-section"},yt={class:"container"},wt={class:"download-cards"},St={class:"download-card"},ht={class:"download-card"},xt={class:"stores-section"},It={class:"stores-container"},kt={class:"stores-content"},qt={class:"map-wrapper"},Tt={class:"list-wrapper"},Ct={class:"contact-section"},$t={class:"container"},At={class:"contact-grid"},Lt={__name:"Services",props:{initialStores:{type:Array,default:()=>[]}},setup(y){const g=y,d=M(),r=c(""),q=c(!1),i=c({provinceId:null,cityId:null,storeType:1}),v=c(g.initialStores),w=c(!1),f=c(null),a=c({latitude:null,longitude:null}),U=R(),N=async()=>{console.log("查询服务单:",r.value),U.push(`/qa?keyword=${r.value}`)},z=async()=>{try{const o=await F();if(o?.location){const t=o.location;if(t.rectangle){const[p,m]=t.rectangle.split(";"),[S,h]=p.split(",").map(Number),[x,n]=m.split(",").map(Number);a.value.longitude=(S+x)/2,a.value.latitude=(h+n)/2,console.log("用户位置:",a.value)}}}catch(o){console.error("获取用户位置失败:",o)}},T=async()=>{w.value=!0;try{const o={q:{}};i.value.provinceId&&(o.q.province_id_is=i.value.provinceId),i.value.cityId&&(o.q.city_id_is=i.value.cityId),o.q.category_is=2,i.value.storeType&&(o.q.store_type_is=i.value.storeType),a.value.latitude&&a.value.longitude&&(o.latitude=a.value.latitude,o.longitude=a.value.longitude),console.log("store params",o);const t=await Z(o);v.value=t.objects||[]}catch(o){console.error("加载门店列表失败:",o),v.value=[]}finally{w.value=!1}},P=()=>{f.value=null,T()},C=o=>{f.value=o},B=()=>{const o=d.hash;o&&H(()=>{const t=document.querySelector(o);t&&t.scrollIntoView({behavior:"smooth",block:"start"})})};return V(async()=>{await z(),v.value.length===0&&T(),B()}),(o,t)=>{const p=J,m=K,S=W,h=X,x=Y;return _(),L("div",nt,[s("section",lt,[s("div",rt,[t[6]||(t[6]=s("h2",{class:"bind-title"},"服务与支持",-1)),t[7]||(t[7]=s("p",{class:"bind-subtitle"},"欢迎使用机械革命服务与支持",-1)),s("div",at,[s("div",ct,[e(u(it),{value:r.value,"onUpdate:value":t[0]||(t[0]=n=>r.value=n),placeholder:"请输入您想了解的问题","enter-button":q.value?"查询中...":" 查 询 ",size:"large",onSearch:N},{prefix:l(()=>[s("span",dt,[e(p,{name:"https://glbfs.mechrevo.com/website/static/svgicons/find.svg",size:"24px",color:"#cccccc"})])]),_:1},8,["value","enter-button"])])]),s("button",pt,[t[5]||(t[5]=b(" 问题未解决?",-1)),s("span",{class:"highlight",onClick:t[1]||(t[1]=(...n)=>u($)&&u($)(...n))},"联系客服")])])]),s("section",ut,[s("div",vt,[t[19]||(t[19]=s("h3",{class:"section-title"},"用户服务",-1)),s("div",mt,[e(u(A),{placement:"bottom",trigger:"hover"},{content:l(()=>[...t[8]||(t[8]=[s("img",{src:"https://glbfs.mechrevo.com/website/static/images/qrcode-service.png",alt:"服务二维码",style:{width:"200px",height:"200px"}},null,-1)])]),default:l(()=>[s("div",_t,[e(p,{name:"https://glbfs.mechrevo.com/website/static/svgicons/fix.svg",size:"88px",color:"#000"}),t[9]||(t[9]=s("h4",{class:"service-title"},"线上寄修",-1)),t[10]||(t[10]=s("p",{class:"service-subtitle"},"在线申请维修服务",-1)),t[11]||(t[11]=s("span",{class:"service-action"}," 立即申请 ",-1))])]),_:1}),e(u(A),{placement:"bottom",trigger:"hover"},{content:l(()=>[...t[12]||(t[12]=[s("img",{src:"https://glbfs.mechrevo.com/website/static/images/qrcode-service.png",alt:"服务二维码",style:{width:"200px",height:"200px"}},null,-1)])]),default:l(()=>[s("div",gt,[e(p,{name:"https://glbfs.mechrevo.com/website/static/svgicons/service-list.svg",size:"88px",color:"#000"}),t[13]||(t[13]=s("h4",{class:"service-title"},"我的服务单",-1)),t[14]||(t[14]=s("p",{class:"service-subtitle"},"我的服务单、历史维修记录、维修进度",-1)),t[15]||(t[15]=s("span",{class:"service-action"}," 立即查看 ",-1))])]),_:1}),s("div",ft,[e(p,{name:"https://glbfs.mechrevo.com/website/static/svgicons/service-skills.svg",size:"88px",color:"#000"}),t[17]||(t[17]=s("h4",{class:"service-title"},"使用技巧",-1)),t[18]||(t[18]=s("p",{class:"service-subtitle"},"高效快捷的产品使用巧思",-1)),e(m,{to:"/skills",class:"service-action"},{default:l(()=>[...t[16]||(t[16]=[b(" 立即查看 ",-1)])]),_:1})])])])]),s("section",bt,[s("div",yt,[t[28]||(t[28]=s("h3",{class:"section-title"},"下载中心",-1)),s("div",wt,[s("div",St,[t[21]||(t[21]=s("img",{src:"https://glbfs.mechrevo.com/website/static/images/service-download-img1.png",alt:"驱动下载",class:"download-image"},null,-1)),t[22]||(t[22]=s("h4",{class:"download-title"},"驱动下载",-1)),t[23]||(t[23]=s("p",{class:"download-subtitle"},"官方驱动下载 享你所想",-1)),e(m,{to:"https://gwqd.mechrevo.com/service/",class:"download-action"},{default:l(()=>[...t[20]||(t[20]=[b("立即下载",-1)])]),_:1})]),s("div",ht,[t[25]||(t[25]=s("img",{src:"https://glbfs.mechrevo.com/website/static/images/service-download-img2.png",alt:"壁纸下载",class:"download-image"},null,-1)),t[26]||(t[26]=s("h4",{class:"download-title"},"壁纸下载",-1)),t[27]||(t[27]=s("p",{class:"download-subtitle"},"海量高清专属壁纸",-1)),e(m,{to:"/downloads?tab=wallpaper",class:"download-action"},{default:l(()=>[...t[24]||(t[24]=[b("立即下载",-1)])]),_:1})])])])]),s("section",xt,[s("div",It,[t[29]||(t[29]=s("h3",{class:"section-title"},"全国服务网点",-1)),t[30]||(t[30]=s("p",{class:"section-subtitle"},"定位您附近的机械革命互联网服务中心及特约服务站,选择售后维修、技术支持等品牌服务",-1)),e(tt,{"province-id":i.value.provinceId,"onUpdate:provinceId":t[2]||(t[2]=n=>i.value.provinceId=n),"city-id":i.value.cityId,"onUpdate:cityId":t[3]||(t[3]=n=>i.value.cityId=n),"store-type":i.value.storeType,"onUpdate:storeType":t[4]||(t[4]=n=>i.value.storeType=n),onSearch:P},null,8,["province-id","city-id","store-type"]),s("div",kt,[s("div",qt,[e(st,{stores:v.value,"selected-store":f.value,onSelectStore:C},null,8,["stores","selected-store"])]),s("div",Tt,[e(ot,{stores:v.value,loading:w.value,"selected-store":f.value,onSelectStore:C},null,8,["stores","loading","selected-store"])])])])]),e(et),s("section",Ct,[s("div",$t,[t[31]||(t[31]=s("h3",{class:"section-title"},"联系我们",-1)),s("div",At,[e(S),e(h)])])]),e(x)])}}},Ut=k(Lt,[["__scopeId","data-v-6c9bce9f"]]),Nt={class:"mobile-user-services"},zt={__name:"Services",props:{initialStores:{type:Array,default:()=>[]}},setup(y){return(g,d)=>(_(),L("div",Nt,[...d[0]||(d[0]=[s("div",{class:"temp-notice"},[s("h2",null,"我的服务单 (移动端)"),s("p",null,"移动端版本正在开发中..."),s("p",null,"请使用PC端访问完整功能")],-1)])]))}},Pt=k(zt,[["__scopeId","data-v-d195611a"]]),Bt={class:"services-full-page"},Mt={__name:"index",setup(y){const{isMobile:g}=G(),d=O();return j(()=>d.isLoggedIn,r=>{console.log("登录状态变化:",r),r||Q("/")}),D({title:"我的服务单 - 机械革命"}),(r,q)=>{const i=E;return _(),I(i,null,{default:l(()=>[s("div",Bt,[u(g)?(_(),I(Pt,{key:1})):(_(),I(Ut,{key:0}))])]),_:1})}}},Ss=k(Mt,[["__scopeId","data-v-fd00671d"]]);export{Ss as default};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.