From 277d6652893fcc10fb6827b62ef16fe2910a525c Mon Sep 17 00:00:00 2001
From: zhouwenxuan <1175765986@qq.com>
Date: Fri, 15 Dec 2023 16:58:25 +0800
Subject: [PATCH] 强制更新功能
---
pages/tabBar/current/current.vue | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/pages/tabBar/current/current.vue b/pages/tabBar/current/current.vue
index a7db491..b5f4e8f 100644
--- a/pages/tabBar/current/current.vue
+++ b/pages/tabBar/current/current.vue
@@ -9,7 +9,7 @@
<u-icon style=" margin-left: 13px;" name="arrow-left" color="black" size="17" @click="goBack" v-if="role!='工作人员'" />
<view class="barText">信息查看</view>
<view >
- <u-button type="text" @click="loginOut" style="color: blue;margin-right: 5px;">退出</u-button>
+ <u-button type="text" @click="loginOut" style="color: #1890ff;margin-right: 5px;width: 65px;">退出</u-button>
</view>
</view>
</view>
@@ -179,6 +179,7 @@
},
toDetail(item) {
item.responsesRate = item.responsesRate.replace(/%/g, '%25');
+ uni.setStorageSync('fdetailData', item);
uni.setStorageSync('backFlag','current');
uni.navigateTo({
url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(item))
@@ -216,7 +217,7 @@
setTimeout(() => {
uni.stopPullDownRefresh();
this.getInfoList();
- }, 1000);
+ }, 2000);
},
clickSwitch(e) {
this.data.pageIndex = 1
@@ -274,6 +275,7 @@
box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}
.barText{
+ margin-left: 55px;
text-align: center;
width: 85%;
font-size: 16px;
--
Gitblit v1.9.2