From de9515f73cda3b82021597a42fc23cb10c645ad6 Mon Sep 17 00:00:00 2001
From: li tong bao <2903733959@qq.com>
Date: Tue, 7 Jun 2022 17:52:56 +0800
Subject: [PATCH] =?UTF-8?q?--=E6=8E=88=E4=BF=A1=E5=A2=9E=E5=8A=A0=E5=85=A5?=
=?UTF-8?q?=E5=8F=A3?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/pages/creditLine/index.scss | 2 +-
src/pages/creditLine/index.tsx | 6 +++---
src/pages/user/index.module.scss | 2 +-
src/pages/user/index.tsx | 12 ++++++------
4 files changed, 11 insertions(+), 11 deletions(-)
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 f41333b..0be67c8 100644
--- a/src/pages/user/index.tsx
+++ b/src/pages/user/index.tsx
@@ -96,17 +96,17 @@ const Header = memo(() => {
// 我的资产
const Assets = () => {
return (
-
+
我的资产
-
+
¥
0
.20
预存款
-
+
4
@@ -114,16 +114,16 @@ const Assets = () => {
优惠券
-
+
¥
99999
.-00
授信额度
-
+
-
+
)
};