Commit eae675eb authored by 高宇's avatar 高宇

添加子页面

parent 296f9916
<template>
<view class="agreementDetail">
<view class="title">协议详情</view>
<view class="content">我们将处理两大类信息。我们的使命是不断改进我们的软件和服务,
并为您提供新的或更好的体验。作为此任务的一部分,我们将您的信息用于以下目的。
如果出现用于处理您的个人数据的任何新目的,我们将通过对本协议策进行相应的更改,
在开始处理有关该新目的的信息之前通知您。</view>
</view>
</template>
<script>
export default{
data(){
return{
}
}
}
</script>
<style lang="scss" scoped>
.agreementDetail{
min-height: 100vh;
.title{
display: flex;
height: 88rpx;
align-items: center;
justify-content: center;
font-size: 32rpx;
font-weight: 700;
}
.content{
width: 96%;
margin-left: 2%;
}
}
</style>
\ No newline at end of file
......@@ -17,15 +17,50 @@
<u-input v-model="form.fullAddress" />
</u-form-item>
</u-form>
<u-picker v-model="show" mode="region"></u-picker>
<view class="loginout">
<view class="loginout-button" @click="loginout">保存</view>
</view>
</view>
<u-picker v-model="show" mode="region" @confirm=handleConfirm></u-picker>
</view>
</template>
<script>
export default {
data(){
return{
show: false,
form: {
location: ''
}
}
},
methods:{
handleConfirm(e){
console.log('e',e)
this.form.location = e.province.label + ' ' + e.city.label+ ' ' + e.area.label
}
}
}
</script>
<style>
<style lang="scss" scoped>
.shippingAddress{
.content{
.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
......@@ -59,7 +59,16 @@
url:'/moreFunction/deliveryAddress/useWxAddress/index'
})
},
addAddress(){}
addAddress(){
uni.navigateTo({
url:'/moreFunction/deliveryAddress/addAddress/index'
})
},
handleUpdate() {
uni.navigateTo({
url:'/moreFunction/deliveryAddress/addAddress/index'
})
}
}
}
</script>
......
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