From b4d55af6bf131e3af8d28bcca6e704c5c567e07c Mon Sep 17 00:00:00 2001
From: liaoxujun@qq.com <liaoxujun@qq.com>
Date: 星期一, 25 三月 2024 16:22:21 +0800
Subject: [PATCH] 完成博主管理修改
---
CoreCms.Net.Web.Admin/wwwroot/views/bloggersinfo/edit.html | 84 ++++++++++++++++++++++++++++++++++++-----
1 files changed, 73 insertions(+), 11 deletions(-)
diff --git a/CoreCms.Net.Web.Admin/wwwroot/views/bloggersinfo/edit.html b/CoreCms.Net.Web.Admin/wwwroot/views/bloggersinfo/edit.html
index a522fef..b1352c2 100644
--- a/CoreCms.Net.Web.Admin/wwwroot/views/bloggersinfo/edit.html
+++ b/CoreCms.Net.Web.Admin/wwwroot/views/bloggersinfo/edit.html
@@ -11,17 +11,19 @@
<label for="platforms" class="layui-form-label layui-form-required"
>鍏ヤ綇骞冲彴</label
>
- <div class="layui-input-block">
- <input
- name="platforms"
- lay-verType="tips"
- lay-verify="required"
- class="layui-input"
- placeholder="璇疯緭鍏ュ叆浣忓钩鍙�"
- lay-reqText="璇疯緭鍏ュ叆浣忓钩鍙�"
- value="{{d.params.data.platforms || '' }}"
- />
- </div>
+
+
+ <div class="layui-input-block">
+ <input
+ name="platforms"
+ lay-verify="required"
+ placeholder="璇疯緭鍏ュ叆浣忓钩鍙�"
+ class="layui-input"
+ id="ID-dropdown-platforms-base-input"
+ value="{{d.params.data.platforms || '' }}"
+ />
+ </div>
+
</div>
</div>
<div class="layui-col-xs4">
@@ -191,6 +193,7 @@
placeholder="璇疯緭鍏ュ悎浣滄剰鍚�"
lay-reqText="璇疯緭鍏ュ悎浣滄剰鍚�"
value="{{d.params.data.intentionDec || '' }}"
+ id="intentionDec"
/>
</div>
</div>
@@ -215,6 +218,22 @@
</div>
</div>
</div>
+ </div>
+ <div class="layui-inline">
+ <label for="reMaker" class="layui-form-label "
+ >澶囨敞</label
+ >
+ <div class="layui-input-block">
+ <input
+ name="reMaker"
+ lay-verType="tips"
+ class="layui-input"
+ placeholder="澶囨敞"
+ lay-reqText="澶囨敞"
+ value="{{d.params.data.reMaker || '' }}"
+ />
+ </div>
+
</div>
<div class="layui-form-item">
@@ -298,7 +317,50 @@
upload = layui.upload,
cropperImg = layui.cropperImg,
table = layui.table,
+ dropdown=layui.dropdown,
coreHelper = layui.coreHelper;
+ dropdown.render({
+ elem: "#ID-dropdown-platforms-base-input",
+ data: [
+ {
+ title: "鎶栭煶",
+ id: 101,
+ },
+ {
+ title: "鑵捐",
+ id: 102,
+ },
+ {
+ title: "灏忕孩涔�",
+ id: 103,
+ }
+ ],
+ click: function (obj) {
+ this.elem.val(obj.title);
+ },
+ style: "min-width: 235px;",
+ });
+ dropdown.render({
+ elem: "#intentionDec",
+ data: [
+ {
+ title: "澶�",
+ id: 101,
+ },
+ {
+ title: "灏�",
+ id: 102,
+ },
+ {
+ title: "涓嶇‘瀹�",
+ id: 103,
+ }
+ ],
+ click: function (obj) {
+ this.elem.val(obj.title);
+ },
+ style: "min-width: 235px;",
+ });
formatAreaInPut(
coreHelper,
--
Gitblit v1.9.1