12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- "use strict";
- const common_vendor = require("../../common/vendor.js");
- if (!Array) {
- const _easycom_uni_segmented_control2 = common_vendor.resolveComponent("uni-segmented-control");
- _easycom_uni_segmented_control2();
- }
- const _easycom_uni_segmented_control = () => "../../uni_modules/uni-segmented-control/components/uni-segmented-control/uni-segmented-control.js";
- if (!Math) {
- _easycom_uni_segmented_control();
- }
- const _sfc_main = /* @__PURE__ */ common_vendor.defineComponent({
- __name: "album",
- setup(__props) {
- var _a;
- (_a = common_vendor.getCurrentInstance()) == null ? void 0 : _a.appContext.config.globalProperties.$api;
- const config = common_vendor.ref({ logoUrl: "" });
- const id = common_vendor.ref("");
- const list = common_vendor.ref(["照片", "视频"]);
- const current = common_vendor.ref(0);
- common_vendor.onLoad(async (options) => {
- id.value = options && options.id;
- await searchConfig();
- await search();
- });
- const searchConfig = async () => {
- config.value = common_vendor.index.getStorageSync("config");
- };
- const search = async () => {
- if (id.value)
- ;
- };
- const onClickItem = (e) => {
- if (current.value !== e.currentIndex)
- current.value = e.currentIndex;
- };
- return (_ctx, _cache) => {
- return {
- a: common_vendor.o(onClickItem),
- b: common_vendor.p({
- current: current.value,
- values: list.value,
- styleType: "text",
- activeColor: "#dd524d"
- }),
- c: current.value === 0,
- d: current.value === 1
- };
- };
- }
- });
- const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-17fd90ce"], ["__file", "D:/project/足球比赛/match_applet/pagesHome/team/album.vue"]]);
- wx.createPage(MiniProgramPage);
|