12345678910111213141516171819202122232425262728293031323334353637383940 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- if (!Array) {
- const _easycom_wd_swiper2 = common_vendor.resolveComponent("wd-swiper");
- _easycom_wd_swiper2();
- }
- const _easycom_wd_swiper = () => "../../node-modules/wot-design-uni/components/wd-swiper/wd-swiper.js";
- if (!Math) {
- _easycom_wd_swiper();
- }
- const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
- __name: "index",
- setup(__props) {
- const current = common_vendor.ref(0);
- const swiperList = common_vendor.ref([
- "https://registry.npmmirror.com/wot-design-uni-assets/*/files/redpanda.jpg",
- "https://registry.npmmirror.com/wot-design-uni-assets/*/files/capybara.jpg",
- "https://registry.npmmirror.com/wot-design-uni-assets/*/files/panda.jpg",
- "https://registry.npmmirror.com/wot-design-uni-assets/*/files/moon.jpg",
- "https://registry.npmmirror.com/wot-design-uni-assets/*/files/meng.jpg"
- ]);
- common_vendor.onShow(() => {
- });
- return (_ctx, _cache) => {
- return {
- a: common_vendor.p({
- customClass: "customSwiper",
- list: swiperList.value,
- autoplay: true,
- value: current.value
- }),
- b: common_vendor.o(
- //@ts-ignore
- (...args) => _ctx.payment && _ctx.payment(...args)
- )
- };
- };
- }
- });
- wx.createPage(_sfc_main);
|