| | |
| | | <!-- 真正的导航栏内容 --> |
| | | <view class="navBar"> |
| | | <view class="barText">叫应记录</view> |
| | | <view > |
| | | <u-button type="text" @click="loginOut" style="color: blue;margin-right: 5px;">退出</u-button> |
| | | </view> |
| | | </view> |
| | | </view> |
| | | <div v-if="loading" style='display: flex;justify-content: center;position: absolute;width:100%;top: 40%;left: 0'> |
| | |
| | | uni.hideTabBar(); |
| | | }, |
| | | methods: { |
| | | loginOut() { |
| | | uni.clearStorageSync(); |
| | | uni.clearStorage(); |
| | | uni.navigateTo({ |
| | | url: '/pages/index/index' |
| | | }) |
| | | }, |
| | | getResponseList() { |
| | | this.loading = true |
| | | |
| | | |
| | | getResponse(this.data).then(res => { |
| | | if (res.code === 100) { |
| | | let list = res.data ? res.data : []; |
| | |
| | | getDetail({id: item.id}).then(res => { |
| | | console.log("response",res) |
| | | if(res.code == 100) { |
| | | uni.setStorageSync('backFlag','response'); |
| | | uni.navigateTo({ |
| | | url: `/pages/tabBar/notice/detail?data=` + encodeURIComponent(JSON.stringify(res.data)) |
| | | }) |