zhengkaixin 2 years ago
parent
commit
88b76c0acb
2 changed files with 3 additions and 3 deletions
  1. 1 1
      pages/homePage/homePage.vue
  2. 2 2
      pages/news/articleDetails.vue

+ 1 - 1
pages/homePage/homePage.vue

@@ -25,7 +25,7 @@
 			</view>
 			<view class="content">
 				<u-notice-bar :volume-icon="false"
-				padding=" 32rpx 0 " duration="4000" @click="noticeclick"
+				padding=" 12px 0 " duration="4000" @click="noticeclick"
 				 type="none" :is-circular="false" @change="noticechange"
 				 mode="vertical" :list="toplistShow"></u-notice-bar>
 				

+ 2 - 2
pages/news/articleDetails.vue

@@ -249,8 +249,8 @@
 				API.changeLikes({
 					newsId:this.id
 				}).then((res) => {
-					uni.hideLoading();
-					this.getInfo()
+					
+					this.getInfo(true)
 				}).catch(error => {
 					uni.showToast({
 						title: error,