From b17ce865cb45950f64cb39a2e8db09eaec594060 Mon Sep 17 00:00:00 2001
From: cshaptx4869 <994774638@qq.com>
Date: Mon, 13 May 2024 21:57:47 +0800
Subject: [PATCH] =?UTF-8?q?feat(PageContent):=20:sparkles:=20=E5=8A=A0?=
=?UTF-8?q?=E5=BC=BAtemplet=E9=80=89=E9=A1=B9?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/PageContent/index.vue | 110 +++++++++++++++++++++++++--
src/typings/components.d.ts | 4 +
2 files changed, 109 insertions(+), 5 deletions(-)
diff --git a/src/components/PageContent/index.vue b/src/components/PageContent/index.vue
index ae452d09..d7e88e8e 100644
--- a/src/components/PageContent/index.vue
+++ b/src/components/PageContent/index.vue
@@ -145,6 +145,72 @@
+
+
+
+
+ {{ (col.selectList ?? {})[scope.row[col.prop]] }}
+
+
+
+
+
+
+
+
+ {{ scope.row[col.prop] }}
+
+
+
+
+
+
+
+
+ {{ `${col.priceFormat ?? "¥"}${scope.row[col.prop]}` }}
+
+
+
+
+
+
+ {{ scope.row[col.prop] }}%
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{
+ useDateFormat(
+ scope.row[col.prop],
+ col.dateFormat ?? "YYYY-MM-DD HH:mm:ss"
+ ).value
+ }}
+
+
+
@@ -247,7 +313,9 @@