diff --git a/src/components/AddressList/index.tsx b/src/components/AddressList/index.tsx index 7f71e93..cd09aca 100644 --- a/src/components/AddressList/index.tsx +++ b/src/components/AddressList/index.tsx @@ -2,7 +2,7 @@ import { Button, Navigator, ScrollView, Text, View } from "@tarojs/components" import { memo, useEffect, useState } from "react" import "./index.scss" -import {addressListApi,addressDeleteApi} from "@/api/addressManager" +// import {addressListApi,addressDeleteApi} from "@/api/addressList" import { alert } from "@/common/common" import Taro, { showModal } from "@tarojs/taro" diff --git a/src/components/search/index.tsx b/src/components/search/index.tsx index ebae6dc..bad058c 100644 --- a/src/components/search/index.tsx +++ b/src/components/search/index.tsx @@ -72,7 +72,7 @@ export default memo(forwardRef(({ <> - {showIcon && } + {showIcon && } onInputEven(e)}> {!!inputCon && clearInput()} styleObj={{ width: '20rpx', height: '20rpx', backgroundColor: '#fff', border: '0' }} /> diff --git a/src/components/shoppingCart/index.module.scss b/src/components/shoppingCart/index.module.scss index 6b55305..926948b 100644 --- a/src/components/shoppingCart/index.module.scss +++ b/src/components/shoppingCart/index.module.scss @@ -125,6 +125,7 @@ .posBox { width: 100%; position: fixed; - bottom: 0; + z-index: 999; + bottom: calc($customTabBarHeight + env(safe-area-inset-bottom)); } } \ No newline at end of file diff --git a/src/pages/addressManager/index.tsx b/src/pages/addressManager/index.tsx index db31e3f..a0ef657 100644 --- a/src/pages/addressManager/index.tsx +++ b/src/pages/addressManager/index.tsx @@ -1,16 +1,14 @@ 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 ( - + {/* */} ) } \ No newline at end of file