Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
h5
/
glsx-posters
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit ef149579
authored
May 24, 2023
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修复bug
1 parent
653a57d2
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
10 deletions
src/assets/styles/equity/goodNews.scss
src/utils/config1.ts
src/views/equity/goodNews.vue
vite.config.ts
src/assets/styles/equity/goodNews.scss
View file @
ef14957
...
@@ -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
:
5
px
;
margin-left
:
8
px
;
font-weight
:
400
;
font-weight
:
400
;
}
}
}
}
...
...
src/utils/config1.ts
View file @
ef14957
...
@@ -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-2
2 15:02:24
* @LastEditTime: 2023-05-2
4 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('http
s://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
src/views/equity/goodNews.vue
View file @
ef14957
...
@@ -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-2
3 14:06:44
* @LastEditTime: 2023-05-2
4 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>
...
...
vite.config.ts
View file @
ef14957
...
@@ -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: 202
2-10-24 10:10:51
* @LastEditTime: 202
3-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/
,
''
)
}
}
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment