2 lines
1004 B
JavaScript
2 lines
1004 B
JavaScript
|
"use strict";const e=require("../common/vendor.js");if(!Array){(e.resolveComponent("wd-icon")+e.resolveComponent("wd-popover")+e.resolveComponent("wd-search"))()}Math||((()=>"../node-modules/wot-design-uni/components/wd-icon/wd-icon.js")+(()=>"../node-modules/wot-design-uni/components/wd-popover/wd-popover.js")+(()=>"../node-modules/wot-design-uni/components/wd-search/wd-search.js"))();const o={__name:"Search",setup(o){const n=e.ref("全部"),t=e.ref(""),c=e.ref([{content:"全部"},{content:"上门服务"},{content:"宠物陪伴"},{content:"宠物陪遛"},{content:"宠物商城"}]),r=({value:e})=>{},s=({item:e,index:o})=>{n.value=e.content};return(o,d)=>({a:e.t(e.unref(n)),b:e.p({"custom-class":"icon-arrow",name:"fill-arrow-down"}),c:e.o(s),d:e.p({mode:"menu",content:e.unref(c)}),e:e.o(r),f:e.o(r),g:e.o((o=>e.isRef(t)?t.value=o:null)),h:e.p({placeholder:"搜索...","cancel-txt":"搜索",modelValue:e.unref(t)})})}},n=e._export_sfc(o,[["__scopeId","data-v-34b1c2bf"]]);wx.createComponent(n);
|