确认订单
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
export default {
|
||||
navigationBarTitleText: '电子商城'
|
||||
navigationBarTitleText: '电子商城',
|
||||
enablePullDownRefresh: true,
|
||||
backgroundTextStyle: 'dark'
|
||||
}
|
||||
|
||||
@@ -8,7 +8,9 @@ import ShopCart from '@/components/shopCart'
|
||||
import styles from './index.module.scss'
|
||||
import { goLink } from '@/common/common'
|
||||
import { useState } from 'react'
|
||||
import Taro from '@tarojs/taro'
|
||||
import Taro, { usePullDownRefresh } from '@tarojs/taro'
|
||||
import useManualPullDownRefresh from '@/use/useManualPullDownRefresh'
|
||||
|
||||
|
||||
export default () => {
|
||||
const tabs_list = [
|
||||
@@ -32,6 +34,8 @@ export default () => {
|
||||
]
|
||||
|
||||
const [showShopCart, setShowShopCart] = useState(false)
|
||||
|
||||
const res = useManualPullDownRefresh(() => {return '99999'})
|
||||
|
||||
return (
|
||||
<MoveBtn onClick={() => setShowShopCart(!showShopCart)}>
|
||||
|
||||
Reference in New Issue
Block a user