doum
刚刚 437d7c45481176d4766152cae26cf841a8bd458f
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
<template>
    <view class="box">
        <view class="box_ipt">
            <uni-search-bar radius="100" placeholder="搜你想看的" bgColor="#EEEEEE" />
        </view>
        <view class="box_history">
            <view class="title">
                <text>历史搜索</text>
                <image src="@/static/icon/search_ic_clean@2x.png" mode="widthFix"></image>
            </view>
            <view class="list">
                <view class="list_item">麦隆咖啡</view>
                <view class="list_item">麦隆咖啡</view>
            </view>
        </view>
        <view class="box_list">
            <shopitem />
            <shopitem />
            <shopitem />
        </view>
    </view>
</template>
 
<script>
    import shopitem from '@/components/ShopItem/index.vue'
    export default {
        data() {
            return {
                
            }
        },
        components: { shopitem }
    }
</script>
 
<style>
    page {
        background-color: #ffffff !important;
    }
</style>
 
<style lang="scss" scoped>
    .box {
        width: 100%;
        padding: 32rpx;
        box-sizing: border-box;
        .box_ipt /deep/ {
            width: 100%;
            .uni-searchbar__box {
                justify-content: flex-start;
            }
            .uni-searchbar {
                padding: 0;
            }
        }
        .box_history {
            width: 100%;
            margin-top: 40rpx;
            display: flex;
            flex-direction: column;
            .title {
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 28rpx;
                text {
                    font-size: 32rpx;
                    font-family: PingFang SC-Semibold, PingFang SC;
                    font-weight: 600;
                    color: #333333;
                }
                image {
                    width: 40rpx;
                    height: 40rpx;
                }
            }
            .list {
                width: 100%;
                display: flex;
                align-items: center;
                flex-wrap: wrap;
                .list_item {
                    padding: 10rpx 28rpx;
                    background: #F5F5F5;
                    border-radius: 24rpx;
                    font-size: 28rpx;
                    font-family: PingFang SC-Regular, PingFang SC;
                    font-weight: 400;
                    color: #333333;
                    margin-left: 16rpx;
                    &:first-child {
                        margin-left: 0;
                    }
                }
            }
        }
        .box_list {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            margin-top: 40rpx;
        }
    }
</style>