<!--
 * @Author: euzhi
 * @Description: 搜索商品
-->
<template>
<view class="appCotent">
<div class="myMoveCar">
    <div class="my__search">
        <u-search placeholder="请输入商品" :showAction='false' bgColor='#ffffff' v-model="keyword"></u-search>
    </div>
    <div class="list">
        <div class="list__item" v-for="(vo,inx) in items" :key="inx">
            <div class="list__img">
                <!-- <image :src="vo.img" /> -->
            </div>
            <div class="list__money">
                <div class="money__title">
                    <text>{{vo.title}}</text>
                </div>
                <div class="code__tips">
                    <text>{{vo.tip}}</text>
                </div>
                <div class="money__num">
                    <text class="num__one">¥{{vo.price2}}</text>
                    <text class="num__two">¥{{vo.price2}}</text>
                </div>
            </div>
        </div>
    </div>
</div>
</view>
</template>

<script>
export default {
    data() {
        return {
            keyword: '临时挪车牌',
               items: [{
                    title: '临时停车牌-经典样式',
                    tip: '静电贴材质 7.1cm*8.9cm',
                    price: '0.00',
                    price2: '19.99',
                    img: require('@/static/index/get-car-code1.png')
                },
                {
                    title: '临时停车牌-经典样式',
                    tip: '静电贴材质 7.1cm*8.9cm',
                    price: '0.00',
                    price2: '19.99',
                    img: require('@/static/index/get-car-code1.png')
                },
                {
                    title: '临时停车牌-经典样式',
                    tip: '静电贴材质 7.1cm*8.9cm',
                    price: '0.00',
                    price2: '19.99',
                    img: require('@/static/index/get-car-code1.png')
                }
            ]
        };
    },
    methods: {
        goView() {
            uni.navigateTo({
                url: '/pagesB/pages/move-car/moveCarDetail'
            })
        }
    },
}
</script>

<style lang="scss" scoped>
.myMoveCar {
    padding: 40rpx 30rpx;

    .list {
        position: relative;
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        padding-top: 30rpx;
        .list__item {
            padding: 28rpx;
            box-sizing: border-box;
            width: 620rpx;
            height: 220rpx;
            background: #ffffff;
            box-shadow: 0rpx 0rpx 28rpx 1rpx rgba(232, 232, 232, 0.16);
            border-radius: 20rpx;
            display: flex;
            align-items: center;
            position: relative;
            margin-bottom: 20rpx;

            .list__img {
                width: 160rpx;
                height: 160rpx;
                background: #3699ff;
                border-radius: 10rpx;
                position: absolute;
                left: -50rpx;
                border-radius: 20rpx;
            }

            .list__money {
                margin: 0 20rpx;
                margin-left: 100rpx;

                .money__title {
                    font-size: 32rpx;
                    font-family: PingFang SC;
                    font-weight: bold;
                    color: #333333;

                    line-height: 42rpx;

                    .code__tips {
                        font-size: 26rpx;
                        font-family: PingFang SC;
                        font-weight: 500;
                        color: #666666;
                        line-height: 42rpx;
                    }
                }

                .money__num {
                    .num__one {
                        font-size: 26rpx;
                        font-family: PingFang SC;
                        font-weight: 500;
                        color: #e1251b;
                        line-height: 42rpx;
                        margin-right: 20rpx;
                    }

                    .num__two {
                        font-size: 22rpx;
                        font-family: PingFang SC;
                        font-weight: 500;
                        color: #999999;
                        line-height: 42rpx;
                    }
                }
            }

            .list__add {
                position: absolute;
                right: 30rpx;
                bottom: 30rpx;
                width: 44rpx;
                height: 44rpx;

                image {
                    width: 44rpx;
                    height: 44rpx;
                }
            }
        }
    }
}
</style>
