<!--
 * @Author: PoJun
 * @Date: 2023-12-19 14:57:48
 * @LastEditors: PoJun
 * @LastEditTime: 2023-12-26 11:17:27
 * @Message: 产品列表, 只展示5个
-->
<template>
    <uv-cell-group :border="false" :customStyle="{ padding: '5px 0' }">
        <uv-cell :border="false" :arrow="false" value="查看更多" :isLink="true" url="/subpkg/home/products">
            <uv-text slot="title" text="产品目录" :customStyle="{ 'font-weight': 'bold' }"></uv-text>
        </uv-cell>

        <uv-cell
            v-for="(item, index) in productsList"
            :key="index"
            :border="false"
            :label="item.code"
            :value="item.name"
        ></uv-cell>
    </uv-cell-group>
</template>

<script>
export default {
    data() {
        return {
            productsList: [
                { name: "原材料-化工类", code: "1000101", id: "1111" },
                { name: "原材料-建筑结构类", code: "1000102", id: "2222" },
                { name: "原材料-型材类", code: "1000103", id: "3333" },
                { name: "工程材料-管道及配件", code: "1000104", id: "4444" },
                { name: "工程材料-风管机配件类", code: "1000105", id: "5555" },
            ],
        };
    },
    methods: {},
};
</script>

<style lang="scss" scoped></style>
