dlfooter.vue 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <style lang="sass">
  2. @import "./dlfooter.scss";
  3. </style>
  4. <template>
  5. <div v-show="isShowFooterDl">
  6. <section class="v-mod-footer tp2" v-if="showTp2">
  7. <div class="footer-fl"></div>
  8. <div class="footer-fm">
  9. <h3>知了电影</h3>
  10. <p>你想看的,我都知道</p>
  11. </div>
  12. <div class="footer-fr">
  13. <div @click="goSchema" class="btn-open"></div>
  14. <span class="btn-close" @click="closeFooter()"></span>
  15. </div>
  16. </section>
  17. <section class="v-mod-footer" v-else>
  18. <div class="footer-fl"></div>
  19. <div class="footer-fm">
  20. <h3>微剧院</h3>
  21. <p>5分钟看剧平台</p>
  22. </div>
  23. <div class="footer-fr">
  24. <div @click="goSchema" class="btn-open"></div>
  25. <span class="btn-close" @click="closeFooter()"></span>
  26. </div>
  27. </section>
  28. </div>
  29. </template>
  30. <script>
  31. import lib from 'lib'
  32. export default {
  33. data() {
  34. return{
  35. isShowFooterDl : true,
  36. downloadUrl : lib.downloadUrl,
  37. showTp2: lib.getParam("appid") == 1008 || lib.getParam("appid") == 17 ? true : false,
  38. }
  39. },
  40. props: ["closeCallback"],
  41. methods : {
  42. closeFooter(){
  43. this.isShowFooterDl = false;
  44. this.closeCallback && this.closeCallback()
  45. },
  46. goSchema() {
  47. lib.goSchema(lib.schemaUrl)
  48. }
  49. }
  50. }
  51. </script>