|
|
@@ -10,7 +10,7 @@
|
|
|
<h1>{{ userLevelInfo.levelgroup }}</h1>
|
|
|
<span>{{ userLevelInfo.checkday }}到期</span>
|
|
|
</div>
|
|
|
- <div class="rank-container__next">
|
|
|
+ <div class="rank-container__next" v-if="userLevelInfo.notyet">
|
|
|
<div class="upgrade">
|
|
|
<div class="upgrade-left">
|
|
|
<span>{{ userLevelInfo.appup }}</span>
|
|
|
@@ -64,7 +64,7 @@ import AppQrcode from '@mobile/components/base/qrcode/index.vue'
|
|
|
import TradeData from './components/tradedata/index.vue'
|
|
|
import Promotion from './components/promotion/index.vue'
|
|
|
import { getServiceUrl } from '@/services/http'
|
|
|
-import { Market } from '@/constants/market'
|
|
|
+import { Market, getMarketList } from '@/constants/market'
|
|
|
|
|
|
const { getUserId } = useLoginStore()
|
|
|
const showQRCode = shallowRef(false)
|
|
|
@@ -85,17 +85,16 @@ const dropdownMenus = [
|
|
|
const dropdownTypes = computed(() => {
|
|
|
switch (selectedMenu.value) {
|
|
|
case 0: {
|
|
|
- return [
|
|
|
- { text: '采购', value: Market.THJ },
|
|
|
- { text: '转让', value: 64202 },
|
|
|
- { text: '供求', value: Market.THJ_Listing },
|
|
|
- ]
|
|
|
+ return getMarketList().map((e) => ({
|
|
|
+ text: e.label,
|
|
|
+ value: e.value,
|
|
|
+ }))
|
|
|
}
|
|
|
case 1: {
|
|
|
return [
|
|
|
{ text: '未支付', value: 1 },
|
|
|
- { text: '支取中', value: 2 },
|
|
|
- { text: '已支付', value: 3 }
|
|
|
+ { text: '支取中', value: 3 },
|
|
|
+ { text: '已支付', value: 2 }
|
|
|
]
|
|
|
}
|
|
|
}
|