✨ feat:修改购物车样式
This commit is contained in:
parent
e35c33bc7f
commit
de46b61f9a
@ -2,7 +2,7 @@
|
|||||||
import { Button, Navigator, ScrollView, Text, View } from "@tarojs/components"
|
import { Button, Navigator, ScrollView, Text, View } from "@tarojs/components"
|
||||||
import { memo, useEffect, useState } from "react"
|
import { memo, useEffect, useState } from "react"
|
||||||
import "./index.scss"
|
import "./index.scss"
|
||||||
import {addressListApi,addressDeleteApi} from "@/api/addressManager"
|
// import {addressListApi,addressDeleteApi} from "@/api/addressList"
|
||||||
import { alert } from "@/common/common"
|
import { alert } from "@/common/common"
|
||||||
import Taro, { showModal } from "@tarojs/taro"
|
import Taro, { showModal } from "@tarojs/taro"
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ export default memo(forwardRef(({
|
|||||||
<>
|
<>
|
||||||
<View className={styles.search_main}>
|
<View className={styles.search_main}>
|
||||||
<View className={styles.search_con}>
|
<View className={styles.search_con}>
|
||||||
{showIcon && <View className={classnames('iconfont', 'icon-a-sousuo1', styles.icon_a_sousuo1_self, placeIcon == 'inner' ? styles.icon_inner : styles.icon_out)}></View>}
|
{showIcon && <View className={classnames('iconfont', 'icon-sousuo', styles.icon_a_sousuo1_self, placeIcon == 'inner' ? styles.icon_inner : styles.icon_out)}></View>}
|
||||||
<Input placeholderStyle='color:#ABABAB; font-size:26rpx' onConfirm={onSearch} className={classnames(placeIcon == 'out' && styles.input_out)} disabled={disabled} value={inputCon} placeholder={placeholder} onInput={(e) => onInputEven(e)}></Input>
|
<Input placeholderStyle='color:#ABABAB; font-size:26rpx' onConfirm={onSearch} className={classnames(placeIcon == 'out' && styles.input_out)} disabled={disabled} value={inputCon} placeholder={placeholder} onInput={(e) => onInputEven(e)}></Input>
|
||||||
{!!inputCon && <View className={styles.search_closeBtn}>
|
{!!inputCon && <View className={styles.search_closeBtn}>
|
||||||
<CloseBtn onClose={() => clearInput()} styleObj={{ width: '20rpx', height: '20rpx', backgroundColor: '#fff', border: '0' }} />
|
<CloseBtn onClose={() => clearInput()} styleObj={{ width: '20rpx', height: '20rpx', backgroundColor: '#fff', border: '0' }} />
|
||||||
|
@ -125,6 +125,7 @@
|
|||||||
.posBox {
|
.posBox {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
z-index: 999;
|
||||||
|
bottom: calc($customTabBarHeight + env(safe-area-inset-bottom));
|
||||||
}
|
}
|
||||||
}
|
}
|
@ -1,16 +1,14 @@
|
|||||||
|
|
||||||
import AddressList from "@/components/AddressList"
|
import AddressList from "@/components/AddressList"
|
||||||
import useLogin from "@/use/useLogin"
|
|
||||||
import { Button, ScrollView, Text, View } from "@tarojs/components"
|
import { Button, ScrollView, Text, View } from "@tarojs/components"
|
||||||
import { stopPullDownRefresh, usePullDownRefresh } from "@tarojs/taro"
|
import { stopPullDownRefresh, usePullDownRefresh } from "@tarojs/taro"
|
||||||
import { useState } from "react"
|
import { useState } from "react"
|
||||||
import "./index.scss"
|
import "./index.scss"
|
||||||
|
|
||||||
export default ()=>{
|
export default ()=>{
|
||||||
useLogin()
|
|
||||||
return (
|
return (
|
||||||
<View className="address-manager">
|
<View className="address-manager">
|
||||||
<AddressList refresherEnabled={true}/>
|
{/* <AddressList refresherEnabled={true}/> */}
|
||||||
</View>
|
</View>
|
||||||
)
|
)
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user