PageSourceSearch

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

js mechrevo.com collected 2026-10-02 11:06:18 UTC 3,408 bytes, 1 lines download raw bytes

1import{u as b}from"./7wDI_HF0.js";import{_ as x}from"./CfXGDlWm.js";import{_ as T}from"./DlqKviNY.js";import{g as q}from"./84M-Bk_D.js";import{i as w,o as u,c as y,a as s,b as r,I as U,x as l,u as B,g as C,J as L,f as N}from"./CBVuVATE.js";import{S as k,a as M,b as P}from"./0udINejZ.js";import{S as $}from"./D90v5NxZ.js";import{_ as g}from"./DlAUqK2U.js";import"./C-s4FLFn.js";import"./pb_TXfmz.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";const D={class:"stores-page-pc"},V={class:"offline-stores-section"},j={class:"container"},E={class:"stores-content"},F={class:"map-wrapper"},H={class:"list-wrapper"},J={class:"contact-section"},O={class:"container"},z={class:"contact-grid"},A={__name:"StoresPage",setup(S){const e=l({provinceId:null,cityId:null,storeType:null}),n=l([]),c=l(!1),p=l(null),a=l({latitude:null,longitude:null}),I=async()=>{try{const t=await U();if(console.log("location result:",t),t&&(t.province_id&&(e.value.provinceId=t.province_id),t.city_id&&(e.value.cityId=t.city_id),t.location?.rectangle)){const[o,d]=t.location.rectangle.split(";"),[m,i]=o.split(",").map(Number),[Q,R]=d.split(",").map(Number);console.log("用户位置:",a.value)}}catch(t){console.error("获取用户位置失败:",t)}},v=async()=>{c.value=!0;try{const t={q:{}};e.value.provinceId&&(t.q.province_id_is=e.value.provinceId),e.value.cityId&&(t.q.city_id_is=e.value.cityId),t.q.category_is=2,e.value.storeType&&(t.q.store_type_is=e.value.storeType),a.value.latitude&&a.value.longitude&&(t.latitude=a.value.latitude,t.longitude=a.value.longitude);const o=await q(t);n.value=o.objects||[]}catch(t){console.error("加载门店列表失败:",t),n.value=[]}finally{c.value=!1}},h=()=>{p.value=null,v()},_=t=>{p.value=t};return w(async()=>{await I(),v()}),(t,o)=>{const d=x,m=T;return u(),y("div",D,[s("div",V,[s("div",j,[o[3]||(o[3]=s("h1",{class:"section-title"},"全国服务网点",-1)),o[4]||(o[4]=s("p",{class:"section-subtitle"},"定位您附近的机械革命互联网服务中心及特约服务站,选择售后维修、技术支持等品牌服务",-1)),r(k,{"province-id":e.value.provinceId,"onUpdate:provinceId":o[0]||(o[0]=i=>e.value.provinceId=i),"city-id":e.value.cityId,"onUpdate:cityId":o[1]||(o[1]=i=>e.value.cityId=i),"store-type":e.value.storeType,"onUpdate:storeType":o[2]||(o[2]=i=>e.value.storeType=i),onSearch:h},null,8,["province-id","city-id","store-type"]),s("div",E,[s("div",F,[r(M,{stores:n.value,"selected-store":p.value,onSelectStore:_},null,8,["stores","selected-store"])]),s("div",H,[r(P,{stores:n.value,loading:c.value,"selected-store":p.value,onSelectStore:_},null,8,["stores","loading","selected-store"])])])])]),r($),s("section",J,[s("div",O,[o[5]||(o[5]=s("h3",{class:"section-title"},"联系我们",-1)),s("div",z,[r(d),r(m)])])])])}}},f=g(A,[["__scopeId","data-v-5d38414a"]]),G={class:"stores-page"},K={__name:"outlets",setup(S){const{isMobile:e}=b();return B({title:"服务网点 - 机械革命官方网站"}),(n,c)=>(u(),y("div",G,[(u(),C(L((N(e),f))))]))}},Tt=g(K,[["__scopeId","data-v-df2730cb"]]);export{Tt 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.