user-info.vue 2.46 KB
<template>
    <div class="user-info-container">
        <div class="notes">
            <h5>用户备忘录</h5>
            <textarea name="" id="" rows="5"></textarea>
            <div class="update-note-btn">更新备忘录</div>
        </div>
        <div class="bind-user">
             <h5>绑定用户</h5>
             <div>用户微信号:</div>
             <div class="search">
                 <input type="text" value="" placeholder="用户UID查询(请输入有货手机号/订单编号)">
                 <span class="search-btn"></span>
             </div>
             <div>用户UID:</div>
             <textarea name="" id="" rows="6" placeholder="备注(非必填)"></textarea>
             <div class="update-note-btn">绑定用户</div>
        </div>
    </div>
</template>

<script>
import homeModel from '../../../models/home';

export default {
    name: 'user-info',
    data() {
        return {
        };
    },
    mounted() {
    },
    methods: {
    },
    components: {
    }
}
</script>

<style lang="scss" scoped>
.user-info-container {
    .notes {
        width: 90%;
        margin: 10px auto 0;
        background: #eee;
        border-radius: 5px;
        padding: 10px;
        box-sizing: border-box;

        h5 {
            text-align: center;
            padding: 0;
            margin: 0;
        }

        textarea {
            width: 100%;
            margin: 10px 0 0;
            box-sizing: border-box;
            resize: none;
        }

        .update-note-btn {
            width: 100%;
            background: #000;
            color: #fff;
            text-align: center;
            line-height: 24px;
            border-radius: 5px;
            margin-top: 10px;
        }
    }

    .bind-user {
        width: 90%;
        margin: 10px auto 0;
        background: #eee;
        border-radius: 5px;
        padding: 10px;
        box-sizing: border-box;

        h5 {
            text-align: center;
            padding: 0;
            margin: 0;
        }

        .search {
            width: 100%;
            background: #fff;
            margin: 10px 0;
        }

        textarea {
            width: 100%;
            margin: 10px 0 0;
            resize: none;
        }

        .update-note-btn {
            width: 100%;
            background: #000;
            color: #fff;
            text-align: center;
            line-height: 24px;
            border-radius: 5px;
            margin-top: 10px;
        }
    }
}
</style>