import { defineComponent, unref, useSSRContext } from "vue";
import { ssrRenderAttrs, ssrRenderList, ssrRenderAttr, ssrInterpolate } from "vue/server-renderer";
import { useRoute } from "vue-router";
const _imports_0$1 = "data:image/svg+xml,%3c?xml%20version='1.0'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20t='1643334189688'%20class='icon'%20viewBox='0%200%201024%201024'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20p-id='2059'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20width='200'%20height='200'%3e%3cdefs%3e%3cstyle%20type='text/css'%3e%3c/style%3e%3c/defs%3e%3cpath%20d='M601.6%20537.6c12.8-12.8%2012.8-32%200-44.8L198.4%2083.2c-12.8-12.8-32-12.8-44.8%200-19.2%2012.8-19.2%2032-6.4%2044.8l384%20384-384%20384c-12.8%2012.8-12.8%2032%200%2044.8%2012.8%2012.8%2032%2012.8%2044.8%200l409.6-403.2zM422.4%20128l384%20384-384%20384c-12.8%2012.8-12.8%2032%200%2044.8%2012.8%2012.8%2032%2012.8%2044.8%200l409.6-409.6c12.8-12.8%2012.8-32%200-44.8L467.2%2083.2c-12.8-12.8-32-12.8-44.8%200-12.8%2012.8-12.8%2032%200%2044.8z'%20p-id='2060'%20fill='%23409eff'%3e%3c/path%3e%3c/svg%3e";
const _sfc_main = /* @__PURE__ */ defineComponent({
  __name: "recomMendation",
  __ssrInlineRender: true,
  props: {
    data: Object
  },
  emits: [],
  setup(__props, { emit: __emit }) {
    const route = useRoute();
    const props = __props;
    const data = props.data;
    return (_ctx, _push, _parent, _attrs) => {
      _push(`<div${ssrRenderAttrs(_attrs)}><div class="title-tag2 text-left">相关推荐</div><div class="relNewBox container text-left"><!--[-->`);
      ssrRenderList(unref(data), (item) => {
        _push(`<a class="ustify-content-between d-flex relNewsList"${ssrRenderAttr("href", `${unref(route).path}?categoryid=${item.categoryid}&id=${item.id}&isUrlId=1`)}><div><img width="18" height="18"${ssrRenderAttr("src", _imports_0$1)}> ${ssrInterpolate(item.title)}</div><div>${ssrInterpolate(item.createdate)}</div></a>`);
      });
      _push(`<!--]--></div></div>`);
    };
  }
});
const _sfc_setup = _sfc_main.setup;
_sfc_main.setup = (props, ctx) => {
  const ssrContext = useSSRContext();
  (ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("src/components/layout/recomMendation.vue");
  return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
};
const _imports_0 = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAUCAYAAACEYr13AAAAAXNSR0IArs4c6QAAAaNJREFUOE+dlL9OG0EQxr+xtVpoqJAiJxCBEgsluVv5diQiSzxACkpeIEVS8ACIJmlSREjpI8ookouECkGDlACpUnh8ckMZKh7AgiaWrUGLzpY5DrDZ8uab386f75ZQcJxzS8aYAwDfRORjkWbwjfJB7/1zAEdE9ATAvoisjg2o1WoL5XL5GMDTLGl8QBRF89bakLw4cuN4gCRJHhNRKLuaK/dcVVMAqarupWl6CKA/qqEoih5Za0PgxV29ZrF/AD6ISGM4RGZuAuAxkocSVf3earXehmqImf8CeD0JINN+FZH1AJgF8BtAPCFE+/3+ypUP7pjDKYBdVZ3JZrRMRKXBRaGVoZGYuaKqx7lNXFtjkiQvS6XSDwCvMsjpNSc65+aMMX9GvHDDB865RWPMCYCpqyHm+865sdBIzPwTwJqqXtwABCAzPwOwB6AhIp8K/pcNItpS1V+FgPu24b1/T0TbAN49CMDMmwDWO51O9aGAYP0vIrI/McB7/4aIEhH5HFqdCBDHcWytXWo2mzu3vkhFA6zX69O9Xq/S7Xb/t9vts1HNJcsEjG6/o8SZAAAAAElFTkSuQmCC";
export {
  _sfc_main as _,
  _imports_0 as a
};
