cxc-szcx-uniapp/pages/useredit/add_address.vue
2024-09-14 10:26:50 +08:00

106 lines
1.7 KiB
Vue

<template>
<view :class="['content',{'gray':store.isgray==1}]">
<view class="area f-row jcb">
<view class="title topic">
所在地区
</view>
<input type="text" placeholder="省、市、区、街道" />
</view>
<view class="area f-row jcb">
<view class="title topic">
详细地址
</view>
<textarea placeholder="小区楼栋/乡村名称"></textarea>
</view>
<view class="area f-row jcb">
<view class="title">
设为默认地址
</view>
<image src="../../static/login/checked.png" mode=""></image>
<!-- <image src="../../static/login/nocheck.png" mode=""></image> -->
</view>
<view class="btn f-col aic">
<view class="">
保存
</view>
</view>
</view>
</template>
<script setup>
import {
useStore
} from '@/store'
const store = useStore()
</script>
<style>
page {
background-color: #fff;
}
</style>
<style lang="scss" scoped>
.content {
padding: 30rpx 30rpx 120rpx 30rpx;
}
.area:not(:first-child) {
margin-top: 40rpx;
}
.area {
image {
width: 38rpx;
height: 38rpx;
}
.topic {
margin-top: 28rpx;
}
.title {
font-size: 32rpx;
color: #333333;
}
input {
width: 472rpx;
height: 96rpx;
background: #F6F6F6;
border-radius: 16rpx;
padding: 0 30rpx;
}
textarea {
width: 472rpx;
height: 104rpx;
background: #F6F6F6;
border-radius: 16rpx;
padding: 28rpx 30rpx;
}
}
.btn {
position: fixed;
bottom: 0;
width: 750rpx;
height: 120rpx;
background: #FFFFFF;
justify-content: center;
left: 0;
view {
width: 690rpx;
height: 88rpx;
background: #01508B;
border-radius: 8rpx;
font-size: 32rpx;
color: #FFFFFF;
text-align: center;
line-height: 88rpx;
}
}
</style>