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.
39 lines
1.0 KiB
39 lines
1.0 KiB
"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);
|