44 lines
1.3 KiB
JavaScript
44 lines
1.3 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
if (!Array) {
|
|
const _easycom_up_switch2 = common_vendor.resolveComponent("up-switch");
|
|
_easycom_up_switch2();
|
|
}
|
|
const _easycom_up_switch = () => "../../uni_modules/uview-plus/components/u-switch/u-switch.js";
|
|
if (!Math) {
|
|
_easycom_up_switch();
|
|
}
|
|
const _sfc_main = {
|
|
__name: "settings",
|
|
setup(__props) {
|
|
const value = common_vendor.ref(false);
|
|
const change = (e) => {
|
|
console.log("change", e);
|
|
};
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_vendor.o(change),
|
|
b: common_vendor.o(($event) => value.value = $event),
|
|
c: common_vendor.p({
|
|
activeColor: "#07C160",
|
|
modelValue: value.value
|
|
}),
|
|
d: common_vendor.o(change),
|
|
e: common_vendor.o(($event) => value.value = $event),
|
|
f: common_vendor.p({
|
|
activeColor: "#07C160",
|
|
modelValue: value.value
|
|
}),
|
|
g: common_vendor.o(change),
|
|
h: common_vendor.o(($event) => value.value = $event),
|
|
i: common_vendor.p({
|
|
activeColor: "#07C160",
|
|
modelValue: value.value
|
|
})
|
|
};
|
|
};
|
|
}
|
|
};
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-8a628c0f"]]);
|
|
wx.createPage(MiniProgramPage);
|