From 7ac5363a676588078fdce082a45a28300479e158 Mon Sep 17 00:00:00 2001
From: 马宇豪 <978517621@qq.com>
Date: 星期一, 22 七月 2024 14:09:22 +0800
Subject: [PATCH] 提交
---
pages/tabBar/response/response.vue | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/pages/tabBar/response/response.vue b/pages/tabBar/response/response.vue
index 64cee7d..35d8554 100644
--- a/pages/tabBar/response/response.vue
+++ b/pages/tabBar/response/response.vue
@@ -8,7 +8,7 @@
<view class="navBar">
<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>
@@ -82,6 +82,8 @@
},
getResponseList() {
this.loading = true
+
+
getResponse(this.data).then(res => {
if (res.code === 100) {
let list = res.data ? res.data : [];
@@ -110,6 +112,8 @@
getDetail({id: item.id}).then(res => {
console.log("response",res)
if(res.code == 100) {
+ uni.setStorageSync('fdetailData', res.data);
+ uni.setStorageSync('backFlag','response');
uni.navigateTo({
url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(res.data))
})
@@ -122,7 +126,7 @@
setTimeout(() => {
uni.stopPullDownRefresh();
this.getResponseList();
- }, 1000);
+ }, 2000);
},
upper: function(e) {
@@ -156,7 +160,7 @@
box-shadow: 0 3px 12px rgba(0,0,0,0.05);
}
.barText{
- /* margin-left: 20px; */
+ margin-left: 55px;
text-align: center;
width: 85%;
font-size: 16px;
--
Gitblit v1.9.2