🐞 fix(#1000663#15#21): 修复提货列表|提货详情模块的样式问题
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
.mainBox {
|
||||
height: calc(100vh - 200px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-direction: column;
|
||||
|
||||
.pic {
|
||||
width: 522px;
|
||||
height: 322px;
|
||||
background: #fff;
|
||||
// opacity: 0.3;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.text {
|
||||
font-size: 26px;
|
||||
color: $color_font_two;
|
||||
font-weight: 400;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,22 @@
|
||||
import { View, Image } from '@tarojs/components'
|
||||
import React, { useCallback, memo, useEffect, useMemo, useRef, useState } from 'react'
|
||||
import styles from "../empty/index.module.scss"
|
||||
|
||||
interface PropsObj {
|
||||
picUrl?: string,
|
||||
text?: string
|
||||
}
|
||||
|
||||
export default memo((pros: PropsObj) => {
|
||||
const {
|
||||
picUrl = '',
|
||||
text = '无搜索历史'
|
||||
} = pros
|
||||
|
||||
return (
|
||||
<View className={styles.mainBox}>
|
||||
<Image className={styles.pic} mode='aspectFill' lazyLoad src={picUrl}></Image>
|
||||
<View className={styles.fonst}>{text}</View>
|
||||
</View>
|
||||
)
|
||||
})
|
||||
Reference in New Issue
Block a user