Commit 2f930b36 authored by chenqikuai's avatar chenqikuai

UI修改

parent 4b694bdd
...@@ -5,7 +5,8 @@ $whiteColor: #FFFFFF; ...@@ -5,7 +5,8 @@ $whiteColor: #FFFFFF;
$fontColorBlue: #3F79FE; $fontColorBlue: #3F79FE;
$fontColorBlack: #353535; $fontColorBlack: #353535;
$fontColorGray: #737582; $fontColorGray: #8E8C92;
$placeholderColor: #C2C2C2;
$borderColorGray: #E4E4E4; $borderColorGray: #E4E4E4;
......
...@@ -58,8 +58,11 @@ export default class TemplateDetail extends Vue { ...@@ -58,8 +58,11 @@ export default class TemplateDetail extends Vue {
.title-text{ .title-text{
text-align: left; text-align: left;
font-size: 18px; font-size: 18px;
height: 60px;
line-height: 60px; line-height: 60px;
border-bottom: 1px solid #F0F0F0;; box-sizing: border-box;
border-bottom: 1px solid #F0F0F0;
font-weight: bold;
} }
} }
</style> </style>
...@@ -81,8 +81,12 @@ export default class CodeInput extends Vue { ...@@ -81,8 +81,12 @@ export default class CodeInput extends Vue {
padding-left: 11px; padding-left: 11px;
color: $fontColorBlue; color: $fontColorBlue;
&.disabled { &.disabled {
color: $fontColorGray; color: #8E8C92;
} }
} }
} }
::v-deep .van-field__control::placeholder {
font-weight: 500;
color: #C2C2C2 !important;
}
</style> </style>
\ No newline at end of file
<template> <template>
<van-field <van-field
class="phone-input" class="phone-input"
:value="phone" :value="phone"
@input="input" @input="input"
placeholder="请输入手机号" placeholder="请输入手机号"
:maxlength="11" :maxlength="11"
label-align="right" label-align="right"
:disabled="!canEditPhone" :disabled="!canEditPhone"
clearable clearable
/> />
</template> </template>
<script lang="ts"> <script lang="ts">
import { Component, Vue, Model, Emit, Prop } from 'vue-property-decorator'; import { Component, Vue, Model, Emit, Prop } from 'vue-property-decorator';
...@@ -20,9 +20,9 @@ import { isPhone } from '@/const/pattern'; ...@@ -20,9 +20,9 @@ import { isPhone } from '@/const/pattern';
name: 'PhoneInput', name: 'PhoneInput',
}) })
export default class PhoneInput extends Vue { export default class PhoneInput extends Vue {
@Model ('input', { type: String, required: true }) @Model('input', { type: String, required: true })
private readonly phone!: string; private readonly phone!: string;
@Prop({ type: Boolean, default: true}) @Prop({ type: Boolean, default: true })
private readonly canEditPhone!: boolean; private readonly canEditPhone!: boolean;
@Emit('input') @Emit('input')
...@@ -32,10 +32,10 @@ export default class PhoneInput extends Vue { ...@@ -32,10 +32,10 @@ export default class PhoneInput extends Vue {
} }
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
.phone-input{ .phone-input {
font-size: 14px; font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC; font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #1F292D; color: #1f292d;
} }
</style> </style>
\ No newline at end of file
...@@ -75,10 +75,12 @@ export default class LoginLayout extends Vue {} ...@@ -75,10 +75,12 @@ export default class LoginLayout extends Vue {}
::v-deep { ::v-deep {
.van-field { .van-field {
&__control{ &__control{
color: $fontColorBlack; font-size: 14px;
font-family: PingFangSC-Medium, PingFang SC;
font-weight: 500; font-weight: 500;
color: #1f292d;
&::-webkit-input-placeholder{ &::-webkit-input-placeholder{
color: $fontColorGray; color: $placeholderColor;
} }
} }
} }
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
<div> <div>
<div v-if="word.type === 3" class="word-item"> <div v-if="word.type === 3" class="word-item">
<div style="display:flex;flex-direction:row;justify-content:space-between;" class="data-item van-hairline--bottom"> <div style="display:flex;flex-direction:row;justify-content:space-between;" class="data-item van-hairline--bottom">
<div style="color:#353535;font-size:18px;font-weight:500;">{{word.label}}</div> <div style="color:#353535;font-size:18px;" class="title-text">{{word.label}}</div>
<div style="width: 30px;text-align:center;"> <div style="width: 30px;text-align:center;">
<common-svg name="cunzhengliebiao-gengduo" width="20px" height="20px" @click.native="showActionHandler(wordIndex)"></common-svg> <common-svg name="cunzhengliebiao-gengduo" width="20px" height="20px" @click.native="showActionHandler(wordIndex)"></common-svg>
</div> </div>
...@@ -89,5 +89,8 @@ export default class WordItem extends Vue { ...@@ -89,5 +89,8 @@ export default class WordItem extends Vue {
grid-row: span 2; grid-row: span 2;
place-self: center; place-self: center;
} }
.title-text{
font-weight: bold;
}
} }
</style> </style>
\ No newline at end of file
...@@ -453,7 +453,7 @@ export default class Add extends Vue { ...@@ -453,7 +453,7 @@ export default class Add extends Vue {
.template{ .template{
display: flow-root; display: flow-root;
min-height: 100vh; min-height: 100vh;
background-color:#F0F1F5; background-color:#F9F9FB;
} }
.template-item { .template-item {
text-align: left; text-align: left;
......
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