/
home
/
henzagold
/
apps
/
export
/
assets
/
File Upload :
llllll
Current File: /home/henzagold/apps/export/assets/index.9a8d1172.js
import{_ as P}from"./appHeader.7bbeb366.js";import{d as w,b as _,e,t as $,o as r,r as i,a9 as F,s as j,A as B,q as d,aa as L,f as p,i as h,F as C,x as q,u as x,I as y,l as b}from"./index.6982c472.js";import{g as I}from"./getProducts.224cc39c.js";import{_ as N}from"./singleProduct.9e82dd6b.js";import{u as S}from"./cartStore.bcfeb013.js";import{D as z}from"./index.15160351.js";import"./spinner.5fac11eb.js";import"./useConfigInject.b37e8c32.js";import"./index.5e076518.js";import"./Spin.03d97927.js";import"./debounce.45c0f724.js";import"./NotifyVant.19975153.js";import"./dialogEmpty1.ef73bb54.js";import"./DialogVant.d6e65bcb.js";import"./index.b7ecf3c3.js";import"./button.c462028f.js";import"./classCallCheck.1610f517.js";import"./getScrollBarSize.d041c417.js";import"./KeyCode.246a5a61.js";import"./omit.f55b5552.js";import"./PortalWrapper.b15d1d58.js";const V={class:"flex flex-col items-center justify-center justify-items-center font-bold text-lg",style:{color:"#8c6a48"}},E=["src"],M={class:""},R=w({__name:"CollectionCard",props:{item:{}},setup(v){return S(v.item),(o,n)=>{var u,c,l;return r(),_("div",V,[e("img",{class:"w-[6rem] h-[6rem]",src:(c=(u=o.item)==null?void 0:u.tmobile)==null?void 0:c.full},null,8,E),e("span",M,$((l=o.item)==null?void 0:l.max_gram)+" \u06AF\u0631\u0645 ",1)])}}}),U={class:"grid grid-cols-10 justify-center items-center"},G={class:"w-full col-span-8 flex mb-0 justify-center items-center h-[19px]"},H={class:"bold mb-0 text-white"},J=e("div",{class:"w-full col-span-1"},null,-1),K=e("span",null,null,-1),O={class:"flex flex-col gap-4 m-4 p-2 bg-gray-50 h-[90vh] rounded-lg"},Q=e("span",{class:"text-center font-bold mt-2"},"\u0628\u0631\u0627\u06CC \u0645\u0634\u0627\u0647\u062F\u0647 \u062C\u0632\u0626\u06CC\u0627\u062A \u0645\u062D\u0635\u0648\u0644 \u0631\u0648\u06CC \u0622\u06CC\u062A\u0645 \u0636\u0631\u0628\u0647 \u0628\u0632\u0646\u06CC\u062F",-1),ge=w({__name:"index",setup(v){const t=i(!1),o=F(),n=i(),u=i(!1),c=i(!1),{getProducts:l}=I(),s=j({totalPages:0,productList:[],flag:!1});B(async()=>{d.value.ciny_id=[Number(o.params.id)],d.value.limit=28,await l(d,s,u,!1),console.log(s.productList)});const k=f=>{n.value=f,t.value=!0},A=()=>{t.value=!1},D=async()=>{await l(d,s,c,!0)},g=i(null);return L(g,()=>{D(),console.log("safdfdfdlam")},{distance:50}),(f,m)=>(r(),_(C,null,[e("div",null,[p(P,null,{default:h(()=>[e("nav",U,[e("div",{class:"w-full col-span-1",onClick:m[0]||(m[0]=a=>f.$router.push({name:"search"}))},[p(y,{icon:"vuesax-linear:arrow-right-1",class:"ml-2 text-white",size:"19"})]),e("div",G,[p(y,{icon:"vuesax-linear:money-2",class:"ml-2 text-white",size:"19"}),e("h4",H,$(x(o).query.page),1)]),J,K])]),_:1}),e("div",O,[Q,e("div",{class:"grid grid-cols-4 gap-8 overflow-y-auto mx-4",ref_key:"scrollArea",ref:g},[(r(!0),_(C,null,q(s==null?void 0:s.productList,a=>(r(),b(R,{onClick:T=>k(a.id),item:a},null,8,["onClick","item"]))),256))],512)])]),p(x(z),{visible:t.value,"onUpdate:visible":m[1]||(m[1]=a=>t.value=a),placement:"bottom",closable:!1,class:"rtl",height:"100vh",bodyStyle:{padding:0,position:"relative"}},{default:h(()=>[(r(),b(N,{id:n.value,onCloseDrawer:A,key:n.value},null,8,["id"]))]),_:1},8,["visible"])],64))}});export{ge as default};
Copyright ©2k19 -
Hexid
|
Tex7ure