"use strict";const e=require("../../../common/vendor.js"),r=require("../../index.js"),s=require("../../hooks/useModal.js");if(require("../../url/index.js"),require("../../store/index.js"),require("../../store/app.js"),require("../../api/promotion/diy.js"),require("../../request/index.js"),require("../../config/index.js"),require("../../platform/index.js"),require("../../platform/provider/wechat/index.js"),require("../../platform/provider/wechat/miniProgram.js"),require("../../api/member/auth.js"),require("../../api/member/social.js"),require("../../api/member/user.js"),require("../../platform/provider/apple/index.js"),require("../../platform/share.js"),require("../../router/index.js"),require("../../helper/throttle.js"),require("../../platform/pay.js"),require("../../helper/index.js"),require("../../helper/test.js"),require("../../helper/digit.js"),require("../../api/pay/order.js"),require("../../store/user.js"),require("../../store/cart.js"),require("../../api/trade/cart.js"),require("../../api/pay/wallet.js"),require("../../api/trade/order.js"),require("../../api/promotion/coupon.js"),require("../../store/sys.js"),require("../../store/modal.js"),require("../../config/zIndex.js"),require("../../api/member/signin.js"),!Array){(e.resolveComponent("su-status-bar")+e.resolveComponent("su-popup"))()}Math||((()=>"../../ui/su-status-bar/su-status-bar.js")+(()=>"../../ui/su-popup/su-popup.js"))();const i={__name:"s-menu-tools",setup(i){const t=e.computed((()=>r.sheep.$store("modal").menu));const o=[{url:"/pages/index/index",icon:"/static/images/home.png",title:"首页"},{url:"/pages/index/search",icon:"/static/images/search.png",title:"搜索"},{url:"/pages/index/user",icon:"/static/images/user.png",title:"个人中心"},{url:"/pages/index/cart",icon:"/static/images/cart.png",title:"购物车"},{url:"/pages/user/goods-log",icon:"/static/images/browse.png",title:"浏览记录"},{url:"/pages/user/goods-collect",icon:"/static/images/collect.png",title:"我的收藏"},{url:"/pages/chat/index",icon:"/static/images/service.png",title:"客服"}];return(i,u)=>({a:e.f(o,((i,o,u)=>e.e(t.value?{a:e.unref(r.sheep).$url.static(i.icon)}:{},{b:e.o((e=>function(e){s.closeMenuTools(),e.url&&r.sheep.$router.go(e.url)}(i)),i.title),c:e.t(i.title),d:i.title}))),b:t.value,c:e.o(e.unref(s.closeMenuTools)),d:e.p({show:t.value,type:"top",round:"20",backgroundColor:"#F0F0F0"})})}},t=e._export_sfc(i,[["__scopeId","data-v-38098966"]]);wx.createComponent(t);
