浏览代码

移动端订餐功能开发

徐滕 1 月之前
父节点
当前提交
e5a5a4051a
共有 100 个文件被更改,包括 527 次插入 和 123 次删除
  1. 43 0
      .workbuddy/memory/2026-10-12.md
  2. 9 9
      forge-admin-ui/src/views/restaurant/dishLibrary.vue
  3. 6 6
      forge-admin-ui/src/views/restaurant/dishMenu.vue
  4. 323 76
      forge-admin-ui/src/views/restaurant/dishOrder.vue
  5. 6 6
      forge-admin-ui/src/views/restaurant/dishOrderIndex.vue
  6. 11 2
      forge-admin-ui/src/views/restaurant/dishOrderList.vue
  7. 13 13
      forge-admin-ui/src/views/restaurant/dishRoom.vue
  8. 9 9
      forge-admin-ui/src/views/restaurant/dishType.vue
  9. 2 2
      forge-h5-ui/.env.development
  10. 1 0
      forge-h5-ui/public/static/icons/ai-icon/activity.svg
  11. 1 0
      forge-h5-ui/public/static/icons/ai-icon/airplay.svg
  12. 1 0
      forge-h5-ui/public/static/icons/ai-icon/alert-circle.svg
  13. 1 0
      forge-h5-ui/public/static/icons/ai-icon/alert-octagon.svg
  14. 1 0
      forge-h5-ui/public/static/icons/ai-icon/alert-triangle.svg
  15. 1 0
      forge-h5-ui/public/static/icons/ai-icon/align-center.svg
  16. 1 0
      forge-h5-ui/public/static/icons/ai-icon/align-justify.svg
  17. 1 0
      forge-h5-ui/public/static/icons/ai-icon/align-left.svg
  18. 1 0
      forge-h5-ui/public/static/icons/ai-icon/align-right.svg
  19. 1 0
      forge-h5-ui/public/static/icons/ai-icon/anchor.svg
  20. 1 0
      forge-h5-ui/public/static/icons/ai-icon/aperture.svg
  21. 16 0
      forge-h5-ui/public/static/icons/ai-icon/apifox.svg
  22. 1 0
      forge-h5-ui/public/static/icons/ai-icon/archive.svg
  23. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-down-circle.svg
  24. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-down-left.svg
  25. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-down-right.svg
  26. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-down.svg
  27. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-left-circle.svg
  28. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-left.svg
  29. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-right-circle.svg
  30. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-right.svg
  31. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-up-circle.svg
  32. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-up-left.svg
  33. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-up-right.svg
  34. 1 0
      forge-h5-ui/public/static/icons/ai-icon/arrow-up.svg
  35. 1 0
      forge-h5-ui/public/static/icons/ai-icon/at-sign.svg
  36. 1 0
      forge-h5-ui/public/static/icons/ai-icon/award.svg
  37. 1 0
      forge-h5-ui/public/static/icons/ai-icon/awesome.svg
  38. 1 0
      forge-h5-ui/public/static/icons/ai-icon/bar-chart-2.svg
  39. 1 0
      forge-h5-ui/public/static/icons/ai-icon/bar-chart.svg
  40. 1 0
      forge-h5-ui/public/static/icons/ai-icon/battery-charging.svg
  41. 1 0
      forge-h5-ui/public/static/icons/ai-icon/battery.svg
  42. 1 0
      forge-h5-ui/public/static/icons/ai-icon/bell-off.svg
  43. 1 0
      forge-h5-ui/public/static/icons/ai-icon/bell.svg
  44. 1 0
      forge-h5-ui/public/static/icons/ai-icon/bluetooth.svg
  45. 1 0
      forge-h5-ui/public/static/icons/ai-icon/bold.svg
  46. 1 0
      forge-h5-ui/public/static/icons/ai-icon/book-open.svg
  47. 1 0
      forge-h5-ui/public/static/icons/ai-icon/book.svg
  48. 1 0
      forge-h5-ui/public/static/icons/ai-icon/bookmark.svg
  49. 1 0
      forge-h5-ui/public/static/icons/ai-icon/box.svg
  50. 1 0
      forge-h5-ui/public/static/icons/ai-icon/briefcase.svg
  51. 1 0
      forge-h5-ui/public/static/icons/ai-icon/calendar.svg
  52. 1 0
      forge-h5-ui/public/static/icons/ai-icon/camera-off.svg
  53. 1 0
      forge-h5-ui/public/static/icons/ai-icon/camera.svg
  54. 1 0
      forge-h5-ui/public/static/icons/ai-icon/cast.svg
  55. 1 0
      forge-h5-ui/public/static/icons/ai-icon/check-circle.svg
  56. 1 0
      forge-h5-ui/public/static/icons/ai-icon/check-square.svg
  57. 1 0
      forge-h5-ui/public/static/icons/ai-icon/check.svg
  58. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chevron-down.svg
  59. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chevron-left.svg
  60. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chevron-right.svg
  61. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chevron-up.svg
  62. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chevrons-down.svg
  63. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chevrons-left.svg
  64. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chevrons-right.svg
  65. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chevrons-up.svg
  66. 1 0
      forge-h5-ui/public/static/icons/ai-icon/chrome.svg
  67. 1 0
      forge-h5-ui/public/static/icons/ai-icon/circle.svg
  68. 1 0
      forge-h5-ui/public/static/icons/ai-icon/clipboard.svg
  69. 1 0
      forge-h5-ui/public/static/icons/ai-icon/clock.svg
  70. 1 0
      forge-h5-ui/public/static/icons/ai-icon/cloud-drizzle.svg
  71. 1 0
      forge-h5-ui/public/static/icons/ai-icon/cloud-lightning.svg
  72. 1 0
      forge-h5-ui/public/static/icons/ai-icon/cloud-off.svg
  73. 1 0
      forge-h5-ui/public/static/icons/ai-icon/cloud-rain.svg
  74. 1 0
      forge-h5-ui/public/static/icons/ai-icon/cloud-snow.svg
  75. 1 0
      forge-h5-ui/public/static/icons/ai-icon/cloud.svg
  76. 1 0
      forge-h5-ui/public/static/icons/ai-icon/code.svg
  77. 1 0
      forge-h5-ui/public/static/icons/ai-icon/codepen.svg
  78. 1 0
      forge-h5-ui/public/static/icons/ai-icon/codesandbox.svg
  79. 1 0
      forge-h5-ui/public/static/icons/ai-icon/coffee.svg
  80. 1 0
      forge-h5-ui/public/static/icons/ai-icon/columns.svg
  81. 1 0
      forge-h5-ui/public/static/icons/ai-icon/command.svg
  82. 1 0
      forge-h5-ui/public/static/icons/ai-icon/compass.svg
  83. 1 0
      forge-h5-ui/public/static/icons/ai-icon/copy.svg
  84. 1 0
      forge-h5-ui/public/static/icons/ai-icon/corner-down-left.svg
  85. 1 0
      forge-h5-ui/public/static/icons/ai-icon/corner-down-right.svg
  86. 1 0
      forge-h5-ui/public/static/icons/ai-icon/corner-left-down.svg
  87. 1 0
      forge-h5-ui/public/static/icons/ai-icon/corner-left-up.svg
  88. 1 0
      forge-h5-ui/public/static/icons/ai-icon/corner-right-down.svg
  89. 1 0
      forge-h5-ui/public/static/icons/ai-icon/corner-right-up.svg
  90. 1 0
      forge-h5-ui/public/static/icons/ai-icon/corner-up-left.svg
  91. 1 0
      forge-h5-ui/public/static/icons/ai-icon/corner-up-right.svg
  92. 1 0
      forge-h5-ui/public/static/icons/ai-icon/cpu.svg
  93. 1 0
      forge-h5-ui/public/static/icons/ai-icon/credit-card.svg
  94. 1 0
      forge-h5-ui/public/static/icons/ai-icon/crop.svg
  95. 1 0
      forge-h5-ui/public/static/icons/ai-icon/crosshair.svg
  96. 1 0
      forge-h5-ui/public/static/icons/ai-icon/database.svg
  97. 1 0
      forge-h5-ui/public/static/icons/ai-icon/delete.svg
  98. 1 0
      forge-h5-ui/public/static/icons/ai-icon/dialog.svg
  99. 1 0
      forge-h5-ui/public/static/icons/ai-icon/disc.svg
  100. 0 0
      forge-h5-ui/public/static/icons/ai-icon/divide.svg

