| | |
| | | fn() |
| | | return fn |
| | | })(), |
| | | 1000 * 60 * 5 |
| | | 1000 * 60 * 1 |
| | | ) |
| | | if (Vue) { |
| | | Vue.$once('hook:beforeDestroy', function () { |
| | |
| | | $html.style.fontSize = `${fontsize}px` |
| | | } |
| | | }, |
| | | beforeDestroy() { |
| | | let $html = document.getElementsByTagName('html')[0] |
| | | $html.style.fontSize = '' |
| | | }, |
| | | methods: { |
| | | async getLists() { |
| | | getLists() { |
| | | const params = { |
| | | pageNum: --this.type, // 传 0 1对应两个页面 |
| | | pageSize: 1, |
| | |
| | | } |
| | | } |
| | | </script> |
| | | <style scoped> |
| | | <style lang="scss" scoped> |
| | | .wrap { |
| | | position: absolute; |
| | | width: 100%; |
| | |
| | | .row.line { |
| | | display: flex; |
| | | |
| | | >div { |
| | | > div { |
| | | flex: 1; |
| | | } |
| | | } |