| | |
| | |
|
| | | },2000)
|
| | | //公告
|
| | | this.$http.request('get', '/api/announcement/page', {
|
| | | this.$http.request('get', '/api/pub/announcement/list', {
|
| | | params: {
|
| | | size: 5,
|
| | | status: 'A'
|
| | | // status: 'A'
|
| | | }
|
| | | }).then(res => {
|
| | | if (res.code === 0) {
|
| | | this.noticeList = (res.data && res.data.records || [])
|
| | | if (res.code === 0) { |
| | | // (res.data && res.data.records || [])
|
| | | this.noticeList = res.data || []
|
| | | console.log('this.noticeList', this.noticeList)
|
| | | if (this.noticeList.length > 0) {
|
| | | this.currentNotice = this.noticeList[0]
|
| | |
| | | buttonSearchFlow() {
|
| | | console.log('buttonSearchFlow')
|
| | | uni.navigateTo({
|
| | | url: '/sub_pages/trade/list?name=' + this.search_flow
|
| | | url: '/sub_pages/customer/trade/list?name=' + this.search_flow
|
| | | })
|
| | | },
|
| | | pop(status) {
|