|
@@ -10,15 +10,18 @@ export function Template(params: { data: any, enmuList: any }) {
|
|
|
let { firstRecharge, rechargeConfigList } = data
|
|
|
const useStyles = createStyles((props) => {
|
|
|
let { token } = props
|
|
|
+ let navTheme = localStorage.getItem("navTheme")//2亮 3黑
|
|
|
return {
|
|
|
cardBox: {
|
|
|
position: 'relative'
|
|
|
},
|
|
|
bgVip: {
|
|
|
backgroundImage: "linear-gradient(180deg, #fff1dc 60%, #fffdfa 100%)",
|
|
|
+ color: navTheme == "3" ? "#000" : "unset"
|
|
|
},
|
|
|
bg: {
|
|
|
- backgroundImage: 'linear-gradient(180deg, #ffeced 60%, #fffafa 100%)'
|
|
|
+ backgroundImage: 'linear-gradient(180deg, #ffeced 60%, #fffafa 100%)',
|
|
|
+ color: navTheme == "3" ? "#000" : "unset"
|
|
|
},
|
|
|
topRight: {
|
|
|
lineHeight: '20px',
|
|
@@ -60,7 +63,7 @@ export function Template(params: { data: any, enmuList: any }) {
|
|
|
return <Col key={index} span={11} offset={index % 2 === 0 ? 0 : 1} >
|
|
|
<Card className={`${styles.cardBox} ${color && styles.bg}`} styles={{ body: { maxHeight: 90, padding: '20px 15px' } }}>
|
|
|
{/* 右上角 */}
|
|
|
- <div className={`${styles.topRight}`} style={subscript ?{borderRadius: "8px 8px 0 8px",}:{}} >
|
|
|
+ <div className={`${styles.topRight}`} style={subscript ? { borderRadius: "8px 8px 0 8px", } : {}} >
|
|
|
{
|
|
|
<>
|
|
|
{subscript && <span className={styles.topRightSpan1}>{subscript}</span>}
|
|
@@ -84,7 +87,7 @@ export function Template(params: { data: any, enmuList: any }) {
|
|
|
return <Col key={index} span={11} offset={index % 2 === 0 ? 0 : 1} >
|
|
|
<Card className={`${styles.cardBox} ${color && styles.bgVip}`} styles={{ body: { maxHeight: 90, padding: '20px 15px' } }}>
|
|
|
{/* 右上角 */}
|
|
|
- <div className={`${styles.topRight} ${styles.topRightVip}`} style={subscript ?{borderRadius: "8px 8px 0 8px",}:{}}>
|
|
|
+ <div className={`${styles.topRight} ${styles.topRightVip}`} style={subscript ? { borderRadius: "8px 8px 0 8px", } : {}}>
|
|
|
{
|
|
|
<>
|
|
|
{subscript && <span className={styles.topRightSpan1}>{subscript}</span>}
|