将颜色替换为主题色

This commit is contained in:
weipengfei 2023-07-25 17:44:18 +08:00
parent 786b34086b
commit 980bab11ef
8 changed files with 38 additions and 45 deletions

View File

@ -299,7 +299,7 @@
.right { .right {
font-size: 28rpx; font-size: 28rpx;
font-weight: 500; font-weight: 500;
color: #3274F9; color: $theme-oa-color;
} }
} }
@ -383,7 +383,7 @@
.right { .right {
font-size: 28rpx; font-size: 28rpx;
font-weight: 500; font-weight: 500;
color: #3274F9; color: $theme-oa-color;
line-height: 35rpx; line-height: 35rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -392,7 +392,7 @@
.icon { .icon {
width: 35rpx; width: 35rpx;
height: 39rpx; height: 39rpx;
background-color: #3274F9; background-color: $theme-oa-color;
opacity: 1; opacity: 1;
margin-right: 10rpx margin-right: 10rpx
} }
@ -423,7 +423,7 @@
.back_btn { .back_btn {
width: 694rpx; width: 694rpx;
height: 84rpx; height: 84rpx;
background: #3274F9; background: $theme-oa-color;
border-radius: 42rpx 42rpx 42rpx 42rpx; border-radius: 42rpx 42rpx 42rpx 42rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
@ -439,7 +439,7 @@
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;
color: #3274F9; color: $theme-oa-color;
background-color: transparent; background-color: transparent;
margin: 30rpx auto; margin: 30rpx auto;
} }

View File

@ -226,7 +226,7 @@ import { Toast } from "../../libs/uniApi";
} }
.get-code { .get-code {
color: #3274F9; color: $theme-oa-color;
} }
} }
@ -239,7 +239,7 @@ import { Toast } from "../../libs/uniApi";
.submit_btn { .submit_btn {
width: 613rpx; width: 613rpx;
height: 112rpx; height: 112rpx;
background: #3274F9; background: $theme-oa-color;
border-radius: 56rpx 56rpx 56rpx 56rpx; border-radius: 56rpx 56rpx 56rpx 56rpx;
opacity: 1; opacity: 1;
text-align: center; text-align: center;

View File

@ -58,12 +58,6 @@
onShow() { onShow() {
this.loadCompanyList(); this.loadCompanyList();
}, },
onReady() {
uni.setNavigationBarColor({
frontColor: '#ffffff',
backgroundColor: '#3175f9'
})
},
onReachBottom() { onReachBottom() {
this.loadCompanyList(); this.loadCompanyList();
}, },
@ -129,7 +123,7 @@
margin: 28rpx; margin: 28rpx;
} }
.active{ .active{
background: #3274F9; background: $theme-oa-color;
color: #fff; color: #fff;
} }
} }
@ -161,7 +155,7 @@
.info_type{ .info_type{
font-size: 25rpx; font-size: 25rpx;
font-weight: 500; font-weight: 500;
color: #3274F9; color: $theme-oa-color;
margin-top: 10rpx; margin-top: 10rpx;
} }
.btn{ .btn{

View File

@ -180,7 +180,7 @@ page{
// background-color: #fff; // background-color: #fff;
} }
.finance_head{ .finance_head{
background-color: #3274F9FF; background-color: $theme-oa-color;
height: 400rpx; height: 400rpx;
position: relative; position: relative;
// box-shadow: 0 -10px 20px rgba(#fff, 0.9) inset; // box-shadow: 0 -10px 20px rgba(#fff, 0.9) inset;
@ -279,24 +279,29 @@ page{
background-color: #fff; background-color: #fff;
padding: 32rpx 0; padding: 32rpx 0;
.type{ .type{
border-radius: 30rpx; height: 53rpx;
height: 52.5rpx;
width: 333rpx; width: 333rpx;
border: 1px solid #3274f9;
display: flex; display: flex;
align-items: center; align-items: center;
overflow: hidden; overflow: hidden;
margin: 0 auto; margin: 0 auto;
view{ view{
flex: 1; flex: 1;
color: #3274f9; color: $theme-oa-color;
height: 100%; height: 100%;
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
border: 1px solid $theme-oa-color;
&:nth-child(1){
border-radius: 30rpx 0 0 30rpx;
}
&:nth-child(2){
border-radius: 0 30rpx 30rpx 0;
}
} }
.active{ .active{
background-color: #3274f9; background-color: $theme-oa-color;
color: #fff; color: #fff;
} }
} }
@ -318,7 +323,7 @@ page{
.blue{ .blue{
width: 137rpx; width: 137rpx;
height: 49rpx; height: 49rpx;
background: #3274F9; background: $theme-oa-color;
border-radius: 26rpx 26rpx 26rpx 26rpx; border-radius: 26rpx 26rpx 26rpx 26rpx;
font-size: 25rpx; font-size: 25rpx;
font-weight: 400; font-weight: 400;
@ -369,7 +374,7 @@ page{
margin-top: 84.21rpx; margin-top: 84.21rpx;
width: 693.93rpx; width: 693.93rpx;
height: 84.21rpx; height: 84.21rpx;
background: #3274F9; background: $theme-oa-color;
box-shadow: 0px 9px 26px 1px #E9EFF5; box-shadow: 0px 9px 26px 1px #E9EFF5;
position: fixed; position: fixed;
bottom: 0; bottom: 0;

View File

@ -56,12 +56,6 @@
import { Toast } from '@/libs/uniApi.js' import { Toast } from '@/libs/uniApi.js'
import {companyUser} from "@/api/company.js" import {companyUser} from "@/api/company.js"
export default { export default {
onReady() {
uni.setNavigationBarColor({
frontColor: '#ffffff',
backgroundColor: '#3175f9'
})
},
data() { data() {
return { return {
loadConfig:{ loadConfig:{
@ -121,7 +115,7 @@ export default {
margin-bottom: 40rpx; margin-bottom: 40rpx;
width: 694rpx; width: 694rpx;
height: 84rpx; height: 84rpx;
background: #3274F9; background: $theme-oa-color;
border-radius: 42rpx 42rpx 42rpx 42rpx; border-radius: 42rpx 42rpx 42rpx 42rpx;
color: #fff; color: #fff;
line-height: 80rpx; line-height: 80rpx;
@ -163,7 +157,7 @@ export default {
} }
} }
.type_blue{ .type_blue{
background-color: #3274f9; background-color: $theme-oa-color;
} }
.top{ .top{
// background-color: #3274F9; // background-color: #3274F9;
@ -182,7 +176,7 @@ export default {
align-items: flex-end; align-items: flex-end;
font-size: 25rpx; font-size: 25rpx;
font-weight: 400; font-weight: 400;
color: #3274F9; color: $theme-oa-color;
.info_name{ .info_name{
font-size: 32rpx; font-size: 32rpx;
font-weight: 400; font-weight: 400;
@ -244,10 +238,10 @@ export default {
background: #FFFFFF; background: #FFFFFF;
border-radius: 26rpx 26rpx 26rpx 26rpx; border-radius: 26rpx 26rpx 26rpx 26rpx;
opacity: 1; opacity: 1;
border: 2rpx solid #3274F9; border: 2rpx solid $theme-oa-color;
font-size: 28rpx; font-size: 28rpx;
font-weight: 400; font-weight: 400;
color: #3274F9; color: $theme-oa-color;
display: flex; display: flex;
justify-content: center; justify-content: center;
align-items: center; align-items: center;

View File

@ -176,7 +176,7 @@
height: 250rpx; height: 250rpx;
.bg { .bg {
background-color: #3274F9FF; background-color: $theme-oa-color;
height: 170rpx; height: 170rpx;
width: 100vw; width: 100vw;
border-radius: 0rpx 0rpx 28rpx 28rpx; border-radius: 0rpx 0rpx 28rpx 28rpx;
@ -250,8 +250,8 @@
} }
.active { .active {
border: 2rpx solid #3274F9; border: 2rpx solid $theme-oa-color;
color: #3274F9; color: $theme-oa-color;
} }
} }
@ -273,7 +273,7 @@
width: 694rpx; width: 694rpx;
height: 84rpx; height: 84rpx;
margin-top: 73.6rpx; margin-top: 73.6rpx;
background: #3274F9; background: $theme-oa-color;
box-shadow: 0rpx 14rpx 44rpx 2rpx #E9EFF5; box-shadow: 0rpx 14rpx 44rpx 2rpx #E9EFF5;
border-radius: 42rpx 42rpx 42rpx 42rpx; border-radius: 42rpx 42rpx 42rpx 42rpx;
display: flex; display: flex;
@ -294,7 +294,7 @@
.title { .title {
font-size: 32rpx; font-size: 32rpx;
font-weight: 500; font-weight: 500;
color: #3274F9; color: $theme-oa-color;
line-height: 32rpx; line-height: 32rpx;
margin-bottom: 21rpx; margin-bottom: 21rpx;
} }

View File

@ -90,7 +90,7 @@ export default {
.tips{ .tips{
width: 137rpx; width: 137rpx;
height: 49rpx; height: 49rpx;
background: #3274F9; background: $theme-oa-color;
border-radius: 26rpx 26rpx 26rpx 26rpx; border-radius: 26rpx 26rpx 26rpx 26rpx;
font-size: 25rpx; font-size: 25rpx;
font-weight: 400; font-weight: 400;

View File

@ -130,7 +130,7 @@
height: 250rpx; height: 250rpx;
.bg { .bg {
background-color: #3274F9FF; background-color: $theme-oa-color;
height: 170rpx; height: 170rpx;
width: 100vw; width: 100vw;
border-radius: 0rpx 0rpx 28rpx 28rpx; border-radius: 0rpx 0rpx 28rpx 28rpx;
@ -204,8 +204,8 @@
} }
.active { .active {
border: 2rpx solid #3274F9; border: 2rpx solid $theme-oa-color;
color: #3274F9; color: $theme-oa-color;
} }
} }
@ -227,7 +227,7 @@
width: 694rpx; width: 694rpx;
height: 84rpx; height: 84rpx;
margin-top: 73.6rpx; margin-top: 73.6rpx;
background: #3274F9; background: $theme-oa-color;
box-shadow: 0rpx 14rpx 44rpx 2rpx #E9EFF5; box-shadow: 0rpx 14rpx 44rpx 2rpx #E9EFF5;
border-radius: 42rpx 42rpx 42rpx 42rpx; border-radius: 42rpx 42rpx 42rpx 42rpx;
display: flex; display: flex;
@ -248,7 +248,7 @@
.title { .title {
font-size: 32rpx; font-size: 32rpx;
font-weight: 500; font-weight: 500;
color: #3274F9; color: $theme-oa-color;
line-height: 32rpx; line-height: 32rpx;
margin-bottom: 21rpx; margin-bottom: 21rpx;
} }