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
39 lines
1.5 KiB
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
const _sfc_main = {
|
|
props: ["isCheck"],
|
|
methods: {
|
|
changeRadio(val) {
|
|
console.log(val);
|
|
this.$emit("changeRadio", val);
|
|
},
|
|
async goPage(type) {
|
|
this.$goPage("/pages/userCenter/login/privacyAgreement/privacyAgreement?type=" + type);
|
|
}
|
|
}
|
|
};
|
|
if (!Array) {
|
|
const _easycom_u_checkbox2 = common_vendor.resolveComponent("u-checkbox");
|
|
const _easycom_u_checkbox_group2 = common_vendor.resolveComponent("u-checkbox-group");
|
|
(_easycom_u_checkbox2 + _easycom_u_checkbox_group2)();
|
|
}
|
|
const _easycom_u_checkbox = () => "../../uni_modules/uview-plus/components/u-checkbox/u-checkbox.js";
|
|
const _easycom_u_checkbox_group = () => "../../uni_modules/uview-plus/components/u-checkbox-group/u-checkbox-group.js";
|
|
if (!Math) {
|
|
(_easycom_u_checkbox + _easycom_u_checkbox_group)();
|
|
}
|
|
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
return {
|
|
a: common_vendor.o($options.changeRadio),
|
|
b: common_vendor.p({
|
|
checked: $props.isCheck,
|
|
shape: "circle",
|
|
label: "已阅读并同意",
|
|
labelSize: 12
|
|
}),
|
|
c: common_vendor.o(($event) => $options.goPage(2)),
|
|
d: common_vendor.o(($event) => $options.goPage(1))
|
|
};
|
|
}
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-64dff09c"], ["__file", "D:/work/xinjiangMiniProgram/components/privacyRadion/privacyRadion.vue"]]);
|
|
wx.createComponent(Component);
|