Commit 5c6790b0 authored by 黄奎's avatar 黄奎

页面修改

parent 6a63af77
......@@ -177,8 +177,7 @@
{{ $t("v101.scattered.titleHeard3") }}
</div>
<div class="">
<span
>
<span>
<template v-if="props.row.type == 1">
{{ getPrice(props.row.lowrateBySetCurrency) }}
</template>
......@@ -361,7 +360,11 @@ export default defineComponent({
);
return sortFun;
},
//获取价格
getPrice(price) {
return price;
//return Math.ceil(price / data.JapanIncrease);
},
changePageHandler(n: any) {
data.pages.pageIndex = n
methods.initHotels()
......@@ -370,11 +373,7 @@ export default defineComponent({
data.showHotelDetailId = hotelId;
},
goUrl(url: string, row: {}) {
url = `${url}/${row.hotelId}/${data.groupBookingFlg}/${
row.type == 1
? methods.getPrice(row.lowrateBySetCurrency)
: row.lowrateBySetCurrency
}`;
url = `${url}/${row.hotelId}`;
window.open(url, "_blank");
},
};
......
......@@ -44,7 +44,7 @@ const routes: RouteRecordRaw[] = [{
component: () => import('pages/scattered/didaHotel.vue')
},
{
path: '/scattered/didaDetails/:hotelId/:groupBookingFlg/:lowrateBySetCurrency',
path: '/scattered/didaDetails/:hotelId',
component: () =>
import('pages/scattered/didaDetails.vue')
},
......
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