Commit d63fa9c8 authored by 吴春's avatar 吴春

门票币种判断

parent db923760
......@@ -137,9 +137,16 @@
<div>
<div class="text-h6 din text-negative">
<span>{{ i.MinPrice.toFixed(2) }}</span>
<template v-if="b2bUserInfo && b2bUserInfo.groupId == 2">
<span class="f12 text-grey-600 q-ml-sm"
>{{ $t("unit.jp") }}{{ $t("hotel.col.low") }}</span
>
</template>
<template v-if="b2bUserInfo && b2bUserInfo.groupId != 2">
<span class="f12 text-grey-600 q-ml-sm"
>{{i.CurrencyCode}}{{ $t("hotel.col.low") }}</span
>
</template>
</div>
<div class="text-right">
<q-btn
......@@ -179,7 +186,7 @@ import { DirtionmaryHelper } from "src/config/dictionary";
import { defineComponent, inject, reactive, toRefs, watch } from "vue";
import { useRouter } from "vue-router";
import TicketCard from "../TicketCard.vue";
import { getStoreGetter } from "../../../store/utils";
export default defineComponent({
components: { TicketCard },
setup(props) {
......@@ -196,7 +203,7 @@ export default defineComponent({
detailsObj: {} as any,
showDetails: false,
});
const b2bUserInfo = getStoreGetter<UserGetter>("user", "getUser");
if ($q.platform.is.desktop) {
if ($q.screen.gt.md) {
data.pages.PageSize = 12;
......@@ -254,6 +261,7 @@ export default defineComponent({
return {
...toRefs(data),
...methods,
b2bUserInfo,
search,
};
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment