You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
976 B
34 lines
976 B
"use strict";
|
|
const common_vendor = require("../../../common/vendor.js");
|
|
if (!Math) {
|
|
(yszc + yhxy)();
|
|
}
|
|
const yhxy = () => "./comp/yhxy.js";
|
|
const yszc = () => "./comp/yszc.js";
|
|
const _sfc_main = {
|
|
__name: "privacyAgreement",
|
|
setup(__props) {
|
|
let type = common_vendor.ref(1);
|
|
let url = common_vendor.ref("");
|
|
common_vendor.onLoad((options) => {
|
|
type.value = options.type;
|
|
if (type.value == 1) {
|
|
common_vendor.index.setNavigationBarTitle({
|
|
title: "隐私政策"
|
|
});
|
|
url.value = "https://www.jakjgs.com/htmls/yszc.html";
|
|
} else {
|
|
common_vendor.index.setNavigationBarTitle({
|
|
title: "用户使用协议"
|
|
});
|
|
url.value = "https://www.jakjgs.com/htmls/yhxy.html";
|
|
}
|
|
});
|
|
return (_ctx, _cache) => {
|
|
return common_vendor.e({
|
|
a: common_vendor.unref(type) == 1
|
|
}, common_vendor.unref(type) == 1 ? {} : {});
|
|
};
|
|
}
|
|
};
|
|
wx.createPage(_sfc_main);
|