import Gaoding from "./index6.js";
import { n as normalizeComponent, d as api } from "./index.js";
import "./vue-router.js";
import "vue";
import "./index7.js";
import "./gd-abtest.js";
import "./index5.js";
import "./index8.js";
var render = function() {
  var _vm = this;
  var _h = _vm.$createElement;
  var _c = _vm._self._c || _h;
  return _c("div", {
    class: _vm.bem()
  }, [!_vm.loading ? _c("Gaoding", {
    attrs: {
      "sceneFilterId": _vm.exhibitionModule.filter_id
    },
    scopedSlots: _vm._u([{
      key: "title",
      fn: function() {
        return [_c("GBreadcrumbItem", [_c("router-link", {
          attrs: {
            "to": {
              name: "cdm-discover"
            }
          }
        }, [_vm._v("\u53D1\u73B0")])], 1), _c("GBreadcrumbItem", [_c("router-link", {
          attrs: {
            "to": {
              name: "cdm-scene",
              params: {
                scene: _vm.$route.params.scene
              }
            }
          }
        }, [_vm._v(" " + _vm._s(_vm.exhibitionModule.exhibition_name) + " ")])], 1), _c("GBreadcrumbItem", {
          attrs: {
            "current": !_vm.$route.query.q
          }
        }, [_c("router-link", {
          attrs: {
            "to": {
              name: _vm.$route.name,
              params: {
                scene: _vm.$route.params.scene
              }
            }
          }
        }, [_vm._v(" " + _vm._s(_vm.exhibitionModule.exhibition_name) + "\u6A21\u677F\u4E2D\u5FC3 ")])], 1)];
      },
      proxy: true
    }], null, false, 1543822345)
  }) : _vm._e()], 1);
};
var staticRenderFns = [];
const { cdmApi } = api;
const __vue2_script = {
  name: "scene-search",
  components: {
    Gaoding
  },
  data() {
    return {
      exhibitionModule: {},
      loading: false
    };
  },
  created() {
    this.init();
  },
  methods: {
    async init() {
      this.loading = true;
      await this.getExhibitionModules();
      this.loading = false;
    },
    async getExhibitionModules() {
      const res = await cdmApi.getExhibitionModules({
        position: this.$route.params.scene,
        resource_type: "recommend_filter"
      });
      this.exhibitionModule = res.data[0] || {};
    }
  }
};
const __cssModules = {};
var __component__ = /* @__PURE__ */ normalizeComponent(__vue2_script, render, staticRenderFns, false, __vue2_injectStyles, null, null, null);
function __vue2_injectStyles(context) {
  for (let o in __cssModules) {
    this[o] = __cssModules[o];
  }
}
var index = /* @__PURE__ */ function() {
  return __component__.exports;
}();
export { index as default };
