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

2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
2 months ago
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. const _sfc_main = {
  4. data() {
  5. return {
  6. type: 1,
  7. url: ""
  8. };
  9. },
  10. onLoad(options) {
  11. this.type = options.type;
  12. if (this.type == 1) {
  13. common_vendor.index.setNavigationBarTitle({
  14. title: "隐私政策"
  15. });
  16. } else {
  17. common_vendor.index.setNavigationBarTitle({
  18. title: "用户使用协议"
  19. });
  20. }
  21. this.getAgreementFn();
  22. },
  23. methods: {
  24. async getAgreementFn() {
  25. if (this.type == 1) {
  26. this.url = "http://www.jakjgs.com/htmls/yszc.html";
  27. } else {
  28. this.url = "http://www.jakjgs.com/htmls/yhxy.html";
  29. }
  30. }
  31. }
  32. };
  33. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  34. return {
  35. a: $data.url
  36. };
  37. }
  38. const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__file", "D:/work/xinjiangMiniProgram/pages/subPage/privacyAgreement/privacyAgreement.vue"]]);
  39. wx.createPage(MiniProgramPage);