修改样式

This commit is contained in:
2026-04-11 11:55:03 +08:00
parent ef9210a567
commit ec9282a64f
59 changed files with 8708 additions and 2558 deletions
+5
View File
@@ -1,6 +1,9 @@
import { defineStore } from "pinia";
import type { UserAddressBo } from '@/service/types';
export const useAddressStore = defineStore('store-address', () => {
/** 从地图搜索新增地址进入保存页时,首次需弹出建筑类型介绍层(与原先进入 choose-type 页等价) */
const pendingIntroBuildingType = ref(false)
const addressInfo = ref<UserAddressBo>({
type: '',
/** 配送类型 1-亲自送达 2-放门口,默认放门口 */
@@ -57,6 +60,7 @@ export const useAddressStore = defineStore('store-address', () => {
}
function clearAddressInfo() {
pendingIntroBuildingType.value = false
addressInfo.value = {
id: '',
type: '',
@@ -102,6 +106,7 @@ export const useAddressStore = defineStore('store-address', () => {
return {
addressInfo,
addressLocation,
pendingIntroBuildingType,
setAddressLocation,
clearAddressInfo
}