<template>
  <div class="good-list-item-con flex-default">
    <img class="thumb" />
    <div class="info-con">
      <div class="top">
        <div class="name-con">
          <div class="tab">转让</div>
          <p class="name">产品名称耳机字段描述产品名称耳机字段描述产品名称……</p>
        </div>
        <m-price :amt="3299.9" :rmbSize="10" :intSize="20" :floatSize="14" />
      </div>
      <div class="merchant flex-default">
        <img class="avatar" />
        <span class="name">今天天气好晴朗</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less">
.good-list-item-con {
  background: #ffffff;
  border-radius: 6px;
  padding: 15px;
  margin-bottom: 10px;
  > .thumb {
    width: 100px;
    height: 100px;
    border-radius: 6px;
    margin-right: 10px;
  }
  > .info-con {
    flex: 1;
    height: 100px;
    display: flex;
    flex-direction: column;
    .top {
      flex: 1;
      .name-con {
        position: relative;
      }
      .name-con .name {
        font-size: 14px;
        font-weight: bold;
        line-height: 18px;
        text-indent: 34px;
        margin-bottom: 5px;
      }
      .name-con .tab {
        position: absolute;
        left: 0;
        top: 3px;
        background: linear-gradient(295deg, #f07c5b 0%, #dd2e41 100%);
        border-radius: 2px;
        line-height: 12px;
        padding: 0 3px;
        color: #ffffff;
      }
    }
    .merchant {
      .avatar {
        width: 18px;
        height: 18px;
        margin-right: 5px;
      }
      .name {
        color: #999999;
        font-size: 11px;
      }
    }
  }
}
</style>

