"use strict";
const common_vendor = require("../../../common/vendor.js");
const common_assets = require("../../../common/assets.js");
const _sfc_main = {
  data() {
    return {
      avatarTop: "",
      contentTop: "",
      sexList: ["男", "女"],
      sex: ""
    };
  },
  onLoad() {
    this.avatarTop = common_vendor.inject("navHeight") + 60 / 750 * common_vendor.inject("windowWidth");
    this.contentTop = this.avatarTop + 75 / 750 * common_vendor.inject("windowWidth");
  },
  methods: {
    sexChange(e) {
      common_vendor.index.__f__("log", "at pages/mine/basicInfo/basicInfo.vue:54", e);
      let value = e.detail.value;
      this.sex = this.sexList[value];
    },
    /**
     * 点击下一步
     */
    clickNext() {
      common_vendor.index.navigateTo({
        url: "/pages/mine/investPreference/investPreference"
      });
    }
  }
};
if (!Array) {
  const _easycom_navBar2 = common_vendor.resolveComponent("navBar");
  _easycom_navBar2();
}
const _easycom_navBar = () => "../../../components/navBar/navBar.js";
if (!Math) {
  _easycom_navBar();
}
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  return {
    a: common_vendor.p({
      leftText: "信息完善"
    }),
    b: common_assets._imports_0,
    c: common_assets._imports_1$3,
    d: common_vendor.s("top:" + $data.avatarTop + "px;"),
    e: common_vendor.t($data.sex),
    f: common_assets._imports_2$5,
    g: $data.sexList,
    h: common_vendor.o((...args) => $options.sexChange && $options.sexChange(...args)),
    i: common_vendor.s("top:" + $data.contentTop + "px;"),
    j: common_vendor.o(($event) => $options.clickNext())
  };
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../../.sourcemap/mp-weixin/pages/mine/basicInfo/basicInfo.js.map