+ 43 - 0
.workbuddy/memory/2026-10-12.md

@@ -0,0 +1,43 @@
+# 2026-10-12 工作日志
+
+## H5 点菜页面(dish-order-detail.vue)UI 优化完成
+
+### 修改文件
+- `forge-h5-ui/src/pages/restaurant/dish-order-detail.vue`
+
+### 完成内容
+
+#### 1. 菜品图片加载修复
+- **问题**:图片 404,`/api/file/download/{fileId}` 流式接口返回 Not Found
+- **方案**:改用 `resolveRenderableFileUrl()`(与 PC 端一致),先获取 OSS 签名 URL,再 fetch 转 blob URL
+- **实现**:新增 `loadDishImages()` 预加载函数,图片 URL 缓存到 `dishImageUrls` Map
+
+#### 2. 图片预览功能
+- 点击图片打开全屏预览(黑色半透明背景,透明度 0.5)
+- 点击右上角 × 或空白区域关闭
+- 预览弹窗移到 `.page-container` 外层,确保覆盖全屏(包括 fixed 定位的导航栏和购物车栏)
+
+#### 3. 菜品详情弹窗
+- 点击菜品行弹出详情(名称、图片、规格、口味、备注、价格)
+- 底部"加入购物车"按钮
+- 弹窗内图片点击可跳转全屏预览
+
+#### 4. 主界面布局修复
+- **问题**:整体内容偏右,超出屏幕边界
+- **方案**:`.main-content` 改用 `position: fixed; left: 160rpx; right: 0` 自动填充侧边栏右侧空间
+- `.dish-list` 添加 `padding` + `box-sizing: border-box` 防止溢出
+
+#### 5. 购物车交互优化
+- 菜品卡片显示已点数量(`- 数量 +` 步进器)
+- 点击 `+` 加 `@click.stop` 阻止冒泡,不再触发详情弹窗
+- 新增 `decreaseDishQty()` 减少数量函数
+
+#### 6. 购物车抽屉布局修复
+- **问题**:价格被截断,右侧超出边界
+- **方案**:改用百分比分配空间(菜品名 40% / 数量控件 35% / 价格 25%)
+- 所有右侧元素添加 `flex-shrink: 0` 防止压缩
+
+### 关键技术点
+- uni-app 中 `scroll-view` 的 `overflow` 不生效,需用普通 `view` 包裹实现裁剪
+- `position: fixed` 元素创建 stacking context,嵌套 overlay 无法覆盖,需移至同级
+- 事件冒泡需在子元素加 `@click.stop` 防止触发父级

+ 9 - 9
forge-admin-ui/src/views/restaurant/dishLibrary.vue

