complaint-acceptance.vue 3.34 KB

<template>
	<div class="reservation-container">

		<!-- 顶头iterm -->
		<div class="form form2">
			<div class="form-item">
				<div class="label">
					<div class="icon"><img src="@/assets/images/reservation/icon-re-name.png"></div> {{$t('complaintAcceptance.name')}}
				</div>
				<div class="ipt-wrap">
					<input :placeholder="$t('complaintAcceptance.namePlaceholder')" class="ipt name-ipt" type="text">
				</div>
			</div>

			<div class="form-item">
				<div class="label">
					<div class="icon"><img src="@/assets/images/reservation/icon-re-contact.png"></div>{{$t('complaintAcceptance.contactType')}}
				</div>
				<div class="ipt-wrap">
					<div class="down-arrow"></div>
					<select v-if="locale !='zh'" class="ipt phone-ipt">
						<option>電話</option>
						<option>電郵</option>
					</select>
					<select v-else class="ipt phone-ipt">
						<option>电话</option>
						<option>电邮</option>
					</select>
				</div>
			</div>

			<div class="form-item flex1">
				<div class="label">
					<div class="icon"><img src="@/assets/images/complaint-acceptance/icon-ca-mail.png"></div>{{$t('complaintAcceptance.email')}}
				</div>
				<div class="ipt-wrap">
					<input class="ipt mail-ipt" type="text">
				</div>
			</div>

		</div>

		<!-- 长文本 -->
		<div class="form">
			<div class="pure-u-1 form-item">
				<div class="label">
					<div class="icon"><img src="@/assets/images/reservation/icon-re-arrow-reservation.png"></div>{{$t('complaintAcceptance.question')}}
				</div>
				<div class="ipt-wrap">
					<textarea :placeholder="$t('complaintAcceptance.questionPlaceHolder')" class="ipt textarea"></textarea>
				</div>
			</div>

			<!-- 保单编号 非必填 -->
			<div class="pure-u-1 form-item form-item3">
				<div class="label">
					<div class="icon"><img src="@/assets/images/complaint-acceptance/icon-ca-no.png"></div>{{$t('complaintAcceptance.orderNo')}}
				</div>
				<div class="ipt-wrap ipt-wrap2">
					<input :placeholder="$t('complaintAcceptance.orderNoPlaceHolder')" class="ipt" type="text">
				</div>
			</div>

			<!-- 联络时间 -->
			<div class="form-item form-item3">
				<div class="label">
					<div class="icon"><img src="@/assets/images/reservation/icon-re-calendar.png"></div>{{$t('complaintAcceptance.contactTime')}}
				</div>
				<div class="ipt-wrap">
					<input value="2019/10/16" class="ipt" type="text">
				</div>
				<div class="mt8">
					<div class="label">
					</div>
					<div class="calendar">
						<img src="@/assets/images/reservation/re-calendar.png">
					</div>
				</div>
			</div>
		</div>

		<!-- 通知 -->
		<div class="notice">
			<p class="notice-item">
				<img class="notice-item-icon" src="@/assets/images/reservation/icon-re-notice.png"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{$t('complaintAcceptance.notice1')}}
			</p>
			<p class="notice-item pointer" @click="checked = !checked">
				<img v-if="!checked" class="notice-item-icon" src="@/assets/images/reservation/un-check.png">
				<img v-else class="notice-item-icon" src="@/assets/images/reservation/check.png"> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;{{$t('complaintAcceptance.notice2')}}
			</p>
		</div>

		<!-- 提交按钮 -->
		<div class="submit-btn">
			{{$t('customService.reservation.submitBtn')}}
		</div>
	</div>
</template>

<script src="./complaint-acceptance.js"></script>
<style lang="scss" scoped>
@import "./complaint-acceptance.scss";
</style>