<template>
  <div class="tip">
    <div class="tip-left">
      <cr-image width="28px" height="28px" src="@/assets/images/sericeGoods/yxm-log.png" />
      <span class="tip-left__text">前往APP查看更多特惠商品</span>
    </div>
    <cr-button class="tip-button" type="primary" size="mini">APP下载</cr-button>
  </div>
</template>
<style lang="less" scoped>
.tip {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 40px;
  padding: 0 20px;
  box-sizing: border-box;
  background-color: #ffece6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  &-left {
    display: flex;
    align-items: center;
    &__text {
      margin-left: 5px;
      color: @black;
      .text-size(13);
    }
  }
  &-button {
    .text-size(13);
    width: 77px;
    border-radius: 4px;
  }
}
</style>
