"use strict"; const common_vendor = require("../../../common/vendor.js"); const _sfc_main = { data() { return { type: 1, url: "" }; }, onLoad(options) { this.type = options.type; if (this.type == 1) { common_vendor.index.setNavigationBarTitle({ title: "隐私政策" }); } else { common_vendor.index.setNavigationBarTitle({ title: "用户使用协议" }); } this.getAgreementFn(); }, methods: { async getAgreementFn() { if (this.type == 1) { this.url = "http://www.jakjgs.com/htmls/yszc.html"; } else { this.url = "http://www.jakjgs.com/htmls/yhxy.html"; } } } }; function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) { return { a: $data.url }; } const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/work/xinjiangMiniProgram/pages/subPage/privacyAgreement/privacyAgreement.vue"]]); wx.createPage(MiniProgramPage);