Merge branch 'dev' of ssh://git.online.zzfzyc.com:10022/mp/EShop into dev
This commit is contained in:
commit
9b16fcfd2e
@ -89,7 +89,7 @@
|
|||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #ffffff;
|
color: #ffffff;
|
||||||
display: flex;align-items: center;justify-content: center;
|
display: flex;align-items: center;justify-content: center;
|
||||||
position: absolute;bottom: 4%;left: 50%;
|
position: absolute;bottom: 100px;left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
}
|
}
|
||||||
.address-no-data{
|
.address-no-data{
|
||||||
|
@ -5,22 +5,6 @@
|
|||||||
width: 238px;
|
width: 238px;
|
||||||
height: 238px;
|
height: 238px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.credit-line-tips{
|
|
||||||
width: 100%;
|
|
||||||
height: 66px;
|
|
||||||
background: #FFE6CE;
|
|
||||||
border: 2px solid #ffe6ce;
|
|
||||||
padding: 0 30px;
|
|
||||||
display: flex;align-items: center;
|
|
||||||
font-size: 24px;
|
|
||||||
font-weight: 400;
|
|
||||||
color: #EE7500;
|
|
||||||
}
|
|
||||||
.credit-line-tips text{
|
|
||||||
margin-right: 10px;
|
|
||||||
font-size: 30px;
|
|
||||||
}
|
|
||||||
.credit-line-card{
|
.credit-line-card{
|
||||||
width: 702px;
|
width: 702px;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
|
@ -7,6 +7,7 @@ import {creditInfoApi} from "@/api/creditLine"
|
|||||||
import "./index.scss"
|
import "./index.scss"
|
||||||
import { useSelector } from "@/reducers/hooks";
|
import { useSelector } from "@/reducers/hooks";
|
||||||
import { formatDateTime, formatPriceDiv } from "@/common/fotmat"
|
import { formatDateTime, formatPriceDiv } from "@/common/fotmat"
|
||||||
|
import Message from "@/components/Message"
|
||||||
|
|
||||||
export default ()=>{
|
export default ()=>{
|
||||||
|
|
||||||
@ -120,9 +121,7 @@ export default ()=>{
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View className="credit-line">
|
<View className="credit-line">
|
||||||
<View className="credit-line-tips">
|
<Message text="暂不支持线上申请授权,请联系平台客服。"/>
|
||||||
<Text className="iconfont icon-zhuyi"></Text> 暂不支持线上申请授权,请联系平台客服。
|
|
||||||
</View>
|
|
||||||
<View className="credit-line-card">
|
<View className="credit-line-card">
|
||||||
<View className="credit-line-card-top">
|
<View className="credit-line-card-top">
|
||||||
<View><Progress progress={data.progress} style={style} /></View>
|
<View><Progress progress={data.progress} style={style} /></View>
|
||||||
|
@ -4,7 +4,7 @@ import Taro, { useReady } from "@tarojs/taro"
|
|||||||
import { useCallback, useEffect, useMemo, useRef, useState } from "react"
|
import { useCallback, useEffect, useMemo, useRef, useState } from "react"
|
||||||
import {creditListApi} from "@/api/creditLine"
|
import {creditListApi} from "@/api/creditLine"
|
||||||
import "./index.scss"
|
import "./index.scss"
|
||||||
import { formatDateTime } from "@/common/fotmat"
|
import { formatDateTime, formatPriceDiv, toDecimal2 } from "@/common/fotmat"
|
||||||
import { dataLoadingStatus, getFilterData } from "@/common/util";
|
import { dataLoadingStatus, getFilterData } from "@/common/util";
|
||||||
|
|
||||||
export default ()=>{
|
export default ()=>{
|
||||||
@ -30,7 +30,9 @@ export default ()=>{
|
|||||||
<View key={index} className="credit-used-list">
|
<View key={index} className="credit-used-list">
|
||||||
<View className="credit-used-list-top">
|
<View className="credit-used-list-top">
|
||||||
<View className="credit-used-list-type">下单</View>
|
<View className="credit-used-list-type">下单</View>
|
||||||
<View className={`credit-used-list-price ${item.amount>0?'green':item.amount<0?'red':''}`}>{item.amount.toLocaleString()}</View>
|
<View className={`credit-used-list-price ${item.amount>0?'green':item.amount<0?'red':''}`}>
|
||||||
|
{item.amount>0?"-":"+"}{toDecimal2(formatPriceDiv(item.amount)).toLocaleString()}
|
||||||
|
</View>
|
||||||
</View>
|
</View>
|
||||||
<View className="credit-used-list-bottom">
|
<View className="credit-used-list-bottom">
|
||||||
<View className="credit-used-list-date">{formatDateTime(item.order_pay_time)}</View>
|
<View className="credit-used-list-date">{formatDateTime(item.order_pay_time)}</View>
|
||||||
|
@ -5,7 +5,7 @@ import classnames from "classnames";
|
|||||||
import { useSelector } from "@/reducers/hooks";
|
import { useSelector } from "@/reducers/hooks";
|
||||||
import { GetAdminUserInfoApi } from "@/api/user";
|
import { GetAdminUserInfoApi } from "@/api/user";
|
||||||
import { alert, goLink } from "@/common/common";
|
import { alert, goLink } from "@/common/common";
|
||||||
|
import useLogin from '@/use/useLogin'
|
||||||
|
|
||||||
export default () => {
|
export default () => {
|
||||||
// 用户信息
|
// 用户信息
|
||||||
@ -38,7 +38,6 @@ const Modal = memo((props:any)=>{
|
|||||||
const {data} = props;
|
const {data} = props;
|
||||||
const [modalShow, setModalShow]=useState(true);
|
const [modalShow, setModalShow]=useState(true);
|
||||||
const handleouter = ()=>{
|
const handleouter = ()=>{
|
||||||
console.log(222);
|
|
||||||
}
|
}
|
||||||
return(
|
return(
|
||||||
<>
|
<>
|
||||||
@ -68,11 +67,12 @@ const Header = memo((props:any) => {
|
|||||||
let menu = [{ text: "待配布", icon: "icon-daipeibu" }, { text: "待付款", icon: "icon-daifukuan" },
|
let menu = [{ text: "待配布", icon: "icon-daipeibu" }, { text: "待付款", icon: "icon-daifukuan" },
|
||||||
{ text: "待发货", icon: "icon-daifahuo" }, { text: "已发货", icon: "icon-yifahuo" },
|
{ text: "待发货", icon: "icon-daifahuo" }, { text: "已发货", icon: "icon-yifahuo" },
|
||||||
{ text: "退款/售后", icon: "icon-a-tuikuanshouhou" }];
|
{ text: "退款/售后", icon: "icon-a-tuikuanshouhou" }];
|
||||||
const getPhoneNumber = (ev)=>{
|
const { getPhoneNumber } = useLogin();
|
||||||
console.log(ev);
|
const mGetPhoneNumber = (ev)=>{
|
||||||
if(ev.detail?.code){
|
try {
|
||||||
}else{
|
getPhoneNumber(ev.detail.code);
|
||||||
alert.none("取消了授权");
|
} catch (error) {
|
||||||
|
alert.none("绑定失败!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -90,7 +90,7 @@ const Header = memo((props:any) => {
|
|||||||
{data?.user_name}
|
{data?.user_name}
|
||||||
</View>
|
</View>
|
||||||
<View className={styles['arcd-info-left-phone']}>
|
<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>
|
</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>
|
<Navigator hoverClass="none" url="/pages/certification/index" className={styles['auth-tips']}>重新认证 <Text className="iconfont icon-a-moreback"/></Navigator>
|
||||||
</View>
|
</View>
|
||||||
<View className={styles['auth-company']}>
|
<View className={styles['auth-company']}>
|
||||||
佛山市带生纺织品有限公司
|
{data?.company_name}
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
<View className={styles['card-main']}>
|
<View className={styles['card-main']}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user