🆕 添加群成员显示(WIP)

This commit is contained in:
李寻欢
2024-05-09 09:44:57 +08:00
parent e8523c1e3e
commit bd33759b80
5 changed files with 75 additions and 15 deletions

View File

@@ -47,6 +47,9 @@
<th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900">
是否启用指令
</th>
<th scope="col" class="px-3 py-3.5 text-left text-sm font-semibold text-gray-900">
操作
</th>
</tr>
</thead>
<tbody class="divide-y divide-gray-200 bg-white">
@@ -64,13 +67,7 @@
{{ end }}
</td>
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
{{ if eq .IsOk true }}
<span
class="inline-flex items-center rounded-md bg-green-50 px-2 py-1 text-xs font-medium text-green-700 ring-1 ring-inset ring-green-600/20"></span>
{{ else }}
<span
class="inline-flex items-center rounded-md bg-red-50 px-2 py-1 text-xs font-medium text-red-700 ring-1 ring-inset ring-red-600/20"></span>
{{ end }}
{{ template "flagTag" .IsOk }}
</td>
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
{{ template "ai" . }}
@@ -104,6 +101,9 @@
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
{{ template "command" . }}
</td>
<td class="whitespace-nowrap px-3 py-4 text-sm text-gray-500">
<button class="btn btn-link" onclick="getGroupUsers({{.Wxid}}, {{.Nickname}})">成员</button>
</td>
</tr>
{{ end }}
</tbody>
@@ -113,6 +113,8 @@
</main>
{{ template "footer.html" }}
{{ template "groupuser.html" }}
</div>
</body>