doum
9 小时以前 b05fea19990632b2ec6320cbfaab2bddc87006c0
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
<template>
    <view class="store">
        <view class="store_list">
            <view class="store_list_item" @click="toDetails">
                <image src="@/static/uni.png" mode="widthFix"></image>
                <view class="store_list_item_right">
                    <text class="store_list_item_right_title">
                        <text>标题标题标题标题标题标题标题标题标题标题标题标题</text>
                    </text>
                    <uni-rate active-color="#D20A0A" :readonly="true" :value="5" />
                    <text class="store_list_item_right_address">江宁路街道陕西北路</text>
                    <view class="store_list_item_right_list">
                        <view class="store_list_item_right_list_item">有大桌子</view>
                        <view class="store_list_item_right_list_item">有大桌子</view>
                    </view>
                </view>
            </view>
        </view>
    </view>
</template>
 
<script>
    export default {
        data() {
            return {
                
            }
        },
        onLoad() {
            
        },
        methods: {
            toDetails() {
                uni.navigateTo({
                    url: '/pages/storeDetails/index'
                });
            }
        }
    }
</script>
 
<style>
    page {
        background-color: #ffffff;
    }
</style>
 
<style lang="scss" scoped>
    .store {
        width: 100%;
        padding: 32rpx;
        box-sizing: border-box;
        .store_list {
            width: 100%;
            display: flex;
            flex-direction: column;
            flex-wrap: wrap;
            .store_list_item {
                flex: 1;
                height: 172rpx;
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 52rpx;
                &:last-child {
                    margin-bottom: 0 !important;
                }
                image {
                    width: 172rpx;
                    height: 172rpx;
                    margin-right: 16rpx;
                    flex-shrink: 0;
                }
                .store_list_item_right {
                    flex: 1;
                    height: 100%;
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;
                    .store_list_item_right_title {
                        width: 500rpx;
                        overflow: hidden;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        text {
                            font-size: 28rpx;
                            font-family: PingFang SC-Semibold, PingFang SC;
                            font-weight: 600;
                            color: #333333;
                        }
                    }
                    .store_list_item_right_address {
                        font-size: 24rpx;
                        font-family: PingFang SC-Regular, PingFang SC;
                        font-weight: 400;
                        color: #999999;
                    }
                    .store_list_item_right_list {
                        width: 100%;
                        display: flex;
                        align-items: center;
                        flex-wrap: wrap;
                        .store_list_item_right_list_item {
                            padding: 4rpx 6rpx;
                            background: #F5F4F5;
                            border-radius: 4rpx;
                            font-size: 22rpx;
                            font-family: PingFang SC-Regular, PingFang SC;
                            font-weight: 400;
                            color: #333333;
                            margin-left: 12rpx;
                            &:first-child {
                                margin-left: 0 !important;
                            }
                        }
                    }
                }
            }
        }
    }
</style>