@@ -108,12 +108,12 @@ const publicParams = computed(() => {
 // ==================== 状态与分类选项 ====================
 
 const statusColorMap = {
-  ENABLED: 'success',
-  DISABLED: 'default',
+  '1': 'success',
+  '0': 'default',
 }
 const statusLabelMap = {
-  ENABLED: '启用',
-  DISABLED: '禁用',
+  '1': '启用',
+  '0': '禁用',
 }
 
 // 分类选项(从树形数据扁平化,用于搜索和编辑表单)
@@ -134,8 +134,8 @@ const typeOptions = computed(() => {
 })
 
 const dishStatusOptions = [
-  { label: '启用', value: 'ENABLED' },
-  { label: '禁用', value: 'DISABLED' },
+  { label: '启用', value: '1' },
+  { label: '禁用', value: '0' },
 ]
 
 // ==================== 搜索表单配置 ====================
@@ -220,8 +220,8 @@ const tableColumns = computed(() => [
     label: '操作',
     width: 200,
     render: (row) => {
-      const toggleText = row.status === 'ENABLED' ? '禁用' : '启用'
-      const toggleType = row.status === 'ENABLED' ? 'text-warning' : 'text-success'
+      const toggleText = row.status === '1' ? '禁用' : '启用'
+      const toggleType = row.status === '1' ? 'text-warning' : 'text-success'
       return h('div', { class: 'flex gap-3' }, [
         h('a', {
           class: 'text-primary cursor-pointer hover:opacity-80',
@@ -305,7 +305,7 @@ const editSchema = computed(() => [
     field: 'status',
     label: '状态',
     type: 'select',
-    defaultValue: 'ENABLED',
+    defaultValue: '1',
     props: { placeholder: '请选择状态', options: dishStatusOptions },
   },
   {

+ 6 - 6
forge-admin-ui/src/views/restaurant/dishMenu.vue

@@ -309,8 +309,8 @@ const typeTreeData = ref([])
 
 // 搜索表单配置
 const statusOptions = [
-  { label: '启用', value: 'ENABLED' },
-  { label: '禁用', value: 'DISABLED' },
+  { label: '启用', value: '1' },
+  { label: '禁用', value: '0' },
 ]
 
 const searchSchema = computed(() => [
@@ -453,12 +453,12 @@ function clearTreeSelect() {
 
 // ==================== 表格列 ====================
 const statusColorMap = {
-  ENABLED: 'success',
-  DISABLED: 'default',
+  '1': 'success',
+  '0': 'default',
 }
 const statusLabelMap = {
-  ENABLED: '启用',
-  DISABLED: '禁用',
+  '1': '启用',
+  '0': '禁用',
 }
 
 const tableColumns = computed(() => [

+ 323 - 76
forge-admin-ui/src/views/restaurant/dishOrder.vue

@@ -234,10 +234,26 @@
       </div>
     </div>
 
-    <!-- ==================== 结账弹窗 ==================== -->
-    <NModal v-model:show="settleDialogVisible" preset="dialog" title="订单结账" style="width:520px;" :show-icon="false" :mask-closable="false">
-      <NTabs v-model:value="settleType">
-        <NTabPane name="0" tab="结账">
+    <!-- ==================== 结账弹窗(增加菜品清单) ==================== -->
+    <NModal v-model:show="settleDialogVisible" preset="dialog" title="订单结账" style="width:600px;" :show-icon="false" :mask-closable="false">
+      <!-- 菜品清单(可折叠) -->
+      <div class="settle-dish-list-wrap">
+        <div class="settle-dish-list-header" @click="settleDishListExpanded = !settleDishListExpanded">
+          <span class="header-title">菜品清单({{ orderedList.length }}项)</span>
+          <span class="header-toggle">{{ settleDishListExpanded ? '收起' : '展开' }}</span>
+        </div>
+        <div v-if="settleDishListExpanded" class="settle-dish-list-body">
+          <div v-for="(item, idx) in orderedList" :key="idx" class="settle-dish-item">
+            <span class="dish-name">{{ item.dishName }}</span>
+            <span class="dish-qty">×{{ item.quantity }}</span>
+            <span class="dish-price">¥{{ formatMoney(itemTotal(item)) }}</span>
+          </div>
+        </div>
+      </div>
+
+      <!-- Tab 切换 -->
+      <NTabs v-model:value="settleType" style="margin-top:16px;">
+        <NTabPane name="0" tab="普通结账">
           <div class="settle-normal">
             <span>订单金额</span>
             <strong>¥{{ formatMoney(currentOrderTotal) }}</strong>
@@ -390,28 +406,99 @@
       </template>
     </NModal>
 
-    <!-- ==================== 订单详情弹窗 ==================== -->
-    <NModal v-model:show="orderInfoDialogVisible" preset="card" title="订单详情" style="width:600px;max-width:90vw;" :segmented="{ content: true }">
+    <!-- ==================== 订单详情弹窗(类似 H5) ==================== -->
+    <NModal v-model:show="orderInfoDialogVisible" preset="card" title="订单详情" style="width:700px;max-width:94vw;" :segmented="{ content: true }">
       <NSpin :show="orderInfoLoading">
         <div v-if="orderInfoDetail" class="order-info-content">
+          <!-- 基本信息 -->
           <div class="order-info-header">
-            <NTag :type="orderStatusTagType(orderInfoDetail.orderStatus)" size="medium">
-              {{ orderStatusLabel(orderInfoDetail.orderStatus) }}
-            </NTag>
-            <span class="order-info-no">{{ orderInfoDetail.orderNo }}</span>
-            <span class="order-info-total">总计:¥{{ formatMoney(orderInfoDetail.totalAmount) }}</span>
+            <div class="info-row">
+              <span class="label">订单号</span>
+              <span class="value">{{ orderInfoDetail.orderNo }}</span>
+            </div>
+            <div class="info-row">
+              <span class="label">包房</span>
+              <span class="value">{{ orderInfoDetail.roomName }}</span>
+            </div>
+            <div class="info-row">
+              <span class="label">订单状态</span>
+              <NTag :type="orderStatusTagType(orderInfoDetail.orderStatus)" size="small">
+                {{ orderStatusLabel(orderInfoDetail.orderStatus) }}
+              </NTag>
+            </div>
+            <div class="info-row">
+              <span class="label">总金额</span>
+              <span class="value amount">¥{{ formatMoney(orderInfoDetail.totalAmount) }}</span>
+            </div>
+            <div v-if="orderInfoDetail.settleType && orderInfoDetail.settleType !== '0'" class="info-row">
+              <span class="label">结账方式</span>
+              <span class="value">{{ orderInfoDetail.settleType === '1' ? '折扣' : '优惠' }}</span>
+            </div>
+            <div v-if="orderInfoDetail.discountRate && orderInfoDetail.settleType === '1'" class="info-row">
+              <span class="label">折扣比例</span>
+              <span class="value">{{ orderInfoDetail.discountRate }}%</span>
+            </div>
+            <div v-if="orderInfoDetail.discountAmount" class="info-row">
+              <span class="label">优惠金额</span>
+              <span class="value">¥{{ formatMoney(orderInfoDetail.discountAmount) }}</span>
+            </div>
+            <div v-if="orderInfoDetail.payableAmount" class="info-row">
+              <span class="label">实收金额</span>
+              <span class="value amount">¥{{ formatMoney(orderInfoDetail.payableAmount) }}</span>
+            </div>
+            <div v-if="orderInfoDetail.settleTime" class="info-row">
+              <span class="label">结账时间</span>
+              <span class="value">{{ formatDateTime(orderInfoDetail.settleTime) }}</span>
+            </div>
+          </div>
+
+          <!-- 菜品明细(原始下单) -->
+          <div v-if="orderInfoDetail.detailList?.length > 0" class="order-info-section">
+            <div class="section-title">菜品明细</div>
+            <div class="dish-list">
+              <div v-for="(item, idx) in orderInfoDetail.detailList" :key="item.id || idx" class="dish-item">
+                <span class="dish-name">{{ item.dishName }}</span>
+                <span class="dish-qty">×{{ item.quantity }}</span>
+                <span class="dish-price">¥{{ formatMoney(item.amount) }}</span>
+              </div>
+            </div>
+          </div>
+
+          <!-- 加菜明细 -->
+          <div v-if="orderInfoDetail.addDishList?.length > 0" class="order-info-section">
+            <div class="section-title add-title">加菜明细</div>
+            <div class="dish-list">
+              <div v-for="(item, idx) in orderInfoDetail.addDishList" :key="item.id || idx" class="dish-item">
+                <span class="dish-name">{{ item.dishName }}</span>
+                <span class="dish-qty">×{{ item.quantity }}</span>
+                <span class="dish-price">¥{{ formatMoney(item.amount) }}</span>
+              </div>
+            </div>
           </div>
-          <div v-if="orderInfoDetail.detailList?.length > 0" class="order-info-items">
-            <div v-for="(item, idx) in orderInfoDetail.detailList" :key="item.id || idx" class="order-info-item">
-              <span class="order-info-item-index">[{{ idx + 1 }}]</span>
-              <span class="order-info-item-name">{{ item.dishName }}</span>
-              <span class="order-info-item-qty">×{{ item.quantity }}</span>
-              <span class="order-info-item-price">¥{{ formatMoney(item.amount) }}</span>
+
+          <!-- 退菜明细 -->
+          <div v-if="orderInfoDetail.reduceDishList?.length > 0" class="order-info-section">
+            <div class="section-title reduce-title">退菜明细</div>
+            <div class="dish-list">
+              <div v-for="(item, idx) in orderInfoDetail.reduceDishList" :key="item.id || idx" class="dish-item">
+                <span class="dish-name">{{ item.dishName }}</span>
+                <span class="dish-qty">×{{ item.quantity }}</span>
+                <span class="dish-price reduce-price">-¥{{ formatMoney(Math.abs(item.amount)) }}</span>
+              </div>
             </div>
           </div>
-          <div v-else class="order-info-empty">
+
+          <!-- 无菜品提示 -->
+          <div v-if="!orderInfoDetail.detailList?.length && !orderInfoDetail.addDishList?.length && !orderInfoDetail.reduceDishList?.length" class="order-info-empty">
             暂无菜品
           </div>
+
+          <!-- 底部操作按钮 -->
+          <div class="order-info-footer">
+            <NButton v-if="orderInfoDetail.orderStatus === 'ORDERING'" type="success" @click="goToSettleFromDetail">
+              去结账
+            </NButton>
+          </div>
         </div>
       </NSpin>
     </NModal>
@@ -502,6 +589,7 @@ const orderInfoDetail = ref(null)
 const settleType = ref('0')
 const settleDiscountRate = ref(100)
 const settleDiscountAmount = ref(0)
+const settleDishListExpanded = ref(false) // 菜品清单是否展开
 
 const currentOrderTotal = computed(() => {
   return orderedList.value.reduce((total, item) => total + itemTotal(item), 0)
@@ -630,6 +718,8 @@ function loadCurrentOrder(roomId) {
     if (res.code === 200) {
       const data = res.data || null
       currentOrder.value = data
+      // 设置订单状态标志
+      hasCurrentOrder.value = !!data
       const detailList = data && data.detailList ? data.detailList : []
       const sorted = [...detailList].sort((a, b) => {
         const sortA = Number(a.dishSort || 999999)
@@ -818,25 +908,33 @@ function formatPrice(value) {
 
 // ==================== 查看订单 ====================
 function goToOrderPage() {
-  getCurrentOrder(route.query.roomId).then((res) => {
-    if (res.code === 200 && res.data) {
-      // 有订单,切换到订单页面模式
-      currentOrder.value = res.data
-      const detailList = res.data.detailList ? res.data.detailList : []
-      const sorted = [...detailList].sort((a, b) => {
-        const sortA = Number(a.dishSort || 999999)
-        const sortB = Number(b.dishSort || 999999)
-        return sortA - sortB
-      })
-      orderedList.value = sorted.map(item => toOrderedItem(item, item.quantity || 0, 0))
-      loadOrderImages()
-      viewMode.value = 'order'
+  console.log('[查看订单] roomId:', route.query.roomId)
+  if (!hasCurrentOrder.value) {
+    message.warning('暂无订单')
+    return
+  }
+  // 打开订单详情弹窗(类似 H5)
+  orderInfoLoading.value = true
+  orderInfoDetail.value = null
+  orderInfoDialogVisible.value = true
+  getOrderDetail(currentOrder.value.id).then((res) => {
+    console.log('[查看订单] API响应:', res)
+    if (res.code === 200) {
+      orderInfoDetail.value = res.data || null
+      console.log('[查看订单] orderInfoDetail:', orderInfoDetail.value)
+      console.log('[查看订单] detailList:', orderInfoDetail.value?.detailList)
+      console.log('[查看订单] addDishList:', orderInfoDetail.value?.addDishList)
+      console.log('[查看订单] reduceDishList:', orderInfoDetail.value?.reduceDishList)
     }
     else {
-      message.info('暂无订单')
+      console.error('[查看订单] API返回非200:', res)
+      message.error(res.msg || '加载订单详情失败')
     }
-  }).catch(() => {
-    message.error('加载订单失败')
+    orderInfoLoading.value = false
+  }).catch((error) => {
+    console.error('[查看订单] 加载失败:', error)
+    message.error(error?.message || '加载订单详情失败')
+    orderInfoLoading.value = false
   })
 }
 
@@ -935,7 +1033,8 @@ function confirmSettle() {
   else {
     settleInfo.settleType = 'NORMAL'
   }
-  submitOrderData('CHECKOUT', settleInfo, false)
+  // 后端期望 settleFlag='1' 表示结账
+  submitOrderData('1', settleInfo, false)
 }
 
 // ==================== 下单 ====================
@@ -1032,16 +1131,17 @@ function confirmOrderSubmit() {
 
 function submitOrderData(settleFlag, settleInfo = {}, requireChanged = false, orderInfo = {}) {
   const changedList = changedDetailList.value
-  const detailList = settleFlag === 'CHECKOUT' && changedList.length === 0 ? [] : submitDetailList.value
+  // 后端 settleFlag: '0'=下单/加菜/退菜, '1'=结账, '2'=仅刷新金额
+  const detailList = settleFlag === '1' && changedList.length === 0 ? [] : submitDetailList.value
   if (requireChanged && changedList.length === 0) {
     message.warning('请先选择菜品')
     return
   }
-  if (settleFlag === 'CHECKOUT' && !hasCurrentOrder.value && changedList.length === 0) {
+  if (settleFlag === '1' && !hasCurrentOrder.value && changedList.length === 0) {
     message.warning('请先选择菜品')
     return
   }
-  if (settleFlag !== 'CHECKOUT' && detailList.length === 0) {
+  if (settleFlag !== '1' && detailList.length === 0) {
     message.warning('请先选择菜品')
     return
   }
@@ -1059,14 +1159,25 @@ function submitOrderData(settleFlag, settleInfo = {}, requireChanged = false, or
       submitting.value = false
       settleDialogVisible.value = false
       confirmOrderDialogVisible.value = false
-      // 刷新房间信息,但不加载订单数据,保持点菜界面
-      loadRoom(route.query.roomId)
-      // 清空已选菜品列表,回到初始点菜状态
-      orderedList.value = []
-      dishSearchName.value = ''
-      activeTypeId.value = 'all'
-      loadCategoryList()
-      loadDishList()
+      
+      // 如果是结账操作(settleFlag='1'),完成后自动返回订单列表页
+      if (settleFlag === '1') {
+        // 延迟返回,确保 toast 显示完毕
+        setTimeout(() => {
+          backRoomList()
+        }, 500)
+      }
+      else {
+        // 非结账操作(下单/加菜),刷新房间信息和当前订单
+        loadRoom(route.query.roomId)
+        loadCurrentOrder(route.query.roomId)
+        // 清空本轮新增的菜品列表(changedDetailList),但保留 orderedList(已点菜品)
+        changedDetailList.value = []
+        dishSearchName.value = ''
+        activeTypeId.value = 'all'
+        loadCategoryList()
+        loadDishList()
+      }
     }
     else {
       message.error(res.msg || '操作失败')
@@ -1128,6 +1239,17 @@ function viewCurrentOrder() {
   })
 }
 
+// 从订单详情弹窗跳转到结账
+function goToSettleFromDetail() {
+  orderInfoDialogVisible.value = false
+  // 确保有当前订单状态(从订单详情跳转到结账)
+  hasCurrentOrder.value = true
+  // 延迟打开结账弹窗,确保详情弹窗已关闭
+  setTimeout(() => {
+    openSettleDialog()
+  }, 100)
+}
+
 const orderStatusTagTypeMap = {
   ORDERING: 'warning',
   CHECKED_OUT: 'success',
@@ -1978,72 +2100,197 @@ onBeforeUnmount(() => {
   color: #909399;
 }
 
-/* ==================== 订单详情弹窗 ==================== */
+/* ==================== 订单详情弹窗(类似 H5) ==================== */
+.order-info-content {
+  max-height: 60vh;
+  overflow-y: auto;
+}
+
 .order-info-header {
   display: flex;
-  align-items: center;
+  flex-direction: column;
   gap: 12px;
-  padding: 12px 16px;
+  padding: 16px;
   background: #f8f9fa;
-  border-radius: 6px;
-  margin-bottom: 16px;
+  border-radius: 8px;
+  margin-bottom: 20px;
 }
 
-.order-info-no {
-  font-size: 13px;
-  color: #909399;
+.info-row {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  font-size: 14px;
+}
+
+.info-row .label {
+  color: #888;
+  min-width: 80px;
+}
+
+.info-row .value {
+  color: #333;
+  font-weight: 500;
+  text-align: right;
 }
 
-.order-info-total {
-  margin-left: auto;
+.info-row .value.amount {
+  color: #ea580c;
+  font-weight: 700;
   font-size: 16px;
-  font-weight: 600;
-  color: #f56c6c;
 }
 
-.order-info-items {
+.order-info-section {
+  margin-top: 20px;
+}
+
+.section-title {
+  font-size: 15px;
+  font-weight: 700;
+  color: #222;
+  padding-bottom: 8px;
+  border-bottom: 2px solid #ea580c;
+  margin-bottom: 12px;
+}
+
+.section-title.add-title {
+  border-bottom-color: #2563eb;
+}
+
+.section-title.reduce-title {
+  border-bottom-color: #ef4444;
+}
+
+.dish-list {
   display: flex;
   flex-direction: column;
   gap: 8px;
-  max-height: 300px;
-  overflow-y: auto;
 }
 
-.order-info-item {
+.dish-item {
   display: flex;
   align-items: center;
-  gap: 8px;
-  padding: 8px 12px;
+  padding: 10px 12px;
   background: #fafafa;
-  border-radius: 4px;
-}
-
-.order-info-item-index {
-  font-size: 12px;
-  color: #909399;
+  border-radius: 6px;
 }
 
-.order-info-item-name {
+.dish-item .dish-name {
   flex: 1;
   font-size: 14px;
-  color: #303133;
+  color: #333;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
 }
 
-.order-info-item-qty {
+.dish-item .dish-qty {
   font-size: 13px;
-  color: #606266;
+  color: #999;
+  margin: 0 12px;
+  min-width: 40px;
+  text-align: center;
 }
 
-.order-info-item-price {
+.dish-item .dish-price {
   font-size: 14px;
   font-weight: 600;
-  color: #f56c6c;
+  color: #ea580c;
+  min-width: 100px;
+  text-align: right;
+}
+
+.dish-item .reduce-price {
+  color: #ef4444;
 }
 
 .order-info-empty {
   text-align: center;
   color: #999;
   padding: 40px 0;
+  font-size: 14px;
+}
+
+.order-info-footer {
+  margin-top: 20px;
+  padding-top: 16px;
+  border-top: 1px solid #eee;
+  display: flex;
+  justify-content: flex-end;
+}
+
+/* ==================== 结账弹窗菜品清单 ==================== */
+.settle-dish-list-wrap {
+  border: 1px solid #e0e0e0;
+  border-radius: 8px;
+  overflow: hidden;
+}
+
+.settle-dish-list-header {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 12px 16px;
+  background: #f5f7fa;
+  cursor: pointer;
+  transition: background 0.2s;
+}
+
+.settle-dish-list-header:hover {
+  background: #ebeef5;
+}
+
+.header-title {
+  font-size: 14px;
+  font-weight: 600;
+  color: #333;
+}
+
+.header-toggle {
+  font-size: 13px;
+  color: #409eff;
+}
+
+.settle-dish-list-body {
+  max-height: 240px;
+  overflow-y: auto;
+  border-top: 1px solid #e0e0e0;
+}
+
+.settle-dish-item {
+  display: flex;
+  align-items: center;
+  padding: 10px 16px;
+  border-bottom: 1px solid #f0f0f0;
+}
+
+.settle-dish-item:last-child {
+  border-bottom: none;
+}
+
+.settle-dish-item .dish-name {
+  flex: 1;
+  font-size: 14px;
+  color: #333;
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+}
+
+.settle-dish-item .dish-qty {
+  font-size: 13px;
+  color: #999;
+  margin: 0 12px;
+  min-width: 40px;
+  text-align: center;
+}
+
+.settle-dish-item .dish-price {
+  font-size: 14px;
+  font-weight: 600;
+  color: #ea580c;
+  min-width: 100px;
+  text-align: right;
 }
 
 /* ==================== 响应式 ==================== */

+ 6 - 6
forge-admin-ui/src/views/restaurant/dishOrderIndex.vue

@@ -42,7 +42,7 @@
           v-for="item in dataList"
           :key="item.id"
           class="room-card"
-          :class="{ 'room-card-disabled': item.status === 'DISABLED' }"
+          :class="{ 'room-card-disabled': item.status === '0' }"
           @click="handleEnterOrder(item)"
         >
           <div class="room-card-top">
@@ -129,7 +129,7 @@ onMounted(() => {
 
 // ==================== 进入点菜 ====================
 function handleEnterOrder(row) {
-  if (row.status === 'DISABLED') {
+  if (row.status === '0') {
     message.warning('该包房已停用,无法点菜')
     return
   }
@@ -141,13 +141,13 @@ function handleEnterOrder(row) {
 
 // ==================== 状态标签 ====================
 const useStatusTagTypeMap = {
-  IN_USE: 'warning',
-  IDLE: 'success',
+  '1': 'warning',
+  '0': 'success',
 }
 
 const useStatusLabelMap = {
-  IN_USE: '使用中',
-  IDLE: '空闲中',
+  '1': '使用中',
+  '0': '空闲中',
 }
 
 function getUseStatusTagType(status) {

+ 11 - 2
forge-admin-ui/src/views/restaurant/dishOrderList.vue

@@ -269,16 +269,25 @@ const detailColumns = [
 ]
 
 async function handleViewDetail(row) {
+  console.log('[订单详情] row.id:', row.id, 'type:', typeof row.id)
   detailVisible.value = true
   detailLoading.value = true
   detail.value = null
   try {
     const res = await getOrderDetail(row.id)
-    if (res.code === 200)
+    console.log('[订单详情] API响应:', res)
+    if (res.code === 200) {
       detail.value = res.data
+      console.log('[订单详情] detail.value:', detail.value)
+    }
+    else {
+      console.error('[订单详情] API返回非200:', res)
+      window.$message?.error(res.msg || '加载订单详情失败')
+    }
   }
   catch (error) {
-    console.error('加载订单详情失败:', error)
+    console.error('[订单详情] 加载失败:', error)
+    window.$message?.error(error?.message || '加载订单详情失败')
   }
   finally {
     detailLoading.value = false

+ 13 - 13
forge-admin-ui/src/views/restaurant/dishRoom.vue

@@ -24,7 +24,7 @@
           v-for="item in dataList"
           :key="item.id"
           class="room-card"
-          :class="{ 'room-card-disabled': item.status === 'DISABLED' }"
+          :class="{ 'room-card-disabled': item.status === '0' }"
         >
           <div class="room-card-top">
             <div>
@@ -45,11 +45,11 @@
           </div>
 
           <div class="room-status-row">
-            <n-tag :type="item.status === 'ENABLED' ? 'success' : 'error'" size="small">
-              {{ item.status === 'ENABLED' ? '启用' : '停用' }}
+            <n-tag :type="item.status === '1' ? 'success' : 'error'" size="small">
+              {{ item.status === '1' ? '启用' : '停用' }}
             </n-tag>
             <n-tag
-              v-if="item.useStatus === 'IN_USE'"
+              v-if="item.useStatus === '1'"
               type="warning"
               size="small"
               style="margin-left: 6px"
@@ -120,10 +120,10 @@
           </n-form-item-gi>
           <n-form-item-gi :span="1" label="状态" path="status">
             <n-radio-group v-model:value="formData.status">
-              <n-radio value="ENABLED">
+              <n-radio value="1">
                 启用
               </n-radio>
-              <n-radio value="DISABLED">
+              <n-radio value="0">
                 停用
               </n-radio>
             </n-radio-group>
@@ -186,8 +186,8 @@ const searchSchema = computed(() => [
       placeholder: '请选择状态',
       clearable: true,
       options: [
-        { label: '启用', value: 'ENABLED' },
-        { label: '停用', value: 'DISABLED' },
+        { label: '启用', value: '1' },
+        { label: '停用', value: '0' },
       ],
     },
   },
@@ -264,7 +264,7 @@ const formData = ref({
   roomName: '',
   capacity: null,
   minConsumption: null,
-  status: 'ENABLED',
+  status: '1',
   sort: 0,
   remark: '',
 })
@@ -280,7 +280,7 @@ function resetForm() {
     roomName: '',
     capacity: null,
     minConsumption: null,
-    status: 'ENABLED',
+    status: '1',
     sort: 0,
     remark: '',
   }
@@ -301,7 +301,7 @@ function handleEdit(row) {
     roomName: row.roomName || '',
     capacity: row.capacity,
     minConsumption: row.minConsumption !== null && row.minConsumption !== undefined ? row.minConsumption / 100 : null,
-    status: row.status || 'ENABLED',
+    status: row.status || '1',
     sort: row.sort || 0,
     remark: row.remark || '',
   }
@@ -353,7 +353,7 @@ function handleDelete(row) {
 // ==================== 切换状态 ====================
 
 function handleToggleStatus(row) {
-  if (row.useStatus === 'IN_USE') {
+  if (row.useStatus === '1') {
     dialog.warning({
       title: '提示',
       content: '该包房正在使用中,无法修改状态',
@@ -361,7 +361,7 @@ function handleToggleStatus(row) {
     })
     return
   }
-  const action = row.status === 'ENABLED' ? '停用' : '启用'
+  const action = row.status === '1' ? '停用' : '启用'
   dialog.warning({
     title: '提示',
     content: `确定${action}包房「${row.roomName}」吗?`,

+ 9 - 9
forge-admin-ui/src/views/restaurant/dishType.vue

@@ -31,12 +31,12 @@ const crudRef = ref(null)
 
 // 状态标签颜色映射
 const statusColorMap = {
-  ENABLED: 'success',
-  DISABLED: 'default',
+  '1': 'success',
+  '0': 'default',
 }
 const statusLabelMap = {
-  ENABLED: '启用',
-  DISABLED: '禁用',
+  '1': '启用',
+  '0': '禁用',
 }
 
 // 父级分类选项(从树形数据扁平化)
@@ -94,8 +94,8 @@ const tableColumns = computed(() => [
     label: '操作',
     width: 200,
     render: (row) => {
-      const toggleText = row.status === 'ENABLED' ? '禁用' : '启用'
-      const toggleType = row.status === 'ENABLED' ? 'text-warning' : 'text-success'
+      const toggleText = row.status === '1' ? '禁用' : '启用'
+      const toggleType = row.status === '1' ? 'text-warning' : 'text-success'
       return h('div', { class: 'flex gap-3' }, [
         h('a', {
           class: 'text-primary cursor-pointer hover:opacity-80',
@@ -148,12 +148,12 @@ const editSchema = computed(() => [
     field: 'status',
     label: '状态',
     type: 'select',
-    defaultValue: 'ENABLED',
+    defaultValue: '1',
     props: {
       placeholder: '请选择状态',
       options: [
-        { label: '启用', value: 'ENABLED' },
-        { label: '禁用', value: 'DISABLED' },
+        { label: '启用', value: '1' },
+        { label: '禁用', value: '0' },
       ],
     },
   },

+ 2 - 2
forge-h5-ui/.env.development

@@ -11,8 +11,8 @@ VITE_RESOURCE_HOST=/
 # 模板文件下载地址
 VITE_TEMPLATE_PATH=/templates
 
-# Forge App 服务代理地址(H5 默认连接 app-server)
-VITE_HTTP_PROXY_TARGET=http://127.0.0.1:8583/
+# Forge Admin 主服务代理地址(H5 默认连接 admin-server)
+VITE_HTTP_PROXY_TARGET=http://127.0.0.1:8580/
 
 # Flowable 流程服务代理地址(待办、审批处理)
 VITE_FLOW_PROXY_TARGET=http://127.0.0.1:8081/

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/activity.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-activity"><polyline points="22 12 18 12 15 21 9 3 6 12 2 12"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/airplay.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-airplay"><path d="M5 17H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-1"></path><polygon points="12 15 17 21 7 21 12 15"></polygon></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/alert-circle.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-circle"><circle cx="12" cy="12" r="10"></circle><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/alert-octagon.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-octagon"><polygon points="7.86 2 16.14 2 22 7.86 22 16.14 16.14 22 7.86 22 2 16.14 2 7.86 7.86 2"></polygon><line x1="12" y1="8" x2="12" y2="12"></line><line x1="12" y1="16" x2="12.01" y2="16"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/alert-triangle.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-alert-triangle"><path d="M10.29 3.86L1.82 18a2 2 0 0 0 1.71 3h16.94a2 2 0 0 0 1.71-3L13.71 3.86a2 2 0 0 0-3.42 0z"></path><line x1="12" y1="9" x2="12" y2="13"></line><line x1="12" y1="17" x2="12.01" y2="17"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/align-center.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-center"><line x1="18" y1="10" x2="6" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="18" y1="18" x2="6" y2="18"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/align-justify.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-justify"><line x1="21" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="3" y2="18"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/align-left.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-left"><line x1="17" y1="10" x2="3" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="17" y1="18" x2="3" y2="18"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/align-right.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-align-right"><line x1="21" y1="10" x2="7" y2="10"></line><line x1="21" y1="6" x2="3" y2="6"></line><line x1="21" y1="14" x2="3" y2="14"></line><line x1="21" y1="18" x2="7" y2="18"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/anchor.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-anchor"><circle cx="12" cy="5" r="3"></circle><line x1="12" y1="22" x2="12" y2="8"></line><path d="M5 12H2a10 10 0 0 0 20 0h-3"></path></svg>

文件差异内容过多而无法显示
+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/aperture.svg


文件差异内容过多而无法显示
+ 16 - 0
forge-h5-ui/public/static/icons/ai-icon/apifox.svg


+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/archive.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-archive"><polyline points="21 8 21 21 3 21 3 8"></polyline><rect x="1" y="3" width="22" height="5"></rect><line x1="10" y1="12" x2="14" y2="12"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-down-circle.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="8 12 12 16 16 12"></polyline><line x1="12" y1="8" x2="12" y2="16"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-down-left.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-left"><line x1="17" y1="7" x2="7" y2="17"></line><polyline points="17 17 7 17 7 7"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-down-right.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down-right"><line x1="7" y1="7" x2="17" y2="17"></line><polyline points="17 7 17 17 7 17"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-down.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-down"><line x1="12" y1="5" x2="12" y2="19"></line><polyline points="19 12 12 19 5 12"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-left-circle.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="12 8 8 12 12 16"></polyline><line x1="16" y1="12" x2="8" y2="12"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-left.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-left"><line x1="19" y1="12" x2="5" y2="12"></line><polyline points="12 19 5 12 12 5"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-right-circle.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="12 16 16 12 12 8"></polyline><line x1="8" y1="12" x2="16" y2="12"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-right.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-right"><line x1="5" y1="12" x2="19" y2="12"></line><polyline points="12 5 19 12 12 19"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-up-circle.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-circle"><circle cx="12" cy="12" r="10"></circle><polyline points="16 12 12 8 8 12"></polyline><line x1="12" y1="16" x2="12" y2="8"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-up-left.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-left"><line x1="17" y1="17" x2="7" y2="7"></line><polyline points="7 17 7 7 17 7"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-up-right.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up-right"><line x1="7" y1="17" x2="17" y2="7"></line><polyline points="7 7 17 7 17 17"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/arrow-up.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-arrow-up"><line x1="12" y1="19" x2="12" y2="5"></line><polyline points="5 12 12 5 19 12"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/at-sign.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-at-sign"><circle cx="12" cy="12" r="4"></circle><path d="M16 8v5a3 3 0 0 0 6 0v-1a10 10 0 1 0-3.92 7.94"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/award.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-award"><circle cx="12" cy="8" r="7"></circle><polyline points="8.21 13.89 7 23 12 20 17 23 15.79 13.88"></polyline></svg>

文件差异内容过多而无法显示
+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/awesome.svg


+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/bar-chart-2.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart-2"><line x1="18" y1="20" x2="18" y2="10"></line><line x1="12" y1="20" x2="12" y2="4"></line><line x1="6" y1="20" x2="6" y2="14"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/bar-chart.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bar-chart"><line x1="12" y1="20" x2="12" y2="10"></line><line x1="18" y1="20" x2="18" y2="4"></line><line x1="6" y1="20" x2="6" y2="16"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/battery-charging.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-battery-charging"><path d="M5 18H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3.19M15 6h2a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2h-3.19"></path><line x1="23" y1="13" x2="23" y2="11"></line><polyline points="11 6 7 12 13 12 9 18"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/battery.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-battery"><rect x="1" y="6" width="18" height="12" rx="2" ry="2"></rect><line x1="23" y1="13" x2="23" y2="11"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/bell-off.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell-off"><path d="M13.73 21a2 2 0 0 1-3.46 0"></path><path d="M18.63 13A17.89 17.89 0 0 1 18 8"></path><path d="M6.26 6.26A5.86 5.86 0 0 0 6 8c0 7-3 9-3 9h14"></path><path d="M18 8a6 6 0 0 0-9.33-5"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/bell.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bell"><path d="M18 8A6 6 0 0 0 6 8c0 7-3 9-3 9h18s-3-2-3-9"></path><path d="M13.73 21a2 2 0 0 1-3.46 0"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/bluetooth.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bluetooth"><polyline points="6.5 6.5 17.5 17.5 12 23 12 1 17.5 6.5 6.5 17.5"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/bold.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bold"><path d="M6 4h8a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path><path d="M6 12h9a4 4 0 0 1 4 4 4 4 0 0 1-4 4H6z"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/book-open.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/book.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book"><path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"></path><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/bookmark.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-bookmark"><path d="M19 21l-7-5-7 5V5a2 2 0 0 1 2-2h10a2 2 0 0 1 2 2z"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/box.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-box"><path d="M21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16z"></path><polyline points="3.27 6.96 12 12.01 20.73 6.96"></polyline><line x1="12" y1="22.08" x2="12" y2="12"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/briefcase.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-briefcase"><rect x="2" y="7" width="20" height="14" rx="2" ry="2"></rect><path d="M16 21V5a2 2 0 0 0-2-2h-4a2 2 0 0 0-2 2v16"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/calendar.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-calendar"><rect x="3" y="4" width="18" height="18" rx="2" ry="2"></rect><line x1="16" y1="2" x2="16" y2="6"></line><line x1="8" y1="2" x2="8" y2="6"></line><line x1="3" y1="10" x2="21" y2="10"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/camera-off.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-camera-off"><line x1="1" y1="1" x2="23" y2="23"></line><path d="M21 21H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h3m3-3h6l2 3h4a2 2 0 0 1 2 2v9.34m-7.72-2.06a4 4 0 1 1-5.56-5.56"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/camera.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-camera"><path d="M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z"></path><circle cx="12" cy="13" r="4"></circle></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/cast.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cast"><path d="M2 16.1A5 5 0 0 1 5.9 20M2 12.05A9 9 0 0 1 9.95 20M2 8V6a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2h-6"></path><line x1="2" y1="20" x2="2.01" y2="20"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/check-circle.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-circle"><path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"></path><polyline points="22 4 12 14.01 9 11.01"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/check-square.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check-square"><polyline points="9 11 12 14 22 4"></polyline><path d="M21 12v7a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h11"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/check.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-check"><polyline points="20 6 9 17 4 12"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chevron-down.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chevron-left.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-left"><polyline points="15 18 9 12 15 6"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chevron-right.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-right"><polyline points="9 18 15 12 9 6"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chevron-up.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-up"><polyline points="18 15 12 9 6 15"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chevrons-down.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-down"><polyline points="7 13 12 18 17 13"></polyline><polyline points="7 6 12 11 17 6"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chevrons-left.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-left"><polyline points="11 17 6 12 11 7"></polyline><polyline points="18 17 13 12 18 7"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chevrons-right.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-right"><polyline points="13 17 18 12 13 7"></polyline><polyline points="6 17 11 12 6 7"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chevrons-up.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevrons-up"><polyline points="17 11 12 6 7 11"></polyline><polyline points="17 18 12 13 7 18"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/chrome.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chrome"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="4"></circle><line x1="21.17" y1="8" x2="12" y2="8"></line><line x1="3.95" y1="6.06" x2="8.54" y2="14"></line><line x1="10.88" y1="21.94" x2="15.46" y2="14"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/circle.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-circle"><circle cx="12" cy="12" r="10"></circle></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/clipboard.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clipboard"><path d="M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2"></path><rect x="8" y="2" width="8" height="4" rx="1" ry="1"></rect></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/clock.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-clock"><circle cx="12" cy="12" r="10"></circle><polyline points="12 6 12 12 16 14"></polyline></svg>

文件差异内容过多而无法显示
+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/cloud-drizzle.svg


+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/cloud-lightning.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud-lightning"><path d="M19 16.9A5 5 0 0 0 18 7h-1.26a8 8 0 1 0-11.62 9"></path><polyline points="13 11 9 17 15 17 11 23"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/cloud-off.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud-off"><path d="M22.61 16.95A5 5 0 0 0 18 10h-1.26a8 8 0 0 0-7.05-6M5 5a8 8 0 0 0 4 15h9a5 5 0 0 0 1.7-.3"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/cloud-rain.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud-rain"><line x1="16" y1="13" x2="16" y2="21"></line><line x1="8" y1="13" x2="8" y2="21"></line><line x1="12" y1="15" x2="12" y2="23"></line><path d="M20 16.58A5 5 0 0 0 18 7h-1.26A8 8 0 1 0 4 15.25"></path></svg>

文件差异内容过多而无法显示
+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/cloud-snow.svg


+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/cloud.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-cloud"><path d="M18 10h-1.26A8 8 0 1 0 9 20h9a5 5 0 0 0 0-10z"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/code.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-code"><polyline points="16 18 22 12 16 6"></polyline><polyline points="8 6 2 12 8 18"></polyline></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/codepen.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-codepen"><polygon points="12 2 22 8.5 22 15.5 12 22 2 15.5 2 8.5 12 2"></polygon><line x1="12" y1="22" x2="12" y2="15.5"></line><polyline points="22 8.5 12 15.5 2 8.5"></polyline><polyline points="2 15.5 12 8.5 22 15.5"></polyline><line x1="12" y1="2" x2="12" y2="8.5"></line></svg>

文件差异内容过多而无法显示
+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/codesandbox.svg


+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/coffee.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-coffee"><path d="M18 8h1a4 4 0 0 1 0 8h-1"></path><path d="M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z"></path><line x1="6" y1="1" x2="6" y2="4"></line><line x1="10" y1="1" x2="10" y2="4"></line><line x1="14" y1="1" x2="14" y2="4"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/columns.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-columns"><path d="M12 3h7a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-7m0-18H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h7m0-18v18"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/command.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-command"><path d="M18 3a3 3 0 0 0-3 3v12a3 3 0 0 0 3 3 3 3 0 0 0 3-3 3 3 0 0 0-3-3H6a3 3 0 0 0-3 3 3 3 0 0 0 3 3 3 3 0 0 0 3-3V6a3 3 0 0 0-3-3 3 3 0 0 0-3 3 3 3 0 0 0 3 3h12a3 3 0 0 0 3-3 3 3 0 0 0-3-3z"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/compass.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-compass"><circle cx="12" cy="12" r="10"></circle><polygon points="16.24 7.76 14.12 14.12 7.76 16.24 9.88 9.88 16.24 7.76"></polygon></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/copy.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-copy"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/corner-down-left.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-down-left"><polyline points="9 10 4 15 9 20"></polyline><path d="M20 4v7a4 4 0 0 1-4 4H4"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/corner-down-right.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-down-right"><polyline points="15 10 20 15 15 20"></polyline><path d="M4 4v7a4 4 0 0 0 4 4h12"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/corner-left-down.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-left-down"><polyline points="14 15 9 20 4 15"></polyline><path d="M20 4h-7a4 4 0 0 0-4 4v12"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/corner-left-up.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-left-up"><polyline points="14 9 9 4 4 9"></polyline><path d="M20 20h-7a4 4 0 0 1-4-4V4"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/corner-right-down.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-right-down"><polyline points="10 15 15 20 20 15"></polyline><path d="M4 4h7a4 4 0 0 1 4 4v12"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/corner-right-up.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-right-up"><polyline points="10 9 15 4 20 9"></polyline><path d="M4 20h7a4 4 0 0 0 4-4V4"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/corner-up-left.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-up-left"><polyline points="9 14 4 9 9 4"></polyline><path d="M20 20v-7a4 4 0 0 0-4-4H4"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/corner-up-right.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-corner-up-right"><polyline points="15 14 20 9 15 4"></polyline><path d="M4 20v-7a4 4 0 0 1 4-4h12"></path></svg>

文件差异内容过多而无法显示
+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/cpu.svg


+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/credit-card.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-credit-card"><rect x="1" y="4" width="22" height="16" rx="2" ry="2"></rect><line x1="1" y1="10" x2="23" y2="10"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/crop.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-crop"><path d="M6.13 1L6 16a2 2 0 0 0 2 2h15"></path><path d="M1 6.13L16 6a2 2 0 0 1 2 2v15"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/crosshair.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-crosshair"><circle cx="12" cy="12" r="10"></circle><line x1="22" y1="12" x2="18" y2="12"></line><line x1="6" y1="12" x2="2" y2="12"></line><line x1="12" y1="6" x2="12" y2="2"></line><line x1="12" y1="22" x2="12" y2="18"></line></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/database.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-database"><ellipse cx="12" cy="5" rx="9" ry="3"></ellipse><path d="M21 12c0 1.66-4 3-9 3s-9-1.34-9-3"></path><path d="M3 5v14c0 1.66 4 3 9 3s9-1.34 9-3V5"></path></svg>

+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/delete.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-delete"><path d="M21 4H8l-7 8 7 8h13a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2z"></path><line x1="18" y1="9" x2="12" y2="15"></line><line x1="12" y1="9" x2="18" y2="15"></line></svg>

文件差异内容过多而无法显示
+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/dialog.svg


+ 1 - 0
forge-h5-ui/public/static/icons/ai-icon/disc.svg

@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-disc"><circle cx="12" cy="12" r="10"></circle><circle cx="12" cy="12" r="3"></circle></svg>

+ 0 - 0
forge-h5-ui/public/static/icons/ai-icon/divide.svg


部分文件因为文件数量过多而无法显示