This commit is contained in:
2024-03-16 22:46:10 +08:00
parent 8b0ad91bd4
commit 84b6ff15c7
14 changed files with 27 additions and 24 deletions

View File

@@ -93,7 +93,7 @@ const save = () => {
view:nth-of-type(1) {
flex: 1;
margin: 5rpx 20rpx 0 0;
margin: 0 20rpx 0 0;
}
textarea {

View File

@@ -1,18 +1,18 @@
<template>
<view class='content'>
<scroll-view :scroll-y='true'>
<address-item v-for='(item,index) in addressList' :key='index' :item='item' />
<item v-for='(item,index) in addressList' :key='index' :item='item' />
</scroll-view>
<view class='bottom-button-view'>
<button class='primary-button' @click.stop='goPath("add-address")'>+新增地址</button>
<button class='primary-button' @click.stop='goPath("create")'>+新增地址</button>
</view>
</view>
</template>
<script lang='ts' setup>
import AddressItem from './components/address-item.vue';
import Item from './components/item.vue';
import { goPath } from '@/utils';
import { getAddressList } from '@/api/user';