From de46b61f9a3e79ebfae15aabbdc74ac46a74119b Mon Sep 17 00:00:00 2001 From: Haiyi <1021441632@qq.com> Date: Thu, 8 Sep 2022 17:17:32 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat:=E4=BF=AE=E6=94=B9=E8=B4=AD?= =?UTF-8?q?=E7=89=A9=E8=BD=A6=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/AddressList/index.tsx | 2 +- src/components/search/index.tsx | 2 +- src/components/shoppingCart/index.module.scss | 3 ++- src/pages/addressManager/index.tsx | 4 +--- 4 files changed, 5 insertions(+), 6 deletions(-) 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