Commit 1e3a905d authored by youjie's avatar youjie

no message

parent 18cc5c2c
...@@ -745,7 +745,6 @@ class UserService { ...@@ -745,7 +745,6 @@ class UserService {
static async deleteMemberGuest(tenantId: string,id:any): Promise<HttpResponse> { static async deleteMemberGuest(tenantId: string,id:any): Promise<HttpResponse> {
const response = await OtaRequest.delete( const response = await OtaRequest.delete(
`/member-guest/${id}`, `/member-guest/${id}`,
{},
{ {
headers: tenantId ? { headers: tenantId ? {
'__tenant': tenantId '__tenant': tenantId
......
...@@ -13,13 +13,14 @@ ...@@ -13,13 +13,14 @@
</div> </div>
</div> </div>
<a-divider class="!m-[0]"/> <a-divider class="!m-[0]"/>
<a-scrollbar class="max-h-[735px] mt-[20px]" <a-scrollbar v-if="current!=3" class="max-h-[735px] mt-[20px] overflow-auto"
ref="scrollContainer" ref="scrollContainer">
:class="[current!=3?'overflow-auto':'']">
<basicInfor v-if="current==1"></basicInfor> <basicInfor v-if="current==1"></basicInfor>
<account v-if="current==2"></account> <account v-if="current==2"></account>
<passengerList v-if="current==3"></passengerList>
</a-scrollbar> </a-scrollbar>
<div v-else class="max-h-[735px] mt-[20px]">
<passengerList></passengerList>
</div>
</a-spin> </a-spin>
</div> </div>
</template> </template>
......
<template> <template>
<a-spin :loading="loading" class="w-full"> <a-spin :loading="loading" class="w-full">
<div v-if="!showType"> <div v-if="!showType">
<div> <a-scrollbar class="max-h-[692px] overflow-auto">
<div class="accountCenter rounded-[14px] <div class="accountCenter rounded-[14px]
border-[1px] mb-[28px] flex items-center border-[1px] mb-[18px] flex items-center
justify-between py-[30px] pl-[43px] pr-[35px]" justify-between py-[15px] pl-[36px] pr-[22px]"
v-for="(item,index) in dataList"> v-for="(item,index) in dataList">
<div class="w-[100px]"> <div class="w-[100px]">
{{ item.name }} {{ item.name }}
...@@ -23,11 +22,11 @@ ...@@ -23,11 +22,11 @@
{{item.phoneCode}}{{ item.phone }} {{item.phoneCode}}{{ item.phone }}
</div> </div>
<div class="flex items-center justify-between"> <div class="flex items-center justify-between">
<div class="w-[16px] h-[16px] editIcon" @click="clickItem(item,2)">&nbsp;</div> <div class="w-[16px] h-[16px] editIcon cursor-pointer" @click="clickItem(item,2)">&nbsp;</div>
<div class="w-[14px] h-[16px] deleteIcon ml-[17px]" @click="clickItem(item)">&nbsp;</div> <div class="w-[14px] h-[16px] deleteIcon ml-[17px] cursor-pointer" @click="clickItem(item)">&nbsp;</div>
</div> </div>
</div> </div>
</div> </a-scrollbar>
<div class="rounded-[8px] addGuestButton py-[10px] text-center text-base cursor-pointer" @click="showType = 1">{{ t('personal.addPassenger') }}</div> <div class="rounded-[8px] addGuestButton py-[10px] text-center text-base cursor-pointer" @click="showType = 1">{{ t('personal.addPassenger') }}</div>
</div> </div>
<div v-if="showType" class="addPassenger h-[581px] bg-[#FFFFFF] rounded-b-[12px] shadow-lg shadow-[#E3E6DA]"> <div v-if="showType" class="addPassenger h-[581px] bg-[#FFFFFF] rounded-b-[12px] shadow-lg shadow-[#E3E6DA]">
...@@ -433,6 +432,7 @@ initPullDown() ...@@ -433,6 +432,7 @@ initPullDown()
} }
.editIcon:hover{ .editIcon:hover{
background: url('../../../../assets/images/personal/pen.png')no-repeat; background: url('../../../../assets/images/personal/pen.png')no-repeat;
background-size: 100% 100%;
} }
.deleteIcon{ .deleteIcon{
width: 16px; width: 16px;
...@@ -442,6 +442,7 @@ initPullDown() ...@@ -442,6 +442,7 @@ initPullDown()
} }
.deleteIcon:hover{ .deleteIcon:hover{
background: url('../../../../assets/images/personal/sc_1.png')no-repeat; background: url('../../../../assets/images/personal/sc_1.png')no-repeat;
background-size: 100% 100%;
} }
.addPassenger{ .addPassenger{
background: #FFFFFF; background: #FFFFFF;
......
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