acdr-ui/dist/build/mp-weixin/pages/index/components/banner.js

2 lines
432 B
JavaScript
Raw Normal View History

2024-09-19 07:20:14 +08:00
"use strict";const e=require("../../../common/vendor.js"),n=require("../../../utils/commUtils.js"),r={__name:"banner",setup(r){const t=e.ref(0),a=e=>{t.value=e.detail.current};return(r,c)=>({a:e.unref(n.imgUrl)("@/static/home/banner.png"),b:e.unref(n.imgUrl)("@/static/home/banner.png"),c:e.o(a),d:e.f(2,((n,r,a)=>({a:r,b:e.n({active:t.value===r})})))})}},t=e._export_sfc(r,[["__scopeId","data-v-b410596c"]]);wx.createComponent(t);