Commit 445251bc authored by 高宇's avatar 高宇

添加子页面

parent 51e5c779
<template>
<view>添加收获地址</view>
</template>
<script>
......
<template>
<view>添加新地址</view>
<view class="content">
<view style="height: 100vh; background-color: #fff;">
<view v-for="(item,index) in list" :key="index" >
<view class="listArea">
<view class="top">
<view>{{item.name}}</view>
<view>, </view>
<view style="margin-left: 10rpx;">{{item.phone}}</view>
</view>
<view class="bottom">
<view>{{item.district}}</view>
</view>
</view>
<view style="height: 1rpx; width: 100%; background-color: #eee;"></view>
</view>
<view class="loginout">
<view class="loginout-button" @click="loginout">添加新地址</view>
</view>
</view>
</view>
</template>
<script>
export default {
data(){
return{
list: [
{
name: '张三',
phone: '13820629672',
district: '天津市天津市西青区中北镇无'
}
]
}
},
onShow() {
},
methods:{
}
}
</script>
<style>
<style lang="scss" scoped>
.content{
min-height: 100vh;
background-color: #eee;
.listArea{
margin-top: 40rpx;
margin-left: 30rpx;
width: 100%;
height: 4vh;
display: block;
.top{
display: flex;
}
.bottom{
}
}
.loginout{
padding: 40rpx;
.loginout-button{
height: 88rpx;
background: #BD1A2D;
border-radius: 22px 22px 22px 22px;
font-size: 34rpx;
font-family: Source Han Sans CN-Regular, Source Han Sans CN;
font-weight: 400;
color: #FFFFFF;
display: flex;
justify-content: center;
align-items: center;
}
}
}
</style>
\ No newline at end of file
......@@ -336,15 +336,13 @@
{
"path": "deliveryAddress/addWxAddress/index",
"style": {
"navigationBarTitleText": "添加新地址",
"navigationStyle": "custom"
"navigationBarTitleText": "添加新地址"
}
},
{
"path": "deliveryAddress/useWxAddress/index",
"style": {
"navigationBarTitleText": "我的地址",
"navigationStyle": "custom"
"navigationBarTitleText": "我的地址"
}
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment