acdr-ui/dist/build/mp-weixin/sheep/components/s-menu-list/s-menu-list.js

2 lines
782 B
JavaScript

"use strict";const e=require("../../../common/vendor.js"),t=require("../../index.js");if(!Array){(e.resolveComponent("uni-list-item")+e.resolveComponent("uni-list"))()}Math||((()=>"../../../uni_modules/uni-list/components/uni-list-item/uni-list-item.js")+(()=>"../../../uni_modules/uni-list/components/uni-list/uni-list.js"))();const i={__name:"s-menu-list",props:{data:{type:Object,default:()=>({})}},setup:i=>(o,s)=>({a:e.f(i.data.list,((i,o,s)=>e.e({a:i.iconUrl},i.iconUrl?{b:e.unref(t.sheep).$url.cdn(i.iconUrl)}:{},{c:e.t(i.title),d:e.s({color:i.titleColor}),e:e.t(i.subtitle),f:e.s({color:i.subtitleColor}),g:o,h:e.o((o=>e.unref(t.sheep).$router.go(i.url)),o),i:"7a644cc2-1-"+s+",7a644cc2-0"}))),b:e.p({showArrow:!0,clickable:!0}),c:e.p({border:!0})})};wx.createComponent(i);