feat(mine): 我的页面展示区域选择

This commit is contained in:
woody 2025-06-12 09:59:56 +08:00
parent cfb456cdd2
commit 1927bfe286
2 changed files with 9 additions and 2 deletions

View File

@ -50,6 +50,6 @@ export const getDirectPushList = params =>
// 市场动态盒数接口
export const getMarketDynamicBoxCount = params =>
http.get('/retail-member/api/retail-member/big-small-box', {
http.post('/retail-member/api/retail-member/small-box-list', {
params,
})

View File

@ -376,6 +376,7 @@
</u-button>
</view>
</u-popup>
<RegionSelect />
<!-- <talentList :drShow="drShow" @closeShow="closeShow"></talentList> -->
</view>
</template>
@ -385,6 +386,8 @@ import clTabbar from '@/components/cl-tabbar.vue'
import * as min from '@/config/balance.js'
import * as api from '@/config/login.js'
import { MEMBER_SIGN } from '@/util/common.js'
import { getMarketDynamicBoxCount } from '@/config/mine.js'
import RegionSelect from '@/components/region-select/index.vue'
import {
getRegionSelect,
getMemberBoxCount,
@ -395,6 +398,7 @@ export default {
components: {
'cl-tabbar': clTabbar,
// talentList,
RegionSelect,
},
data() {
return {
@ -704,7 +708,10 @@ export default {
}
},
getMarketDynamicBoxCount() {
getMarketDynamicBoxCount().then(res => {
console.log('🌈ad', this.userInfo)
getMarketDynamicBoxCount({
pkBigMember: this.userInfo.memberCode,
}).then(res => {
if (res.code == 200) {
this.marketDynamicBoxInfo = res.data
}