userInfo.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823
  1. <template>
  2. <view class="container">
  3. <view class="content">
  4. <view class="summary-section ">
  5. <view class="summary-header">
  6. <view class="summary-indicator"></view>
  7. <text class="summary-title">基础信息</text>
  8. </view>
  9. <view class="list">
  10. <view class="info-item">
  11. <view class="label">头像</view>
  12. <view class="right">
  13. <image class="head" :src="userInfo.avatar?userInfo.avatar:'/static/image/my_heads_icon.png'" ></image>
  14. <button class="wx-head" type="balanced" open-type="chooseAvatar" @chooseavatar="onChooseAvatar">
  15. </button>
  16. </view>
  17. </view>
  18. <view class="info-item">
  19. <view class="label">姓名</view>
  20. <view class="right">
  21. <input type="nickname" @blur="bindblur" @input="bindinput" v-model="userInfo.userName" placeholder="请输入昵称" class="input"/>
  22. </view>
  23. </view>
  24. <view class="info-item" @click="toSelectGender">
  25. <view class="label">性别</view>
  26. <view class="right" v-if="userInfo!=null">
  27. <text class="txt">{{userInfo.sex==1?'男':'女'}}</text>
  28. <image class="icon" src="/static/image/icon_my_more.png" mode=""></image>
  29. </view>
  30. </view>
  31. </view>
  32. <view class="summary-header">
  33. <view class="summary-indicator"></view>
  34. <text class="summary-title">岗位信息</text>
  35. </view>
  36. <view class="list">
  37. <view class="info-item" @click="toSelectDept">
  38. <view class="label">部门</view>
  39. <view class="right">
  40. <text class="txt" :class="{ash:!formData.deptName}">{{formData.deptName||'请选择部门'}}</text>
  41. <image class="icon" src="/static/image/icon_my_more.png" mode=""></image>
  42. </view>
  43. </view>
  44. <view class="info-item" @click="toSelectPost">
  45. <view class="label">岗位</view>
  46. <view class="right">
  47. <text class="txt" :class="{ash:!formData.postName}">{{formData.postName||'请选择岗位'}}</text>
  48. <image class="icon" src="/static/image/icon_my_more.png" mode=""></image>
  49. </view>
  50. </view>
  51. <view class="info-item" @click="toSelectProduct">
  52. <view class="label">产品</view>
  53. <view class="right">
  54. <text class="txt" :class="{ash:!formData.productName}">{{formData.productName||'请选择产品'}}</text>
  55. <image class="icon" src="/static/image/icon_my_more.png" mode=""></image>
  56. </view>
  57. </view>
  58. <view class="info-item" @click="toSelectSuperior">
  59. <view class="label">直属上级</view>
  60. <view class="right">
  61. <text class="txt" :class="{ash:!formData.superiorName}">{{formData.superiorName||'请选择'}}</text>
  62. <image class="icon" src="/static/image/icon_my_more.png" mode=""></image>
  63. </view>
  64. </view>
  65. <view class="form-section">
  66. <view class="form-label">
  67. <text>证明材料</text>
  68. <text class="tip">工作证、OA信息截图、个人名片等</text>
  69. </view>
  70. <view class="upload-proof" @click="chooseProofImages">
  71. <view v-if="formData.proofImages && formData.proofImages.length > 0" class="uploaded-images">
  72. <view v-for="(image, index) in formData.proofImages" :key="index"
  73. class="uploaded-image-item">
  74. <image :src="image" mode="aspectFill"></image>
  75. <view class="image-delete" @click.stop="deleteProofImage(index)">×</view>
  76. </view>
  77. <view class="upload-placeholder">
  78. <image src="/static/image/icon_camera.png" mode="aspectFill"></image>
  79. </view>
  80. </view>
  81. <view v-else class="upload-placeholder">
  82. <image src="/static/image/icon_camera.png" mode="aspectFill"></image>
  83. </view>
  84. </view>
  85. </view>
  86. </view>
  87. </view>
  88. </view>
  89. <view class="btn-box">
  90. <view class="sub-btn" @click="submit()">保存</view>
  91. </view>
  92. <u-picker :show="showPicker" :columns="[pickerList]" keyName="title" @confirm="onPickerConfirm" @cancel="showPicker=false"></u-picker>
  93. </view>
  94. </template>
  95. <script>
  96. import {
  97. getUserInfo,//查询用户信息
  98. updateUserInfo,//更新业务员个人信息
  99. getDeptList,//获取当前公司部门列表
  100. getPostList,//获取当前公司岗位列表
  101. getProductList,//获取当前公司所有产品列表
  102. getCompanyUserList//获取当前公司所有业务员列表(前端需要排除当前用户)
  103. } from '@/api/user'
  104. import utils from '@/utils/common.js'
  105. export default {
  106. data() {
  107. return {
  108. user: null,
  109. formData: {
  110. proofImages: [],
  111. avatar: '',
  112. nickname: '',
  113. sex: '',
  114. deptId: '',
  115. deptName: '',
  116. postId: '',
  117. postName: '',
  118. postIds: '',
  119. productId: '',
  120. productName: '',
  121. productCode: '',
  122. superiorId: '',
  123. superiorName: '',
  124. certificationMaterials: ''
  125. },
  126. userInfo:{},
  127. showPicker: false,
  128. pickerList: [],
  129. pickerType: '',
  130. deptList: [],
  131. postList: [],
  132. productList: [],
  133. userList: []
  134. }
  135. },
  136. onLoad() {
  137. },
  138. onShow() {
  139. this.getUserInfo();
  140. this.getDeptList();
  141. this.getPostList();
  142. this.getProductList();
  143. this.getCompanyUserList();
  144. },
  145. methods: {
  146. getDeptList(){
  147. getDeptList().then(
  148. res => {
  149. if(res.code==200){
  150. if(res.data!=null && res.data.length>0){
  151. this.deptList = res.data.map(item => ({
  152. id: item.deptId,
  153. title: item.deptName
  154. }));
  155. console.log("获取当前公司部门列表this.deptList",this.deptList);
  156. }
  157. }else{
  158. uni.showToast({
  159. icon:'none',
  160. title: res.msg,
  161. });
  162. }
  163. },
  164. rej => {}
  165. );
  166. },
  167. getPostList(){
  168. getPostList().then(
  169. res => {
  170. if(res.code==200){
  171. if(res.data!=null && res.data.length>0){
  172. this.postList = res.data.map(item => ({
  173. id: item.postId,
  174. title: item.postName
  175. }));
  176. console.log("获取当前公司岗位列表this.postList",this.postList);
  177. }
  178. }else{
  179. uni.showToast({
  180. icon:'none',
  181. title: res.msg,
  182. });
  183. }
  184. },
  185. rej => {}
  186. );
  187. },
  188. getProductList(){
  189. getProductList().then(
  190. res => {
  191. if(res.code==200){
  192. if(res.data!=null && res.data.length>0){
  193. this.productList = res.data.map(item => ({
  194. id: item.id,
  195. title: item.productName
  196. }));
  197. console.log("获取当前公司所有产品列表this.productList",this.productList);
  198. }
  199. }else{
  200. uni.showToast({
  201. icon:'none',
  202. title: res.msg,
  203. });
  204. }
  205. },
  206. rej => {}
  207. );
  208. },
  209. getCompanyUserList(){
  210. getCompanyUserList().then(
  211. res => {
  212. if(res.code==200){
  213. if(res.data!=null && res.data.length>0){
  214. this.userList = res.data.map(item => ({
  215. id: item.userId,
  216. title: item.nickName
  217. }));
  218. console.log("获取当前公司所有业务员列表(前端需要排除当前用户)this.userList",this.userList);
  219. }
  220. }else{
  221. uni.showToast({
  222. icon:'none',
  223. title: res.msg,
  224. });
  225. }
  226. },
  227. rej => {}
  228. );
  229. },
  230. bindblur(e) {
  231. if (this.user) {
  232. this.user.nickname = e.detail.value;
  233. }
  234. },
  235. bindinput(e){
  236. if (this.user) {
  237. this.user.userName = e.detail.value;
  238. this.formData.nickname = e.detail.value;
  239. }
  240. },
  241. onChooseAvatar(e){
  242. let {
  243. avatarUrl
  244. } = e.detail;
  245. if (!this.user) {
  246. uni.showToast({
  247. icon: 'none',
  248. title: '请先获取用户信息'
  249. });
  250. return;
  251. }
  252. uni.uploadFile({
  253. url: uni.getStorageSync('requestPath')+'/app/common/uploadOSS',
  254. filePath: avatarUrl,
  255. name: 'file',
  256. formData: {
  257. 'user': 'test'
  258. },
  259. success: (uploadFileRes) => {
  260. const avatarUrl = JSON.parse(uploadFileRes.data).url;
  261. this.user.avatar = avatarUrl;
  262. this.formData.avatar = avatarUrl;
  263. }
  264. });
  265. },
  266. submit(){
  267. if (!this.user) {
  268. uni.showToast({
  269. icon: 'none',
  270. title: '请先获取用户信息'
  271. });
  272. return;
  273. }
  274. this.user.proofImages = this.formData.proofImages;
  275. console.log("修改数据",this.user.proofImages);
  276. console.log("修改数据2",this.user);
  277. const params = {
  278. avatar: this.formData.avatar,
  279. nicknName: this.formData.nickname,
  280. sex: this.formData.sex,
  281. deptId: this.formData.deptId,
  282. postIds: this.formData.postIds,
  283. productCode: this.formData.productCode,
  284. superiorId: this.formData.superiorId,
  285. certificationMaterials: this.formData.certificationMaterials||[]
  286. }
  287. updateUserInfo(params).then(
  288. res => {
  289. if(res.code==200){
  290. uni.showToast({
  291. icon:'success',
  292. title: "修改成功",
  293. });
  294. setTimeout(function(){
  295. uni.navigateBack({
  296. delta:1,
  297. })
  298. },2000);
  299. }else{
  300. uni.showToast({
  301. icon:'none',
  302. title: res.msg,
  303. });
  304. }
  305. },
  306. rej => {}
  307. );
  308. },
  309. getUserInfo(){
  310. getUserInfo().then(
  311. res => {
  312. if(res.code==200){
  313. if(res.user!=null){
  314. this.user = res.user;
  315. this.userInfo=res.user;
  316. uni.setStorageSync('userInfo', this.userInfo);
  317. this.formData.avatar = this.user.avatar || '';
  318. this.formData.nickname = this.user.userName || '';
  319. this.formData.sex = this.user.sex || '';
  320. this.formData.deptId = this.user.deptId || '';
  321. this.formData.deptName = this.user.deptName || '';
  322. this.formData.postId = this.user.postId || '';
  323. this.formData.postName = this.user.postName || '';
  324. this.formData.postIds = this.user.postId || '';
  325. this.formData.productId = this.user.productId || '';
  326. this.formData.productName = this.user.productName || '';
  327. this.formData.productCode = this.user.productCode || '';
  328. this.formData.superiorId = this.user.superiorId || '';
  329. this.formData.superiorName = this.user.superiorName || '';
  330. this.formData.certificationMaterials = Array.isArray(this.user.proofImages) ? this.user.proofImages.join(',') : '';
  331. this.formData.proofImages = this.user.proofImages || [];
  332. }
  333. }else{
  334. uni.showToast({
  335. icon:'none',
  336. title: "请求失败",
  337. });
  338. }
  339. },
  340. rej => {}
  341. );
  342. },
  343. chooseProofImages() {
  344. uni.chooseImage({
  345. count: 9,
  346. sizeType: ['compressed'],
  347. sourceType: ['album', 'camera'],
  348. success: (res) => {
  349. this.uploadImages(res.tempFilePaths)
  350. }
  351. })
  352. },
  353. async uploadImages(tempFilePaths) {
  354. try {
  355. uni.showLoading({ title: '上传中...' })
  356. const uploadedImages = []
  357. const baseUrl = uni.getStorageSync('requestPath')
  358. for (const tempFilePath of tempFilePaths) {
  359. const uploadRes = await new Promise((resolve, reject) => {
  360. uni.uploadFile({
  361. url: `${baseUrl}/system/file/upload`,
  362. filePath: tempFilePath,
  363. name: 'file',
  364. formData: {
  365. bizType: 'USER_INFO'
  366. },
  367. header: {
  368. 'AppToken': uni.getStorageSync('AppToken')
  369. },
  370. success: (res) => {
  371. const data = JSON.parse(res.data)
  372. if (data.code === 200) {
  373. console.log('上传成功:', data.data)
  374. resolve(data.data)
  375. } else {
  376. reject(new Error(data.message || '上传失败'))
  377. }
  378. },
  379. fail: (err) => {
  380. reject(err)
  381. }
  382. })
  383. })
  384. uploadedImages.push(uploadRes.fileUrl)
  385. }
  386. this.formData.proofImages = [...this.formData.proofImages, ...uploadedImages]
  387. this.formData.certificationMaterials = this.formData.proofImages.join(',')
  388. uni.hideLoading()
  389. uni.showToast({ icon: 'success', title: '上传成功' })
  390. } catch (e) {
  391. uni.hideLoading()
  392. uni.showToast({ icon: 'none', title: '上传失败' })
  393. }
  394. },
  395. deleteProofImage(index) {
  396. this.formData.proofImages.splice(index, 1)
  397. this.formData.certificationMaterials = this.formData.proofImages.join(',')
  398. },
  399. onPickerConfirm(e) {
  400. const selectedItem = e.value[0];
  401. if (this.pickerType === 'dept') {
  402. this.formData.deptId = selectedItem.id;
  403. this.formData.deptName = selectedItem.title;
  404. } else if (this.pickerType === 'post') {
  405. this.formData.postId = selectedItem.id;
  406. this.formData.postName = selectedItem.title;
  407. this.formData.postIds = selectedItem.id;
  408. } else if (this.pickerType === 'product') {
  409. this.formData.productId = selectedItem.id;
  410. this.formData.productName = selectedItem.title;
  411. this.formData.productCode = selectedItem.id;
  412. } else if (this.pickerType === 'superior') {
  413. this.formData.superiorId = selectedItem.id;
  414. this.formData.superiorName = selectedItem.title;
  415. } else if (this.pickerType === 'gender') {
  416. // 处理性别选择
  417. this.user.sex = selectedItem.id;
  418. this.userInfo.sex = selectedItem.id;
  419. this.formData.sex = selectedItem.id;
  420. }
  421. this.showPicker = false;
  422. },
  423. toSelectDept() {
  424. if (this.deptList && this.deptList.length > 0) {
  425. this.pickerList = this.deptList;
  426. this.pickerType = 'dept';
  427. this.showPicker = true;
  428. } else {
  429. uni.showToast({
  430. icon: 'none',
  431. title: '暂无部门数据'
  432. })
  433. }
  434. },
  435. toSelectPost() {
  436. if (this.postList && this.postList.length > 0) {
  437. this.pickerList = this.postList;
  438. this.pickerType = 'post';
  439. this.showPicker = true;
  440. } else {
  441. uni.showToast({
  442. icon: 'none',
  443. title: '暂无岗位数据'
  444. })
  445. }
  446. },
  447. toSelectProduct() {
  448. if (this.productList && this.productList.length > 0) {
  449. this.pickerList = this.productList;
  450. this.pickerType = 'product';
  451. this.showPicker = true;
  452. } else {
  453. uni.showToast({
  454. icon: 'none',
  455. title: '暂无产品数据'
  456. })
  457. }
  458. },
  459. toSelectSuperior() {
  460. if (this.userList && this.userList.length > 0) {
  461. this.pickerList = this.userList;
  462. this.pickerType = 'superior';
  463. this.showPicker = true;
  464. } else {
  465. uni.showToast({
  466. icon: 'none',
  467. title: '暂无业务员数据'
  468. })
  469. }
  470. },
  471. toSelectGender() {
  472. // 设置性别选择数据
  473. this.pickerList = [
  474. { id: '1', title: '男' },
  475. { id: '0', title: '女' }
  476. ];
  477. this.pickerType = 'gender';
  478. this.showPicker = true;
  479. }
  480. }
  481. }
  482. </script>
  483. <style lang="scss" scoped>
  484. .container {
  485. background-color: #ffffff;
  486. min-height: 100vh;
  487. display: flex;
  488. flex-direction: column;
  489. position: relative;
  490. .content {
  491. width: 100%;
  492. height: 100%;
  493. position: relative;
  494. z-index: 2;
  495. .title {
  496. font-weight: 600;
  497. font-size: 36rpx;
  498. color: #333333;
  499. height: 88rpx;
  500. text-align: center;
  501. line-height: 88rpx;
  502. }
  503. .summary-section {
  504. padding: 32rpx 24rpx;
  505. display: flex;
  506. flex-direction: column;
  507. .summary-header {
  508. display: flex;
  509. align-items: center;
  510. margin-bottom: 24rpx;
  511. .summary-indicator {
  512. width: 6rpx;
  513. height: 32rpx;
  514. background: #388BFF;
  515. border-radius: 40rpx;
  516. margin-right: 16rpx;
  517. }
  518. .summary-title {
  519. font-size: 36rpx;
  520. font-weight: bold;
  521. color: #333;
  522. }
  523. }
  524. }
  525. .list {
  526. margin-bottom: 40rpx;
  527. .info-item {
  528. height: 104upx;
  529. padding: 0 30upx;
  530. display: flex;
  531. align-items: center;
  532. justify-content: space-between;
  533. border-bottom:1px solid #F5F6FA;
  534. &:last-child {
  535. border-bottom: none;
  536. }
  537. .label {
  538. font-size: 30upx;
  539. font-family: PingFang SC;
  540. font-weight: 400;
  541. color: #0F1826;
  542. }
  543. .right {
  544. display: flex;
  545. align-items: center;
  546. justify-content: center;
  547. .txt {
  548. font-size: 28rpx;
  549. color: #333333;
  550. margin-right: 8rpx;
  551. }
  552. .ash {
  553. color: #C8C9CC;
  554. }
  555. .img {
  556. width: 62rpx;
  557. height: 62rpx;
  558. border-radius: 50%;
  559. margin-right: 6rpx;
  560. }
  561. .icon {
  562. width: 36rpx;
  563. height: 36rpx;
  564. }
  565. .head {
  566. border-radius: 50%;
  567. width: 80upx;
  568. height: 80upx;
  569. }
  570. .wx-head {
  571. position: absolute;
  572. width: 80upx;
  573. height: 80upx;
  574. opacity: 0;
  575. }
  576. .input {
  577. text-align: right;
  578. font-size: 30upx;
  579. font-family: PingFang SC;
  580. font-weight: 400;
  581. color: #0F1826;
  582. }
  583. }
  584. }
  585. .form-section {
  586. background: #fff;
  587. border-radius: 16rpx;
  588. padding: 24rpx;
  589. margin-bottom: 24rpx;
  590. .form-label {
  591. display: flex;
  592. align-items: center;
  593. font-size: 28rpx;
  594. color: #333;
  595. .tip {
  596. font-size: 24rpx;
  597. color: #999999;
  598. margin-left: 24rpx;
  599. }
  600. }
  601. .form-tips {
  602. font-size: 24rpx;
  603. color: #999;
  604. margin-bottom: 16rpx;
  605. }
  606. .form-input-wrapper {
  607. position: relative;
  608. .form-input {
  609. width: 100%;
  610. min-height: 120rpx;
  611. padding: 16rpx;
  612. background: #f5f5f5;
  613. border-radius: 8rpx;
  614. font-size: 28rpx;
  615. color: #333;
  616. }
  617. .char-count {
  618. position: absolute;
  619. right: 16rpx;
  620. bottom: 16rpx;
  621. font-size: 24rpx;
  622. color: #999;
  623. }
  624. }
  625. .form-select {
  626. display: flex;
  627. align-items: center;
  628. justify-content: space-between;
  629. height: 80rpx;
  630. padding: 0 24rpx;
  631. background: #f5f5f5;
  632. border-radius: 8rpx;
  633. font-size: 28rpx;
  634. color: #333;
  635. .placeholder {
  636. color: #999;
  637. }
  638. .arrow-right {
  639. font-size: 24rpx;
  640. color: #999;
  641. }
  642. }
  643. .upload-proof {
  644. margin-top: 16rpx;
  645. .uploaded-images {
  646. display: flex;
  647. flex-wrap: wrap;
  648. gap: 20rpx;
  649. .uploaded-image-item {
  650. width: 160rpx;
  651. height: 160rpx;
  652. border-radius: 16rpx;
  653. position: relative;
  654. image {
  655. width: 100%;
  656. height: 100%;
  657. border-radius: 12rpx;
  658. }
  659. .image-delete {
  660. position: absolute;
  661. top: -12rpx;
  662. right: -12rpx;
  663. width: 40rpx;
  664. height: 40rpx;
  665. background: rgba(0, 0, 0, 0.6);
  666. color: #FFFFFF;
  667. border-radius: 50%;
  668. display: flex;
  669. align-items: center;
  670. justify-content: center;
  671. font-size: 32rpx;
  672. font-weight: bold;
  673. z-index: 1;
  674. }
  675. }
  676. }
  677. .upload-placeholder {
  678. width: 160rpx;
  679. height: 160rpx;
  680. background: #F7F8FA;
  681. border-radius: 16rpx;
  682. display: flex;
  683. flex-direction: column;
  684. align-items: center;
  685. justify-content: center;
  686. image {
  687. width: 48rpx;
  688. height: 48rpx;
  689. }
  690. }
  691. }
  692. .attachment-list {
  693. .attachment-item {
  694. display: flex;
  695. align-items: center;
  696. padding: 16rpx;
  697. background: #f5f5f5;
  698. border-radius: 8rpx;
  699. margin-bottom: 16rpx;
  700. .attachment-icon {
  701. font-size: 32rpx;
  702. margin-right: 16rpx;
  703. }
  704. .attachment-info {
  705. flex:1;
  706. display: flex;
  707. flex-direction: column;
  708. .attachment-name {
  709. font-size: 28rpx;
  710. color: #333;
  711. margin-bottom: 4rpx;
  712. }
  713. .attachment-size {
  714. font-size: 24rpx;
  715. color: #999;
  716. }
  717. }
  718. .attachment-delete {
  719. font-size: 40rpx;
  720. color: #999;
  721. width: 40rpx;
  722. height: 40rpx;
  723. display: flex;
  724. align-items: center;
  725. justify-content: center;
  726. }
  727. }
  728. .add-attachment {
  729. display: flex;
  730. align-items: center;
  731. justify-content: center;
  732. padding: 24rpx;
  733. background: #E3F2FD;
  734. border-radius: 8rpx;
  735. font-size: 28rpx;
  736. color: #388BFF;
  737. .add-icon {
  738. font-size: 32rpx;
  739. margin-right: 8rpx;
  740. }
  741. }
  742. }
  743. }
  744. }
  745. }
  746. }
  747. .btn-box{
  748. margin-top: 20rpx;
  749. height: 120upx;
  750. padding: 0 30upx;
  751. display: flex;
  752. align-items: center;
  753. justify-content: center;
  754. .sub-btn{
  755. width: 100%;
  756. height: 88upx;
  757. line-height: 88upx;
  758. text-align: center;
  759. font-size: 30upx;
  760. font-family: PingFang SC;
  761. font-weight: bold;
  762. color: #FFFFFF;
  763. background: #388BFF;
  764. border-radius: 44upx;
  765. }
  766. }
  767. </style>