This commit is contained in:
zpc 2025-10-14 19:28:31 +08:00
parent b0f1a2f487
commit d15a5f399e

View File

@ -1,4 +1,4 @@
<template>
<template>
<view>
<u-toast ref="uToast" /><u-no-network></u-no-network>
<u-navbar :custom-back="goBack" :title="typeName"></u-navbar>
@ -7,12 +7,14 @@
<view class="help-h3">帮助中心</view>
<u-tabs :list="articleType" :is-scroll="false" :current="current" @change="change"></u-tabs>
<u-card :title="articleType[current].name">
<u-card v-if="articleType != null && articleType[current] != null" :title="articleType[current].name">
<view class="" slot="body">
<view class="u-body-item u-flex u-border-bottom u-row-between u-flex-nowrap" v-for="item in list" :key="item.id" @click="goArticleDetail(item.id)">
<view class="u-body-item u-flex u-border-bottom u-row-between u-flex-nowrap" v-for="item in list"
:key="item.id" @click="goArticleDetail(item.id)">
<view class="u-flex u-flex-nowrap">
<u-image width="50rpx" height="50rpx" :src="item.coverImage" mode="aspectFill" class="u-margin-right-10"></u-image>
<view class="u-body-item-title u-line-2">{{item.title}}</view>
<u-image width="50rpx" height="50rpx" :src="item.coverImage" mode="aspectFill"
class="u-margin-right-10"></u-image>
<view class="u-body-item-title u-line-2">{{ item.title }}</view>
</view>
<view class="coreshop-text-gray u-text-right coreshop-justify-end">
<u-icon name="arrow-right-double"></u-icon>
@ -20,7 +22,8 @@
</view>
</view>
<view class="" slot="foot">
<u-loadmore :status="status" :icon-type="iconType" :load-text="loadText" margin-top="0" margin-bottom="20" class="u-padding-top-20" />
<u-loadmore :status="status" :icon-type="iconType" :load-text="loadText" margin-top="0"
margin-bottom="20" class="u-padding-top-20" />
</view>
</u-card>
</view>
@ -30,8 +33,8 @@
</template>
<script>
import { articles, tools } from '@/common/mixins/mixinsHelper.js';
export default {
import { articles, tools } from '@/common/mixins/mixinsHelper.js';
export default {
mixins: [articles, tools],
data() {
return {
@ -110,9 +113,9 @@
this.articleList();
}
}
};
};
</script>
<style lang="scss" scoped>
@import "list.scss";
@import "list.scss";
</style>