✨ feat(支付弹窗):更换图标

This commit is contained in:
Haiyi
2022-12-07 14:07:03 +08:00
parent 25f6423ae0
commit caf228d121
5 changed files with 196 additions and 193 deletions
@@ -134,7 +134,7 @@ const PayPopup = (props: Props) => {
<View className={styles.itemBox} key={index} onClick={() => clickItem?.(item)}>
<View className={styles.leftItem}>
<View className={styles.leftCrile}
style={{ backgroundColor: `${item.name == '线下汇款' ? '#fca846' : '#4a7fff'}` }}
style={{ backgroundColor: `${item.name == '线下汇款' ? '#fca846' : item.name == '货主自提' ? '#00c760' : '#4a7fff'}` }}
>
<IconFont name={item.iconfont} size={35} color={item.color}></IconFont>
{/* <View className={classnames('iconfont', item.iconfont, styles.lujing)}></View> */}
+3 -4
View File
@@ -339,12 +339,11 @@ const Order = () => {
},
{
id: 3,
iconfont: 'icon-xianxiahuizong',
iconfont: 'icon-a-0tianzhangqi',
name: 'x天账期',
fonts: '可用额度 ',
money: '',
isCheck: false,
color: '#ffffff',
},
{
iconfont: 'icon-yue',
@@ -486,7 +485,7 @@ const Order = () => {
if (obj.length === 0) {
payList.unshift({
id: 6,
iconfont: 'icon-xianxiahuizong',
iconfont: 'icon-huozhuziti',
color: '#ffffff',
name: '货主自提',
fonts: '',
@@ -529,7 +528,7 @@ const Order = () => {
if (obj.length === 0) {
arr.unshift({
id: 6,
iconfont: 'icon-xianxiahuizong',
iconfont: 'icon-huozhuziti',
name: '货主自提',
color: '#ffffff',
fonts: '',
+3 -3
View File
@@ -358,7 +358,7 @@ const OrderDetails = () => {
},
{
id: 3,
iconfont: 'icon-xianxiahuizong',
iconfont: 'icon-a-0tianzhangqi',
name: 'x天账期',
fonts: '可用额度 ',
money: '',
@@ -401,7 +401,7 @@ const OrderDetails = () => {
if (obj.length === 0) {
payList.unshift({
id: 6,
iconfont: 'icon-xianxiahuizong',
iconfont: 'icon-huozhuziti',
name: '货主自提',
fonts: '',
money: '',
@@ -441,7 +441,7 @@ const OrderDetails = () => {
if (obj.length === 0) {
arr.unshift({
id: 6,
iconfont: 'icon-xianxiahuizong',
iconfont: 'icon-huozhuziti',
name: '货主自提',
fonts: '',
money: '',