61 lines
1.5 KiB
Vue
61 lines
1.5 KiB
Vue
<template>
|
|
<view class="container">
|
|
<uni-list>
|
|
<uni-list-item>
|
|
<text-arrow-cell class="cell-item" title="收藏" icon="heart" @cellClicked = 'toCollect'></text-arrow-cell>
|
|
</uni-list-item>
|
|
<!-- #ifdef MP-WEIXIN -->
|
|
<uni-list-item>
|
|
<text-arrow-cell class="cell-item" title="联系客服" icon="chatbubble" open-type="contact"></text-arrow-cell>
|
|
</uni-list-item>
|
|
<uni-list-item>
|
|
<text-arrow-cell class="cell-item" title="意见反馈" icon="email" open-type="feedback"></text-arrow-cell>
|
|
</uni-list-item>
|
|
<!-- #endif -->
|
|
<uni-list-item>
|
|
<text-arrow-cell class="cell-item" title="免责申明" icon="notification" @cellClicked="onClickSm"></text-arrow-cell>
|
|
</uni-list-item>
|
|
</uni-list>
|
|
</view>
|
|
</template>
|
|
|
|
<script lang="ts">
|
|
import { Component, Vue } from 'vue-property-decorator'
|
|
import TextArrowCell from '@/components/TextArrowCell/index.vue'
|
|
|
|
@Component({
|
|
name: 'Member',
|
|
components: {
|
|
TextArrowCell
|
|
}
|
|
})
|
|
export default class extends Vue{
|
|
private isWx = false
|
|
onLoad() {
|
|
// this.isWx = uni.getSystemInfoSync().platform
|
|
}
|
|
onClick() {
|
|
|
|
}
|
|
toCollect() {
|
|
uni.navigateTo({
|
|
url: `/pages/me/collect`,
|
|
animationType: 'pop-in',
|
|
animationDuration: 200})
|
|
}
|
|
onClickSm() {
|
|
uni.navigateTo({
|
|
url: `/pages/article/index?id=5ce2989bacb8f911e293843c`,
|
|
animationType: 'pop-in',
|
|
animationDuration: 200})
|
|
}
|
|
|
|
}
|
|
</script>
|
|
|
|
<style>
|
|
.cell-item{
|
|
width: 100%
|
|
}
|
|
</style>
|