{"version":3,"sources":["webpack:///src/src/App.vue"],"names":[],"mappings":"AA0CA,YACA,qBACA,CAEA,EACA,uCACA,CAEA,KACA,aACA,CAEA,qCACA,sBACA,CAEA,oBACA,iBAAA,CACA,oBAAA,CACA,qBACA,CAEA,sBACA,cAAA,CACA,gBACA,CAOA,wBACA,iBAAA,CACA,cAAA,CACA,YAAA,CACA,UAAA,CACA,UAAA,CACA,WAAA,CACA,cAAA,CACA,gBAAA,CACA,eAAA,CACA,aAAA,CACA,qBAAA,CACA,iBAAA,CACA,kCAAA,CACA,cAAA,CACA,SACA","file":"app.a2b9df1e.css","sourcesContent":["<template>\r\n  <div id=\"app\">\r\n    <div v-show=\"iftop\" class=\"totop flexCenter\" @click=\"backTop\">\r\n      <i class=\"el-icon-top\" style=\"color: #409eff\"></i>\r\n    </div>\r\n    <router-view/>\r\n  </div>\r\n</template>\r\n\r\n\r\n<script>\r\nexport default {\r\n  data() {\r\n    return {\r\n      iftop: false\r\n    }\r\n  },\r\n  mounted() { //监听scroll方法\r\n    window.addEventListener('scroll', this.handleScroll)\r\n  },\r\n  beforeDestroy() { //及时释放\r\n    window.removeEventListener('scroll', this.handleScroll)\r\n  },\r\n  methods: {\r\n    handleScroll() {\r\n      this.iftop = window.pageYOffset > 400\r\n    },\r\n    backTop() {\r\n      window.scrollTo({top: 0, behavior: 'smooth',})\r\n    }\r\n  }\r\n}\r\n</script>\r\n<style>\r\n/*.el-carousel__item.is-animating {*/\r\n\r\n/*  transition: all 1s ease-in-out !important;*/\r\n/*}*/\r\n/*.el-carousel__indicators{*/\r\n/*  transition: all 1s ease-in-out !important;*/\r\n\r\n/*}*/\r\n.el-backtop {\r\n  bottom: 20px !important;\r\n}\r\n\r\n* {\r\n  font-family: \"Roboto\", sans-serif !important;\r\n}\r\n\r\nbody {\r\n  line-height: 0;\r\n}\r\n\r\n.el-carousel__indicators--horizontal {\r\n  bottom: 150px !important;\r\n}\r\n\r\n.el-carousel__arrow {\r\n  top: 43% !important;\r\n  width: 5rem !important;\r\n  height: 5rem !important;\r\n}\r\n\r\n.el-carousel__arrow i {\r\n  font-size: 3rem;\r\n  line-height: 5rem;\r\n}\r\n</style>\r\n<style scoped>\r\n\r\n.el-icon-top {\r\n}\r\n\r\n.totop {\r\n  text-align: center;\r\n  position: fixed;\r\n  bottom: 100px;\r\n  right: 40px;\r\n  width: 40px;\r\n  height: 40px;\r\n  font-size: 24px;\r\n  line-height: 40px;\r\n  font-weight: 600;\r\n  color: #1989fa;\r\n  background-color: #fff;\r\n  border-radius: 50%;\r\n  box-shadow: 0 0 6px rgba(0, 0, 0, .12);\r\n  cursor: pointer;\r\n  z-index: 5;\r\n}\r\n</style>\r\n"]}