<template> <div> <div class="list-content"> <div> <div>壮锦支行</div> <div>10.0Km</div> </div> <div>电话:<span>18688888888</span></div> <div>导航:<span>成都市</span></div> <div> <div><img src="../../../../assets/svg/orange-navigation-logo.svg" alt="" />导航</div> <div><img src="../../../../assets/svg/tel.svg" alt="" />电话</div> </div> </div> <div class="list-content"> <div> <div>壮锦支行</div> <div>10.0Km</div> </div> <div>电话:<span>18688888888</span></div> <div>导航:<span>成都市</span></div> <div> <div><img src="../../../../assets/svg/orange-navigation-logo.svg" alt="" />导航</div> <div><img src="../../../../assets/svg/tel.svg" alt="" />电话</div> </div> </div> </div> </template> <script lang="ts"> import { Component, Vue } from "vue-property-decorator"; /** * @Description 我的附近 * @Author JiangTao * @Date 2021-11-10 下午 03:34 */ @Component({ name: "Nearby", }) export default class Nearby extends Vue {} </script> <style scoped> .list-content { width: 95%; margin: 0 auto; margin-bottom: 4%; padding: 2% 0 0 2%; background-color: white; } .list-content > div:nth-child(1) { width: 96%; display: flex; justify-content: space-between; align-items: flex-end; padding-left: 2%; padding-bottom: 1.5%; border-bottom: 1px solid rgb(217, 207, 207); } .list-content > div:nth-child(1) > div:nth-child(1) { font-size: 115%; color: black; } .list-content > div:nth-child(1) > div:nth-child(2) { font-size: 75%; color: red; } .list-content > div:nth-child(2), .list-content > div:nth-child(3) { color: #999999; margin: 3% 1%; } span { font-family: "Arial Normal", "Arial"; color: black; } .list-content > div:nth-child(4) > * { width: 47%; text-align: center; color: black; margin: 3.5% 0; } .list-content > div:nth-child(4) > div:nth-child(1) { border-right: 1px solid rgb(217, 207, 207); } .list-content > div:nth-child(4) { border-top: 1px solid rgb(217, 207, 207); display: flex; justify-content: space-around; } img { margin-right: 10%; } </style>