|
@@ -6,6 +6,7 @@ import Taro from '@tarojs/taro'
|
6
|
6
|
import emptyImg from '@/assets/empty.png'
|
7
|
7
|
import { useSelector } from 'react-redux'
|
8
|
8
|
import { fetch } from '@/utils/request'
|
|
9
|
+import { getImgURL } from '@/utils/image'
|
9
|
10
|
import { API_LIVE_DEATIL } from '@/constants/api'
|
10
|
11
|
|
11
|
12
|
export default function LiveSale (props) {
|
|
@@ -48,7 +49,7 @@ export default function LiveSale (props) {
|
48
|
49
|
{
|
49
|
50
|
PageList.map((item, index) => (
|
50
|
51
|
<view className='ListItem' key={`List-${index}`} style={{display: CurrentId === 1 || (CurrentId === 2 && item.kind === 'notice') || (CurrentId === 3 && item.kind === 'live') || (CurrentId === 4 && item.kind !== 'notice') ? 'inline-block' : 'none'}}>
|
51
|
|
- <Image mode='aspectFill' className='centerLabel' src={`http://81.69.196.8:8567${item.images}`} />
|
|
52
|
+ <Image mode='aspectFill' className='centerLabel' src={`${getImgURL(item.images)}`} />
|
52
|
53
|
</view>
|
53
|
54
|
))
|
54
|
55
|
}
|