47 lines
1.7 KiB
JavaScript
47 lines
1.7 KiB
JavaScript
"use strict";
|
|
const common_vendor = require("../../../common/vendor.js");
|
|
const common_assets = require("../../../common/assets.js");
|
|
const components_public_Mixins = require("../../../components/public/Mixins.js");
|
|
if (!Array) {
|
|
const _easycom_uni_section2 = common_vendor.resolveComponent("uni-section");
|
|
_easycom_uni_section2();
|
|
}
|
|
const _easycom_uni_section = () => "../../../uni_modules/uni-section/components/uni-section/uni-section.js";
|
|
if (!Math) {
|
|
(common_vendor.unref(JyCommonHead) + _easycom_uni_section)();
|
|
}
|
|
const JyCommonHead = () => "../../../components/public/jy-common-head/index.js";
|
|
const _sfc_main = {
|
|
__name: "index",
|
|
setup(__props) {
|
|
const PayUse = common_vendor.ref(false);
|
|
const serverOC = () => {
|
|
console.log("====================================");
|
|
console.log("关闭服务");
|
|
console.log("====================================");
|
|
};
|
|
return (_ctx, _cache) => {
|
|
return common_vendor.e({
|
|
a: PayUse.value
|
|
}, PayUse.value ? {
|
|
b: common_vendor.unref(common_assets.minePayUse)
|
|
} : {
|
|
c: common_vendor.p({
|
|
isRight: false
|
|
}),
|
|
d: common_vendor.unref(common_assets.minePayUse),
|
|
e: common_vendor.p({
|
|
title: "当前可用额度(元)"
|
|
})
|
|
}, {
|
|
f: common_vendor.t(common_vendor.unref(common_assets.minePayUse) ? "关闭服务" : "开启服务"),
|
|
g: common_vendor.o$1(serverOC),
|
|
h: common_vendor.unref(components_public_Mixins.bottomSafeAreaHeight)(),
|
|
i: common_vendor.unref(components_public_Mixins.screenHeight)()
|
|
});
|
|
};
|
|
}
|
|
};
|
|
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-6c904bbf"]]);
|
|
wx.createPage(MiniProgramPage);
|