diff --git a/src/pages/creditLine/index.scss b/src/pages/creditLine/index.scss index 452833b..29a272e 100644 --- a/src/pages/creditLine/index.scss +++ b/src/pages/creditLine/index.scss @@ -91,7 +91,7 @@ margin-right: 10px; color: #007AFF; } - .credit-line-card-bottom-item:nth-of-type(2) .credit-line-card-bottom-item-title text{ + .credit-line-card-bottom-item:nth-child(2) .credit-line-card-bottom-item-title text{ font-size: 28px; } .credit-line-card-bottom-item-price{ diff --git a/src/pages/creditLine/index.tsx b/src/pages/creditLine/index.tsx index 87c154d..ee609ec 100644 --- a/src/pages/creditLine/index.tsx +++ b/src/pages/creditLine/index.tsx @@ -1,6 +1,6 @@ import AddressList from "@/components/AddressList" -import { Button, Canvas, ScrollView, Text, View } from "@tarojs/components" +import { Button, Canvas, Navigator, ScrollView, Text, View } from "@tarojs/components" import Taro, { useReady } from "@tarojs/taro" import { useEffect, useState } from "react" import {creditInfoApi} from "@/api/creditLine" @@ -141,13 +141,13 @@ export default ()=>{ ¥{Number(data.credit_quota_line[0])?.toLocaleString()}.{data.credit_quota_line[1]} - + 已用额度 ¥{Number(data?.credit_quota_used_line[0])?.toLocaleString()}.{data.credit_quota_used_line[1]} - + diff --git a/src/pages/user/index.module.scss b/src/pages/user/index.module.scss index 7b3acd3..693421b 100644 --- a/src/pages/user/index.module.scss +++ b/src/pages/user/index.module.scss @@ -150,7 +150,7 @@ display: grid; grid-template-columns: repeat(3,1fr); } - .assets-content>view{ + .assets-content>view,.assets-content>navigator{ text-align: center; } .assets-content-item-top{ diff --git a/src/pages/user/index.tsx b/src/pages/user/index.tsx index 06b76c7..98dec6d 100644 --- a/src/pages/user/index.tsx +++ b/src/pages/user/index.tsx @@ -97,17 +97,17 @@ const Header = memo(() => { // 我的资产 const Assets = () => { return ( - + 我的资产 - + ¥ 0 .20 预存款 - + 4 @@ -115,16 +115,16 @@ const Assets = () => { 优惠券 - + ¥ 99999 .-00 授信额度 - + - + ) };