#
whycq
2022-12-23 69fbf8a86ad911c23fa4a33104b7dd173657d4a8
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
<template>
    <view>
        <view class="search-bg">
            <uni-search-bar placeholder="自定义背景色" bgColor="#f4f4f4" @confirm="search" />
        </view>
        <view class="item-sort">
            
            <view>
                <y-title title="公司资料库" />
            </view>
            <view class="grid-container">
                <view class="item" @click="select()">
                    <view class="img">
                        <image src="../../static/image/jiafangdanwei.png" mode="aspectFit"></image>
                    </view>
                    <view>甲方单位</view>
                </view>
            </view>
        </view>
        <!-- <view class="item-sort">
            <y-title title="销售管理"></y-title>
        </view> -->
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                
            }
        },
        methods: {
            select() {
                uni.navigateTo({
                    url:'/pages/business/cstmr/csmtr'
                })
            }
        }
    }
    
</script>
 
<style>
    /* 项目分类 */
    .item-sort {
        min-height: 100rpx;
        background-color: #ffffff;
        margin: 20rpx 10rpx 0 10rpx;
        border-radius: 10rpx;
    }
    .item2 {
        background-color: aqua;
    }
    .grid-container {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
    .item {
        width: 120rpx;
        height: 120rpx;
        margin-left: 20rpx;
        margin-top: 20rpx;
        font-size: 10rpx;
        color: #909399;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    .item:last-child {
        margin-bottom: 10rpx;
    }
    .img image {
        width: 70rpx;
        height: 70rpx;
    }
</style>