index-fe0d94d1.js 16 KB

1
  1. import{c as M,d as n,a as e,t as S,m as I,k as L,A as l,U as v,I as d,D as b,a2 as w,Q as z,L as N,C as h,a3 as k}from"./index-521a9826.js";import{i as F,A as j}from"./index-c783d99f.js";import{I as g}from"./index-25b5c9d0.js";import{L as _}from"./index-b1810e0a.js";import{C as p}from"./index-1ad6a58d.js";import{R as f,a as A}from"./index-7811aba5.js";import{T as c}from"./index-544f4e19.js";import{M as T}from"./index-304d023e.js";import{M as Q}from"./index-c0ea6da9.js";import{T as B,a as G}from"./index-d7ab4b9c.js";import{R as x,C as u}from"./index-163db0a7.js";import"./student-register-store-b6550ec0.js";import"./index-62c45bca.js";import"./use-tab-status-da6d8e9f.js";import"./Checker-1ada2d85.js";import"./index-e6f760ef.js";import"./index-fdaad3c0.js";import"./index-5b82f39e.js";const[U,D]=M("divider"),q={dashed:Boolean,hairline:S,vertical:Boolean,contentPosition:I("center")};var P=n({name:U,props:q,setup(t,{slots:i}){return()=>{var o;return e("div",{role:"separator",class:D({dashed:t.dashed,hairline:t.hairline,vertical:t.vertical,[`content-${t.contentPosition}`]:!!i.default&&!t.vertical})},[!t.vertical&&((o=i.default)==null?void 0:o.call(i))])}}});const V=L(P),E="_goods_126oz_1",W="_goodsSection_126oz_9",Y="_sellOut_126oz_14",H="_sellOutImg_126oz_25",X="_goodsImg_126oz_29",R="_goodsInfo_126oz_33",J="_goodsName_126oz_37",O="_goodsSale_126oz_43",K="_pre_126oz_48",Z="_goodsPrice_126oz_51",$="_addCart_126oz_57",tt="_addCartDisabled_126oz_62",a={goods:E,goodsSection:W,sellOut:Y,sellOutImg:H,goodsImg:X,goodsInfo:R,goodsName:J,goodsSale:O,pre:K,goodsPrice:Z,addCart:$,addCartDisabled:tt},et="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABv5JREFUWMO1mWtoHFUUx39ndlPdbjZWE1ub+EDSVmpq41uQanwQSOurRKE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Jjvl3h9P/FLGr/jsdly6QJsr53OUgwoIgzh0ywMj/+21lyWKtCHaAXIzkIqmgLVKPwG8S9LplQf3/r8XiyHFH5qVJuMsAryrW5iHUIcjmbxLl65ucYYQBkgc2yoP/3LkeOf8B3/2NoYhPL/pAAAAAElFTkSuQmCC",it=n({name:"goods",props:{showAdd:{type:Boolean,default:!0},item:{type:Object,default:{}},onItemClick:{type:Function,default:t=>{}},onBuyClick:{type:Function,default:t=>{}}},render(){const t=this.item;return e("div",{class:a.goods,onClick:()=>this.onItemClick(t)},[e("div",{class:a.goodsSection},[e(g,{src:t.pic,fit:"cover",class:a.goodsImg},null),t.stock<=0&&e("div",{class:a.sellOut},[e(g,{src:F,fit:"cover",class:a.sellOutImg},null)])]),e("div",{class:a.goodsInfo},[e("div",{class:[a.goodsName,"van-ellipsis"]},[t.name]),e("div",{class:a.goodsBuy},[e("p",{class:a.goodsPrice},[e("span",{class:a.pre},[l("¥")]),v(t.price)]),this.showAdd&&e(d,{class:[a.addCart,t.stock<=0&&a.addCartDisabled],name:et,size:22,onClick:i=>{i.stopPropagation(),t.stock>0&&this.onBuyClick(t)}},null)])])])}}),ot="_tabList_1we34_1",st="_goodsList_1we34_6",y={tabList:ot,goodsList:st},at=n({name:"tab-list",props:{showAdd:{type:Boolean,default:!0},typeId:{type:Number,default:0},productAttributeCategoryId:{type:[Number,String],default:0},brandId:{type:[Number,String],default:0},sort:{type:Number,defalut:0},keyword:{type:String,defalut:""},isTab:{type:Boolean,default:!1},onOpenWebView:{type:Function,default:t=>{}}},data(){return{list:[],loading:!1,finished:!1,params:{productCategoryId:void 0,productAttributeCategoryId:void 0,brandId:null,sort:null,keyword:"",pageNum:1,pageSize:20},addGoodsShow:!1,selectGoodsItem:{}}},mounted(){this.getList()},methods:{onSearch(){this.finished=!1,this.list=[],this.params.pageNum=1,this.getList()},async getList(){this.loading=!0;try{let t=this.params;t.productCategoryId=this.typeId?this.typeId:void 0,t.productAttributeCategoryId=this.productAttributeCategoryId?this.productAttributeCategoryId:void 0,t.brandId=this.brandId?this.brandId:void 0,t.sort=this.sort?this.sort:void 0,t.keyword=this.keyword?this.keyword:void 0;const o=(await b.post("/edu-app/open/mall/productSearch",{noAuthorization:!0,data:{...t}})).data||{};if(this.list.length>0&&o.pageNum===1)return;this.list=this.list.concat(o.list||[]),this.finished=o.pageNum>=o.totalPage,this.params.pageNum=o.pageNum+1}catch(t){this.finished=!0}this.loading=!1},onDetailClick(t){if(this.isTab){let i=this.$router.resolve({path:"/goodsDetail",query:{id:t.id}}).fullPath;this.onOpenWebView(i);return}this.$router.push({path:"/goodsDetail",query:{id:t.id}})},onBuyClick(t){this.selectGoodsItem=t,this.addGoodsShow=!0}},render(){return e("div",{class:y.tabList},[e(_,{loading:this.loading,"onUpdate:loading":t=>this.loading=t,finished:this.finished,finishedText:"",immediateCheck:!1,class:[y.goodsList,"mb12"],style:{height:this.list.length?"auto":"100%"},onLoad:this.getList},{default:()=>[this.list.length&&this.list.map(t=>e(it,{item:t,onItemClick:this.onDetailClick,onBuyClick:this.onBuyClick,showAdd:this.showAdd},null))||null,!this.loading&&!this.list.length&&e(w,{description:"暂无商品"},null)||null]}),e(z,{show:this.addGoodsShow,closeable:!0,position:"bottom",round:!0,onClose:()=>{this.addGoodsShow=!1}},{default:()=>[e(j,{show:this.addGoodsShow,onClose:()=>{this.addGoodsShow=!1},item:this.selectGoodsItem},null)]})])}}),rt="_arrowLeft_alev1_7",lt="_active_alev1_23",dt="_filterBtn_alev1_27",nt="_filterTagWrap_alev1_30",ct="_filterTag_alev1_30",ut="_filterSort_alev1_76",ht="_iconSort_alev1_86",s={arrowLeft:rt,"filter-top":"_filter-top_alev1_11",active:lt,filterBtn:dt,filterTagWrap:nt,filterTag:ct,"filter-productCategory":"_filter-productCategory_alev1_46","filter-tag":"_filter-tag_alev1_62","filter-tag-checked":"_filter-tag-checked_alev1_72",filterSort:ut,"icon-active":"_icon-active_alev1_83",iconSort:ht},gt="data:image/png;base64,iVBORw0KGg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X8VhrEa1XkFTuA4QjsGa6TO+kM7zVWkeDFnbA++X++Sum/jo4LTA5zTJyW1GNyCco3zdnJbJXvdfrcbOVT2k9Aduel0li4caAFdnYXrTqbG6woCjxStXUzSQqqQTGiHfz0iT+b4bjprcCHAvLqJmK0o7otCOPn/ge3HX6f5CshyRDf8A+1CqQq9qjYSAAAAAElFTkSuQmCC",ft="_loading_8b9qx_1",At="_titlePopup_8b9qx_7",yt="_title_8b9qx_7",mt="_radio_8b9qx_21",Ct="_filterAction_8b9qx_59",r={loading:ft,titlePopup:At,title:yt,"radio-group":"_radio-group_8b9qx_21",radio:mt,filterAction:Ct};function m(t){return typeof t=="function"||Object.prototype.toString.call(t)==="[object Object]"&&!k(t)}const C=()=>({productAttributeCategoryList:null,brandList:null}),bt=n({name:"goods-filter-list",props:{setFilter:{type:Function,default:t=>{}},cateGoryId:{type:Number,default:0}},data(){return{dataShow:!0,loading:!1,brandList:[],productAttributeCategoryList:[],productCategorySmallVoList:[],params:C()}},mounted(){this.getFilterList()},methods:{async getFilterList(){this.loading=!0;try{const t=await b.get("/edu-app/open/mall/search/condition",{noAuthorization:!0});this.dataShow=t.code===200;const{brandList:i=[],productAttributeCategoryList:o=[]}=t.data||{};this.brandList=i,this.productAttributeCategoryList=o}catch(t){this.dataShow=!1}this.loading=!1},onFilterClick(){this.setFilter({productCategory:this.productCategorySmallVoList[this.params.productCategorySmallVoList],productAttributeCategory:this.productAttributeCategoryList[this.params.productAttributeCategoryList],brand:this.brandList[this.params.brandList]})},setParams(t){this.params[t]=null}},render(){return e("div",null,[this.loading&&e("div",{class:r.loading},[e(N,{color:"var(--van-primary)"},null)]),e("div",{class:r.filterWrap},[e("div",{class:r.titlePopup},[l("筛选")]),e(p,{border:!1,title:"商品类型"},{label:()=>{let t;return e(f,{class:r["radio-group"],modelValue:this.params.productAttributeCategoryList,"onUpdate:modelValue":i=>this.params.productAttributeCategoryList=i},m(t=this.productAttributeCategoryList.map((i,o)=>e(A,{key:i.id,class:r.radio,name:o,onClick:()=>{}},{default:()=>[e(c,{size:"large",plain:!0,type:o===this.params.productAttributeCategoryList?"primary":"default"},{default:()=>[i.name]})]})))?t:{default:()=>[t]})}}),e(p,{border:!1,title:"品牌"},{label:()=>{let t;return e(f,{class:r["radio-group"],modelValue:this.params.brandList,"onUpdate:modelValue":i=>this.params.brandList=i},m(t=this.brandList.map((i,o)=>e(A,{key:i.id,class:r.radio,name:o,onClick:()=>{}},{default:()=>[e(c,{size:"large",plain:!0,type:o===this.params.brandList?"primary":"default"},{default:()=>[i.name]})]})))?t:{default:()=>[t]})}}),e(V,{style:{margin:"0"}},null),e("div",{class:r.filterAction},[e(h,{round:!0,style:{marginRight:"8px"},onClick:()=>this.params=C()},{default:()=>[l("重置")]}),e(h,{round:!0,type:"primary",color:"linear-gradient(121deg, #FFD892 0%, #FFCB75 100%)",style:{marginLeft:"8px"},onClick:()=>this.onFilterClick()},{default:()=>[l("确认")]})])])])}}),Dt=n({name:"goods-list",data(){const t=this.$route.query;return{tabListShow:!t.id,typeId:0,filterActive:0,filterListShow:!1,productCategory:{active:0,name:t.tag||"",id:Number(t.id)||0,children:[]},productAttributeCategory:{children:[],name:"",id:0},brand:{name:"",id:0},keyword:"",autofocus:!1}},computed:{getProductAttributeCategory(){if(this.productCategory.id){if(this.productCategory.children)return(this.productCategory.children[this.productCategory.active]||{}).id||"";this.productCategory.id}return 0}},async mounted(){this.$nextTick(()=>{this.$route.query.input==="focus"&&document.querySelector(".van-field__control").focus()}),this.tabListShow=!0},methods:{onFilter(t){this.filterActive===3&&t===3&&(t=4),this.filterActive===4&&t===3&&(t=3),this.filterActive!==t&&(this.filterActive=t,this.$nextTick(()=>{this.onSearch()}))},setFilter({productCategory:t,productAttributeCategory:i,brand:o}){t&&t.active===void 0&&(t.active=0),this.productCategory=t||{id:0,name:""},this.productAttributeCategory=i||{id:0,name:""},this.brand=o||{id:0,name:""},this.$nextTick(()=>{this.onSearch(),this.filterListShow=!1})},onToggleTag(){this.$refs.tabList.loading||this.$nextTick(()=>{this.onSearch()})},onClearTag(t){t==="productCategory"?this.productCategory={id:0,name:""}:t==="productAttributeCategory"?this.productAttributeCategory={id:0,name:""}:this.brand={id:0,name:""};let i=this.$refs.goodsFilter;i&&(t==="productAttributeCategory"?i.setParams("productAttributeCategoryList"):i.setParams("brandList")),this.$nextTick(()=>{this.onSearch()})},onSearch(){this.$refs.tabList.onSearch()},searchBtn(t){this.keyword=t,this.$nextTick(()=>{this.onSearch()})}},render(){return e("div",null,[e(Q,null,{default:()=>[e(T,{modelValue:this.keyword,searchIcon:pt,onSearch:this.searchBtn,placeholder:"请输入商品名称"},{left:()=>e(d,{class:s.arrowLeft,name:"arrow-left",onClick:()=>this.$router.back()},null)}),e(x,{class:s["filter-top"],align:"center"},{default:()=>[e(u,{span:6,class:this.filterActive===0?s.active:"",onClick:()=>this.onFilter(0)},{default:()=>[l("综合排序")]}),e(u,{span:6,class:this.filterActive===3||this.filterActive===4?s.active:"",onClick:()=>this.onFilter(3)},{default:()=>[l("价格"),e("div",{class:s.filterSort},[e(d,{class:this.filterActive===3?s["icon-active"]:"",style:{transform:"rotate(-90deg)"},name:"play",size:12},null),e(d,{class:[s.iconSort,this.filterActive===4?[s["icon-active"]]:""],style:{transform:"rotate(90deg)"},name:"play",size:12},null)])]}),e(u,{style:{marginLeft:"auto"},span:6,class:s.filterBtn,onClick:()=>this.filterListShow=!0},{default:()=>[l("筛选"),e(d,{name:gt,size:18},null)]})]}),this.productCategory.id&&this.productCategory.children&&this.productCategory.children.length?e(B,{class:s["filter-productCategory"],shrink:!0,ellipsis:!1,active:this.productCategory.active,"onUpdate:active":t=>this.productCategory.active=t,onChange:()=>this.onToggleTag()},{default:()=>[this.productCategory&&this.productCategory.children.map((t,i)=>e(G,{name:i,title:t.name},{title:()=>e("div",{class:[s["filter-tag"],this.productCategory.active===i?s["filter-tag-checked"]:""]},[t.name])}))]}):null]}),e("div",{class:s.filterTagWrap},[this.productAttributeCategory.id?e(c,{class:s.filterTag,closeable:!0,onClose:()=>this.onClearTag("productAttributeCategory")},{default:()=>[this.productAttributeCategory.name]}):"",this.brand.id?e(c,{class:s.filterTag,closeable:!0,onClose:()=>this.onClearTag("brand")},{default:()=>[this.brand.name]}):""]),this.tabListShow?e(at,{ref:"tabList",style:{height:"calc(100vh - var(--header-height))"},showAdd:!0,productAttributeCategoryId:this.productAttributeCategory.id,brandId:this.brand.id,sort:this.filterActive,keyword:this.keyword},null):null,e(z,{show:this.filterListShow,closeable:!0,position:"bottom",round:!0,onClose:()=>{this.filterListShow=!1}},{default:()=>[e(bt,{cateGoryId:this.productCategory.id,ref:"goodsFilter",setFilter:this.setFilter},null)]})])}});export{Dt as default};