添加资讯跳转
This commit is contained in:
@@ -195,7 +195,7 @@
|
||||
<company-list :companyitem="item"></company-list>
|
||||
</block> -->
|
||||
<view style="background-color: #fff;padding: 20rpx 30rpx;">
|
||||
<view v-for="(item,index) in policyContentList" :key="index" style="display: flex;align-items: center;padding: 20rpx 0;">
|
||||
<view v-for="(item,index) in policyContentList" :key="index" style="display: flex;align-items: center;padding: 20rpx 0;" @click="toArticleDetail(item.id)">
|
||||
<image :src="item.headPic" style="width: 80rpx;height: 80rpx;margin-right: 20rpx;border-radius: 10rpx;" mode=""></image>
|
||||
<view style="font-size: 28rpx;">{{ item.articleTitle }}</view>
|
||||
</view>
|
||||
@@ -422,6 +422,13 @@
|
||||
url: `/pages/project/newProject?tabIndex=${2}`
|
||||
});
|
||||
},
|
||||
toArticleDetail(id) {
|
||||
if(id){
|
||||
uni.navigateTo({
|
||||
url:`/pages/user/policyContent?id=${id}`
|
||||
})
|
||||
}
|
||||
},
|
||||
gouserSet: function() {
|
||||
if (!this.$store.state.user.token) {
|
||||
uni.showModal({
|
||||
|
||||
Reference in New Issue
Block a user