25 lines
872 B
JavaScript
25 lines
872 B
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
__name: "index",
|
|
setup(__props) {
|
|
const itemArray = ["NU", "动态", "我的"];
|
|
const itemTarget = common_vendor.ref(0);
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_vendor.f(itemArray, (item, index, i0) => {
|
|
return {
|
|
a: common_vendor.t(item),
|
|
b: common_vendor.n(itemTarget.value === index ? `bottom-button-target` : `bottom-button`),
|
|
c: common_vendor.o(($event) => itemTarget.value = index),
|
|
d: itemTarget.value === index
|
|
};
|
|
})
|
|
};
|
|
};
|
|
}
|
|
};
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-1cf27b2a"]]);
|
|
wx.createPage(MiniProgramPage);
|
|
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/index/index.js.map
|