CarRental_back/page_Operator/CarModel.vue
2024-10-09 18:01:47 +08:00

183 lines
3.4 KiB
Vue

<template>
<view class="page">
<u-navbar title="车辆管理" :border-bottom="false" :background="bgc" title-color='#000' title-size='36'
height='45'></u-navbar>
<view class="modelCard">
<view class="tit">
网红泡泡车
</view>
<view class="line" style="margin-bottom: 18rpx;"></view>
<view class="info">
<view class="img">
<image src="https://lxnapi.ccttiot.com/bike/img/static/uFPuVAqUKP1U1Xf34lfC" mode=""></image>
</view>
<view class="lis">
<view class="info_li" v-for="(item,index) in 6">
所属门店:<span>云行租车</span>
</view>
</view>
</view>
<!-- <view class="txt_li">
<view class="li">
所属门店:<span>云行租车</span>
</view>
<view class="li">
满电续航:<span>50.00km</span>
</view>
</view> -->
<view class="line" style="margin-top: 26rpx;"></view>
<view class="btn_li">
<view class="btn1">
删除
</view>
<view class="btn2">
编辑
</view>
</view>
</view>
<view class="btn">
新增车型
</view>
</view>
</template>
<script>
export default {
data() {
return {
bgc: {
backgroundColor: "#fff",
},
}
},
methods: {
}
}
</script>
<style lang="scss" scoped>
page {}
.page {
.modelCard {
margin-top: 22rpx;
width: 750rpx;
padding-bottom: 12rpx;
background: #FFFFFF;
border-radius: 0rpx 0rpx 0rpx 0rpx;
.info{
margin-left: 42rpx;
display: flex;
flex-wrap: nowrap;
// align-items: center;
align-items: stretch; /* 让左右两边的高度一致 */
.img{
display: flex;
align-items: center;
justify-content: center;
background: #EFEFEF;
border-radius: 10rpx;
width: 218rpx;
min-height:134rpx ;
image{
width: 173.59rpx;
height: 133.22rpx;
}
}
.lis{
margin-left: 60rpx;
.info_li{
margin-top: 8rpx;
font-weight: 400;
font-size: 28rpx;
color: #808080;
span{
color: #808080 ;
}
}
}
}
.tit{
padding: 24rpx 32rpx;
font-weight: 600;
font-size: 32rpx;
color: #3D3D3D;
}
.line{
width: 100%;
height: 1rpx;
background: #D8D8D8;
}
.btn_li{
margin-top: 16rpx;
display: flex;
flex-wrap: nowrap;
align-items: center;
.btn1{
display: flex;
align-items: center;
justify-content: center;
width: 50%;
height: 67rpx;
font-weight: 600;
font-size: 32rpx;
color: #FF1C1C;
border-right: 1rpx solid #FF1C1C ;
}
.btn2{
display: flex;
align-items: center;
justify-content: center;
width: 50%;
height: 67rpx;
font-weight: 600;
font-size: 32rpx;
color: #3D3D3D;
// border-right: 1rpx solid #FF1C1C ;
}
}
.txt_li{
margin-top: 8rpx;
width: 100%;
display: flex;
flex-wrap: nowrap;
.li{
width: 50%;
padding-left: 28rpx;
font-weight: 400;
font-size: 28rpx;
color: #808080;
span{
color: #808080 ;
}
}
}
}
.btn {
position: fixed;
left: 40rpx;
bottom: 48rpx;
display: flex;
flex-wrap: nowrap;
align-items: center;
justify-content: center;
width: 672rpx;
height: 100rpx;
background: #4C97E7;
border-radius: 10rpx 10rpx 10rpx 10rpx;
font-weight: 500;
font-size: 40rpx;
color: #FFFFFF;
}
}
</style>