You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
1.7 KiB
JavaScript
54 lines
1.7 KiB
JavaScript
|
1 year ago
|
"use strict";
|
||
|
|
const common_vendor = require("../../common/vendor.js");
|
||
|
|
if (!Array) {
|
||
|
|
const _easycom_navigationStyle2 = common_vendor.resolveComponent("navigationStyle");
|
||
|
|
_easycom_navigationStyle2();
|
||
|
|
}
|
||
|
|
const _easycom_navigationStyle = () => "../../components/navigationStyle/navigationStyle.js";
|
||
|
|
if (!Math) {
|
||
|
|
_easycom_navigationStyle();
|
||
|
|
}
|
||
|
|
const _sfc_main = {
|
||
|
|
__name: "integral",
|
||
|
|
setup(__props) {
|
||
|
|
const demo = common_vendor.ref([0, 1, 2, 3, 4, 5, 6]);
|
||
|
|
const isShow = common_vendor.ref(0);
|
||
|
|
const titles = common_vendor.ref("积分兑换");
|
||
|
|
const bgcolor = common_vendor.ref("#fff");
|
||
|
|
const color = common_vendor.ref("#000");
|
||
|
|
const qiehuan = () => {
|
||
|
|
if (isShow.value === 1) {
|
||
|
|
isShow.value = 0;
|
||
|
|
} else {
|
||
|
|
isShow.value = 1;
|
||
|
|
}
|
||
|
|
};
|
||
|
|
return (_ctx, _cache) => {
|
||
|
|
return {
|
||
|
|
a: common_vendor.p({
|
||
|
|
titles: titles.value,
|
||
|
|
bgcolor: bgcolor.value,
|
||
|
|
color: color.value
|
||
|
|
}),
|
||
|
|
b: common_vendor.f(demo.value, (item, index, i0) => {
|
||
|
|
return {
|
||
|
|
a: index
|
||
|
|
};
|
||
|
|
}),
|
||
|
|
c: common_vendor.o(($event) => qiehuan()),
|
||
|
|
d: common_vendor.o((...args) => _ctx.jieshuan && _ctx.jieshuan(...args)),
|
||
|
|
e: common_vendor.f(demo.value, (item, index, i0) => {
|
||
|
|
return {
|
||
|
|
a: common_vendor.o(($event) => _ctx.romevs(item, index), index),
|
||
|
|
b: common_vendor.o(($event) => _ctx.increases(item, index), index),
|
||
|
|
c: index
|
||
|
|
};
|
||
|
|
}),
|
||
|
|
f: isShow.value === 1
|
||
|
|
};
|
||
|
|
};
|
||
|
|
}
|
||
|
|
};
|
||
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__file", "D:/carwashingThree/pages/integral/integral.vue"]]);
|
||
|
|
wx.createPage(MiniProgramPage);
|