Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
P
precision-effect
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
precision-effect
Commits
7ab86d65
Commit
7ab86d65
authored
Jun 12, 2023
by
lizhichao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化样式
parent
17a17653
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
41 deletions
+41
-41
zehong.scss
precision-effect-web/src/assets/styles/zehong.scss
+22
-22
index.vue
precision-effect-web/src/components/Pagination/index.vue
+17
-17
index.vue
precision-effect-web/src/views/trade/index.vue
+1
-1
vue.config.js
precision-effect-web/vue.config.js
+1
-1
No files found.
precision-effect-web/src/assets/styles/zehong.scss
View file @
7ab86d65
...
...
@@ -256,7 +256,7 @@
float
:
right
;
}
$--color-primary
:
#1890ff
;
// dialog
.el-dialog
{
padding
:
0
20px
!
important
;
...
...
@@ -268,29 +268,29 @@
}
.el-dialog__header
{
border
:
1px
solid
rgba
(
222
,
222
,
222
,
0
.53
);
border
-bottom
:
1px
solid
rgba
(
222
,
222
,
222
,
1
);
position
:
relative
;
padding
:
15px
0
10px
!
important
;
//
&:before {
//
content: "";
//
width: 16px;
//
height: 3px;
//
position: absolute;
//
background-color: $--color-primary;
//
left: 0;
//
bottom: -2px;
//
}
//
&:after {
//
content: "";
//
width: 16px;
//
height: 3px;
//
position: absolute;
//
background-color: $--color-primary;
//
right: 0;
//
bottom: -2px;
//
}
&
:before
{
content
:
""
;
width
:
16px
;
height
:
3px
;
position
:
absolute
;
background-color
:
$--color-primary
;
left
:
0
;
bottom
:
-2px
;
}
&
:after
{
content
:
""
;
width
:
16px
;
height
:
3px
;
position
:
absolute
;
background-color
:
$--color-primary
;
right
:
0
;
bottom
:
-2px
;
}
.el-dialog__title
{
font-size
:
16px
;
color
:
#333333
;
...
...
@@ -323,4 +323,4 @@
.flex
{
display
:
flex
;
}
\ No newline at end of file
}
precision-effect-web/src/components/Pagination/index.vue
View file @
7ab86d65
<
template
>
<div
:class=
"
{ hidden: hidden }" class="pagination-container flex">
<div
class=
"flex"
>
<div
class=
"myBtn"
:class=
"
{ active: active===index }"
v-for="item,index in pageSizes"
:key="item"
@click="handleSizeChange(index)"
>
{{
item
}}
</div
>
</div
>
<div
>
<!--
<div
class=
"flex"
>
--
>
<!--
<div-->
<!-- class="myBtn"-->
<!-- :class="
{ active: active===index }"-->
<!-- v-for="item,index in pageSizes"-->
<!-- :key="item"-->
<!-- @click="handleSizeChange(index)"-->
<!-- >--
>
<!--
{{
item
}}
-->
<!--
</div>
--
>
<!--
</div>
--
>
<!--
<div>
--
>
<el-pagination
:background=
"background"
:current-page
.
sync=
"currentPage"
...
...
@@ -25,7 +25,7 @@
<!-- @size-change="handleSizeChange" -->
</div>
</div
>
<!--
</div>
--
>
</
template
>
<
script
>
...
...
@@ -54,8 +54,8 @@ export default {
},
layout
:
{
type
:
String
,
//
default: 'total, sizes, prev, pager, next, jumper'
default
:
"prev, pager, next"
,
default
:
'total, sizes, prev, pager, next, jumper'
//
default: "prev, pager, next",
},
background
:
{
type
:
Boolean
,
...
...
@@ -94,13 +94,13 @@ export default {
methods
:
{
handleSizeChange
(
val
)
{
this
.
active
=
val
;
this
.
$emit
(
"pagination"
,
{
page
:
this
.
currentPage
,
limit
:
this
.
pageSize
s
[
val
]
});
this
.
$emit
(
"pagination"
,
{
page
:
this
.
currentPage
,
limit
:
this
.
pageSize
});
if
(
this
.
autoScroll
)
{
scrollTo
(
0
,
800
);
}
},
handleCurrentChange
(
val
)
{
this
.
$emit
(
"pagination"
,
{
page
:
val
,
limit
:
this
.
pageSize
s
[
active
]
});
this
.
$emit
(
"pagination"
,
{
page
:
val
,
limit
:
this
.
pageSize
});
if
(
this
.
autoScroll
)
{
scrollTo
(
0
,
800
);
}
...
...
precision-effect-web/src/views/trade/index.vue
View file @
7ab86d65
...
...
@@ -427,7 +427,7 @@ export default {
this
.
loading
=
true
;
selectTTradeProjectListByRoles
({
...
this
.
queryParams
,
pageSize
:
value
?.
limit
?
value
.
limit
:
this
.
queryParams
.
pageSize
,
//
pageSize: value?.limit ? value.limit : this.queryParams.pageSize,
}).
then
((
response
)
=>
{
this
.
projectList
=
response
.
rows
;
this
.
total
=
response
.
total
;
...
...
precision-effect-web/vue.config.js
View file @
7ab86d65
...
...
@@ -34,7 +34,7 @@ module.exports = {
proxy
:
{
// detail: https://cli.vuejs.org/config/#devserver-proxy
[
process
.
env
.
VUE_APP_BASE_API
]:
{
target
:
`http://
192.168.1.5
:8668/precisionEffect`
,
target
:
`http://
localhost
:8668/precisionEffect`
,
changeOrigin
:
true
,
pathRewrite
:
{
[
'^'
+
process
.
env
.
VUE_APP_BASE_API
]:
''
...
...
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