diff --git a/CoreCms.Net.CodeGenerator/CrudTemplete/View/Create.tpl b/CoreCms.Net.CodeGenerator/CrudTemplete/View/Create.tpl index f4d2b15..8116477 100644 --- a/CoreCms.Net.CodeGenerator/CrudTemplete/View/Create.tpl +++ b/CoreCms.Net.CodeGenerator/CrudTemplete/View/Create.tpl @@ -3,17 +3,12 @@ {% for field in ModelFields %}{% if field.DbColumnName contains 'Image' or field.DbColumnName contains 'image' or field.DbColumnName contains 'thumbnail' or field.DbColumnName contains 'Thumbnail' %}
-
+
-
-
- -
- -

-
-
+
+ +
{% elsif field.DataType == 'nvarchar' %}
diff --git a/CoreCms.Net.CodeGenerator/CrudTemplete/View/Edit.tpl b/CoreCms.Net.CodeGenerator/CrudTemplete/View/Edit.tpl index f4ff65d..9da24b3 100644 --- a/CoreCms.Net.CodeGenerator/CrudTemplete/View/Edit.tpl +++ b/CoreCms.Net.CodeGenerator/CrudTemplete/View/Edit.tpl @@ -3,17 +3,12 @@ {% for field in ModelFields %}{% if field.IsIdentity == true and field.IsPrimarykey == true %}{% endif %}{% if field.DbColumnName contains 'Image' or field.DbColumnName contains 'image' or field.DbColumnName contains 'thumbnail' or field.DbColumnName contains 'Thumbnail' %}
-
+
-
-
- -
- -

-
-
+
+ +
{% elsif field.DataType == 'nvarchar' %}
diff --git a/CoreCms.Net.CodeGenerator/CrudTemplete/View/Index.tpl b/CoreCms.Net.CodeGenerator/CrudTemplete/View/Index.tpl index cb01c12..1cb01af 100644 --- a/CoreCms.Net.CodeGenerator/CrudTemplete/View/Index.tpl +++ b/CoreCms.Net.CodeGenerator/CrudTemplete/View/Index.tpl @@ -11,7 +11,14 @@ /* 重写样式 */ +
+
+
+ + -
-
-
- +