Commit 1b4b82ee by pangchong

style: 样式统一

parent 764e316f
<template> <template>
<!-- 全局自定义navbar --> <!-- 全局自定义navbar -->
<uni-nav-bar <uni-nav-bar :title="title" :border="false" :backgroundColor="backgroundColor" left-icon="left" :leftWidth="leftWidth" :rightWidth="rightWidth">
:title="title"
:border="false"
:backgroundColor="backgroundColor"
:color="color"
left-icon="left"
:leftWidth="leftWidth"
:rightWidth="rightWidth"
>
<template #left> <template #left>
<slot name="left"></slot> <slot name="left"></slot>
</template> </template>
...@@ -24,10 +16,6 @@ const ps = defineProps({ ...@@ -24,10 +16,6 @@ const ps = defineProps({
type: String, type: String,
default: '' default: ''
}, },
color: {
type: String,
default: '#1D2129'
},
backgroundColor: { backgroundColor: {
type: String, type: String,
default: '#f7f8fa' default: '#f7f8fa'
......
...@@ -164,10 +164,10 @@ const clear = () => { ...@@ -164,10 +164,10 @@ const clear = () => {
display: flex; display: flex;
align-items: center; align-items: center;
&-value { &-value {
color: $uni-text-5; color: $uni-text-4;
} }
&.placeholder { &.placeholder {
color: #86909c; color: $uni-text-3;
} }
&.disabled { &.disabled {
background: #f5f7fa; background: #f5f7fa;
......
...@@ -24,6 +24,7 @@ const ps = defineProps({ ...@@ -24,6 +24,7 @@ const ps = defineProps({
margin-bottom: 16rpx; margin-bottom: 16rpx;
.label { .label {
min-width: 50%; min-width: 50%;
color: $uni-text-5;
} }
text { text {
text-align: right; text-align: right;
......
...@@ -75,7 +75,7 @@ const handleAdd = () => { ...@@ -75,7 +75,7 @@ const handleAdd = () => {
margin-top: 16rpx; margin-top: 16rpx;
padding: 16rpx 24rpx; padding: 16rpx 24rpx;
border-radius: 12rpx; border-radius: 12rpx;
color: $uni-text-5; color: $uni-text-4;
background: #ffffff; background: #ffffff;
&-title { &-title {
display: flex; display: flex;
...@@ -88,6 +88,7 @@ const handleAdd = () => { ...@@ -88,6 +88,7 @@ const handleAdd = () => {
align-items: center; align-items: center;
.txt { .txt {
margin-left: 8rpx; margin-left: 8rpx;
color: $uni-text-5;
} }
} }
} }
......
...@@ -70,7 +70,6 @@ ...@@ -70,7 +70,6 @@
padding: 16rpx 0; padding: 16rpx 0;
} }
&-bottom { &-bottom {
color: $uni-text-5;
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;
.person-info { .person-info {
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
} }
.place { .place {
font-size: 28rpx; font-size: 28rpx;
color: #86909c; color: $uni-text-3;
} }
} }
} }
......
...@@ -23,7 +23,10 @@ ...@@ -23,7 +23,10 @@
<view class="details-body-top"> <view class="details-body-top">
<view class="top"> <view class="top">
<global-icon icon="mind-mapping"></global-icon> <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>
<view class="bottom" v-if="details.department != '-1' && details.appraisee != '-1'"> <view class="bottom" v-if="details.department != '-1' && details.appraisee != '-1'">
{{ details.department != '-1' ? details.department : '-' }} {{ details.department != '-1' ? details.department : '-' }}
...@@ -43,11 +46,17 @@ ...@@ -43,11 +46,17 @@
<view class="details-footer-bottom"> <view class="details-footer-bottom">
<view class="person-info"> <view class="person-info">
<global-icon icon="idcard"></global-icon> <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>
<view class="person-info"> <view class="person-info">
<global-icon icon="idcard"></global-icon> <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> </view>
</view> </view>
......
.uni-navbar__header { .uni-navbar__header {
padding: 0 24rpx !important; padding: 0 24rpx !important;
.uni-nav-bar-text {
color: $uni-text-5 !important;
font-size: 34rpx !important;
}
} }
.u-form-item__body { .u-form-item__body {
padding: 24rpx 0 !important; padding: 24rpx 0 !important;
.u-form-item__body__left__content__label { .u-form-item__body__left__content__label {
color: $uni-text-5; color: $uni-text-5 !important;
font-size: 28rpx; font-size: 28rpx !important;
}
.u-input__content__field-wrapper__field {
color: $uni-text-4 !important;
} }
.u-textarea { .u-textarea {
margin-top: 8rpx; margin-top: 8rpx;
.u-textarea__field {
font-size: 28rpx !important;
color: $uni-text-4 !important;
}
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment