user.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851
  1. <template>
  2. <view class="container">
  3. <!-- <view class="user-section">
  4. <view class="bg">
  5. <image class="bg_ware" src="https://moyv.top/wechat/images/bg_wave.gif"></image>
  6. </view>
  7. <view class="user-info-box">
  8. <view class="portrait-box">
  9. <image v-if="userInfo" class="portrait" :src="userInfo.avatarUrl"></image>
  10. <u-avatar v-else class="portrait" text=""></u-avatar>
  11. </view>
  12. <view class="info-box">
  13. <view @click="toLogin" class="username">{{hasLogin? (userInfo.userName || '点击修改昵称') : '立即登录' }}</view>
  14. </view>
  15. </view>
  16. </view> -->
  17. <view class="indexUp flex">
  18. <image v-bind:src="headUrl" class="headPortrait"></image>
  19. <view class="personal">
  20. <view class="information">{{username}}</view>
  21. <view class="information">{{userphone}}</view>
  22. </view>
  23. </view>
  24. <view class="cover-container">
  25. <view class="cu-list menu text-left solid-top indexlow">
  26. <view class="cu-item" v-for="(item, index) in gridList" v-if="item.show" :key="index"
  27. @click="gridClick(item, index)" hover-class="common-hover" :hover-stay-time="50">
  28. <view>
  29. <!-- <text :class="item.icon" class="grid_icon icon text-grey"></text> -->
  30. <image :src="item.src" class="sign"></image>
  31. <text class="text-grey">{{item.name}}</text>
  32. </view>
  33. <view>
  34. <text v-if='item.num==4&&taskTip' class='badge_user'>{{taskTip}}</text>
  35. <text v-if='item.num==2&&contractTip' class='badge_user'>{{contractTip}}</text>
  36. <text class='tip_text cuIcon-right'></text>
  37. </view>
  38. <!-- <image src="../../static/img/sign/authentication@3x.png" mode=""></image> -->
  39. </view>
  40. <!-- <view class='cu-item' @click='scanCode'>
  41. <view>
  42. <text class="cuIcon-scan icon text-grey"></text>
  43. <text class="text-grey">扫一扫</text>
  44. </view>
  45. <view class = 'tip_text cuIcon-right' ></view>
  46. </view> -->
  47. </view>
  48. <view style='text-align:center;'>
  49. <navigator
  50. url="/pages/sale/webview?can_share=false&url=https://liangxin.zthymaoyi.com/userAgreement.html"
  51. class="path" hover-class="navigator-hover">《服务协议》</navigator>|<navigator
  52. url="/pages/sale/webview?can_share=false&url=https://liangxin.zthymaoyi.com/screctAgreement.html"
  53. class="path" hover-class="navigator-hover">《隐私政策》</navigator>
  54. </view>
  55. </view>
  56. <neil-modal :show="inputShow" @close="cancel" :style="{display:inputStatus}" title="修改昵称" showCancel="true">
  57. <input v-model="inputContent" style="margin:20upx;" placeholder="请输入昵称" />
  58. <button class="margin:20upx;bg-green">
  59. 确认修改
  60. </button>
  61. </neil-modal>
  62. </view>
  63. </template>
  64. <script>
  65. import dragButton from "@/components/drag-button/drag-button.vue";
  66. import neilModal from '@/components/neil-modal/neil-modal.vue';
  67. import {
  68. mapState
  69. } from 'vuex';
  70. let startY = 0,
  71. moveY = 0,
  72. pageAtTop = true;
  73. export default {
  74. components: {
  75. neilModal,
  76. dragButton
  77. },
  78. data() {
  79. return {
  80. inputShow: false,
  81. modalName: '',
  82. mycarStyle: '',
  83. feild: undefined,
  84. inputContent: '',
  85. coverTransform: 'translateY(0px)',
  86. coverTransition: '0s',
  87. moving: false,
  88. footprintList: [],
  89. isVip: false,
  90. userInfoTmp: [],
  91. inputStatus: 'none',
  92. carInfo: [],
  93. headUrl:"../../static/img/myimg/YongHu@3x.png",
  94. userphone:"",
  95. username:"请更改昵称",
  96. gridList: [
  97. // {
  98. // num:0,
  99. // name: '货源信息',
  100. // icon:'cuIcon-apps',
  101. // tips: 0,
  102. // url:'/pages/tran/my_tran?TabCur=0',
  103. // show:true
  104. // },
  105. // {
  106. // num:1,
  107. // name: '承运信息',
  108. // icon:'cuIcon-calendar',
  109. // tips: 0,
  110. // url:'/pages/tran/my_tran?TabCur=1',
  111. // show:true
  112. // },
  113. // {
  114. // num:2,
  115. // name: '我的合同',
  116. // icon:'cuIcon-copy',
  117. // tips: 0,
  118. // url:'/pageB/contract/contract',
  119. // show:true
  120. // },
  121. // {
  122. // num:3,
  123. // name: '消息列表',
  124. // icon:'cuIcon-news',
  125. // tips: 0,
  126. // url:'/pages/user/message',
  127. // show:true
  128. // },
  129. // {
  130. // num:4,
  131. // name: '任务中心',
  132. // icon:'cuIcon-copy',
  133. // tips: 0,
  134. // url:`/pages/user/task`,
  135. // show:true
  136. // },
  137. // {
  138. // num:5,
  139. // name: '我的车辆',
  140. // icon:'cuIcon-deliver',
  141. // tips: 0,
  142. // url:'',
  143. // show:true
  144. // },
  145. // {
  146. // num:6,
  147. // name: '联系我们',
  148. // icon:'cuIcon-phone',
  149. // tips: 0,
  150. // url:'/pages/user/contact',
  151. // show:true
  152. // },
  153. // {
  154. {
  155. num: 0,
  156. name: '身份认证',
  157. // icon: 'cuIcon-apps',
  158. src:'../../static/img/sign/authentication@2x.png',
  159. tips: 0,
  160. url: '/pages/attestation/index',
  161. show: true
  162. },
  163. {
  164. num: 1,
  165. name: '我的合同',
  166. // icon: 'cuIcon-calendar',
  167. src:'../../static/img/sign/myContract@2x.png',
  168. tips: 0,
  169. url: '/pageB/contract/contract',
  170. show: true
  171. },
  172. {
  173. num: 2,
  174. name: '我的任务',
  175. // icon: 'cuIcon-copy',
  176. src:'../../static/img/sign/myTask@2x.png',
  177. tips: 0,
  178. url: '/pages/task/my_task',
  179. show: true
  180. },
  181. {
  182. num: 3,
  183. name: '我的发布',
  184. // icon: 'cuIcon-news',
  185. src:'../../static/img/sign/myRelease@2x.png',
  186. tips: 0,
  187. url: `/pages/release/release`,
  188. show: true
  189. },
  190. {
  191. num: 4,
  192. name: '货运收发',
  193. // icon: 'cuIcon-copy',
  194. src:'../../static/img/sign/receiveGoods@2x.png',
  195. tips: 0,
  196. url: `/pageA/freightTransport/index`,
  197. show: true
  198. },
  199. {
  200. num: 5,
  201. name: '设置',
  202. // icon: 'cuIcon-edit',
  203. src:'../../static/img/sign/shezhi@2x.png',
  204. tips: 0,
  205. url: `/pages/user/setUp`,
  206. show: true
  207. },
  208. {
  209. num:6,
  210. name: '退出登录',
  211. // icon:'cuIcon-exit',
  212. src:'../../static/img/sign/return@3x.png',
  213. tips: 0,
  214. url:'',
  215. show:true
  216. },
  217. ],
  218. showTran: true,
  219. companyId: 1,
  220. current: 4
  221. }
  222. },
  223. onLoad() {
  224. },
  225. // #ifndef MP
  226. onNavigationBarButtonTap(e) {
  227. const index = e.index;
  228. if (index === 0) {
  229. this.navTo('/pages/set/set');
  230. } else if (index === 1) {
  231. // #ifdef APP-PLUS
  232. const pages = getCurrentPages();
  233. const page = pages[pages.length - 1];
  234. const currentWebview = page.$getAppWebview();
  235. currentWebview.hideTitleNViewButtonRedDot({
  236. index
  237. });
  238. // #endif
  239. uni.navigateTo({
  240. url: '/pages/notice/notice'
  241. })
  242. }
  243. },
  244. // #endif
  245. computed: {
  246. ...mapState(['hasLogin', 'userInfo'])
  247. },
  248. onShow() {
  249. uni.showTabBar()
  250. this.loadData()
  251. if(this.userInfo.avatarUrl == "" || this.userInfo.avatarUrl == null){
  252. this.headUrl = "../../static/img/myimg/YongHu@3x.png"
  253. }else if(this.userInfo.avatarUrl != "" || this.userInfo.avatarUrl != null){
  254. this.headUrl = this.userInfo.avatarUrl
  255. }
  256. this.username = this.userInfo.userName
  257. if( this.username == null || this.username == ""){
  258. this.username = "请更改昵称"
  259. }
  260. if(this.userInfo.phone != null || this.userInfo.phone != ""){
  261. this.userphone = this.userInfo.phone
  262. }
  263. },
  264. methods: {
  265. zhibo() {
  266. uni.navigateTo({
  267. url: `/pageB/video/broadcast`
  268. })
  269. },
  270. look() {
  271. uni.navigateTo({
  272. url: `/pageB/video/look`
  273. })
  274. },
  275. contactUs() {
  276. const that = this
  277. uni.makePhoneCall({
  278. // 手机号
  279. phoneNumber: '18241771147',
  280. // 成功回调
  281. success: (res) => {},
  282. // 失败回调
  283. fail: (res) => {}
  284. });
  285. },
  286. loadData() {
  287. // const that = this
  288. // if(uni.getStorageSync("PageCur")){
  289. // that.PageCur = uni.getStorageSync("PageCur");
  290. // }
  291. // that.userInfoTmp = uni.getStorageSync("userInfo")
  292. // uni.showLoading({
  293. // title: '正在加载',
  294. // mask:true
  295. // })
  296. // that.$api.request('integral', 'getIndexData', failres => {
  297. // that.$api.msg(failres.errmsg)
  298. // uni.hideLoading()
  299. // }).then(res => {
  300. // let data = res.data
  301. // uni.setStorageSync("message", data.message);
  302. // uni.setStorageSync("task", data.task);
  303. // uni.setStorageSync("contract", data.contract);
  304. // uni.setStorageSync('showTran', data.showTran);
  305. // that.showTran = data.showTran
  306. // that.gridList[4].tips = data.task
  307. // that.gridList[2].tips = data.contract
  308. // that.companyId = data.companyId
  309. // uni.hideLoading()
  310. // })
  311. },
  312. gridClick(item, index) {
  313. var that = this
  314. if (item.name == "退出登录") {
  315. this.logout()
  316. return;
  317. } else if (item.name == "联系我们") {
  318. //#ifdef MP
  319. this.inputShow = true
  320. this.inputStatus = 'inline'
  321. this.feild = "nickname"
  322. this.inputContent = ''
  323. //#endif
  324. //#ifdef APP-PLUS
  325. this.contactUs()
  326. //#endif
  327. return;
  328. } else if (item.name == '我的车辆') {
  329. const that = this
  330. uni.showLoading({
  331. title: '正在加载',
  332. mask: true
  333. })
  334. that.$api.request('tran', 'getMyCarList', failres => {
  335. that.$api.msg(failres.errmsg)
  336. uni.hideLoading()
  337. }).then(res => {
  338. that.carInfo = res.data
  339. if (that.carInfo.length == 0) {
  340. that.$api.msg('暂无车辆信息')
  341. } else {
  342. var height = that.carInfo.length * 100
  343. var width = 500
  344. that.mycarStyle = "height:" + height + "rpx;width:" + width + "rpx"
  345. that.modalName = 'MycarModal'
  346. }
  347. uni.hideLoading()
  348. })
  349. return;
  350. }
  351. if (item.url) {
  352. uni.navigateTo({
  353. url: item.url + `?companyId=${that.companyId}`
  354. })
  355. }
  356. },
  357. toLogin() {
  358. if (!this.hasLogin) {
  359. uni.navigateTo({
  360. url: '/pages/public/login'
  361. })
  362. }
  363. // else if(!this.userInfo.nickname){
  364. // this.inputShow = true
  365. // this.inputStatus = 'inline'
  366. // this.feild = "nickname"
  367. // this.inputContent = ''
  368. // }
  369. },
  370. confirm() {
  371. const that = this
  372. if (!that.inputContent) {
  373. that.$api.msg('输入不能为空')
  374. return
  375. }
  376. let obj = {}
  377. obj[that.feild] = that.inputContent
  378. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  379. that.userInfo.nickname = that.inputContent
  380. that.inputContent = ''
  381. that.$store.commit('login', that.userInfo)
  382. })
  383. },
  384. cancel() {
  385. this.inputShow = false
  386. this.inputStatus = 'none'
  387. this.genderShow = false
  388. },
  389. myAccount() {
  390. uni.navigateTo({
  391. url: `/pageA/pages/contract`
  392. })
  393. },
  394. logout() {
  395. const that = this
  396. uni.showModal({
  397. title: '询问',
  398. content: '您确定要退出吗?',
  399. cancelText: '取消',
  400. confirmText: '确定',
  401. success: (e) => {
  402. if (e.confirm) {
  403. uni.clearStorageSync();
  404. that.$store.commit('logout')
  405. that.$api.logout()
  406. uni.navigateTo({
  407. url: `/pages/public/login`
  408. })
  409. }
  410. }
  411. })
  412. },
  413. /**
  414. * 统一跳转接口,拦截未登录路由
  415. * navigator标签现在默认没有转场动画,所以用view
  416. */
  417. navTo(url) {
  418. if (!this.hasLogin) {
  419. url = '/pages/public/login';
  420. }
  421. uni.navigateTo({
  422. url
  423. })
  424. },
  425. mycarClick(carNo) {
  426. this.modalName = null
  427. uni.navigateTo({
  428. url: `/pageB/car/mycar_detail?carNo=${carNo}`
  429. })
  430. },
  431. qrClick(userInfo) {
  432. this.modalName = null
  433. uni.navigateTo({
  434. url: `/pages/user/qr`
  435. })
  436. },
  437. scanCode() {
  438. uni.scanCode({
  439. success: function(res) {
  440. uni.navigateTo({
  441. url: res.result
  442. })
  443. }
  444. })
  445. },
  446. hideModal(e) {
  447. this.modalName = null
  448. },
  449. }
  450. }
  451. </script>
  452. <style lang='scss' scoped>
  453. .container {
  454. padding-top: 85px;
  455. background-color: #F5F6FA;
  456. position: relative;
  457. width: 100vw;
  458. height: 100vh;
  459. overflow: hidden;
  460. background: url('~@/static/img/login/bg.png');
  461. background-size: 100% 100%;
  462. margin: 0 auto;
  463. }
  464. .cu-tag.badge {
  465. right: 26rpx;
  466. }
  467. .path {
  468. color: #007aff;
  469. display: inline-block;
  470. text-align: center;
  471. }
  472. .icon {
  473. margin-right: 10rpx;
  474. }
  475. .portrait-box {
  476. margin-top: 20rpx;
  477. }
  478. .qr-wrap {
  479. margin-top: 20upx;
  480. color: #fff;
  481. font-size: 32rpx;
  482. }
  483. .cu-list {
  484. /* height: 483rpx;
  485. overflow-y: scroll; */
  486. margin-top: 42rpx;
  487. margin-bottom: 80rpx;
  488. }
  489. .badge_user {
  490. color: #fff;
  491. background-color: #dc3545;
  492. display: inline-block;
  493. padding: .25em .4em;
  494. font-size: 75%;
  495. font-weight: 700;
  496. line-height: 1;
  497. text-align: center;
  498. white-space: nowrap;
  499. vertical-align: top;
  500. border-radius: 50%;
  501. transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  502. }
  503. @keyframes move_wave {
  504. 0% {
  505. transform: translateX(0) translateZ(0) scaleY(1)
  506. }
  507. 50% {
  508. transform: translateX(-25%) translateZ(0) scaleY(0.55)
  509. }
  510. 100% {
  511. transform: translateX(-50%) translateZ(0) scaleY(1)
  512. }
  513. }
  514. .bg {
  515. position: relative;
  516. height: 300rpx;
  517. /* background: linear-gradient(to bottom, #56ccf2, #2f80ed); */
  518. /*background: linear-gradient(to bottom, #0be9fe, #4bb0fe); */
  519. background: linear-gradient(to bottom, #d5f8ff, #56ccf2);
  520. }
  521. .bg_ware {
  522. position: absolute;
  523. left: 0;
  524. bottom: -2rpx;
  525. width: 100%;
  526. mix-blend-mode: screen;
  527. height: 224rpx;
  528. }
  529. %flex-center {
  530. display: flex;
  531. flex-direction: column;
  532. justify-content: center;
  533. align-items: center;
  534. }
  535. %section {
  536. display: flex;
  537. justify-content: space-around;
  538. align-content: center;
  539. background: #fff;
  540. border-radius: 10upx;
  541. }
  542. .grid-item-box {
  543. flex: 1;
  544. /* position: relative;
  545. */
  546. /* #ifndef APP-NVUE */
  547. display: flex;
  548. /* #endif */
  549. flex-direction: column;
  550. align-items: center;
  551. justify-content: center;
  552. padding: 15px 0;
  553. }
  554. .image {
  555. width: 80rpx;
  556. height: 80rpx;
  557. }
  558. .text {
  559. font-size: 26rpx;
  560. margin-top: 10rpx;
  561. }
  562. .user-section {
  563. height: 520upx;
  564. padding: 100upx 30upx 0;
  565. position: relative;
  566. .bg {
  567. position: absolute;
  568. left: 0;
  569. top: 0;
  570. width: 100%;
  571. height: 100%;
  572. filter: blur(1px);
  573. box-shadow: 0px 1px 8px #ccc;
  574. /* background:linear-gradient(#0eb0c9,#126bae); */
  575. /* opacity: .7; */
  576. }
  577. }
  578. .user-info-box {
  579. height: 180upx;
  580. /* display:flex; */
  581. /* align-items:center; */
  582. text-align: center;
  583. position: relative;
  584. z-index: 1;
  585. .portrait {
  586. width: 130upx;
  587. height: 130upx;
  588. border: 5upx solid #fff;
  589. border-radius: 50%;
  590. }
  591. .username {
  592. font-size: $font-lg + 3upx;
  593. color: #fff;
  594. margin-top: 20upx;
  595. }
  596. }
  597. .vip-card-box {
  598. display: flex;
  599. flex-direction: column;
  600. color: #f7d680;
  601. height: 240upx;
  602. background: linear-gradient(left, rgba(0, 0, 0, .7), rgba(0, 0, 0, .8));
  603. border-radius: 16upx 16upx 0 0;
  604. overflow: hidden;
  605. position: relative;
  606. padding: 20upx 24upx;
  607. .card-bg {
  608. position: absolute;
  609. top: 20upx;
  610. right: 0;
  611. width: 380upx;
  612. height: 260upx;
  613. }
  614. .b-btn {
  615. position: absolute;
  616. right: 20upx;
  617. top: 16upx;
  618. width: 132upx;
  619. height: 40upx;
  620. text-align: center;
  621. line-height: 40upx;
  622. font-size: 22upx;
  623. color: #36343c;
  624. border-radius: 20px;
  625. background: linear-gradient(left, #f9e6af, #ffd465);
  626. z-index: 1;
  627. }
  628. .tit {
  629. font-size: $font-base+2upx;
  630. color: #f7d680;
  631. margin-bottom: 28upx;
  632. .yticon {
  633. color: #f6e5a3;
  634. margin-right: 16upx;
  635. }
  636. }
  637. .e-b {
  638. font-size: $font-sm;
  639. color: #d8cba9;
  640. margin-top: 10upx;
  641. }
  642. }
  643. .cover-container {
  644. padding: 1px 10px ;
  645. padding-bottom: 200upx;
  646. background-color: #F5F6FA;
  647. /* border-radius: 20px; */
  648. margin-top: 60upx;
  649. .arc {
  650. position: absolute;
  651. left: 0;
  652. top: -34upx;
  653. width: 100%;
  654. height: 36upx;
  655. }
  656. }
  657. .tj-sction {
  658. @extend %section;
  659. .tj-item {
  660. @extend %flex-center;
  661. flex-direction: column;
  662. height: 140upx;
  663. font-size: $font-sm;
  664. color: #75787d;
  665. }
  666. .num {
  667. font-size: $font-lg;
  668. color: $font-color-dark;
  669. margin-bottom: 8upx;
  670. }
  671. }
  672. .order-section {
  673. @extend %section;
  674. padding: 28upx 0;
  675. margin-top: 20upx;
  676. .order-item {
  677. @extend %flex-center;
  678. width: 120upx;
  679. height: 120upx;
  680. border-radius: 10upx;
  681. font-size: $font-sm;
  682. color: $font-color-dark;
  683. }
  684. .yticon {
  685. font-size: 48upx;
  686. margin-bottom: 18upx;
  687. color: #fa436a;
  688. }
  689. .icon-shouhoutuikuan {
  690. font-size: 44upx;
  691. }
  692. }
  693. .history-section {
  694. padding: 30upx 0 0;
  695. margin-top: 20upx;
  696. background: #fff;
  697. border-radius: 10upx;
  698. .sec-header {
  699. display: flex;
  700. align-items: center;
  701. font-size: $font-base;
  702. color: $font-color-dark;
  703. line-height: 40upx;
  704. margin-left: 30upx;
  705. .yticon {
  706. font-size: 44upx;
  707. color: #5eba8f;
  708. margin-right: 16upx;
  709. line-height: 40upx;
  710. }
  711. }
  712. .h-list {
  713. white-space: nowrap;
  714. padding: 30upx 30upx 0;
  715. image {
  716. display: inline-block;
  717. width: 160upx;
  718. height: 160upx;
  719. margin-right: 20upx;
  720. border-radius: 10upx;
  721. }
  722. }
  723. }
  724. .grid {
  725. display: flex;
  726. align-items: center;
  727. flex-wrap: wrap;
  728. /* border-top: 2upx solid rgba(172,172,172,.2); */
  729. .grid-item-3 {
  730. box-sizing: border-box;
  731. width: calc(100% / 3);
  732. border-bottom: 2upx solid rgba(172, 172, 172, .2);
  733. border-right: 2upx solid rgba(172, 172, 172, .2);
  734. text-align: center;
  735. padding: 40upx 0;
  736. position: relative;
  737. /* view{
  738. font-size: $font-sm;
  739. margin-top: 16upx;
  740. color: $font-color-dark;
  741. } */
  742. .grid_icon {
  743. font-size: 48upx;
  744. margin-bottom: 18upx;
  745. color: #fa436a;
  746. }
  747. .tip_text {
  748. display: block;
  749. padding: 4upx 8upx;
  750. text-align: center;
  751. border-radius: 36upx;
  752. font-size: 24upx;
  753. background-color: #fa436a;
  754. color: rgba(255, 255, 255, 1);
  755. position: absolute;
  756. right: 6upx;
  757. top: 6upx;
  758. }
  759. }
  760. .grid-item-3:nth-child(3n + 3),
  761. .grid-item-4:nth-child(4n + 4) {
  762. border-right: none;
  763. }
  764. }
  765. .headPortrait {
  766. width: 75px;
  767. height: 75px;
  768. border-radius: 40px;
  769. margin-left: 20px;
  770. border: 2px solid #ffffff;
  771. }
  772. .personal {
  773. margin-top: 10px;
  774. margin-left: 20px;
  775. }
  776. .information {
  777. font-size: 15px;
  778. font-weight: 600;
  779. height: 36px;
  780. }
  781. .indexlow{
  782. /* margin-top: 30px; */
  783. border-radius: 20px;
  784. }
  785. .sign{
  786. width: 18px;
  787. height: 18px;
  788. top: 4px;
  789. margin-right: 6px;
  790. }
  791. </style>