You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
yanzong/public/assets/index.5efbe1fd.js

2 lines
8.1 KiB

11 months ago
import{z as s,A as e,o as a,c as l,w as t,a as i,f as o,t as d,b as n,d as c,F as g,k as A,n as m,e as y,g as u,i as h,l as r}from"./index-4ddb689d.js";import{r as p}from"./index.85d62ccb.js";import{_ as f}from"./_plugin-vue_export-helper.1b428a4d.js";const w=f({name:"Recommended",data:()=>({isLoading:!0,goodsList:[],setting:{enabled:1,style:{show:[]}}}),async created(){const s=this;s.isLoading=!0,await s.getSetting(),s.setting.enabled&&s.$checkModule("market-recommended")&&await s.getRecommended(),s.isLoading=!1},methods:{async getRecommended(){const s=this;await p().then((e=>s.goodsList=e.data.goodsList))},async getSetting(){const a=this;await s.item(e.RECOMMENDED.value).then((s=>a.setting=s))},onTargetGoods(s){this.$navTo("pages/goods/detail",{goodsId:s})}}},[["render",function(s,e,p,f,w,b){const I=u,F=h,G=r;return!w.isLoading&&w.setting.enabled&&s.$checkModule("market-recommended")&&w.goodsList.length?(a(),l(F,{key:0,style:m(s.appThemeStyle),class:"recommended"},{default:t((()=>[i(F,{class:"header"},{default:t((()=>[i(F,{class:"left"},{default:t((()=>[i(I,{class:"image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAYAAAA6oTAqAAAAAXNSR0IArs4c6QAABoNJREFUaAXtWH1sFEUUnzd7d6UtkEBbIFKtpJRalIBiDBLUNAoEBCmKVaJo2oIlKR8BoiDBWMEvCCRAhdDyJR9G0wQb1CAUaTWKSkBjFJS0KSVSgVDKh4Kld7fzfG+2C9fjDu56B/GPne52Z2Znfu/93sfM7AnhFMcCjgUcCzgWcCzgWMCxgGOB/4sFIF6KtK3Y9gyimo5CJEsQOz13Ji6H/HwzHvivtRwtUEotECD6kMI1AO6Zy1KymoKxXcEd0bax/JC77dKRNQrNafZcheJh74nWAdQusvs680REeLXl6EqlzFl6PlmKrjwhvNnliIOLAXyB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ngym1qSrlthHZmYV0PooanzUJScZwy3nKi4NIQH/2ChjQSrvyfGPajLLI1bdG0nxY+nNjGWlcwiFKKx89LE9oQsSEQ4z+yhZmZ86mPtuG0Ypqd3eIabh1a7IwL4ymzOwqEhJr4MVpTSGG3bCrFtH108HGD0062mhJzIP/mBBdfHNbGLh44X1Zb94QLIKXDHlLyubGxi4tp7GS8mA8hxKb21qp2vcPliw5aXDOgsGZq+KhxC0hs/G75m4XjcufUzg9pjhqOCHo0l5gYpZUEw0omn9/vy3xIMIYFmy80Ain/NDJ1NZW327ywlCtPJPQt0WK+8AQbZTsk+cOvbsqjqLjS2Z1bVM6SrOaFMwJ3M1tr9D+QQUu0Vkrb95DGfviSYSxjHgBrvvmRBZtfl9TaPXnqOIksbcTXr10CIA8Z4Axeu6wu677sIqHHlpGrEDrapoG+5XaQzi9tRd0nlw7MFp94pRLipEzRmRE/fUZqX4xe6Ziz1/D6Ry3lzyRypaxrWPVLd+Qk455pMgteSSjLlLFOjPOlt2ZuaKiumkI+mE/5UeSzhFC4admpJdjSncJhz2uxFHFj6ad6pSQKCaFPAFEOh+8sIrUTbJ/0OBc4ezgU4NV5IEuSWLs1OFp5yLFjGVcTGTodPAAH0VYd713tHvFOqbAV6kJnon5w3tdikXBaObqxTKaCYFjDYQ6PiXyryj2ryn6WxNFVYbqOy4/9/YRYb1iIkM+WWAoCjb+HtGEOOHlpp5j0p8dOxaiPsIHGqoz9ZgWABa4uerMEAVmIX3+JxOTzwqf6ruzM4o4cxwLOBZwLOBYwLGAY4HbaIH/AFWphTyuhclNAAAAAElFTkSuQmCC"})])),_:1}),i(F,{class:"title"},{default:t((()=>[o(d(w.setting.style.title),1)])),_:1}),i(I,{class:"image",src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADMAAAAzCAYAAAA6oTAqAAAAAXNSR0IArs4c6QAABgxJREFUaAXtmGtsVUUQgGf2lD6wBMEI2GBLVX5IISY8Sy9iILxSoEEaMRoBRSSYQEn4ZVBjE2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