PersonalInfoTab.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587
  1. <template>
  2. <view class="personal-info-tab">
  3. <uni-loading v-if="loading" />
  4. <view v-else class="user-form">
  5. <uni-row class="demo-uni-row">
  6. <!-- <uni-col :xs="24" :sm="24" :md="24" :lg="6" :xl="6">-->
  7. <!-- <view class="avatar-section">-->
  8. <!-- <cwg-input v-model:value="formData.idBackUrl" type="upload" fkey="idBackUrl"-->
  9. <!-- rulesKey="idBackUrl" :is-upload-d="true" accept="image/png, image/jpeg, image/jpg"-->
  10. <!-- :readonly="isReadonly" :disabled="isReadonly" @change="handleChange">-->
  11. <!-- <view class="cwg-upload">-->
  12. <!-- </view>-->
  13. <!-- </cwg-input>-->
  14. <!-- <view class="text name">{{ formData.firstName }} {{ formData.lastName }}</view>-->
  15. <!-- <view class="text cid">CID:{{ formData.cId }}</view>-->
  16. <!-- <view class="btn-primary" @click="handleEditProfile">-->
  17. <!-- <cwg-icon name="crm-photo-film" :size="16" color="#fff" />-->
  18. <!-- 上传头像-->
  19. <!-- </view>-->
  20. <!-- </view>-->
  21. <!-- </uni-col>-->
  22. <uni-col :xs="24" :sm="24" :md="24" :lg="24" :xl="24">
  23. <uni-forms ref="baseForm" :model="formData" labelWidth="200" label-position="top" :rules="rules"
  24. class="base-info-form">
  25. <uni-row class="demo-uni-row uni-row1">
  26. <!-- cid -->
  27. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  28. <uni-forms-item :label="t('PersonalManagement.Label.UserCID')">
  29. <uni-easyinput :disabled="isInfo" :clearable="false" v-model:value="formData.cId" />
  30. </uni-forms-item>
  31. </uni-col>
  32. <!-- 客户类型 -->
  33. <uni-col v-if="formData.customType" :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  34. <uni-forms-item :label="t('ImproveImmediately.Label.CustomerType')">
  35. <cwg-combox :disabled="isInfo" :clearable="false" v-model:value="formData.customType"
  36. :options="customTypeOptions" :placeholder="t('placeholder.choose')" />
  37. </uni-forms-item>
  38. </uni-col>
  39. <!-- 公司名称 -->
  40. <uni-col v-if="formData.companyName" :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  41. <uni-forms-item :label="t('ImproveImmediately.Label.CompanyName')">
  42. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.companyName"
  43. :placeholder="t('placeholder.input')" />
  44. </uni-forms-item>
  45. </uni-col>
  46. <!-- 性别 -->
  47. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  48. <uni-forms-item :label="t('ImproveImmediately.Label.Gender')">
  49. <cwg-combox :disabled="isInfo" :clearable="false" v-model:value="formData.gender"
  50. :options="sexOptions"
  51. :placeholder="t('placeholder.choose')" />
  52. </uni-forms-item>
  53. </uni-col>
  54. <!-- 国家 -->
  55. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8" v-if="countryOptions.length">
  56. <uni-forms-item :label="t('ImproveImmediately.Label.Nationality')">
  57. <cwg-combox :disabled="isInfo" :clearable="false" :filterable="true"
  58. v-model:value="formData.nationality" :options="countryOptions"
  59. :placeholder="t('placeholder.choose')" @change="changeCountry" />
  60. </uni-forms-item>
  61. </uni-col>
  62. <!-- 姓 -->
  63. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  64. <uni-forms-item :label="formData.customType == 2
  65. ? t('ImproveImmediately.Label.CorporationLastName')
  66. : t('ImproveImmediately.Label.LastName')">
  67. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.lastName"
  68. :placeholder="t('placeholder.input')" />
  69. </uni-forms-item>
  70. </uni-col>
  71. <!-- 名 -->
  72. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  73. <uni-forms-item :label="formData.customType == 2
  74. ? t('ImproveImmediately.Label.CorporationName')
  75. : t('ImproveImmediately.Label.Name')">
  76. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.firstName"
  77. :placeholder="t('placeholder.input')" />
  78. </uni-forms-item>
  79. </uni-col>
  80. <!-- 法人中间名 -->
  81. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8" v-if="formData.lang == 'en'">
  82. <uni-forms-item :label="formData.customType == 2
  83. ? t('ImproveImmediately.Label.CorporationMName')
  84. : t('placeholder.middle')">
  85. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.middle"
  86. :placeholder="t('placeholder.Not')" />
  87. </uni-forms-item>
  88. </uni-col>
  89. <!-- 拼音 -->
  90. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8" v-if="formData.lang == 'cn'">
  91. <uni-forms-item :label="t('ImproveImmediately.Label.NamePinYin')">
  92. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.nameEn"
  93. :placeholder="t('placeholder.input')" />
  94. </uni-forms-item>
  95. </uni-col>
  96. <!-- 手机号 -->
  97. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  98. <uni-forms-item :label="t('PersonalManagement.Label.Phone')">
  99. <view style="display: flex; gap: 8px; width: 100%;">
  100. <view style="flex: 0 0 100px;">
  101. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.areaCode" :placeholder="t('placeholder.areaCode')" />
  102. </view>
  103. <view style="flex: 1;">
  104. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.phone" :placeholder="t('placeholder.input')" />
  105. </view>
  106. </view>
  107. </uni-forms-item>
  108. </uni-col>
  109. <!-- 邮箱 -->
  110. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  111. <uni-forms-item :label="t('PersonalManagement.Label.Email')">
  112. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.email"
  113. :placeholder="t('placeholder.input')" />
  114. </uni-forms-item>
  115. </uni-col>
  116. <!-- 证件号 -->
  117. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  118. <uni-forms-item :label="t('ImproveImmediately.Label.IdentityID')">
  119. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.identity" :placeholder="t('placeholder.input')" />
  120. </uni-forms-item>
  121. </uni-col>
  122. <!-- 生日 -->
  123. <!-- <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">-->
  124. <!-- <uni-forms-item :label="t('ImproveImmediately.Label.Birthday')">-->
  125. <!-- <uni-datetime-picker :disabled="isInfo" :clear-icon="false" type="date" return-type="timestamp"-->
  126. <!-- v-model="formData.birth" :placeholder="t('placeholder.choose')" />-->
  127. <!-- </uni-forms-item>-->
  128. <!-- </uni-col>-->
  129. <!-- 国家/地区 -->
  130. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8" v-if="countryOptions.length">
  131. <uni-forms-item :label="t('ImproveImmediately.Label.CountryRegionOfResidence')">
  132. <cwg-combox :disabled="isInfo" :clearable="false" :filterable="true" v-model:value="formData.country"
  133. :options="countryOptions" :placeholder="t('placeholder.choose')" />
  134. </uni-forms-item>
  135. </uni-col>
  136. <!-- 省份/州 -->
  137. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"
  138. v-if="stateOptions.length">
  139. <uni-forms-item :label="t('ImproveImmediately.Label.ProvinceRegion')">
  140. <cwg-combox :disabled="isInfo" :clearable="false" :filterable="true" v-model:value="formData.state"
  141. :options="stateOptions" :placeholder="t('placeholder.choose')"
  142. @change="onStateChange" />
  143. </uni-forms-item>
  144. </uni-col>
  145. <!-- 城市 -->
  146. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8"
  147. v-if="cityOptions.length">
  148. <uni-forms-item :label="t('ImproveImmediately.Label.City')">
  149. <cwg-combox :disabled="isInfo" :clearable="false" :filterable="true" v-model:value="formData.city"
  150. :options="cityOptions" :placeholder="t('placeholder.choose')" />
  151. </uni-forms-item>
  152. </uni-col>
  153. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  154. <uni-forms-item :label="t('ImproveImmediately.Label.DetailedAddress')">
  155. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.addressLines1"
  156. :placeholder="t('placeholder.input')" />
  157. </uni-forms-item>
  158. </uni-col>
  159. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  160. <uni-forms-item :label="t('ImproveImmediately.Label.ZipCode')">
  161. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.zipCode"
  162. :placeholder="t('placeholder.input')" />
  163. </uni-forms-item>
  164. </uni-col>
  165. <uni-col :xs="24" :sm="24" :md="12" :lg="8" :xl="8">
  166. <uni-forms-item :label="t('ImproveImmediately.Label.DetailedAddressStandby')">
  167. <uni-easyinput :disabled="isInfo" :clearable="false" v-model="formData.addressLines2"
  168. :placeholder="t('placeholder.input')" />
  169. </uni-forms-item>
  170. </uni-col>
  171. </uni-row>
  172. </uni-forms>
  173. </uni-col>
  174. </uni-row>
  175. </view>
  176. </view>
  177. </template>
  178. <script setup lang="ts">
  179. import { ref, computed, onMounted } from 'vue'
  180. import { useI18n } from 'vue-i18n'
  181. import { personalApi } from '@/service/personal'
  182. import { Patterns, Validators } from '@/utils/validators'
  183. const { t, locale } = useI18n()
  184. interface PersonalInfo {
  185. merchantOrderNo?: string;
  186. cardTypeId?: string;
  187. areaCode?: string;
  188. mobile?: string;
  189. email?: string;
  190. firstName?: string;
  191. lastName?: string;
  192. middle?: string;
  193. birthday?: string;
  194. nationality?: string;
  195. country?: string;
  196. state?: string;
  197. city?: string;
  198. town?: string;
  199. address?: string;
  200. postCode?: string;
  201. gender?: number;
  202. occupation?: string;
  203. annualSalary?: string;
  204. accountPurpose?: string;
  205. expectedMonthlyVolume?: string;
  206. idType?: number;
  207. idNumber?: string;
  208. identity?: string;
  209. ssn?: string;
  210. issueDate?: string;
  211. idNoExpiryDate?: string;
  212. idFrontUrl?: string;
  213. idBackUrl?: string;
  214. idHoldUrl?: string;
  215. ipAddress?: string;
  216. cId?: string;
  217. customId?: string;
  218. customType?: number;
  219. companyName?: string;
  220. nameEn?: string;
  221. birth?: string;
  222. addressLines1?: string;
  223. addressLines2?: string;
  224. zipCode?: string;
  225. photoStatus?: string;
  226. kycStatus?: string;
  227. }
  228. const props = defineProps<{
  229. modelValue: PersonalInfo;
  230. isReadonly?: boolean;
  231. }>()
  232. const emit = defineEmits<{
  233. 'update:modelValue': [value: PersonalInfo];
  234. 'cancel': [];
  235. 'next': [];
  236. }>()
  237. const loading = ref(false)
  238. const formData = computed({
  239. get: () => props.modelValue,
  240. set: (val) => emit('update:modelValue', val),
  241. })
  242. const baseForm = ref<any>(null)
  243. const sexOptions = ref([
  244. { text: t('PersonalManagement.Label.Men'), value: 1 },
  245. { text: t('PersonalManagement.Label.Women'), value: 2 },
  246. ])
  247. const customTypeOptions = ref([
  248. { text: t('ImproveImmediately.Label.CustomerType1'), value: 1 },
  249. { text: t('ImproveImmediately.Label.CustomerType2'), value: 2 },
  250. ])
  251. const idTypeOptions = ref([
  252. { text: t('ImproveImmediately.Label.IDCard'), value: 2 },
  253. { text: t('ImproveImmediately.Label.Passport'), value: 3 },
  254. ])
  255. // 验证函数
  256. function validateName(a: any, b?: any, c?: any) {
  257. const reg = /^[A-Z\s]+$/i
  258. if (typeof c === 'function') {
  259. const value = b
  260. const callback = c
  261. const val = String(value ?? '').trim()
  262. if (!val) return callback(new Error(t('card.vaildate.v4')))
  263. if (!reg.test(val)) return callback(new Error(t('card.vaildate.v38')))
  264. if (val.length < 2 || val.length > 23) return callback(new Error(t('card.vaildate.v39')))
  265. const firstName = String(formData.value?.firstName ?? '').trim()
  266. const lastName = String(formData.value?.lastName ?? '').trim()
  267. if (`${firstName} ${lastName}`.length > 23) return callback(new Error(t('card.vaildate.v40')))
  268. return callback()
  269. }
  270. const val = String(a ?? '').trim()
  271. if (!val) return t('card.vaildate.v4')
  272. if (!reg.test(val)) return t('card.vaildate.v38')
  273. if (val.length < 2 || val.length > 23) return t('card.vaildate.v39')
  274. const firstName = String(formData.value?.firstName ?? '').trim()
  275. const lastName = String(formData.value?.lastName ?? '').trim()
  276. if (`${firstName} ${lastName}`.length > 23) return t('card.vaildate.v40')
  277. return true
  278. }
  279. function validateBirthday(a: any, b?: any, c?: any) {
  280. if (typeof c === 'function') {
  281. const value = b
  282. const callback = c
  283. const val = value
  284. if (!val) return callback(new Error(t('card.vaildate.v5')))
  285. const today = new Date()
  286. const birthDate = new Date(val)
  287. let age = today.getFullYear() - birthDate.getFullYear()
  288. const month = today.getMonth() - birthDate.getMonth()
  289. if (month < 0 || (month === 0 && today.getDate() < birthDate.getDate())) age--
  290. if (age < 18) return callback(new Error(t('card.New.n3')))
  291. return callback()
  292. }
  293. const val = a
  294. if (!val) return t('card.vaildate.v5')
  295. const today = new Date()
  296. const birthDate = new Date(val)
  297. let age = today.getFullYear() - birthDate.getFullYear()
  298. const month = today.getMonth() - birthDate.getMonth()
  299. if (month < 0 || (month === 0 && today.getDate() < birthDate.getDate())) age--
  300. return age < 18 ? t('card.New.n3') : true
  301. }
  302. function validateAddress(a: any, b?: any, c?: any) {
  303. if (typeof c === 'function') {
  304. const value = b
  305. const callback = c
  306. const val = String(value ?? '').trim()
  307. if (!val) return callback(new Error(t('card.vaildate.v27')))
  308. if (val.length < 2 || val.length > 40) return callback(new Error(t('card.New.n1')))
  309. if (!Patterns.address.test(val)) return callback(new Error(t('card.New.n1')))
  310. return callback()
  311. }
  312. const val = String(a ?? '').trim()
  313. if (!val) return t('card.vaildate.v27')
  314. if (val.length < 2 || val.length > 40) return t('card.New.n1')
  315. return Patterns.address.test(val) ? true : t('card.New.n1')
  316. }
  317. const rules = {
  318. areaCode: [Validators.required(t('card.vaildate.v1'))],
  319. mobile: [
  320. Validators.required(t('card.vaildate.v2')),
  321. Validators.pattern(Patterns.mobile, t('card.vaildate.v44')),
  322. ],
  323. email: [
  324. Validators.required(t('card.vaildate.v28')),
  325. Validators.pattern(Patterns.email, t('card.vaildate.v28')),
  326. ],
  327. firstName: [Validators.required(t('card.vaildate.v3')), Validators.custom(validateName)],
  328. lastName: [Validators.required(t('card.vaildate.v4')), Validators.custom(validateName)],
  329. birthday: [
  330. Validators.required(t('card.vaildate.v5'), 'change'),
  331. Validators.custom(validateBirthday, 'change'),
  332. ],
  333. nationality: [Validators.required(t('card.vaildate.v6'), 'change')],
  334. town: [Validators.required(t('card.vaildate.v7'), 'change')],
  335. address: [Validators.required(t('card.vaildate.v27')), Validators.custom(validateAddress)],
  336. gender: [Validators.required(t('card.vaildate.v9'), 'change')],
  337. postCode: [
  338. Validators.required(t('card.vaildate.v8')),
  339. Validators.pattern(Patterns.postcode, t('card.New.n2')),
  340. ],
  341. }
  342. // 国家省份城市数据
  343. const countryList = ref<Array<any>>([])
  344. const stateList = ref<Array<any>>([])
  345. const cityList = ref<Array<any>>([])
  346. const phoneCodes = ref<Array<{ text: string; value: string }>>([])
  347. const isInfo = ref<boolean>(true)
  348. const isZh = computed(() => ['cn', 'zh', 'zhHant'].includes(locale.value))
  349. const isCountryCN = computed(() => ['CN', 'CNX', 'CNA', 'CNT'].includes(formData.value.country || ''))
  350. const getLangName = (item: any) => (isZh.value ? item.name : item.enName)
  351. const createOptions = (list: any[], valueKey = 'code') => {
  352. return list.map((item) => ({
  353. text: getLangName(item),
  354. value: valueKey === 'name' ? getLangName(item) : item[valueKey],
  355. id: item.id,
  356. }))
  357. }
  358. const countryOptions = computed(() => createOptions(countryList.value, 'code'))
  359. const stateOptions = computed(() => createOptions(stateList.value, 'name'))
  360. const cityOptions = computed(() => createOptions(cityList.value, 'name'))
  361. const getCountry = async () => {
  362. const res = await personalApi.Country({})
  363. if (res.code === 200) {
  364. countryList.value = res.data
  365. phoneCodes.value = res.data.map((item: any) => ({
  366. text: `+ ${item.callingCode}`,
  367. value: item.callingCode,
  368. }))
  369. if (formData.value.country) {
  370. const country = countryList.value.find((i) => i.code === formData.value.country)
  371. if (country) {
  372. await getState(country.id)
  373. }
  374. }
  375. }
  376. }
  377. const fetchRegion = async (pid?: number) => {
  378. const res = await personalApi.Country({ pid })
  379. if (res.code !== 200) {
  380. return []
  381. }
  382. return res.data || []
  383. }
  384. const getState = async (pid: number) => {
  385. stateList.value = await fetchRegion(pid)
  386. if (formData.value.state) {
  387. const item = stateList.value.find(
  388. (i) => i.enName === formData.value.state || i.name === formData.value.state,
  389. )
  390. if (item) {
  391. await getCity(item.id)
  392. }
  393. }
  394. }
  395. const getCity = async (pid: number) => {
  396. cityList.value = await fetchRegion(pid)
  397. }
  398. const changeCountry = async (val: any) => {
  399. formData.value.state = ''
  400. formData.value.city = ''
  401. const item = countryOptions.value.find((i: any) => i.value === val)
  402. if (item) {
  403. await getState(item.id)
  404. }
  405. }
  406. const onStateChange = async (val: any) => {
  407. formData.value.city = ''
  408. const item = stateOptions.value.find((i: any) => i.value === val)
  409. if (item) {
  410. await getCity(item.id)
  411. }
  412. }
  413. function handleChange(value: any) {
  414. emit('update:modelValue', { ...formData.value, [value.key]: value.value })
  415. }
  416. const handleEditProfile = () => {
  417. // 头像上传逻辑
  418. }
  419. const handleCancel = () => {
  420. emit('cancel')
  421. }
  422. const handleNext = () => {
  423. emit('next')
  424. }
  425. onMounted(async () => {
  426. loading.value = true
  427. await getCountry()
  428. loading.value = false
  429. })
  430. </script>
  431. <style scoped lang="scss">
  432. @import "@/uni.scss";
  433. .personal-info-tab {
  434. .user-form {
  435. margin-top: px2rpx(30);
  436. .demo-uni-row {
  437. margin-bottom: px2rpx(16);
  438. :deep(.form-label) {
  439. margin: 0 !important;
  440. }
  441. :deep(.form-input) {
  442. border: none !important;
  443. }
  444. .avatar-section {
  445. display: flex;
  446. flex-direction: column;
  447. align-items: center;
  448. gap: px2rpx(12);
  449. padding: px2rpx(16);
  450. .cwg-upload {
  451. width: px2rpx(120);
  452. height: px2rpx(120);
  453. border-radius: 50%;
  454. margin: 0 auto;
  455. }
  456. .text {
  457. font-size: px2rpx(20);
  458. font-weight: 700;
  459. color: var(--color-navy-900);
  460. }
  461. .btn-primary {
  462. min-width: px2rpx(120);
  463. background-color: var(--color-navy-900);
  464. color: white;
  465. padding: px2rpx(12);
  466. border: none;
  467. font-size: px2rpx(14);
  468. text-align: center;
  469. cursor: pointer;
  470. display: flex;
  471. align-items: center;
  472. justify-content: center;
  473. gap: px2rpx(8);
  474. &:active {
  475. background-color: var(--color-navy-700);
  476. }
  477. }
  478. .cid {
  479. color: var(--color-error);
  480. font-size: px2rpx(12);
  481. margin-top: px2rpx(4);
  482. }
  483. }
  484. }
  485. }
  486. .btns {
  487. display: flex;
  488. justify-content: flex-end;
  489. gap: 30px;
  490. margin-top: 30px;
  491. .btn-primary {
  492. min-width: px2rpx(120);
  493. background-color: var(--color-navy-900);
  494. color: white;
  495. padding: 12px;
  496. border-radius: 8px;
  497. border: none;
  498. font-size: 14px;
  499. text-align: center;
  500. cursor: pointer;
  501. display: flex;
  502. align-items: center;
  503. justify-content: center;
  504. gap: 8px;
  505. &:active {
  506. background-color: var(--color-navy-700);
  507. }
  508. }
  509. }
  510. }
  511. :deep(.uni-row1) {
  512. .uni-col {
  513. padding: 0 10px !important;
  514. }
  515. .base-info-form > span {
  516. display: contents;
  517. }
  518. .uni-forms-item {
  519. min-height: px2rpx(79);
  520. margin-bottom: px2rpx(10);
  521. }
  522. .uni-select,
  523. .uni-combox,
  524. .uni-easyinput__content,
  525. .uni-date-editor--x {
  526. border: none !important;
  527. background-color: var(--color-zinc-100) !important;
  528. }
  529. .uni-date-x {
  530. border: none !important;
  531. background-color: rgba(195, 195, 195, 0) !important;
  532. }
  533. }
  534. </style>