✨ feat:yarn
This commit is contained in:
parent
f6dd3757d9
commit
e35c33bc7f
@ -9,4 +9,12 @@ import { useRequest } from "@/use/useHttp"
|
|||||||
url: `/v1/mall/district/list`,
|
url: `/v1/mall/district/list`,
|
||||||
method: "get",
|
method: "get",
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//获取客户地址
|
||||||
|
export const mppurchaseraddresslist = () => {
|
||||||
|
return useRequest({
|
||||||
|
url: `/v1/mp/purchaser/address/list`,
|
||||||
|
method: "get",
|
||||||
|
})
|
||||||
|
}
|
||||||
|
@ -8,7 +8,8 @@ export default defineAppConfig({
|
|||||||
'pages/customerPage/index',
|
'pages/customerPage/index',
|
||||||
'pages/saleuserPage/index',
|
'pages/saleuserPage/index',
|
||||||
'pages/user/index',
|
'pages/user/index',
|
||||||
'pages/orderDetails/index'
|
'pages/orderDetails/index',
|
||||||
|
'pages/addressManager/index'
|
||||||
],
|
],
|
||||||
window: {
|
window: {
|
||||||
backgroundTextStyle: 'light',
|
backgroundTextStyle: 'light',
|
||||||
|
4
src/pages/addressManager/index.config.ts
Normal file
4
src/pages/addressManager/index.config.ts
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
export default {
|
||||||
|
navigationBarTitleText: '地址管理',
|
||||||
|
enableShareAppMessage: true,
|
||||||
|
}
|
3
src/pages/addressManager/index.scss
Normal file
3
src/pages/addressManager/index.scss
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
.address-manager{
|
||||||
|
height: 100vh;
|
||||||
|
}
|
16
src/pages/addressManager/index.tsx
Normal file
16
src/pages/addressManager/index.tsx
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
|
||||||
|
import AddressList from "@/components/AddressList"
|
||||||
|
import useLogin from "@/use/useLogin"
|
||||||
|
import { Button, ScrollView, Text, View } from "@tarojs/components"
|
||||||
|
import { stopPullDownRefresh, usePullDownRefresh } from "@tarojs/taro"
|
||||||
|
import { useState } from "react"
|
||||||
|
import "./index.scss"
|
||||||
|
|
||||||
|
export default ()=>{
|
||||||
|
useLogin()
|
||||||
|
return (
|
||||||
|
<View className="address-manager">
|
||||||
|
<AddressList refresherEnabled={true}/>
|
||||||
|
</View>
|
||||||
|
)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user