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