- Spring Boot 后端服务 (hss-home-service) - delivery-miniapp 配送小程序 - website 官网 (Nuxt) - docs 架构设计文档 - Docker 容器化部署配置 Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
34 lines
1.8 KiB
JavaScript
34 lines
1.8 KiB
JavaScript
import { _ as _sfc_main$1 } from "./AppIcon--JRwwp2l.js";
|
|
import { defineComponent, mergeProps, useSSRContext } from "vue";
|
|
import { ssrRenderAttrs, ssrRenderComponent, ssrInterpolate } from "vue/server-renderer";
|
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
__name: "ScenarioCard",
|
|
__ssrInlineRender: true,
|
|
props: {
|
|
icon: {},
|
|
title: {},
|
|
desc: {}
|
|
},
|
|
setup(__props) {
|
|
return (_ctx, _push, _parent, _attrs) => {
|
|
const _component_AppIcon = _sfc_main$1;
|
|
_push(`<div${ssrRenderAttrs(mergeProps({ class: "bg-surface rounded-2xl p-8 hover:shadow-md transition-all duration-300 border border-gray-100 group" }, _attrs))}><div class="w-14 h-14 rounded-2xl bg-gradient-to-br from-primary-50 to-accent-50 text-primary flex items-center justify-center mb-5 group-hover:from-primary group-hover:to-accent group-hover:text-white transition-all">`);
|
|
_push(ssrRenderComponent(_component_AppIcon, {
|
|
name: __props.icon,
|
|
class: "w-7 h-7"
|
|
}, null, _parent));
|
|
_push(`</div><h3 class="font-bold text-xl mb-3">${ssrInterpolate(__props.title)}</h3><p class="text-sm text-text-secondary leading-relaxed mb-4">${ssrInterpolate(__props.desc)}</p><span class="text-primary font-medium text-sm hover:underline cursor-pointer inline-flex items-center gap-1"> 了解更多 <svg class="w-4 h-4" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24"><path d="M9 5l7 7-7 7" stroke-linecap="round" stroke-linejoin="round"></path></svg></span></div>`);
|
|
};
|
|
}
|
|
});
|
|
const _sfc_setup = _sfc_main.setup;
|
|
_sfc_main.setup = (props, ctx) => {
|
|
const ssrContext = useSSRContext();
|
|
(ssrContext.modules || (ssrContext.modules = /* @__PURE__ */ new Set())).add("components/ScenarioCard.vue");
|
|
return _sfc_setup ? _sfc_setup(props, ctx) : void 0;
|
|
};
|
|
export {
|
|
_sfc_main as _
|
|
};
|
|
//# sourceMappingURL=ScenarioCard-KNU_bnPj.js.map
|