diff --git "a/\350\203\241\346\240\213\351\200\270/20241114.dotnet\346\240\267\345\274\217.md" "b/\350\203\241\346\240\213\351\200\270/20241114-dotnet\346\240\267\345\274\217.md" similarity index 100% rename from "\350\203\241\346\240\213\351\200\270/20241114.dotnet\346\240\267\345\274\217.md" rename to "\350\203\241\346\240\213\351\200\270/20241114-dotnet\346\240\267\345\274\217.md" diff --git "a/\350\203\241\346\240\213\351\200\270/20241128-\346\270\262\346\237\223.md" "b/\350\203\241\346\240\213\351\200\270/20241128-\346\270\262\346\237\223.md" new file mode 100644 index 0000000000000000000000000000000000000000..1a459c35e2820e081621cc5918343540db756536 --- /dev/null +++ "b/\350\203\241\346\240\213\351\200\270/20241128-\346\270\262\346\237\223.md" @@ -0,0 +1,21 @@ +### 视图定义属性 +定义: @{ 属性(键值对) } 调用: @键 +### 接收view +@model 命名空间.类名 @Model.键 +### 定位点 +```html + +``` + +作业 + +渲染(展示)简单数据类型到视图 +![20241201214711](http://sjqs0ino2.hn-bkt.clouddn.com/20241201214711.png) +渲染(展示)集合数据到视图 +![20241201214751](http://sjqs0ino2.hn-bkt.clouddn.com/20241201214751.png) +渲染(展示)对象数据到视图 +![20241201214754](http://sjqs0ino2.hn-bkt.clouddn.com/20241201214754.png) +渲染(展示)包含集合数据的对象数据到视图 +![20241201214757](http://sjqs0ino2.hn-bkt.clouddn.com/20241201214757.png) +尝试构建如下图所示的经典CRUD列表 +![20241201214800](http://sjqs0ino2.hn-bkt.clouddn.com/20241201214800.png) \ No newline at end of file