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

4 months ago
3 months ago
4 months ago
3 months ago
4 months ago
3 months ago
4 months ago
3 months ago
4 months ago
2 weeks ago
  1. "use strict";
  2. const common_vendor = require("../../../common/vendor.js");
  3. if (!Math) {
  4. (yszc + yhxy)();
  5. }
  6. const yhxy = () => "./comp/yhxy.js";
  7. const yszc = () => "./comp/yszc.js";
  8. const _sfc_main = {
  9. __name: "privacyAgreement",
  10. setup(__props) {
  11. let type = common_vendor.ref(1);
  12. let url = common_vendor.ref("");
  13. common_vendor.onLoad((options) => {
  14. type.value = options.type;
  15. if (type.value == 1) {
  16. common_vendor.index.setNavigationBarTitle({
  17. title: "隐私政策"
  18. });
  19. url.value = "https://www.jakjgs.com/htmls/yszc.html";
  20. } else {
  21. common_vendor.index.setNavigationBarTitle({
  22. title: "用户使用协议"
  23. });
  24. url.value = "https://www.jakjgs.com/htmls/yhxy.html";
  25. }
  26. });
  27. return (_ctx, _cache) => {
  28. return common_vendor.e({
  29. a: common_vendor.unref(type) == 1
  30. }, common_vendor.unref(type) == 1 ? {} : {});
  31. };
  32. }
  33. };
  34. wx.createPage(_sfc_main);