<!--
 * @Author: euzhi
 * @Description: 挪车码详情
-->
<template>
<view class="appCotent">
<div class="moveCarDetail">
    <div class="view__content">
        <div class="view__item" v-for="(vo,inx) in items" :key="inx">
            <div class="view__title">
                {{vo.title}}:
            </div>
            <div class="view__value">
                {{vo.value}}
            </div>
        </div>
    </div>
    <div class="view__btn view__no__bind">
        解除绑定
    </div>
    <div class="view__btn view__back" @click="goBack">
        返回
    </div>
</div>
</view>
</template>

<script>
export default {
    data() {
        return {
            items: [{
                    title: "挪车码编号",
                    value: "NC683723293239"
                },
                {
                    title: "车牌号",
                    value: "京A123456"
                },
                {
                    title: "品牌",
                    value: "宝马"
                },
                {
                    title: "车型",
                    value: "SUV"
                }, {
                    title: "绑定手机号",
                    value: "156****9633"
                }
            ]
        };
    },
    methods: {
        goBack(){
            uni.navigateBack({
                delta: 1
            })
        }
    },
}
</script>

<style lang="scss" scoped>
.moveCarDetail {
    padding: 40rpx 0rpx;

    .view__content {
        background: #FFFFFF;
        box-shadow: 0rpx 0rpx 28rpx 1rpx rgba(232, 232, 232, 0.2);
        border-radius: 20rpx;
        margin-bottom: 80rpx;

        .view__item {
            padding: 34rpx 0rpx;
            margin: 0 40rpx;
            display: flex;
            align-items: center;
            justify-content: space-between;
            border-bottom: 1rpx solid rgba(0, 0, 0, .1);

            .view__title {

                font-size: 32rpx;
                font-family: PingFang SC;
                font-weight: 500;
                color: #333333;
            }

            .view__value {

                font-size: 28rpx;
                font-family: DIN;
                font-weight: 500;
                color: #666666;
            }
        }

        .view__item:nth-last-child(1) {
            border-bottom: none;
        }
    }

    .view__btn {
        width: 670rpx;
        height: 76rpx;
        text-align: center;
        line-height: 76rpx;
        margin: 0 auto;
        font-size: 32rpx;
    }

    .view__no__bind {
        background: url('@/static/move-car/move-car-view2.png') no-repeat;
        margin-bottom: 30rpx;
        background-size: contain;
        color: rgba(255, 255, 255, 1);
    }
    .view__back{
        background: url('@/static/move-car/move-car-view1.png') no-repeat;
        background-size: contain;
        color:rgba(153, 153, 153, 1);
    }
}
</style>
