


diff --git a/src/App.vue b/src/App.vue index 9bc063e..bd77da4 100644 --- a/src/App.vue +++ b/src/App.vue @@ -45,7 +45,7 @@ export default { this.$store.commit('setMaskDialog', {state: false, mode: this.maskDialogMode}) //footer下面的5个按钮,对跳不要用动画 - let noAnimation = ['/', '/home', '/me', '/attention', '/message', '/publish','/home/live'] + let noAnimation = ['/', '/home', '/me', '/attention', '/message', '/publish', '/home/live'] if (noAnimation.indexOf(from.path) !== -1 && noAnimation.indexOf(to.path) !== -1) { return this.transitionName = '' } @@ -82,12 +82,16 @@ export default { '/message/chat', '/message/chat-detail', '/set-remark', + '/me/request-update', '/me/right-menu/look-history', '/me/right-menu/minor-protection/index', '/me/right-menu/minor-protection/detail-setting', '/me/right-menu/minor-protection/trigger-time', '/me/right-menu/setting', + '/me/collect/video-collect', + '/me/collect/music-collect', + '/login', '/login/other', '/login/password', diff --git a/src/assets/scss/utils.less b/src/assets/scss/utils.less index e208b3a..cc4478b 100644 --- a/src/assets/scss/utils.less +++ b/src/assets/scss/utils.less @@ -85,7 +85,7 @@ margin .mt(@n, (@i + 1)); } -.mb(5); +.mb(7); .mb(@n, @i: 1) when (@i =< @n) { .mb@{i}r { margin-bottom: (1rem * @i) !important; diff --git a/src/components/BaseButton.vue b/src/components/BaseButton.vue index 0293a75..9dc1f2a 100644 --- a/src/components/BaseButton.vue +++ b/src/components/BaseButton.vue @@ -39,6 +39,11 @@ export default { type: Boolean, default: true }, + size: { + type: String, + default: 'normal' + //small + }, }, data() { return {} @@ -50,6 +55,7 @@ export default { this.active ? '' : 'no-active', this.border ? '' : 'no-border', this.disabled && 'disabled', + this.size ] }, showText() { @@ -121,7 +127,7 @@ export default { } &.dark2 { - border:1px solid @second-btn-color; + border: 1px solid @second-btn-color; background: white; color: #000; } @@ -140,8 +146,9 @@ export default { background: rgb(27, 177, 228); color: white; } + &.webo { - background: rgb(242,95,67); + background: rgb(242, 95, 67); color: white; } @@ -224,8 +231,14 @@ export default { } &.no-border { - border: none!important; + border: none !important; background: rgb(212 212 212 / 36%); } + + &.small { + font-size: 1.2rem; + width: 6.2rem; + height: 2.6rem; + } } diff --git a/src/mock/index.js b/src/mock/index.js index df3756d..bb0cb89 100644 --- a/src/mock/index.js +++ b/src/mock/index.js @@ -114,11 +114,11 @@ Mock.mock(/collect/, options => { return Mock.mock({ data: { video: { - total: 0, + total: resource.videos.length, list: resource.videos, }, music: { - total: 0, + total: resource.music.length, list: resource.music, } }, code: 200, msg: '', diff --git a/src/pages/me/Me.vue b/src/pages/me/Me.vue index 7988722..f3a1d7b 100644 --- a/src/pages/me/Me.vue +++ b/src/pages/me/Me.vue @@ -158,20 +158,20 @@ 只有你能看到自己的收藏列表