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.5 KiB

4 months ago
  1. "use strict";
  2. const common_vendor = require("../../common/vendor.js");
  3. const _sfc_main = {
  4. props: ["isCheck"],
  5. methods: {
  6. changeRadio(val) {
  7. console.log(val);
  8. this.$emit("changeRadio", val);
  9. },
  10. async goPage(type) {
  11. this.$goPage("/pages/userCenter/login/privacyAgreement/privacyAgreement?type=" + type);
  12. }
  13. }
  14. };
  15. if (!Array) {
  16. const _easycom_u_checkbox2 = common_vendor.resolveComponent("u-checkbox");
  17. const _easycom_u_checkbox_group2 = common_vendor.resolveComponent("u-checkbox-group");
  18. (_easycom_u_checkbox2 + _easycom_u_checkbox_group2)();
  19. }
  20. const _easycom_u_checkbox = () => "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js";
  21. const _easycom_u_checkbox_group = () => "../../uni_modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js";
  22. if (!Math) {
  23. (_easycom_u_checkbox + _easycom_u_checkbox_group)();
  24. }
  25. function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  26. return {
  27. a: common_vendor.o($options.changeRadio),
  28. b: common_vendor.p({
  29. checked: $props.isCheck,
  30. shape: "circle",
  31. label: "已阅读并同意",
  32. labelSize: 12
  33. }),
  34. c: common_vendor.o(($event) => $options.goPage(2)),
  35. d: common_vendor.o(($event) => $options.goPage(1))
  36. };
  37. }
  38. const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-64dff09c"], ["__file", "D:/work/xinjiangMiniProgram/components/privacyRadion/privacyRadion.vue"]]);
  39. wx.createComponent(Component);