diff --git a/src/components/Portal/guideBox.vue b/src/components/Portal/guideBox.vue index c37d8bbe..6f40fec6 100644 --- a/src/components/Portal/guideBox.vue +++ b/src/components/Portal/guideBox.vue @@ -72,23 +72,17 @@ } }, created() { - // clientWidth - console.log(document.body.clientWidth,'document.body.clientWidth'); let width = document.body.clientWidth; - if(width > 1920 || width == 1920) { - console.log(11111); + if(width > 1920) { this.clientWidth = '1088px'; } - if(width > 1681 && width < 1920) { - console.log(2222); + if(width > 1681 && width < 1920 || width == 1920) { this.clientWidth = '888px'; } if(width > 1367 && width < 1680) { - console.log(3333); this.clientWidth = '848px'; } if(width < 1366) { - console.log(444); this.clientWidth = '688px'; } //这里必须放在当前的Session存储中,不能每次都调用 diff --git a/src/components/Portal/noteComment.vue b/src/components/Portal/noteComment.vue index 17dfa60e..3c7d0c35 100644 --- a/src/components/Portal/noteComment.vue +++ b/src/components/Portal/noteComment.vue @@ -28,7 +28,7 @@
- +
diff --git a/src/views/Index.vue b/src/views/Index.vue index c6680e11..0a1b2566 100644 --- a/src/views/Index.vue +++ b/src/views/Index.vue @@ -347,13 +347,13 @@
-
+

{{formatNum(qa.views)}}正在关注{{ qa.sysCreateTime.substring(0, 10) }}

{{ qa.title }}

{{ qa.content }}

-

查看详情

+

查看详情

diff --git a/src/views/user/Setting.vue b/src/views/user/Setting.vue index 4049f7b6..0bdbeac6 100644 --- a/src/views/user/Setting.vue +++ b/src/views/user/Setting.vue @@ -29,7 +29,7 @@

{{form.sign}}

- + 取消 保存 编辑 @@ -270,6 +270,8 @@ this.form.sign = this.signData.sign; this.signData.isEdit = false; this.checkAndSendFinish(); + } else { + this.$message.error('保存失败:'+res.message); } }) },