You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

627 lines
22 KiB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
  1. <template>
  2. <div class="editPersonalInfo xl:tw-max-w-[1246px] xl:tw-mx-auto">
  3. <div class="xl:tw-flex xl:tw-justify-between xl:tw-items-start">
  4. <userSidebar :userData="userData" :firstName="firstName" :lastName="lastName" class="tw-hidden xl:tw-block">
  5. </userSidebar>
  6. <div class="tw-bg-white xl:tw-p-[30px] xl:tw-rounded-[20px] xl:tw-min-w-[900px] xl:tw-max-w-[900px]">
  7. <div class="tw-text-[20px] tw-font-bold tw-text-base-primary tw-mb-[20px] md:t24 md:tw-mb-[30px]">
  8. <two-dots class="tw-mr-[30px]"></two-dots>{{ $t("userProfile.editPersonalInfo") }}
  9. </div>
  10. <!-- alert -->
  11. <div v-if="successUpdate" class="tw-flex tw-w-full tw-right-auto tw-left-auto">
  12. <div type="success"
  13. class="tw-absolute tw-top-0 tw-right-0 tw-left-0 tw-mx-auto tw-flex tw-flex-row tw-w-fit tw-items-center tw-bg-success-background tw-rounded-[12px] tw-px-[12px] tw-py-[10px]">
  14. <img src="~/assets/svg/alert_success.svg" class="tw-w-[16px] tw-mr-[10px] md:tw-w-[20px]" alt="" />
  15. <div class="tw-hidden md:tw-block tw-text-success-default tw-font-bold tw-text-[16px] md:tw-mr-[16px]">
  16. Awesome!
  17. </div>
  18. <div class="tw-text-[12px] tw-text-success-default tw-mr-[9px] md:tw-text-[16px] md:tw-mr-[16px]">
  19. Successfully updated.
  20. </div>
  21. <img src="~/assets/svg/alert_close.svg" @click="successUpdate = !successUpdate" />
  22. </div>
  23. </div>
  24. <div v-if="fileTooBig" class="tw-flex tw-w-full tw-right-auto tw-left-auto">
  25. <div type="error"
  26. class="tw-absolute tw-top-0 tw-right-0 tw-left-0 tw-mx-auto tw-flex tw-flex-row tw-w-fit tw-items-center tw-bg-error-background tw-rounded-[16px] tw-px-[12px] tw-py-[10px] tw-text-[12px]">
  27. <img src="~/assets/svg/alert_notice.svg" class="tw-w-[16px] tw-mr-[10px] md:tw-w-[20px]" alt="" />
  28. <div class="tw-hidden md:tw-block tw-text-error-default tw-mr-[25px] tw-text-[16px]">
  29. Oops!
  30. </div>
  31. <div class="tw-text-error-default tw-mr-[8px] md:tw-text-[16px] md:tw-mr-[16px]">
  32. Please upload an image under 2MB.
  33. </div>
  34. <img src="~/assets/svg/alert_close_red.svg" @click="fileTooBig = !fileTooBig" alt="" />
  35. </div>
  36. </div>
  37. <!-- user picture -->
  38. <div class="tw-flex tw-items-center tw-mb-[30px]">
  39. <div>
  40. <img v-if="userData.MemberPicture" :src="userData.MemberPicture"
  41. class="tw-border tw-border-solid tw-border-neutral-300 tw-h-[64px] tw-w-[64px] tw-rounded-[50px] tw-mr-[15px] md:tw-h-[90px] md:tw-w-[90px] md:tw-mr-[30px]"
  42. alt="" />
  43. <div v-else
  44. class="tw-flex tw-justify-center tw-items-center tw-bg-primary-1 tw-text-white tw-text-[32px] tw-h-[64px] tw-w-[64px] tw-rounded-[50px] tw-mr-[15px] md:tw-h-[90px] md:tw-w-[90px] md:tw-mr-[30px]">
  45. {{ lastName.split("")[0] || "" }}
  46. </div>
  47. </div>
  48. <div>
  49. <button
  50. class="tw-border tw-border-solid tw-border-primary-1 tw-text-[14px] tw-text-primary-1 tw-px-[16px] tw-py-[9px] tw-rounded-[12px] md:tw-text-[16px]"
  51. @click="handleUploadEvent">
  52. {{ $t("userProfile.uploadPicture") }}
  53. </button>
  54. <input type="file" class="d-none" ref="uploader" @change="getNewPicture($event)" />
  55. <!-- <input type="file" class="d-none" ref="uploader" @change="userPictureUpload" /> -->
  56. </div>
  57. </div>
  58. <!-- form -->
  59. <form
  60. class="tw-grid tw-grid-cols-1 tw-gap-y-[20px] tw-mb-[58px] md:tw-grid-cols-2 md:tw-gap-x-[60px] md:tw-mb-[50px]">
  61. <!-- tilte -->
  62. <div class="element md:tw-col-span-2 md:tw-max-w-[394px]">
  63. <div class="tw-text-[14px] tw-text-base-primary tw-mb-[10px]">
  64. {{ $t("userProfile.Title") }}
  65. </div>
  66. <elementSelectWithIndex :select="{
  67. id: 'Title',
  68. label: 'Title',
  69. required: false,
  70. }" :yearList="genderOptions" :default="userData.Title" :value="genderOptions[0]" :validation="validation.Title"
  71. @change="userData.Title = $event"></elementSelectWithIndex>
  72. </div>
  73. <!-- firstName -->
  74. <div class="element">
  75. <elementInput :input="{
  76. id: 'FirstName',
  77. label: 'First Name',
  78. required: true,
  79. type: 'text',
  80. }" :default="userData.FirstName" :validation="validation.FirstName"
  81. @change="userData.FirstName = $event"></elementInput>
  82. </div>
  83. <!-- lastName -->
  84. <div class="element">
  85. <elementInput :input="{
  86. id: 'LastName',
  87. label: 'Last Name',
  88. required: true,
  89. type: 'text',
  90. }" :default="userData.LastName" :validation="validation.LastName" @change="userData.LastName = $event">
  91. </elementInput>
  92. </div>
  93. <!-- email -->
  94. <div class="element">
  95. <elementInput :input="{
  96. id: 'Email',
  97. label: 'userProfile.personalMail',
  98. required: true,
  99. type: 'email',
  100. }" :default="userData.Email" :validation="validation.Email" @change="userData.Email = $event">
  101. </elementInput>
  102. </div>
  103. <!-- Phone -->
  104. <div>
  105. <div class="tw-text-[14px] tw-text-base-primary tw-mb-[10px]">
  106. {{ $t("userProfile.phone") }}
  107. </div>
  108. <div class="tw-grid tw-grid-cols-[120px_auto] tw-gap-[5px]">
  109. <elementCountryCodeSelect :select="{
  110. required: true,
  111. }" :userCodeSelect="codeSelect" :validation="validation.codeSelect" @returnCode = "getReturnCode"></elementCountryCodeSelect>
  112. <!-- <vue-country-code class="d-none" v-model="countryCode" enabldCountryCode :enabledFlags="false"
  113. @onSelect="showCode"></vue-country-code> -->
  114. <vue-phone-number-input v-model="userData.Phone" :validation="validation.PhoneNo" color="#E5e5e5" error-color="#ef5a5a"
  115. valid-color="#e5e5e5"
  116. :error="error" :border-radius="5"
  117. no-flags :no-country-selector="true" no-example @update="getPhoneData" :translations="translateOption">
  118. </vue-phone-number-input>
  119. </div>
  120. </div>
  121. <!-- Birthday -->
  122. <div class="md:tw-col-span-2 xl:tw-col-span-1">
  123. <div class="tw-text-[14px] tw-text-base-primary tw-mb-[10px]">
  124. {{ $t("userProfile.birthday")
  125. }}<span class="tw-text-error-default">*</span>
  126. </div>
  127. <div class="tw-grid tw-grid-cols-3 tw-gap-[20px]">
  128. <div class="element">
  129. <elementSelectWithIndex :select="{
  130. id: 'yearSelect',
  131. required: true,
  132. }" :yearList="yearOptions" :default="yearSelect" :validation="validation.yearSelect"
  133. @change="yearSelect = $event"></elementSelectWithIndex>
  134. </div>
  135. <div class="element">
  136. <elementSelectWithIndex :select="{
  137. id: 'monthSelect',
  138. required: false,
  139. }" :yearList="monthOptions" :default="monthSelect" :validation="validation.monthSelect"
  140. @change="monthSelect = $event"></elementSelectWithIndex>
  141. </div>
  142. <div class="element">
  143. <elementSelectWithIndex :select="{
  144. id: 'daySelect',
  145. required: false,
  146. }" :yearList="dayOptions" :default="daySelect" :validation="validation.daySelect"
  147. @change="daySelect = $event"></elementSelectWithIndex>
  148. </div>
  149. </div>
  150. </div>
  151. <!-- Country -->
  152. <div class="element md:tw-col-span-2 xl:tw-col-span-1">
  153. <elementSelect :select="{
  154. id: 'Country',
  155. label: 'userProfile.countryAndRegion',
  156. required: true,
  157. }" :selectList="countryOptions" :default="userData.CountryID" :validation="validation.CountryID"
  158. @change="userData.CountryID = $event"></elementSelect>
  159. </div>
  160. <!-- language -->
  161. <v-spacer class="tw-items-center md:tw-flex md:tw-justify-start md:tw-mt-[20px] md:tw-flex-nowrap">
  162. <div class="tw-inline-block tw-mb-[20px] md:tw-whitespace-nowrap md:tw-mb-0">
  163. {{ $t("userProfile.preferLanguage") }}
  164. </div>
  165. <v-spacer class="tw-flex md:tw-w-fit md:tw-ml-[30px]">
  166. <v-checkbox v-model="languageSelect.en" class="mt-0" hide-details :label="$t('English')"></v-checkbox>
  167. <v-checkbox v-model="languageSelect.zhtw" class="ms-10 mt-0" hide-details :label="$t('Chinese')">
  168. </v-checkbox>
  169. </v-spacer>
  170. </v-spacer>
  171. </form>
  172. <!-- button -->
  173. <div>
  174. <button
  175. class="tw-text-[18px] tw-bg-primary-1 tw-text-white tw-py-[12px] tw-w-full tw-rounded-[16px] tw-mb-[10px] md:tw-w-fit md:tw-px-[16px] md:tw-mr-[20px]"
  176. @click="patchUserData()">
  177. {{ $t("userProfile.saveButton") }}
  178. </button>
  179. <button
  180. class="tw-text-[18px] tw-bg-white tw-text-primary-1 tw-py-[12px] tw-w-full tw-rounded-[16px] md:tw-w-fit md:tw-px-[16px] xl:tw-hidden">
  181. {{ $t("Cancel") }}
  182. </button>
  183. </div>
  184. </div>
  185. </div>
  186. <CropImageDialog :isCropImageDialogActive="isCropImageDialogActive" :cropImagePreview="cropImagePreview"
  187. @close-crop-dialog="closeCropDialog" @upload-image-success="userPictureUpload"></CropImageDialog>
  188. <loading :isLoading="isPageLoading"></loading>
  189. </div>
  190. </template>
  191. <script>
  192. import elementSelect from "@/components/newComponent/form/ElementSelect.vue";
  193. import elementInput from "@/components/newComponent/form/ElementInput.vue";
  194. import SavedExhibitions from "../../components/user/savedExhibitions.vue";
  195. import SavedExhibitionsDialog from "../../components/user/savedExhibitionsDialog.vue";
  196. import CropImageDialog from "../../components/user/cropImageDialog.vue";
  197. import TwoDots from "@/components/TwoDots";
  198. import userSidebar from "@/components/user/userSidebar.vue";
  199. import elementSelectWithIndex from "@/components/newComponent/form/ElementSelectWithIndex.vue";
  200. import elementCountryCodeSelect from "@/components/newComponent/form/ElementCountryCodeSelect.vue";
  201. import loading from "@/components/newComponent/loading/loading.vue";
  202. import is from "is_js";
  203. export default {
  204. name: "editPersonalInfo",
  205. layout: "profile",
  206. components: {
  207. elementSelect,
  208. elementInput,
  209. SavedExhibitions,
  210. SavedExhibitionsDialog,
  211. CropImageDialog,
  212. TwoDots,
  213. userSidebar,
  214. elementSelectWithIndex,
  215. is,
  216. elementCountryCodeSelect,
  217. loading,
  218. },
  219. data() {
  220. return {
  221. countryList: [],
  222. genderOptions: ["Mr.", "Ms."],
  223. successUpdate: false,
  224. fileTooBig: false,
  225. firstName: "",
  226. lastName: "",
  227. countryCode: "",
  228. userData: {},
  229. userCompanyId: [],
  230. propUserCompany: {},
  231. yearOptions: [],
  232. monthOptions: [],
  233. dayOptions: [],
  234. countryOptions: [],
  235. countrySortOptions: [],
  236. yearSelect: "",
  237. monthSelect: "",
  238. daySelect: "",
  239. languageSelect: {
  240. en: "",
  241. zhtw: "",
  242. },
  243. isCropImageDialogActive: false,
  244. cropImagePreview: "",
  245. dateMenu: false,
  246. translateOption: {
  247. countrySelectorLabel: this.$t("country code"),
  248. phoneNumberLabel: this.$t("phone number"),
  249. },
  250. rules: {
  251. require: (value) => !!value || this.$t("Required."),
  252. email: (v) =>
  253. /^([a-zA-Z0-9_\-\.]+)@([a-zA-Z0-9_\-\.]+)\.([a-zA-Z]{2,5})$/.test(
  254. v
  255. ) || this.$t("Invalid email"),
  256. checkPassword: (v) =>
  257. (/(?=.*[0-9])(?=.*[a-z])(?=.*[A-Z])/.test(v) &&
  258. v.length >= 8 &&
  259. v.length <= 20) ||
  260. this.$t(
  261. "Passwords must be 8-20 characters with at least 1 number, 1 lower case letter and 1 upper case letter"
  262. ),
  263. },
  264. personalInfoValid: false,
  265. phoneValid: false,
  266. isNavActive: true,
  267. // width: 0,
  268. validation: {
  269. Title: true,
  270. FirstName: true,
  271. LastName: true,
  272. Email: true,
  273. yearSelect: true,
  274. monthSelect: true,
  275. daySelect: true,
  276. CountryID: true,
  277. codeSelect: true,
  278. PhoneNo: true,
  279. },
  280. errors: null,
  281. userPic: {},
  282. payload:[],
  283. dialCode:"",
  284. test:[],
  285. codeSelect: "",
  286. error: false,
  287. isPageLoading: false,
  288. value: "0",
  289. };
  290. },
  291. created() {
  292. this.isPageLoading = true;
  293. this.fetchCountry();
  294. this.$store.dispatch("updatePicture");
  295. this.fetchUserData();
  296. this.isPageLoading = false;
  297. },
  298. mounted() {
  299. this.yearOptions = Array.from(new Array(103), (val, index) =>
  300. (index + 1920).toString()
  301. );
  302. this.monthOptions = Array.from(new Array(13), (val, index) => {
  303. if (index < 10 && index > 0) {
  304. return "0" + index.toString();
  305. }
  306. if (index >= 10) {
  307. return index.toString();
  308. }
  309. });
  310. this.dayOptions = Array.from(new Array(32), (val, index) => {
  311. if (index < 10 && index > 0) {
  312. return "0" + index.toString();
  313. }
  314. if (index >= 10) {
  315. return index.toString();
  316. }
  317. });
  318. this.$nextTick(() => {
  319. window.addEventListener("resize", this.onResize);
  320. });
  321. },
  322. methods: {
  323. getReturnCode(code){
  324. this.userData.PhoneCode = code;
  325. },
  326. getPhoneData(phoneData) {
  327. this.countryCode = phoneData.countryCode;
  328. //this.userData.PhoneCode = phoneData.countryCallingCode;
  329. this.phoneValid = phoneData.isValid;
  330. },
  331. showCode(object) {
  332. this.userData.PhoneCode = object.dialCode;
  333. ; },
  334. patchUserData() {
  335. // if (this.width < 1366) {
  336. // this.isEditInfoDialogActive = !this.isEditInfoDialogActive;
  337. // }
  338. this.validators();
  339. if(this.validators()){
  340. if(this.$vuetify.breakpoint.name !== "xs"){
  341. this.userData.BirthDate = this.yearSelect + "-" + this.monthSelect + "-" + this.daySelect;
  342. if(this.userData.BirthDate.length < 10){
  343. this.userData.BirthDate = null;
  344. }
  345. }
  346. if(this.languageSelect.en == true){
  347. this.userData.LanguageID = "en-US";
  348. }else if(this.languageSelect.zhtw == true){
  349. this.userData.LanguageID = "zh-TW";
  350. }else{
  351. this.userData.LanguageID = "null";
  352. }
  353. const patchData = JSON.parse(JSON.stringify(this.userData));
  354. // delete patchData.LoginLog;
  355. //delete patchData.UserCompany;
  356. // delete patchData.UserSocialRelation;
  357. // delete patchData.UserExhibition;
  358. this.$axios
  359. .post(
  360. `/trending/api/Members/Member`, patchData
  361. )
  362. .then((response) => {
  363. //console.log(JSON.stringify(response));
  364. if (response.status == 200) {
  365. this.$notify({
  366. type: "success",
  367. text: "更新成功",
  368. });
  369. }
  370. this.fetchUserData();
  371. this.$auth.$storage.setUniversal("userPicture", patchData.MemberPicture);
  372. // this.$auth.$storage.setUniversal(
  373. // "userLastName",
  374. // patchData.LastName
  375. // );
  376. this.$store.dispatch("updatePicture");
  377. })
  378. .catch((error) => {
  379. console.log(error);
  380. });
  381. }
  382. },
  383. fetchUserData() {
  384. this.$axios
  385. .get(
  386. `/trending/api/Members/Info`
  387. )
  388. .then((response) => {
  389. //console.log(response);
  390. if(response && response.data && response.data.DATA && response.data.DATA.rel){
  391. let data = response.data.DATA.rel
  392. if(data){
  393. this.userData = data;
  394. if(this.userData.CountryID == null){
  395. this.userData.CountryID = "0";
  396. }
  397. if(this.userData.Title == null){
  398. this.userData.Title = "0";
  399. }
  400. if(this.userData.PhoneCode == null){
  401. this.userData.PhoneCode = "0";
  402. }
  403. if(this.userData.BirthDate == null){
  404. this.yearSelect = "0";
  405. this.monthSelect = "0";
  406. this.daySelect = "0";
  407. }
  408. this.firstName = this.userData.FirstName;
  409. this.lastName = this.userData.LastName;
  410. //this.userData.Phone ? (this.phoneValid = true): (this.phoneValid = false);
  411. this.codeSelect = this.userData.PhoneCode;
  412. if(this.userData.LanguageID == "en-US"){
  413. this.languageSelect.en = true;
  414. }else if(this.userData.LanguageID == "zh-TW"){
  415. this.languageSelect.zhtw = true;
  416. }else{
  417. this.languageSelect.en = "";
  418. this.languageSelect.zhtw = "";
  419. }
  420. if (
  421. this.userData.BirthDate && typeof this.userData.BirthDate === "object"
  422. ){
  423. this.yearSelect = "";
  424. this.monthSelect = "";
  425. this.daySelect = "";
  426. }else{
  427. const space = this.userData.BirthDate.split("T");
  428. const date = space[0].split("-");
  429. this.yearSelect = date[0];
  430. this.monthSelect = date[1];
  431. this.daySelect = date[2];
  432. }
  433. }
  434. }
  435. })
  436. .catch((error) => {
  437. console.log(error);
  438. });
  439. },
  440. handleUploadEvent() {
  441. window.addEventListener("focus", () => { }, { once: true });
  442. this.$refs.uploader.click();
  443. },
  444. getNewPicture(e) {
  445. this.payload = new FormData();
  446. this.payload.append("file", e.target.files[0]);
  447. const path = URL.createObjectURL(e.target.files[0]);
  448. this.cropImagePreview = path ;
  449. this.isCropImageDialogActive = !this.isCropImageDialogActive;
  450. },
  451. userPictureUpload(e) {
  452. //const fileSize = (e.target.files[0].size / 1024 / 1024).toFixed(1);
  453. this.$axios
  454. .post(
  455. `/trending/api/Members/UploadAvatar`, this.payload
  456. )
  457. .then((response) => {
  458. //console.log(JSON.stringify(response))
  459. if(response && response.data){
  460. this.isCropImageDialogActive = !this.isCropImageDialogActive;
  461. this.fetchUserData();
  462. this.$notify({
  463. type: "success",
  464. text: "更新成功",
  465. });
  466. }
  467. })
  468. .catch((error) => {
  469. console.log(error);
  470. });
  471. },
  472. fetchCountry() {
  473. this.$axios
  474. .get(`/trending/api/location/countries?RegionID&Lang=${this.$i18n.localeProperties["langQuery"]}`)
  475. .then((response) => {
  476. //console.log(JSON.stringify(response));
  477. if(response && response.data && response.data.DATA && response.data.DATA.rel){
  478. let data = response.data.DATA.rel
  479. if(data){
  480. this.countryList = data;
  481. //console.log(this.countryList);
  482. this.countryOptions = this.countryList.map((item) => {
  483. return {
  484. id: item.CountryID,
  485. name: item.CountryName,
  486. };
  487. });
  488. }
  489. }
  490. })
  491. .catch((error) => {
  492. console.log(error);
  493. });
  494. },
  495. closeCropDialog() {
  496. this.isCropImageDialogActive = !this.isCropImageDialogActive;
  497. },
  498. handleImageUpdate() {
  499. this.fetchUserData();
  500. //this.patchUserData();
  501. this.closeCropDialog();
  502. },
  503. validators() {
  504. if (is.empty(this.userData.FirstName)) {
  505. this.validation.FirstName = false;
  506. } else {
  507. this.validation.FirstName = true;
  508. }
  509. if (is.empty(this.userData.LastName)) {
  510. this.validation.LastName = false;
  511. } else {
  512. this.validation.LastName = true;
  513. }
  514. if (is.empty(this.userData.Email) || is.not.email(this.userData.Email)) {
  515. this.validation.Email = false;
  516. } else {
  517. this.validation.Email = true;
  518. }
  519. if (is.empty(this.yearSelect)) {
  520. this.validation.yearSelect = false;
  521. } else {
  522. this.validation.yearSelect = true;
  523. }
  524. if (is.empty(this.monthSelect)) {
  525. this.validation.monthSelect = false;
  526. } else {
  527. this.validation.monthSelect = true;
  528. }
  529. if (is.empty(this.daySelect)) {
  530. this.validation.daySelect = false;
  531. } else {
  532. this.validation.daySelect = true;
  533. }
  534. if (is.null(this.userData.CountryID) || this.userData.CountryID == 0) {
  535. this.validation.CountryID = false;
  536. } else {
  537. this.validation.CountryID = true;
  538. }
  539. if(this.userData.PhoneCode == "999"){
  540. this.validation.codeSelect = false;
  541. }else{
  542. this.validation.codeSelect = true;
  543. }
  544. if (this.userData.Phone == null
  545. ) {
  546. this.validation.PhoneNo = false;
  547. this.error = true;
  548. } else {
  549. this.validation.PhoneNo = true;
  550. this.error = false;
  551. }
  552. this.errors = Object.entries(this.validation).filter(
  553. (e) => e[1] == false
  554. );
  555. if (this.errors.length > 0) {
  556. return false;
  557. } else {
  558. return true;
  559. }
  560. },
  561. },
  562. };
  563. </script>
  564. <style scoped lang="scss" scoped>
  565. select {
  566. background-image: url("~/assets/svg/dropdownarrow.svg");
  567. width: auto;
  568. height: auto;
  569. background-position: right 12px center;
  570. background-repeat: no-repeat;
  571. }
  572. .success-alert {
  573. position: absolute;
  574. left: 13%;
  575. z-index: 10;
  576. top: -3%;
  577. }
  578. .success-alert-dialog {
  579. position: absolute;
  580. left: 13%;
  581. z-index: 10;
  582. top: 3%;
  583. }
  584. :deep() {
  585. .input-tel__input {
  586. height: 44px;
  587. border: 1px solid #e5e5e5;
  588. }
  589. }
  590. </style>