| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465 |
- <template>
- <view class="address-info">
- <view class="name-phone">
- <text class="name">{{ address.contactName }}</text>
- <text class="phone">{{ address.contactPhone }}</text>
- </view>
- <view class="address-detail">
- {{ address.provinceName }}{{ address.cityName }}{{ address.countyName }}{{ address.detailedAddress }}</view>
- </view>
- </template>
- <script setup>
- defineProps({
- address: {
- type: Object,
- required: true
- },
- isDefault: {
- type: Boolean,
- default: false
- },
- isSowAction: {
- type: Boolean,
- default: true
- }
- })
- </script>
- <style scoped lang="less">
- .address-info {
- display: flex;
- flex-direction: column;
- margin-bottom: 16rpx;
- .name-phone {
- display: flex;
- align-items: center;
- margin-bottom: 16rpx;
- }
- .name {
- height: 48rpx;
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- margin-right: 30rpx;
- line-height: 48rpx;
- }
- .phone {
- height: 48rpx;
- font-size: 32rpx;
- font-weight: bold;
- color: #333;
- line-height: 48rpx;
- }
- .address-detail {
- font-size: 28rpx;
- color: #666;
- line-height: 44rpx;
- }
- }
- </style>
|