个人中心
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<view class="article-list">
|
||||
<view v-for="(item, index) in articleList" :key="index" class="list-item" @click="toDetailsPage()">
|
||||
<view>{{ type }}</view>
|
||||
<view v-for="(item, index) in articleList" :key="index" class="list-item" @click="toDetailsPage(item)">
|
||||
<view>{{ item.help_title }}</view>
|
||||
<image src="@/pageE/static/mine/21.png"></image>
|
||||
</view>
|
||||
</view>
|
||||
@@ -13,13 +13,17 @@ export default {
|
||||
},
|
||||
props: {
|
||||
articleList: Array,
|
||||
type: String
|
||||
},
|
||||
methods: {
|
||||
toDetailsPage() {
|
||||
uni.navigateTo({
|
||||
url: '/pageE/mine/ArticleDetails?title=' + this.type + "详情"
|
||||
});
|
||||
toDetailsPage(item) {
|
||||
this.$u.route({
|
||||
type: 'navigateTo',
|
||||
url: '/pageE/mine/ArticleDetails',
|
||||
params: {
|
||||
title: item.help_title,
|
||||
id: item.help_id
|
||||
}
|
||||
})
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
@@ -1,15 +1,12 @@
|
||||
<template>
|
||||
<view class="shop-item">
|
||||
<image></image>
|
||||
<text>{{ info.gc_name }}</text>
|
||||
<text>1</text>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
export default {
|
||||
name:"shopItem",
|
||||
props: {
|
||||
info: Object
|
||||
}
|
||||
}
|
||||
</script>
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user