Commit ef149579 by 胡悦

修复bug

1 parent 653a57d2
...@@ -67,10 +67,11 @@ ...@@ -67,10 +67,11 @@
color: #F2383B; color: #F2383B;
font-style: italic; font-style: italic;
font-weight: 600; font-weight: 600;
align-items: baseline;
.order-unit { .order-unit {
font-size: 26px; font-size: 26px;
font-style: normal; font-style: normal;
margin-left: 5px; margin-left: 8px;
font-weight: 400; font-weight: 400;
} }
} }
......
...@@ -3,12 +3,12 @@ ...@@ -3,12 +3,12 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 10:54:14 * @Date: 2022-10-10 10:54:14
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-05-22 15:02:24 * @LastEditTime: 2023-05-24 14:27:33
*/ */
const fetchConfig1 = function (isEnv = true) { const fetchConfig1 = function (isEnv = true) {
// return window.fetch('http://oss-config.dev.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json()) // return window.fetch('http://oss-config.dev.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
return window.fetch('https://oss-config.test.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json()) return window.fetch('https://oss-config.test.glsx.com.cn/mock/618cb9331072f92988f05a23/wx/djposter-config', {}).then(res => res.json())
// return window.fetch('https://config-center-backend.glsx.com.cn/glsxAdmin/config?moduleUrl=djposter-config').then(res => res.json()) // return window.fetch('http://192.168.1.68:7001/glsxAdmin/config?moduleUrl=djposter-config').then(res => res.json())
} }
// const $mockConfig = await fetchConfig() // const $mockConfig = await fetchConfig()
export default fetchConfig1 export default fetchConfig1
\ No newline at end of file \ No newline at end of file
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 15:26:23 * @Date: 2022-10-10 15:26:23
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2023-05-23 14:06:44 * @LastEditTime: 2023-05-24 15:07:55
--> -->
<template> <template>
<div class="wrapper-good equity-box"> <div class="wrapper-good equity-box">
...@@ -56,19 +56,19 @@ ...@@ -56,19 +56,19 @@
<div class="order-list"> <div class="order-list">
<div class="order-item"> <div class="order-item">
<div class="order-label">今日单量</div> <div class="order-label">今日单量</div>
<div class="order-value">{{data.newInfo!.orderNumber}}<span class="order-unit">单</span></div> <div class="order-value"><span>{{data.newInfo!.orderNumber?.toLocaleString()}}</span><span class="order-unit">单</span></div>
</div> </div>
<div class="order-item"> <div class="order-item">
<div class="order-label">升级客单价</div> <div class="order-label">升级客单价</div>
<div class="order-value">{{data.newInfo!.orderPrice}}<span class="order-unit">元</span></div> <div class="order-value"><span>{{data.newInfo!.orderPrice?.toLocaleString()}}</span><span class="order-unit">元</span></div>
</div> </div>
<div class="order-item"> <div class="order-item">
<div class="order-label">本月累计单量</div> <div class="order-label">本月累计单量</div>
<div class="order-value">{{data.newInfo!.monthOrderNumber}}<span class="order-unit">单</span></div> <div class="order-value"><span>{{data.newInfo!.monthOrderNumber?.toLocaleString()}}</span><span class="order-unit">单</span></div>
</div> </div>
<div class="order-item"> <div class="order-item">
<div class="order-label">本月累计产值</div> <div class="order-label">本月累计产值</div>
<div class="order-value">{{data.newInfo!.monthTurnover}}<span class="order-unit">元</span></div> <div class="order-value"><span>{{data.newInfo!.monthTurnover?.toLocaleString()}}</span><span class="order-unit">元</span></div>
</div> </div>
</div> </div>
</div> </div>
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* @Author: huyue * @Author: huyue
* @Date: 2022-10-10 10:54:14 * @Date: 2022-10-10 10:54:14
* @LastEditors: huyue * @LastEditors: huyue
* @LastEditTime: 2022-10-24 10:10:51 * @LastEditTime: 2023-05-24 10:18:45
*/ */
import { defineConfig } from 'vite' import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue' import vue from '@vitejs/plugin-vue'
...@@ -52,7 +52,7 @@ export default defineConfig({ ...@@ -52,7 +52,7 @@ export default defineConfig({
// 自定义代理规则 // 自定义代理规则
proxy: { proxy: {
'/api': { '/api': {
target: 'http://192.168.3.101:8247', target: 'http://192.168.1.68:7001',
changeOrigin: true, changeOrigin: true,
rewrite: path => path.replace(/^\/api/, '') rewrite: path => path.replace(/^\/api/, '')
} }
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!