liuyg
2022-02-21 e3dcaeb0180a4e37347ac9ceb44c8a59ae7af37f
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
<template>
    <view class="once">
        <view class="title">
            {{title}}
        </view>
        <view class="input">
            {{input}}
        </view>
    </view>
</template>
 
<script>
    export default {
        props: ["title", "input"]
    }
</script>
 
<style scoped lang="scss">
    .once{
        padding: 0 5px;
        display: flex;
        justify-content: center;
        // align-items: center;
        min-height: 40px;
        box-sizing: border-box;
        background-color: #fff;
        border-bottom: 1px solid #e3e3e3;
        font-weight: 500;
        .title{
            padding: 8px 0;
            width: 20%;
        }
        .input{
            width: 80%;
            padding: 8px 0;
        }
    }
</style>