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.
49 lines
1.6 KiB
49 lines
1.6 KiB
"use strict";
|
|
const common_vendor = require("../../common/vendor.js");
|
|
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)();
|
|
}
|
|
const _sfc_main = {
|
|
__name: "privacyRadion",
|
|
props: {
|
|
isCheck: {
|
|
type: Boolean,
|
|
default: false
|
|
}
|
|
},
|
|
setup(__props, { emit: __emit }) {
|
|
let emit = __emit;
|
|
function changeRadio(val) {
|
|
console.log(val);
|
|
emit("changeRadio", val);
|
|
}
|
|
function goPage(type) {
|
|
common_vendor.index.navigateTo({
|
|
url: "/pages/subPage/privacyAgreement/privacyAgreement?type=" + type
|
|
});
|
|
}
|
|
return (_ctx, _cache) => {
|
|
return {
|
|
a: common_vendor.o(changeRadio),
|
|
b: common_vendor.p({
|
|
checked: __props.isCheck,
|
|
shape: "circle",
|
|
label: "已阅读并同意",
|
|
activeColor: "#DE3A26",
|
|
labelSize: 12
|
|
}),
|
|
c: common_vendor.o(($event) => goPage(2)),
|
|
d: common_vendor.o(($event) => goPage(1))
|
|
};
|
|
};
|
|
}
|
|
};
|
|
const Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-64dff09c"]]);
|
|
wx.createComponent(Component);
|