--修改添加地址按钮高度

This commit is contained in:
li tong bao
2022-06-10 15:36:53 +08:00
parent 69089dd9af
commit b07194ea61
5 changed files with 16 additions and 31 deletions
+9 -9
View File
@@ -5,7 +5,7 @@ import classnames from "classnames";
import { useSelector } from "@/reducers/hooks";
import { GetAdminUserInfoApi } from "@/api/user";
import { alert, goLink } from "@/common/common";
import useLogin from '@/use/useLogin'
export default () => {
// 用户信息
@@ -38,7 +38,6 @@ const Modal = memo((props:any)=>{
const {data} = props;
const [modalShow, setModalShow]=useState(true);
const handleouter = ()=>{
console.log(222);
}
return(
<>
@@ -68,11 +67,12 @@ const Header = memo((props:any) => {
let menu = [{ text: "待配布", icon: "icon-daipeibu" }, { text: "待付款", icon: "icon-daifukuan" },
{ text: "待发货", icon: "icon-daifahuo" }, { text: "已发货", icon: "icon-yifahuo" },
{ text: "退款/售后", icon: "icon-a-tuikuanshouhou" }];
const getPhoneNumber = (ev)=>{
console.log(ev);
if(ev.detail?.code){
}else{
alert.none("取消了授权");
const { getPhoneNumber } = useLogin();
const mGetPhoneNumber = (ev)=>{
try {
getPhoneNumber(ev.detail.code);
} catch (error) {
alert.none("绑定失败!");
}
}
@@ -90,7 +90,7 @@ const Header = memo((props:any) => {
{data?.user_name}
</View>
<View className={styles['arcd-info-left-phone']}>
{userInfo?.phone?.replace(userInfo?.phone?.substring(3,7), "****")||<Button openType="getPhoneNumber" onGetPhoneNumber={getPhoneNumber}>绑定手机号码</Button>}
{userInfo?.phone?.replace(userInfo?.phone?.substring(3,7), "****")||<Button openType="getPhoneNumber" onGetPhoneNumber={mGetPhoneNumber}>绑定手机号码</Button>}
</View>
</View>
</View>
@@ -114,7 +114,7 @@ const Header = memo((props:any) => {
<Navigator hoverClass="none" url="/pages/certification/index" className={styles['auth-tips']}>重新认证 <Text className="iconfont icon-a-moreback"/></Navigator>
</View>
<View className={styles['auth-company']}>
佛山市带生纺织品有限公司
{data?.company_name}
</View>
</View>
<View className={styles['card-main']}>