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.
 
 
 
 
 
 

127 lines
2.5 KiB

<template>
<view>
<view class="address_item" v-for="(item,index) in 2" :key="index">
<view class="address_info">
<view class="address_info_title">
<view class="info_title_span">Nathanael</view>
<text>5838590290</text>
</view>
<view class="address_info_content">
<view class="info_content_left">
<view>B Oakdale Mall</view>
<text>Johnson City NEW YORKUnitedStates13790-1294</text>
</view>
<image src="../../static/img/update.png" mode=""></image>
</view>
</view>
<view class="address_default">
<view class="address_default_left">
<image src="../../static/img/select2.png" mode=""></image>
<text>Default address</text>
</view>
<text>Delete</text>
</view>
</view>
<view class="address_foot">
<navigator url="/pages/account/addAddress" >
<button>ADD ADDRESS</button>
</navigator>
</view>
</view>
</template>
<script>
export default {
data() {
return {
}
},
methods:{
}
}
</script>
<style lang="scss" scoped>
page{
background-color: #F6F5FA;
padding-bottom: 160rpx;
}
.address_foot{
padding: 42rpx 24rpx;
background-color: white;
border-top: #E2E2E2 solid 1px;
position: fixed;
bottom: 0;
width: 100%;
box-sizing: border-box;
button{
color: white;
background-color: black;
font-size: 26.67rpx;
font-weight: bold;
margin: 0;
}
}
.address_item{
margin-top: 17.33rpx;
width: 100%;
background-color: white;
padding-top: 32rpx;
font-size: 24rpx;
color: #666666;
font-weight: bold;
.address_info{
padding: 0 26.67rpx;
padding-bottom: 33.33rpx;
border-bottom: 1px solid #E2E2E2;
.address_info_title{
display: flex;
align-items: center;
margin-bottom: 37.33rpx;
.info_title_span{
font-size: 28rpx;
color: black;
margin-right: 38.67rpx;
}
}
.address_info_content{
display: flex;
align-items: center;
.info_content_left{
padding-right: 38.67rpx;
margin-right: 34rpx;
border-right: 1px solid #E2E2E2;
}
image{
width: 34.67rpx;
height: 34.67rpx;
}
}
}
.address_default{
padding: 29.33rpx 0;
padding-left: 26.67rpx;
padding-right: 52.67rpx;
display: flex;
align-items: center;
justify-content: space-between;
.address_default_left{
display: flex;
align-items: center;
image{
width: 25.33rpx;
height: 25.33rpx;
margin-right: 13.33rpx;
}
}
}
}
</style>