<template>
  <div id="lxfs">
    <footer class="site-footer">
      <div class="site-footer__upper">
        <div class="container">
          <div class="row">
            <div class="col-lg-3">
              <div class="footer-widget footer-widget__about">
                <span style="font-weight:bold">厦门祖儿科技</span>
                <p class="footer-widget__contact">联系电话</p>
                <p class="footer-widget__contact">
                  <a href="tel:400-661-7777">400-661-7777</a>
                </p>
                <!-- /.footer-widget__contact -->
              </div>
              <!-- /.footer-widget -->
            </div>
            <!-- /.col-lg-2 -->
            <div
              class="col-lg-6 d-flex justify-content-between footer-widget__links-wrap"
            >
              <div class="footer-widget">
                <h3 class="footer-widget__title">上班时间</h3>
                <!-- /.footer-widget__title -->
                <ul class="footer-widget__links list-unstyled">
                  <li>周一 - 周五</li>
                  <li>8:30 - 17:30</li>
                </ul>
                <!-- /.footer-widget__links -->
              </div>
              <!-- /.footer-widget -->
              <div class="footer-widget">
                <h3 class="footer-widget__title">公司地址</h3>
                <!-- /.footer-widget__title -->
                <ul class="footer-widget__links list-unstyled">
                  <li>厦门市集美区岩隆路33号101室之7</li>
                  <!-- <li>创新园二期20号楼16层</li> -->
                </ul>
                <!-- /.footer-widget__links -->
              </div>
              <!-- /.footer-widget -->
            </div>
            <!-- /.col-lg-6 -->
          </div>
          <!-- /.row -->
        </div>
        <!-- /.container -->
      </div>
      <!-- /.site-footer__upper -->

      <!-- /.site-footer__bottom -->
    </footer>

    <a href="#" data-target="html" class="scroll-to-target scroll-to-top"
      ><i class="fa fa-angle-up"></i
    ></a>
  </div>
</template>

<script>
export default {
  name: "Footer",
  mounted() {
    $(window).on("scroll", function() {
      if ($(".scroll-to-top").length) {
        var strickyScrollPos = 100;
        if ($(window).scrollTop() > strickyScrollPos) {
          $(".scroll-to-top").fadeIn(500);
        } else if ($(this).scrollTop() <= strickyScrollPos) {
          $(".scroll-to-top").fadeOut(500);
        }
      }
    });
  }
};
</script>

<style scoped></style>
