You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
80 lines
1.6 KiB
80 lines
1.6 KiB
<template>
|
|
<view class="step2">
|
|
<view class="card" v-for="(item,index) in 10" :key="index" :class="{active: index==2}">
|
|
<view class="leftTxt">
|
|
<view class="name oneRowText">某某模拟驾驶馆</view>
|
|
<view class="adr">江西省江西市江西区尚坤丁兰国际1190</view>
|
|
</view>
|
|
<view class="icon">
|
|
<image src="@/static/images/index/telephone.png" mode=""></image>
|
|
<!-- <image src="@/static/images/index/telephone_cli.png" mode=""></image> -->
|
|
</view>
|
|
</view>
|
|
<view class="poz_btn">
|
|
<view class="btn_row" >
|
|
<!-- <view class="border btn" @click="changeStep(1)">返回上一步</view> -->
|
|
<view class="btn" @click="changeStep(2)">下一步</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script>
|
|
export default {
|
|
methods: {
|
|
changeStep(val) {
|
|
this.$emit('changeStep', val)
|
|
}
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss" scoped>
|
|
|
|
.step2 {
|
|
width: 100%;
|
|
padding-bottom: 120rpx;
|
|
.card {
|
|
padding: 28rpx 36rpx;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
&.active {
|
|
background: rgba(25,137,250,0.1);
|
|
border: 2rpx solid #1989FA;
|
|
color: $themC;
|
|
}
|
|
.leftTxt {
|
|
width: 0;
|
|
flex: 1;
|
|
.name {
|
|
font-size: 32rpx;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.adr {
|
|
font-size: 24rpx;
|
|
margin-top: 8rpx;
|
|
}
|
|
}
|
|
|
|
.icon {
|
|
width: 72rpx;
|
|
height: 72rpx;
|
|
}
|
|
}
|
|
}
|
|
|
|
.btn {
|
|
width: 47%;
|
|
height: 72rpx;
|
|
background: #1989FA;
|
|
border-radius: 8rpx;
|
|
font-size: 28rpx;
|
|
color: #fff;
|
|
text-align: center;
|
|
line-height: 72rpx;
|
|
margin: 108rpx auto 50rpx auto;
|
|
}
|
|
</style>
|