"use strict";
const common_vendor = require("../../common/vendor.js");
const common_assets = require("../../common/assets.js");
const _sfc_main = {
  data() {
    return {
      screenMode: "heng"
    };
  },
  onLoad(options) {
    common_vendor.index.getSystemInfo({
      success: (res) => {
        this.screenMode = res.windowWidth > res.windowHeight ? "heng" : "shu";
      }
    });
    const role = options.role;
    common_vendor.index.__f__("log", "at pages/parent/message.vue:94", role);
    if (!role) {
      common_vendor.index.showToast({
        title: "缺少角色信息",
        icon: "none"
      });
      return;
    }
  },
  methods: {
    back() {
      common_vendor.index.navigateBack({
        delta: 1
      });
    }
  }
};
function _sfc_render(_ctx, _cache, $props, $setup, $data, $options) {
  return {
    a: common_assets._imports_0,
    b: common_assets._imports_0,
    c: common_assets._imports_1,
    d: common_assets._imports_0,
    e: common_assets._imports_1,
    f: common_assets._imports_0,
    g: common_assets._imports_2,
    h: common_assets._imports_0,
    i: common_assets._imports_3,
    j: common_assets._imports_0,
    k: common_assets._imports_2,
    l: common_assets._imports_4,
    m: common_vendor.n($data.screenMode),
    n: common_vendor.gei(_ctx, "")
  };
}
const MiniProgramPage = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["render", _sfc_render], ["__scopeId", "data-v-61746e12"]]);
wx.createPage(MiniProgramPage);
//# sourceMappingURL=../../../.sourcemap/mp-weixin/pages/parent/message.js.map
