favorite.vue 1.4 KB

<template>
  <div class="page">
    <div class="app__bgc bgc"></div>
    <div class="app__bg bg"></div>
    <div class="app__content main">
      <div class="top-space"></div>
      <div class="nav">
        <div class="nav-item active">
          收藏的店铺
          <div class="under"></div>
        </div>
        <div class="nav-v-line"></div>
        <div class="nav-item">
          收藏的商品
          <div class="under"></div>
        </div>
      </div>
      <div class="content">
        <div class="shop-list">
          <div class="shop" v-for="(item,index) in 1" :key="index">
            <img class="shop-icon" src="https://kd.cdn.xyiyang.com/pro/zlzm/8dd50cc01c03400fb567fd165ddd5016.jpg" alt="">
            <div class="shop-detail">
              <div class="cTitle shop-detail-title">宝汇珠宝有限公司</div>
              <div class="shop-detail-desc">
                <div class="t1">孙先生</div>
                <div class="t1">13250271319</div>
                <div class="t1">广州市番禺区沙头街大罗村进村路1号</div>
              </div>
            </div>
            <div class="shop-btn-wrap">
              <div @click="onFavoriteHandler" class="shop-btn">查看店铺</div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<script src="./favorite.js"></script>
<style lang="scss" scoped>
@import "./favorite.scss";
</style>