diff --git a/.gitignore b/.gitignore index f67649b5..e31c20b5 100644 --- a/.gitignore +++ b/.gitignore @@ -3,4 +3,5 @@ *.log unpackage sitemap.json -.prettierrc.cjs \ No newline at end of file +.prettierrc.cjs +pages/diy/init_data.js diff --git a/components/diy/diy.vue b/components/diy/diy.vue index a4117812..2709d399 100644 --- a/components/diy/diy.vue +++ b/components/diy/diy.vue @@ -43,16 +43,14 @@ }; }, - computed: { - diy_content_style(){ - return { - paddingBottom: this.padding_footer_computer - } - } - }, + computed: { + diy_content_style() { + return `padding-bottom:${this.padding_footer_computer}rpx`; + }, + }, methods: { footer_height_computer(number) { - this.padding_footer_computer = number * 2 + 'rpx'; + this.padding_footer_computer = number * 2; }, }, }; diff --git a/components/diy/footer.vue b/components/diy/footer.vue index 0d86ecaa..1938c4d4 100644 --- a/components/diy/footer.vue +++ b/components/diy/footer.vue @@ -1,14 +1,14 @@ @@ -74,7 +85,6 @@ max-width: 800px; /* #endif */ margin: 0 auto; - padding: 0; cursor: pointer; background-color: transparent; .footer-nav-content {