userinfo.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757
  1. <template>
  2. <view>
  3. <!-- 顶部导航栏 -->
  4. <view class="navbar" :style="{ paddingTop: (12 + statusBarHeight) + 'px' }">
  5. <view class="navbar-content">
  6. <view class="navbar-left" @click="goBack">
  7. <u-icon name="arrow-leftward" size="36" color="#333"></u-icon>
  8. </view>
  9. <view class="navbar-title">基本信息</view>
  10. <view class="navbar-right"></view>
  11. </view>
  12. </view>
  13. <!-- <nav-bar title="基本信息"></nav-bar> -->
  14. <view class="usermain">
  15. <view class="usermain-item ">
  16. <view class="usermain-item-title">头像(为了更换头像需要访问您的相册和摄像头)</view>
  17. <view class="avatar-wrapper">
  18. <!-- #ifdef MP-WEIXIN -->
  19. <button open-type="chooseAvatar" class="avatar-button" @chooseavatar="onChooseAvatar">
  20. <image style="width: 78rpx;height: 78rpx;border-radius: 50%"
  21. :src="avatar ? avatar : '../../static/logo.png'"></image>
  22. </button>
  23. <!-- #endif -->
  24. <!-- #ifndef MP-WEIXIN -->
  25. <view @click="uploadImg()">
  26. <image src="../../static/logo.png" v-if="avatar == null" mode=""
  27. style="width: 78rpx;height: 78rpx;border-radius: 50%;"></image>
  28. <image v-else :src="avatar" mode="" style="width: 78rpx;height: 78rpx;border-radius: 50%;">
  29. </image>
  30. </view>
  31. <!-- #endif -->
  32. <view class="edit-avatar-icon">
  33. <image src="/static/images/index/Combined-Shape.svg" style="width: 32rpx;height: 32rpx;"
  34. mode="scaleToFill"></image>
  35. </view>
  36. </view>
  37. </view>
  38. <view class="usermain-item item-padding ">
  39. <view class="form-label">
  40. <text class="required-mark">*</text>
  41. <text class="usermain-item-title">姓名</text>
  42. </view>
  43. <view class="cu-form-group">
  44. <input type="nickname" v-model="userName" placeholder="请输入用户名" />
  45. </view>
  46. </view>
  47. <view class="usermain-item item-padding ">
  48. <view class="form-label">
  49. <text class="required-mark">*</text>
  50. <view class="usermain-item-title">性别</view>
  51. </view>
  52. <view>
  53. <view class="cu-form-group">
  54. <u-radio-group v-model="sex">
  55. <u-radio shape="circle" :name="1">男</u-radio>
  56. <u-radio shape="circle" active-color="red" :name="2">女</u-radio>
  57. </u-radio-group>
  58. </view>
  59. </view>
  60. </view>
  61. <view class="usermain-item item-padding ">
  62. <view class="usermain-item-title">年龄</view>
  63. <view>
  64. <view class="cu-form-group">
  65. <input v-model="age" />
  66. </view>
  67. </view>
  68. </view>
  69. <view class="usermain-item item-padding contact-structure">
  70. <view class="usermain-item-title">联系方式</view>
  71. <view class="contact-wrapper">
  72. <text class="phone-display">{{ phoneWithMask }}</text>
  73. <text class="modify-link" @click="modifyPhone">修改手机号</text>
  74. </view>
  75. </view>
  76. <!-- <view class="usermain-item item-padding">
  77. <view >姓名</view>
  78. <view class="cu-form-group">
  79. <input v-model="realName" placeholder="请填写您的真实姓名" />
  80. </view>
  81. </view> -->
  82. <view class="usermain-item item-padding ">
  83. <view class="usermain-item-title">微信号码</view>
  84. <view>
  85. <view class="cu-form-group">
  86. <input v-model="weChatNum" placeholder="请输入微信号码,方便给求职者交换微信联系" />
  87. </view>
  88. </view>
  89. </view>
  90. <!-- 接收简历邮箱 -->
  91. <view class="usermain-item item-padding">
  92. <view class="usermain-item-title">接收简历邮箱</view>
  93. <view>
  94. <view class="cu-form-group">
  95. <input v-model="hrEmail" placeholder="建议录入企业邮箱" />
  96. </view>
  97. </view>
  98. </view>
  99. <!-- 我的公司 -->
  100. <view class="usermain-item item-padding">
  101. <view class="usermain-item-title">我的公司</view>
  102. <view>
  103. <view class="form-input-selector" @click="selectCompany">
  104. <text v-if="selectedCompany">{{ selectedCompany }}</text>
  105. <text v-else class="placeholder">请选择公司</text>
  106. <u-icon name="arrow-right" color="#999" size="36"></u-icon>
  107. </view>
  108. </view>
  109. </view>
  110. <!-- 我的职务 -->
  111. <view class="usermain-item item-padding">
  112. <view class="usermain-item-title">我的职务</view>
  113. <view>
  114. <view class="form-input-selector">
  115. <!-- <text v-if="selectedPosition">{{ selectedPosition }}</text>
  116. <text v-else class="placeholder">请选择职务</text>
  117. <u-icon name="arrow-down" color="#999" size="36"></u-icon> -->
  118. <input type="text" v-model="hrPosition" placeholder="请输入职务" @input="filterSymbols"
  119. style="width: 100%;" :key='inputKey' />
  120. </view>
  121. </view>
  122. </view>
  123. </view>
  124. <view class="footer-btn">
  125. <view class="usermain-btn" @click="messagebtn()">保存</view>
  126. </view>
  127. <!-- 权限说明弹窗 -->
  128. <u-popup mode="top" ref="permission">
  129. <view class="popup-content">
  130. <view class="popup-text-permission">选择/拍摄照片需要相机/相册权限,用于上传用户头像</view>
  131. </view>
  132. </u-popup>
  133. </view>
  134. </template>
  135. <script>
  136. import configdata from '../../common/config.js';
  137. import navBar from "@/components/nav-bar/index.vue";
  138. export default {
  139. components: {
  140. navBar
  141. },
  142. data() {
  143. return {
  144. statusBarHeight: 0, // 状态栏高度
  145. phone: '',
  146. weChatNum: '', //微信号
  147. email: '', //接收简历邮箱
  148. selectedCompany: '深圳市汉瑞国际猎头服务有限公司', // 我的公司
  149. selectedPosition: '人事总监', // 我的职务
  150. avatar: '../../static/logo.png',
  151. userName: '',
  152. nickName: '',
  153. userId: '',
  154. realName: '',
  155. weChatId: "",
  156. password: '',
  157. platform: '',
  158. createTime: '',
  159. money: '',
  160. jiFen: '',
  161. status: '',
  162. zhiFuBao: '',
  163. zhiFuBaoName: '',
  164. sex: 1,
  165. age: 0,
  166. hrInfo: {},
  167. hrPosition: '',
  168. hrEmail: '',
  169. inputKey: ''
  170. };
  171. },
  172. computed: {
  173. phoneWithMask() {
  174. if (this.phone && this.phone.length >= 11) {
  175. return this.phone.substring(0, 3) + '******' + this.phone.substring(9);
  176. }
  177. return this.phone || '请设置手机号';
  178. }
  179. },
  180. onLoad(e) {
  181. // 获取状态栏高度
  182. let systemInfo = uni.getSystemInfoSync();
  183. this.statusBarHeight = systemInfo.statusBarHeight || 0;
  184. // this.getUserInfo()
  185. // this.getUserHr()
  186. this.inputKey = new Date().getTime()
  187. // this.avatar = uni.getStorageSync('avatar')
  188. },
  189. onShow() {
  190. this.getUserInfo()
  191. this.getUserHr()
  192. },
  193. methods: {
  194. filterSymbols(e) {
  195. // 使用正则表达式过滤掉所有符号(只保留中文、英文、数字)
  196. let value = e.detail.value
  197. // 允许:中文、英文、数字
  198. let filteredValue = value.replace(/[^\u4e00-\u9fa5a-zA-Z0-9]/g, '')
  199. console.log(this.hrPosition);
  200. // 如果值被修改了
  201. this.hrPosition = filteredValue
  202. if (value !== filteredValue) {
  203. this.inputKey = new Date().getTime()
  204. uni.showToast({
  205. title: '禁止输入符号',
  206. icon: "none"
  207. })
  208. }
  209. },
  210. // 返回上一页
  211. goBack() {
  212. uni.navigateBack();
  213. },
  214. // 修改手机号
  215. modifyPhone() {
  216. console.log('点击修改手机号,当前手机号:', this.phone);
  217. const url = `/pages/my/userphone?currentPhone=${this.phone}`;
  218. console.log('跳转路径:', url);
  219. uni.navigateTo({
  220. url: url,
  221. });
  222. },
  223. // 选择公司
  224. selectCompany() {
  225. uni.navigateTo({
  226. url: '/pages/my/myCompany'
  227. });
  228. },
  229. // 选择职务
  230. selectPosition() {
  231. // 这里可以跳转到职务选择页面或显示职务选择弹窗
  232. console.log('选择职务');
  233. },
  234. onChooseAvatar(e) {
  235. let that = this;
  236. let token = uni.getStorageSync('token');
  237. uni.uploadFile({
  238. url: that.config("APIHOST1") +
  239. '/alioss/upload', //真实的接口地址
  240. filePath: e.detail.avatarUrl,
  241. header: {
  242. token: token
  243. },
  244. name: 'file',
  245. success: uploadFileRes => {
  246. let url = JSON.parse(uploadFileRes.data);
  247. that.avatar = url.data
  248. uni.hideLoading();
  249. }
  250. });
  251. },
  252. goMyAddress() {
  253. uni.navigateTo({
  254. url: '../jifen/myaddress'
  255. });
  256. },
  257. async uploadImg() {
  258. let token = uni.getStorageSync('token')
  259. if (!token) {
  260. this.goLoginInfo();
  261. return;
  262. }
  263. let that = this;
  264. var url = null;
  265. uni.showActionSheet({
  266. // itemList按钮的文字接受的是数组
  267. itemList: ["查看头像", "从相册选择图片"],
  268. async success(e) {
  269. var index = e.tapIndex
  270. if (index === 0) {
  271. // 用户点击了预览当前图片
  272. // 可以自己实现当前头像链接的读取
  273. let url = that.avatar;
  274. let arr = []
  275. arr.push(url)
  276. uni.previewImage({
  277. // 预览功能图片也必须是数组的
  278. urls: arr
  279. })
  280. } else if (index === 1) {
  281. const hasPermission = await that.$queue.checkPermission(
  282. 'camera',
  283. '选择/拍摄照片需要相机/相册权限,用于上传用户头像',
  284. that
  285. );
  286. // 2. 如果未授权或者用户拒绝,显示提示
  287. if (!hasPermission) {
  288. return;
  289. }
  290. uni.chooseImage({
  291. count: 1, //默认9
  292. sizeType: ['original', 'compressed'], //可以指定是原图还是压缩图,默认二者都有
  293. sourceType: ['album'], //从相册选择
  294. success: function (res) {
  295. uni.showLoading({
  296. title: '上传中...'
  297. });
  298. let token = uni.getStorageSync('token');
  299. let userId = uni.getStorageSync('userId');
  300. uni.uploadFile({
  301. url: that.config("APIHOST1") +
  302. '/alioss/upload', //真实的接口地址
  303. filePath: res.tempFilePaths[0],
  304. header: {
  305. token: token
  306. },
  307. name: 'file',
  308. success: uploadFileRes => {
  309. url = JSON.parse(uploadFileRes.data);
  310. that.avatar = url.data
  311. uni.hideLoading();
  312. }
  313. });
  314. }
  315. });
  316. }
  317. }
  318. })
  319. },
  320. config: function (name) {
  321. var info = null;
  322. if (name) {
  323. var name2 = name.split("."); //字符分割
  324. if (name2.length > 1) {
  325. info = configdata[name2[0]][name2[1]] || null;
  326. } else {
  327. info = configdata[name] || null;
  328. }
  329. if (info == null) {
  330. let web_config = cache.get("web_config");
  331. if (web_config) {
  332. if (name2.length > 1) {
  333. info = web_config[name2[0]][name2[1]] || null;
  334. } else {
  335. info = web_config[name] || null;
  336. }
  337. }
  338. }
  339. }
  340. return info;
  341. },
  342. getUserHr() {
  343. this.$Request.get("/app/HrFirst/getUserHr").then(res => {
  344. if (res.code === 0) {
  345. this.hrInfo = res.data.HrEntity
  346. this.hrPosition = res.data.HrEntity.hrPosition
  347. this.hrEmail = res.data.HrEntity.hrEmail
  348. }
  349. })
  350. },
  351. getUserInfo() {
  352. let userId = uni.getStorageSync('userId')
  353. this.$Request.get("/app/user/selectUserById").then(res => {
  354. if (res.code == 0) {
  355. this.$queue.setData('avatar', res.data.avatar);
  356. this.$queue.setData('userId', res.data.userId);
  357. this.$queue.setData('userName', res.data.userName);
  358. this.$queue.setData('phone', res.data.phone);
  359. this.$queue.setData('age', res.data.age);
  360. this.$queue.setData('weChatNum', res.data.weChatNum)
  361. this.weChatNum = res.data.weChatNum
  362. this.sex = res.data.sex
  363. this.age = res.data.age
  364. this.phone = res.data.phone;
  365. this.avatar = res.data.avatar;
  366. this.userName = res.data.userName;
  367. if (this.userName == null) {
  368. this.userName = res.data.nickName;
  369. } else {
  370. this.userName = res.data.userName;
  371. }
  372. this.selectedCompany = this.$queue.getData('companyName')
  373. }
  374. uni.hideLoading();
  375. });
  376. },
  377. // 保存
  378. messagebtn() {
  379. if (!this.userName) {
  380. // this.$queue.showToast('用户名不能为空');
  381. uni.showToast({
  382. title: "用户名不能为空",
  383. icon: "none"
  384. })
  385. } else if (!this.phone) {
  386. // this.$queue.showToast('用户名不能为空');
  387. uni.showToast({
  388. title: "联系电话不能为空",
  389. icon: "none"
  390. })
  391. } else {
  392. let that = this
  393. uni.showModal({
  394. title: '温馨提示',
  395. content: '确定保存信息',
  396. success: e => {
  397. if (e.confirm) {
  398. let phone = that.$queue.getData('newPhone') ? this.$queue.getData('newPhone') :
  399. that.phone
  400. that.$Request.postJson("/app/user/updateUser", {
  401. userName: that.userName,
  402. avatar: that.avatar,
  403. phone,
  404. sex: that.sex,
  405. age: that.age,
  406. weChatNum: that.weChatNum
  407. }).then(res => {
  408. if (res.code === 0) {
  409. that.$Request.postJson("/app/HrFirst/addHr", {
  410. hrPosition: this.hrPosition,
  411. hrEmail: this.hrEmail,
  412. }).then(res => {
  413. if (res.code === 0) {
  414. uni.showToast({
  415. title: '保存成功',
  416. icon: "none"
  417. })
  418. that.getUserInfo()
  419. setTimeout(function () {
  420. uni.navigateBack()
  421. }, 1000)
  422. } else {
  423. uni.showToast({
  424. title: res.msg,
  425. icon: "none"
  426. })
  427. }
  428. })
  429. // uni.showToast({
  430. // title: '保存成功',
  431. // icon: "none"
  432. // })
  433. // that.getUserInfo()
  434. // setTimeout(function() {
  435. // uni.navigateBack()
  436. // }, 1000)
  437. } else {
  438. uni.showToast({
  439. title: res.msg,
  440. icon: "none"
  441. })
  442. }
  443. })
  444. }
  445. }
  446. });
  447. }
  448. }
  449. },
  450. // userphone(){
  451. // uni.navigateTo({
  452. // url:'/pages/my/userphone'
  453. // })
  454. // }
  455. };
  456. </script>
  457. <style lang="scss" scoped>
  458. page {
  459. /* background: #1c1b20; */
  460. }
  461. .navbar {
  462. position: fixed;
  463. top: 0;
  464. left: 0;
  465. right: 0;
  466. z-index: 999;
  467. background: #fff;
  468. padding: 0 0 40rpx 20rpx;
  469. .navbar-content {
  470. display: flex;
  471. align-items: center;
  472. justify-content: space-between;
  473. padding: 0 30rpx;
  474. height: 60rpx;
  475. .navbar-left {
  476. width: 60rpx;
  477. height: 60rpx;
  478. display: flex;
  479. align-items: center;
  480. justify-content: center;
  481. }
  482. .navbar-title {
  483. color: rgba(23, 23, 37, 1);
  484. font-family: DM Sans;
  485. font-size: 36rpx;
  486. font-weight: 700;
  487. line-height: 52rpx;
  488. letter-spacing: 0%;
  489. text-align: center;
  490. }
  491. .navbar-right {
  492. width: 60rpx;
  493. height: 60rpx;
  494. }
  495. }
  496. }
  497. button::after {
  498. border: none;
  499. background-color: none;
  500. }
  501. button {
  502. position: relative;
  503. display: block;
  504. margin-left: auto;
  505. margin-right: auto;
  506. padding-left: 0px;
  507. padding-right: 0px;
  508. box-sizing: border-box;
  509. text-decoration: none;
  510. line-height: 1.35;
  511. overflow: hidden;
  512. color: #666666;
  513. /* background-color: #fff; */
  514. background-color: rgba(255, 255, 255, 0) !important;
  515. width: 100%;
  516. height: 100%;
  517. }
  518. .usermain {
  519. background: #ffffff;
  520. /* color: #fff; */
  521. margin-top: 120rpx;
  522. /* 为固定导航栏留出空间 */
  523. /* #ifdef APP*/
  524. margin-top: calc(120rpx + var(--status-bar-height));
  525. /* #endif*/
  526. }
  527. .usermain-item {
  528. display: flex;
  529. flex-direction: column;
  530. margin: 0 40rpx;
  531. padding: 20rpx 0;
  532. // border-bottom: 1rpx solid rgba(229, 229, 229, 0.3);
  533. gap: 16rpx;
  534. }
  535. .usermain-item-title {
  536. color: rgba(31, 44, 55, 1);
  537. font-family: DM Sans;
  538. font-size: 28rpx;
  539. font-weight: 500;
  540. line-height: 44rpx;
  541. text-align: left;
  542. }
  543. .usermain-item.item-padding {
  544. /* padding: 0; */
  545. }
  546. .cu-form-group {
  547. padding: 0;
  548. background: #ffffff;
  549. text-align: right;
  550. }
  551. .cu-form-group input {
  552. background: #ffffff;
  553. font-size: 28rpx;
  554. /* color: #fff; */
  555. }
  556. /* 姓名字段样式 - 参考basicInfo.vue */
  557. .usermain-item .form-label {
  558. color: rgba(31, 44, 55, 1);
  559. font-family: DM Sans;
  560. font-size: 32rpx;
  561. font-weight: 500;
  562. line-height: 44rpx;
  563. letter-spacing: 0.5%;
  564. text-align: left;
  565. display: flex;
  566. align-items: center;
  567. margin-bottom: 16rpx;
  568. }
  569. .usermain-item .required-mark {
  570. color: #FF3B30;
  571. font-size: 36rpx;
  572. font-weight: 600;
  573. margin-right: 8rpx;
  574. }
  575. .usermain-item .cu-form-group {
  576. background: transparent;
  577. text-align: left;
  578. padding: 0;
  579. }
  580. .usermain-item .cu-form-group input {
  581. width: 100%;
  582. height: 68rpx;
  583. font-size: 28rpx;
  584. border: 1rpx solid rgba(227, 231, 236, 1);
  585. border-radius: 44rpx;
  586. color: rgba(23, 23, 37, 1);
  587. padding: 0 32rpx;
  588. background: #ffffff;
  589. font-family: DM Sans;
  590. font-weight: 400;
  591. }
  592. .usermain-item .cu-form-group input::placeholder {
  593. color: rgba(155, 155, 155, 1);
  594. font-size: 28rpx;
  595. }
  596. /* 联系方式样式 */
  597. .contact-structure {
  598. border-bottom: none !important;
  599. }
  600. .contact-wrapper {
  601. display: flex;
  602. align-items: center;
  603. justify-content: space-between;
  604. padding: 0;
  605. margin-top: 8rpx;
  606. }
  607. .phone-display {
  608. color: rgba(23, 23, 37, 1);
  609. font-family: DM Sans;
  610. font-size: 28rpx;
  611. font-weight: 400;
  612. line-height: 40rpx;
  613. letter-spacing: 0.5%;
  614. }
  615. .modify-link {
  616. color: rgba(24, 144, 255, 1);
  617. font-family: DM Sans;
  618. font-size: 28rpx;
  619. font-weight: 400;
  620. line-height: 40rpx;
  621. letter-spacing: 0.5%;
  622. cursor: pointer;
  623. text-decoration: none;
  624. }
  625. .modify-link:active {
  626. opacity: 0.7;
  627. }
  628. /* 头像编辑图标样式 */
  629. .avatar-wrapper {
  630. position: relative;
  631. display: inline-block;
  632. }
  633. .edit-avatar-icon {
  634. position: absolute;
  635. bottom: 10rpx;
  636. left: 60rpx;
  637. width: 24rpx;
  638. height: 24rpx;
  639. // background: #fff;
  640. border-radius: 50%;
  641. display: flex;
  642. align-items: center;
  643. justify-content: center;
  644. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.1);
  645. }
  646. .avatar-button {
  647. position: relative;
  648. padding: 0;
  649. margin: 0;
  650. background: transparent;
  651. border: none;
  652. }
  653. .footer-btn {
  654. margin-top: 40rpx;
  655. padding-bottom: 40rpx;
  656. }
  657. .footer-btn .usermain-btn {
  658. color: rgba(255, 255, 255, 1);
  659. background: rgba(1, 107, 246, 1);
  660. text-align: center;
  661. width: 90%;
  662. height: 80rpx;
  663. font-size: 32rpx;
  664. line-height: 80rpx;
  665. margin: 20rpx auto;
  666. border-radius: 40rpx;
  667. }
  668. /* 选择器样式 - 参考workExperience页面 */
  669. .form-input-selector {
  670. width: 100%;
  671. height: 68rpx;
  672. padding: 0 40rpx;
  673. border: 1px solid rgba(227, 231, 236, 1);
  674. border-radius: 24px;
  675. background: rgba(255, 255, 255, 1);
  676. display: flex;
  677. align-items: center;
  678. justify-content: space-between;
  679. cursor: pointer;
  680. transition: all 0.2s ease;
  681. .placeholder {
  682. color: #999999;
  683. font-family: DM Sans;
  684. font-size: 28rpx;
  685. font-weight: 400;
  686. line-height: 40rpx;
  687. }
  688. text {
  689. color: rgba(23, 23, 37, 1);
  690. font-family: DM Sans;
  691. font-size: 28rpx;
  692. font-weight: 400;
  693. line-height: 40rpx;
  694. }
  695. }
  696. .arrow-down {
  697. color: rgba(96, 98, 102, 1);
  698. font-size: 24rpx;
  699. font-weight: 400;
  700. transform: scale(1.5);
  701. }
  702. .selector-group:active {
  703. background: #f5f7fa !important;
  704. transform: scale(0.99);
  705. }
  706. </style>