🐞 fix(面料详情): 修复预览图片模糊的问题
This commit is contained in:
parent
8f065076aa
commit
817929897a
@ -3,5 +3,6 @@ export default {
|
||||
navigationBarTextStyle: 'white',
|
||||
enableShareAppMessage: true,
|
||||
navigationBarBackgroundColor: '#4A7FFF',
|
||||
enablePullDownRefresh: true,
|
||||
backgroundColorTop: '#4A7FFF',
|
||||
}
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
|
||||
import { Icon, Text, View } from '@tarojs/components'
|
||||
import Taro, { useReady } from '@tarojs/taro'
|
||||
import Taro, { usePullDownRefresh, useReady } from '@tarojs/taro'
|
||||
import classNames from 'classnames'
|
||||
import { useState } from 'react'
|
||||
import styles from './index.module.scss'
|
||||
@ -27,8 +27,17 @@ export default () => {
|
||||
|
||||
const { fetchData, state } = GetRebateDetail()
|
||||
|
||||
const getData = async() => {
|
||||
await fetchData()
|
||||
Taro.stopPullDownRefresh()
|
||||
}
|
||||
|
||||
usePullDownRefresh(() => {
|
||||
getData()
|
||||
})
|
||||
|
||||
useReady(() => {
|
||||
fetchData()
|
||||
getData()
|
||||
})
|
||||
|
||||
return (
|
||||
|
||||
@ -632,7 +632,7 @@ const OrderCount = ({ show = false, onClose, title = '', productId = 0, is_first
|
||||
showGuidePopup && showPopup && <GuidePopup closePopup={() => setshowGuidePopup(false)}></GuidePopup>
|
||||
}
|
||||
<View>
|
||||
<LabAndImgShow value={labImageValue} show={showLabImage} onClose={closeLabImgShow} />
|
||||
<LabAndImgShow suffix="!w400" value={labImageValue} show={showLabImage} onClose={closeLabImgShow} />
|
||||
</View>
|
||||
<OrganizationNameModal zIndex={99999} showModal={showModal} onClose={handleClose} onShowModalChange={handleShowChange} onConfirm={handleOrganizationNameModalConfirm} />
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user