diff --git a/.env.development b/.env.development index 11276d8..f5887ec 100644 --- a/.env.development +++ b/.env.development @@ -5,6 +5,6 @@ VITE_APP_TITLE = 运营云后台管理系统 VITE_APP_ENV = 'development' # 开发环境 -VITE_APP_BASE_API = 'http://192.168.18.99:8080' +VITE_APP_BASE_API = 'http://192.168.18.88:8080' # VITE_APP_BASE_API = 'http://192.168.18.151:8080' VITE_APP_PLATFORM = 'http://localhost:9000/platform' \ No newline at end of file diff --git a/src/assets/styles/custom.scss b/src/assets/styles/custom.scss index 6b428af..bd6fe69 100644 --- a/src/assets/styles/custom.scss +++ b/src/assets/styles/custom.scss @@ -243,8 +243,8 @@ justify-content: center; align-items: center; .table-cell-img { - width: 60px; - height: 60px; + width: 100%; + height: 100%; object-fit: cover; /* 保持比例并覆盖容器 */ } } diff --git a/src/views/trade/dataBoard copy已对接口.vue b/src/views/trade/dataBoard copy已对接口.vue new file mode 100644 index 0000000..af3d9da --- /dev/null +++ b/src/views/trade/dataBoard copy已对接口.vue @@ -0,0 +1,1124 @@ + + + + + + 运营看板 + + + + + + + + + + + + + 销售总额(元) + + {{ topLeftData.salesTotalAmount }} + + + + + 订单总数(单) + + {{ topLeftData.orderTotalNum }} + + + + + + + 浏览量(次) + + {{ topLeftData.viewCount }} + + + + + 成功退款金额(元) + + {{ topLeftData.refundSuccessAmout }} + + + + + + + + + + + + + {{ item.title }} + + + + + + + + + + {{ item.valueStr ?? "--" }} + + {{ item.unit ?? "" }} + + + + {{ item.ratioMethod }}: + + + + + + + + {{ item.ratioValue ?? "" }}% + + + + + + + + 商品销量 + + + + + + + + + + + + + + {{ slotProps.row.ranking }} + + + + + + + + + + + + + 售后概况 + + + + + 售后订单数量(单) + + {{ afterSalesData.totalAfterSalesOrders }} + + + + 退货退款金额(元) + + {{ afterSalesData.totalRefundAmount }} + + + + 退货退款订单数量(单) + + {{ afterSalesData.totalRefundOrders }} + + + + + + + + + 预警商品 + + + + 退款订单量 + + + 退款金额 + + + + + 暂无数据 + + + + + + + {{ item.goodName }} + + + + + {{ item.refundedOrders }}单 + + + + + {{ item.refundAmount }}元 + + + + + + + + + + + + + diff --git a/src/views/trade/dataBoard.vue b/src/views/trade/dataBoard.vue index af3d9da..bc61ff2 100644 --- a/src/views/trade/dataBoard.vue +++ b/src/views/trade/dataBoard.vue @@ -1,1124 +1,6 @@ - - - - - 运营看板 - - - - - - - - - - - - - 销售总额(元) - - {{ topLeftData.salesTotalAmount }} - - - - - 订单总数(单) - - {{ topLeftData.orderTotalNum }} - - - - - - - 浏览量(次) - - {{ topLeftData.viewCount }} - - - - - 成功退款金额(元) - - {{ topLeftData.refundSuccessAmout }} - - - - - - - - - - - - - {{ item.title }} - - - - - - - - - - {{ item.valueStr ?? "--" }} - - {{ item.unit ?? "" }} - - - - {{ item.ratioMethod }}: - - - - - - - - {{ item.ratioValue ?? "" }}% - - - - - - - - 商品销量 - - - - - - - - - - - - - - {{ slotProps.row.ranking }} - - - - - - - - - - - - - 售后概况 - - - - - 售后订单数量(单) - - {{ afterSalesData.totalAfterSalesOrders }} - - - - 退货退款金额(元) - - {{ afterSalesData.totalRefundAmount }} - - - - 退货退款订单数量(单) - - {{ afterSalesData.totalRefundOrders }} - - - - - - - - - 预警商品 - - - - 退款订单量 - - - 退款金额 - - - - - 暂无数据 - - - - - - - {{ item.goodName }} - - - - - {{ item.refundedOrders }}单 - - - - - {{ item.refundAmount }}元 - - - - - - - - + + 开发中... - - - + \ No newline at end of file