Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
tswj
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2022-05-14 22:43:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
7f9a3c906b63a306b309ed2116dc85d23b9c7509
7f9a3c90
1 parent
e70b983a
标记VUE2写法
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
8 additions
and
20 deletions
src/components/BVideoCard/index.vue
src/components/DonateCert/index.vue
src/components/ShortcutFixed/index.vue
src/components/VideoCard/index.vue
src/components/VideoDetail/index.vue
src/views/business/login.vue
src/views/client/bookDetail.vue
src/components/BVideoCard/index.vue
View file @
7f9a3c9
...
...
@@ -122,6 +122,7 @@ onMounted(() => {
</script>
<script>
// FIXME: VUE2写法
export default {
props: ['item', 'status'],
data() {
...
...
src/components/DonateCert/index.vue
View file @
7f9a3c9
...
...
@@ -63,9 +63,9 @@ export default {
props: ['item'],
data() {
return {
name: '
杨桐桐
',
price: '
359
',
datetime: '
2022年04月25日
'
name: '',
price: '',
datetime: ''
}
},
mounted() {
...
...
src/components/ShortcutFixed/index.vue
View file @
7f9a3c9
...
...
@@ -25,6 +25,7 @@ const handle = () => {
</script>
<script>
// FIXME: VUE2写法
export default {
props: ['type', 'item'],
data () {
...
...
src/components/VideoCard/index.vue
View file @
7f9a3c9
...
...
@@ -60,6 +60,7 @@ onMounted(() => {
</script>
<script>
// FIXME: VUE2写法
import mixin from 'common/mixin';
export default {
...
...
src/components/VideoDetail/index.vue
View file @
7f9a3c9
...
...
@@ -65,6 +65,7 @@ onMounted(() => {
</script>
<script>
// FIXME: VUE2写法
import mixin from 'common/mixin';
export default {
...
...
src/views/business/login.vue
View file @
7f9a3c9
...
...
@@ -172,6 +172,7 @@ const themeVars = {
</script>
<script>
// FIXME: VUE2写法
import mixin from 'common/mixin';
export default {
...
...
src/views/client/bookDetail.vue
View file @
7f9a3c9
...
...
@@ -353,23 +353,6 @@ export default {
}
},
mounted() {
// 监听滚动恢复
// this.$nextTick(() => {
// let top = localStorage.getItem('scrollPosTop') ? Number(localStorage.getItem('scrollPosTop')) : 0;
// $("html,body").animate({ "scrollTop": top })
// })
// setTimeout(() => {
// // let top = localStorage.getItem('scrollPosTop') ? Number(localStorage.getItem('scrollPosTop')) : 0;
// let top = Cookies.get('scrollPosTop') ? Number(Cookies.get('scrollPosTop')) : 0;
// $("html,body").animate({ "scrollTop": top })
// }, 1000)
// window.addEventListener('scroll',()=>{
// if (window.scrollY) {
// this.scrollTop = window.scrollY
// }
// localStorage.setItem('scrollPosTop', this.scrollTop)
// Cookies.set(scrollPosTop, this.scrollTop)
// })
},
methods: {
}
...
...
Please
register
or
login
to post a comment