Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mocp-uniapp
Overview
Overview
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
pangchong
mocp-uniapp
Commits
1b4b82ee
Commit
1b4b82ee
authored
May 28, 2024
by
pangchong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
style: 样式统一
parent
764e316f
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
32 additions
and
23 deletions
+32
-23
src/components/global-navbar/global-navbar.vue
+1
-13
src/components/global-picker/global-picker.vue
+2
-2
src/pages/panel/appraisal-record/components/card-details-item.vue
+1
-0
src/pages/panel/appraisal-record/components/card-details.vue
+2
-1
src/pages/panel/appraisal-record/constants/details.scss
+0
-1
src/pages/panel/appraisal-record/constants/list.scss
+1
-1
src/pages/panel/appraisal-record/details.vue
+12
-3
src/static/css/uni.scss
+4
-0
src/static/css/uview-plus.scss
+9
-2
No files found.
src/components/global-navbar/global-navbar.vue
View file @
1b4b82ee
<
template
>
<!-- 全局自定义navbar -->
<uni-nav-bar
:title=
"title"
:border=
"false"
:backgroundColor=
"backgroundColor"
:color=
"color"
left-icon=
"left"
:leftWidth=
"leftWidth"
:rightWidth=
"rightWidth"
>
<uni-nav-bar
:title=
"title"
:border=
"false"
:backgroundColor=
"backgroundColor"
left-icon=
"left"
:leftWidth=
"leftWidth"
:rightWidth=
"rightWidth"
>
<template
#
left
>
<slot
name=
"left"
></slot>
</
template
>
...
...
@@ -24,10 +16,6 @@ const ps = defineProps({
type
:
String
,
default
:
''
},
color
:
{
type
:
String
,
default
:
'#1D2129'
},
backgroundColor
:
{
type
:
String
,
default
:
'#f7f8fa'
...
...
src/components/global-picker/global-picker.vue
View file @
1b4b82ee
...
...
@@ -164,10 +164,10 @@ const clear = () => {
display
:
flex
;
align-items
:
center
;
&-value
{
color
:
$
uni-text-
5
;
color
:
$
uni-text-
4
;
}
&
.placeholder
{
color
:
#86909c
;
color
:
$
uni-text-3
;
}
&
.disabled
{
background
:
#f5f7fa
;
...
...
src/pages/panel/appraisal-record/components/card-details-item.vue
View file @
1b4b82ee
...
...
@@ -24,6 +24,7 @@ const ps = defineProps({
margin-bottom
:
16
rpx
;
.label
{
min-width
:
50%
;
color
:
$
uni-text-5
;
}
text
{
text-align
:
right
;
...
...
src/pages/panel/appraisal-record/components/card-details.vue
View file @
1b4b82ee
...
...
@@ -75,7 +75,7 @@ const handleAdd = () => {
margin-top
:
16
rpx
;
padding
:
16
rpx
24
rpx
;
border-radius
:
12
rpx
;
color
:
$
uni-text-
5
;
color
:
$
uni-text-
4
;
background
:
#ffffff
;
&-title
{
display
:
flex
;
...
...
@@ -88,6 +88,7 @@ const handleAdd = () => {
align-items
:
center
;
.txt
{
margin-left
:
8
rpx
;
color
:
$
uni-text-5
;
}
}
}
...
...
src/pages/panel/appraisal-record/constants/details.scss
View file @
1b4b82ee
...
...
@@ -70,7 +70,6 @@
padding
:
16rpx
0
;
}
&
-bottom
{
color
:
$uni-text-5
;
display
:
flex
;
justify-content
:
flex-end
;
.person-info
{
...
...
src/pages/panel/appraisal-record/constants/list.scss
View file @
1b4b82ee
...
...
@@ -23,7 +23,7 @@
}
.place
{
font-size
:
28rpx
;
color
:
#86909c
;
color
:
$uni-text-3
;
}
}
}
...
...
src/pages/panel/appraisal-record/details.vue
View file @
1b4b82ee
...
...
@@ -23,7 +23,10 @@
<
view
class
=
"details-body-top"
>
<
view
class
=
"top"
>
<
global
-
icon
icon
=
"mind-mapping"
><
/global-icon
>
<
text
class
=
"txt u-line-1"
>
事件来源
:{{
details
.
eventSource
||
' -'
}}
<
/text
>
<
view
class
=
"txt u-line-1"
>
<
text
class
=
"color-text-5"
>
事件来源
:
<
/text
>
{{
details
.
eventSource
||
' -'
}}
<
/view
>
<
/view
>
<
view
class
=
"bottom"
v
-
if
=
"details.department != '-1' && details.appraisee != '-1'"
>
{{
details
.
department
!=
'-1'
?
details
.
department
:
'-'
}}
...
...
@@ -43,11 +46,17 @@
<
view
class
=
"details-footer-bottom"
>
<
view
class
=
"person-info"
>
<
global
-
icon
icon
=
"idcard"
><
/global-icon
>
<
text
class
=
"txt"
>
当班人员:
{{
details
.
onDutyUser
||
'-'
}}
<
/text
>
<
view
class
=
"txt"
>
<
text
class
=
"color-text-5"
>
当班人员:
<
/text
>
{{
details
.
onDutyUser
||
'-'
}}
<
/view
>
<
/view
>
<
view
class
=
"person-info"
>
<
global
-
icon
icon
=
"idcard"
><
/global-icon
>
<
text
class
=
"txt"
>
值班人员:
{{
details
.
dmName
||
'-'
}}
<
/text
>
<
view
class
=
"txt"
>
<
text
class
=
"color-text-5"
>
值班人员:
<
/text
>
{{
details
.
dmName
||
'-'
}}
<
/view
>
<
/view
>
<
/view
>
<
/view
>
...
...
src/static/css/uni.scss
View file @
1b4b82ee
.uni-navbar__header
{
padding
:
0
24rpx
!
important
;
.uni-nav-bar-text
{
color
:
$uni-text-5
!
important
;
font-size
:
34rpx
!
important
;
}
}
src/static/css/uview-plus.scss
View file @
1b4b82ee
.u-form-item__body
{
padding
:
24rpx
0
!
important
;
.u-form-item__body__left__content__label
{
color
:
$uni-text-5
;
font-size
:
28rpx
;
color
:
$uni-text-5
!
important
;
font-size
:
28rpx
!
important
;
}
.u-input__content__field-wrapper__field
{
color
:
$uni-text-4
!
important
;
}
.u-textarea
{
margin-top
:
8rpx
;
.u-textarea__field
{
font-size
:
28rpx
!
important
;
color
:
$uni-text-4
!
important
;
}
}
}
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