flat: 暂存

This commit is contained in:
Apcallover
2024-04-30 11:20:41 +08:00
parent 9f16b866e0
commit f14ea44af2
58 changed files with 6711 additions and 1439 deletions

View File

@@ -3,7 +3,7 @@
<view v-for="(value,key) in data" class="newsList" @click="goList(value)" :key="key">
<view class="newsIcon">
<image :src="value.icon" mode=""></image>
<view v-if="news.unread[value.id] > 0" class="point"></view>
<view v-if="news.unread[value.uid] > 0" class="point"></view>
</view>
<view class="newsListRight">
<view class="head">
@@ -43,6 +43,7 @@
} else {
uni.$emit('newsReadChange')
}
console.log(this.news)
},
onPullDownRefresh() {
this.loading = true
@@ -68,21 +69,21 @@
if (item.uid === '1') {
console.log('零工岗位推送')
uni.navigateTo({
url: './taskProjectList'
url: './taskProjectList?type=' + item.uid
})
} else if (item.uid === '2') {
console.log('全职岗位推送')
uni.navigateTo({
url: './jobProjectList'
url: './jobProjectList?type=' + item.uid
})
} else if (item.uid == '4') {
} else if (item.uid == '3') {
console.log('政策推送')
uni.navigateTo({
url: './policyList'
url: './policyList?type=' + item.uid
})
} else {
uni.navigateTo({
url: './newsList?type=' + item.id
url: './newsList?type=' + item.uid
})
}
}