123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117 |
- "use strict";
- const common_vendor = require("../common/vendor.js");
- const plugins_modal = require("../plugins/modal.js");
- if (!Array) {
- const _easycom_uni_swiper_dot2 = common_vendor.resolveComponent("uni-swiper-dot");
- const _easycom_uni_section2 = common_vendor.resolveComponent("uni-section");
- const _easycom_uni_icons2 = common_vendor.resolveComponent("uni-icons");
- const _easycom_uni_grid_item2 = common_vendor.resolveComponent("uni-grid-item");
- const _easycom_uni_grid2 = common_vendor.resolveComponent("uni-grid");
- (_easycom_uni_swiper_dot2 + _easycom_uni_section2 + _easycom_uni_icons2 + _easycom_uni_grid_item2 + _easycom_uni_grid2)();
- }
- const _easycom_uni_swiper_dot = () => "../uni_modules/uni-swiper-dot/components/uni-swiper-dot/uni-swiper-dot.js";
- const _easycom_uni_section = () => "../components/uni-section/uni-section.js";
- const _easycom_uni_icons = () => "../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
- const _easycom_uni_grid_item = () => "../uni_modules/uni-grid/components/uni-grid-item/uni-grid-item.js";
- const _easycom_uni_grid = () => "../uni_modules/uni-grid/components/uni-grid/uni-grid.js";
- if (!Math) {
- (_easycom_uni_swiper_dot + _easycom_uni_section + _easycom_uni_icons + _easycom_uni_grid_item + _easycom_uni_grid)();
- }
- const _sfc_main = {
- __name: "work",
- setup(__props) {
- const current = common_vendor.ref(0);
- const swiperDotIndex = common_vendor.ref(0);
- const data = common_vendor.ref([
- {
- image: "/static/images/banner/banner01.jpg"
- },
- {
- image: "/static/images/banner/banner02.jpg"
- },
- {
- image: "/static/images/banner/banner03.jpg"
- }
- ]);
- function clickBannerItem(item) {
- console.info(item);
- }
- function changeSwiper(e) {
- current.value = e.detail.current;
- }
- function changeGrid(e) {
- plugins_modal.modal.showToast({
- title: "模块建设中",
- mask: false,
- icon: "loading",
- duration: 1e3
- });
- }
- return (_ctx, _cache) => {
- return {
- a: common_vendor.f(data.value, (item, index, i0) => {
- return {
- a: item.image,
- b: common_vendor.o(($event) => clickBannerItem(item), index),
- c: index
- };
- }),
- b: swiperDotIndex.value,
- c: common_vendor.o(changeSwiper),
- d: common_vendor.p({
- info: data.value,
- current: current.value,
- field: "content"
- }),
- e: common_vendor.p({
- title: "系统管理",
- type: "line"
- }),
- f: common_vendor.p({
- type: "person-filled",
- size: "30"
- }),
- g: common_vendor.p({
- type: "staff-filled",
- size: "30"
- }),
- h: common_vendor.p({
- type: "color",
- size: "30"
- }),
- i: common_vendor.p({
- type: "settings-filled",
- size: "30"
- }),
- j: common_vendor.p({
- type: "heart-filled",
- size: "30"
- }),
- k: common_vendor.p({
- type: "bars",
- size: "30"
- }),
- l: common_vendor.p({
- type: "gear-filled",
- size: "30"
- }),
- m: common_vendor.p({
- type: "chat-filled",
- size: "30"
- }),
- n: common_vendor.p({
- type: "wallet-filled",
- size: "30"
- }),
- o: common_vendor.o(changeGrid),
- p: common_vendor.p({
- column: 4,
- showBorder: false
- })
- };
- };
- }
- };
- const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "C:/Users/Administrator/Desktop/srcaaa/pages/work.vue"]]);
- wx.createPage(MiniProgramPage);
|