Commit bedf8a724ca76c5ee256862d609cbbc3ef9e9d97

Authored by zhiyangdu
1 parent 174163ed

关注列表

src/components/dresserList/dresserList.less 0 → 100644
  1 +.item_box{
  2 + margin: 30px;
  3 + padding-bottom: 30px;
  4 + border-bottom: solid 1px #F2F2F2;
  5 + display: flex;
  6 + align-items: center;
  7 + .head_portrait{
  8 + width: 100px;
  9 + height: 100px;
  10 + border-radius: 100px;
  11 + }
  12 + .user_info{
  13 + margin-left: 30px;
  14 + text-align: left;
  15 + flex: 1;
  16 + .name{
  17 + height:40px;
  18 + font-size:28px;
  19 + font-weight:500;
  20 + color:rgba(51,51,51,1);
  21 + line-height:40px;
  22 + }
  23 + .desc{
  24 + height:33px;
  25 + font-size:24px;
  26 + font-weight:400;
  27 + color:rgba(102,102,102,1);
  28 + line-height:33px;
  29 + margin-top: 10px;
  30 + }
  31 + }
  32 + .arrow_right{
  33 + width: 25px;
  34 + height: 25px;
  35 + display: flex;
  36 + justify-content: flex-end;
  37 + align-items: flex-end;
  38 + }
  39 +}
... ...
src/components/dresserList/dresserList.vue 0 → 100644
  1 +<template>
  2 + <div>
  3 + <!--标题-->
  4 + <textTitleBox :titles="null"></textTitleBox>
  5 + <div class="item_box">
  6 + <img class="head_portrait" src="/static/img/1.png" alt="网家家"/>
  7 + <div class="user_info">
  8 + <div class="name">
  9 + 冯提莫
  10 + </div>
  11 + <div class="desc">
  12 + 冯提莫描述
  13 + </div>
  14 + </div>
  15 + <img class="arrow_right" src="/static/img/icon_arrow_right.png" alt="网家家"/>
  16 + </div>
  17 + </div>
  18 +</template>
  19 +
  20 +<script>
  21 + import textTitleBox from "@/components/textTitleBox/textTitleBox";
  22 + export default {
  23 + name: 'dresserList',
  24 + data () {
  25 + return {
  26 +
  27 + }
  28 + },
  29 + props: ["dresserList"],
  30 + components:{
  31 + textTitleBox
  32 + },
  33 + created(){
  34 +
  35 + },
  36 + methods: {
  37 + }
  38 + }
  39 +</script>
  40 +
  41 +<!-- Add "scoped" attribute to limit CSS to this component only -->
  42 +<style rel="stylesheet/less" lang="less" scoped>
  43 + @import "dresserList";
  44 +</style>
... ...