docs: annotate payment, host operations and shared components

This commit is contained in:
cieanyau committed 2026-11-06 00:29:13 +08:00
1 parent d37ce57d09
commit dc32a74d7a
17 files changed
+100

No files matched your search

+2
View File
@@ -1,4 +1,5 @@
<script>
/** 商品分组标题:约定名称中首个 -N 后的非空文本作为徽标,其余情况完整显示原名称。 */
import "~/assets/styles/ProductGroupLabel.B1kWpFA-.css";
import { toDisplayString } from "vue";
import { createCommentVNode } from "vue";
@@ -10,6 +11,7 @@ import { defineComponent } from "vue";
import { openBlock } from "vue";
import { t as _plugin_vue_export_helper_t } from "~/lib/_plugin-vue_export-helper.js";
function l(e) {
// 只在名称和徽标两部分均存在时拆分;导出的 n 也被其他商品展示逻辑复用。
let t = typeof e == `string` ? e.trim() : ``,
n = t.indexOf(`-N`);
if (n < 0)