PageSourceSearch

https://friend-shop.org/build/assets/Favorite-22920d07.js

js friend-shop.org collected 2026-10-05 08:47:09 UTC 2,231 bytes, 1 lines download raw bytes

1import{O as _}from"./app-3e27f082.js";import{G as r}from"./GetShopsByMember-65cb1e9d.js";import{M as d,I as f}from"./vue-infinite-loading.esm-5d5760b5.js";import{a as u,c as g,b as o,t as S,e as n,d as b,h as v,w as a,l as y,r as l,o as p}from"./vendor-3ad82d66.js";import"./MoleculeShopBusinessTime-7e507243.js";import"./PreferenceGetApi-8ab14e22.js";import"./OrganismSearchToggleFavorte-23289e7e.js";const I={components:{OrganismLayoutHeader:_,MoleculeShopSearchItem:d,InfiniteLoading:f},data(){return{shops:[],page:1,limit:50,totalShops:0,infiniteId:0,init:!1}},methods:{async initGetShops(){try{const t={page:this.page,limit:this.limit},e=await r(t);this.shops=e.response.data,this.totalShops=e.response.total,this.page++,console.log("init"),this.init=!0}catch(t){console.error("エラーが発生しました:",t)}},async getMoreShops(t){if(!this.init){t&&t.loaded();return}try{const e={page:this.page,limit:this.limit},s=await r(e);this.totalShops=s.response.total,s.response.data.length?(this.shops.push(...s.response.data),this.page++,t&&t.loaded()):t&&t.complete()}catch(e){console.error("エラーが発生しました:",e),t&&t.complete()}}},mounted(){this.init||this.initGetShops()}},w={class:"l_base gray_base"},M={class:"l_base_wrapper"},x={class:"l_base_wrapper_title"},B={class:"organism_search_content_lower_items mt-20 viewList"};function L(t,e,s,k,i,c){const h=l("MoleculeShopSearchItem"),m=l("infinite-loading");return p(),g("div",w,[o("div",M,[o("div",x,[o("p",null,"お気に入り店舗 - "+S(i.totalShops)+"件",1),e[0]||(e[0]=o("p",{class:"mt-5"},[n(" お気に入り登録した店舗を確認することができます。"),o("br"),n(" 店舗が削除された場合や非掲載になった場合、自動でお気に入り登録が解除され表示されなくなります。 ")],-1))]),o("div",B,[b(h,{lists:i.shops,location:!1,class:"mt-10",favoriteList:i.shops},null,8,["lists","favoriteList"]),i.init?(p(),v(m,{key:0,onInfinite:c.getMoreShops},{"no-more":a(()=>e[1]||(e[1]=[n(" 全件取得しました ")])),"no-results":a(()=>e[2]||(e[2]=[n(" 全件取得しました ")])),_:1},8,["onInfinite"])):y("",!0)])])])}const E=u(I,[["render",L],["__scopeId","data-v-b320b944"]]);export{E 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.