build(web): 移除 Tailwind CSS 依赖

- 移除了 @tailwindcss/vite 和 tailwindcss 依赖
- 在 index.html 中添加了 tailwindcss.js 脚本引用
- 调整了 Prettier 配置,增加了打印宽度
This commit is contained in:
2025-04-24 17:40:12 +08:00
parent f4d57d8e1c
commit 278684d3ff
9 changed files with 102 additions and 295 deletions

View File

@@ -91,10 +91,10 @@ const submitForm = () => {
<template #header>
<div class="card-header">
<span>角色列表</span>
<el-input class="w-60" v-model="roleSearch" placeholder="请输入角色名称或ID" @input="fetchRoleList"></el-input>
<el-input style="width: 240px;" v-model="roleSearch" placeholder="请输入角色名称或ID" @input="fetchRoleList"></el-input>
</div>
</template>
<el-table :data="roleList" style="width: 100%">
<el-table :data="roleList" style="width: 100%" border>
<el-table-column prop="id" label="ID" width="180"></el-table-column>
<el-table-column prop="name" label="角色名称" width="180"></el-table-column>
<el-table-column prop="level" label="等级"></el-table-column>
@@ -106,10 +106,10 @@ const submitForm = () => {
<template #header>
<div class="card-header">
<span>充值流水</span>
<el-input class="w-60" v-model="rechargeSearch" placeholder="请输入角色名称或流水单号" @input="fetchRechargeList"></el-input>
<el-input style="width: 240px;" v-model="rechargeSearch" placeholder="请输入角色名称或流水单号" @input="fetchRechargeList"></el-input>
</div>
</template>
<el-table :data="rechargeList" style="width: 100%">
<el-table :data="rechargeList" style="width: 100%" border>
<el-table-column prop="id" label="流水单号" width="180"></el-table-column>
<el-table-column prop="roleName" label="角色名称" width="180"></el-table-column>
<el-table-column prop="amount" label="充值金额"></el-table-column>