Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bill-manager-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
bill-manager-ui
Commits
3e6e4621
Commit
3e6e4621
authored
Oct 17, 2024
by
“yiyousong”
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: 修改vue.config配置
parent
fce772e3
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
9 deletions
+20
-9
admin_2/src/App.vue
admin_2/src/App.vue
+1
-1
admin_2/src/pages/home/Home.vue
admin_2/src/pages/home/Home.vue
+4
-4
admin_2/src/pages/home/components/AreaCard.vue
admin_2/src/pages/home/components/AreaCard.vue
+1
-1
admin_2/src/pages/login/Login.vue
admin_2/src/pages/login/Login.vue
+1
-1
admin_2/src/utils/request.js
admin_2/src/utils/request.js
+3
-2
admin_2/vue.config.js
admin_2/vue.config.js
+10
-0
No files found.
admin_2/src/App.vue
View file @
3e6e4621
...
@@ -31,7 +31,7 @@ export default {
...
@@ -31,7 +31,7 @@ export default {
<
style
lang=
"less"
scoped
>
<
style
lang=
"less"
scoped
>
.app {
.app {
background-color: #eff0f4;
background-color: #eff0f4;
font-family: Source Han Sans CN;
//
font-family: Source Han Sans CN;
.loading {
.loading {
display: flex;
display: flex;
align-items: center;
align-items: center;
...
...
admin_2/src/pages/home/Home.vue
View file @
3e6e4621
...
@@ -150,9 +150,9 @@ export default {
...
@@ -150,9 +150,9 @@ export default {
}
}
.top-data-total {
.top-data-total {
background: url("@/assets/img/banner.png") no-repeat center / 100% 100%;
background: url("@/assets/img/banner.png") no-repeat center / 100% 100%;
font-family: Source Han Sans CN;
//
font-family: Source Han Sans CN;
.title {
.title {
font-family: FZZhengHeiS-EB-GB;
//
font-family: FZZhengHeiS-EB-GB;
font-size: 28px;
font-size: 28px;
color: #1541e3;
color: #1541e3;
font-weight: bold;
font-weight: bold;
...
@@ -178,14 +178,14 @@ export default {
...
@@ -178,14 +178,14 @@ export default {
}
}
:deep(.el-statistic) {
:deep(.el-statistic) {
.number {
.number {
font-family: Source Han Sans CN;
//
font-family: Source Han Sans CN;
font-weight: bold;
font-weight: bold;
font-size: 34px;
font-size: 34px;
color: var(--primary);
color: var(--primary);
}
}
}
}
.main {
.main {
font-family: Source Han Sans CN;
//
font-family: Source Han Sans CN;
.main-title {
.main-title {
margin-bottom: 27px;
margin-bottom: 27px;
font-weight: bold;
font-weight: bold;
...
...
admin_2/src/pages/home/components/AreaCard.vue
View file @
3e6e4621
...
@@ -80,7 +80,7 @@ export default {
...
@@ -80,7 +80,7 @@ export default {
.area-card {
.area-card {
width: 100%;
width: 100%;
height: 150px;
height: 150px;
font-family: Source Han Sans CN;
//
font-family: Source Han Sans CN;
border-radius: 8px;
border-radius: 8px;
position: relative;
position: relative;
overflow: hidden;
overflow: hidden;
...
...
admin_2/src/pages/login/Login.vue
View file @
3e6e4621
...
@@ -120,7 +120,7 @@ export default {
...
@@ -120,7 +120,7 @@ export default {
let
mark
=
new
Date
().
getTime
();
let
mark
=
new
Date
().
getTime
();
// this.form.mark = mark;
// this.form.mark = mark;
this
.
securityUrl
=
this
.
securityUrl
=
this
.
api
+
"
/
zwfw
/securitycode/createCode
"
+
`?mark=
${
mark
}
`
;
this
.
api
+
"
/
bill
/securitycode/createCode
"
+
`?mark=
${
mark
}
`
;
},
},
onSubmit
()
{
onSubmit
()
{
...
...
admin_2/src/utils/request.js
View file @
3e6e4621
...
@@ -10,9 +10,10 @@ import { message } from "@/utils/resetMessage";
...
@@ -10,9 +10,10 @@ import { message } from "@/utils/resetMessage";
// 请求超时时间
// 请求超时时间
axios
.
defaults
.
timeout
=
60
*
1000
;
axios
.
defaults
.
timeout
=
60
*
1000
;
// 跨域允许携带cookie
axios
.
defaults
.
withCredentials
=
true
;
// 设置统一服务器地址
// 设置统一服务器地址
axios
.
defaults
.
baseURL
=
process
.
env
.
VUE_APP_API_BASE_URL
;
// axios.defaults.baseURL = ""
;
// 请求拦截
// 请求拦截
axios
.
interceptors
.
request
.
use
(
axios
.
interceptors
.
request
.
use
(
(
config
)
=>
{
(
config
)
=>
{
...
...
admin_2/vue.config.js
View file @
3e6e4621
...
@@ -18,6 +18,16 @@ module.exports = defineConfig({
...
@@ -18,6 +18,16 @@ module.exports = defineConfig({
// "^/file": "",
// "^/file": "",
// }
// }
},
},
"
/base
"
:
{
target
:
process
.
env
.
VUE_APP_API_BASE_URL
,
changeOrigin
:
true
,
cookieDomainRewrite
:
"
localhost
"
,
},
"
/bill
"
:
{
target
:
process
.
env
.
VUE_APP_API_BASE_URL
,
changeOrigin
:
true
,
cookieDomainRewrite
:
"
localhost
"
,
},
"
/uploads
"
:
{
"
/uploads
"
:
{
target
:
process
.
env
.
VUE_APP_API_BASE_URL
,
target
:
process
.
env
.
VUE_APP_API_BASE_URL
,
changeOrigin
:
true
,
changeOrigin
:
true
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment