|
@@ -2,9 +2,9 @@ import React, { useState, useEffect, useRef } from 'react'
|
2
|
2
|
import CustomNav from '@/components/CustomNav'
|
3
|
3
|
import { useRouter } from '@tarojs/taro'
|
4
|
4
|
import { getShopList, getShopMoney, getAccount, getVerifiedOrder, setGetVerifiedOrder } from '@/services/shopBoss'
|
5
|
|
-
|
6
|
|
-
|
|
5
|
+import { withSubscribeMessage } from '@/utils/subscribeMessage'
|
7
|
6
|
import withLayout from '@/layouts'
|
|
7
|
+import { TPL_MESSAGE_SHOP_PAY_SUCCESS } from '@/utils/constants'
|
8
|
8
|
import tabList from './Shoptabbar'
|
9
|
9
|
import ShopKeeper from '../../components/ShopKeeper/shopKeeper'
|
10
|
10
|
import Sparead from '../../components/Sparead/spreadMoney'
|
|
@@ -36,8 +36,9 @@ export default withLayout((props) => {
|
36
|
36
|
//如果context有的话代表他滚动了 那么切换tab页就置顶
|
37
|
37
|
if (listRef.current?.context) {
|
38
|
38
|
listRef.current.context.scrollTo({ top: 0 })
|
39
|
|
-
|
40
|
39
|
}
|
|
40
|
+
|
|
41
|
+ withSubscribeMessage(TPL_MESSAGE_SHOP_PAY_SUCCESS)
|
41
|
42
|
}
|
42
|
43
|
const handelTypeOrder = () => {
|
43
|
44
|
|