user.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869
  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 (!this.hasLogin) {
  352. uni.showModal({
  353. title: '登录提示',
  354. content: '您尚未登录,是否立即登录?',
  355. showCancel: true,
  356. confirmText: '登录',
  357. success: (e) => {
  358. if (e.confirm) {
  359. uni.navigateTo({
  360. url: '/pages/public/login'
  361. })
  362. }
  363. },
  364. fail: () => {},
  365. complete: () => {}
  366. })
  367. }else {
  368. if (item.url) {
  369. uni.navigateTo({
  370. url: item.url + `?companyId=${that.companyId}`
  371. })
  372. }
  373. }
  374. },
  375. toLogin() {
  376. if (!this.hasLogin) {
  377. uni.navigateTo({
  378. url: '/pages/public/login'
  379. })
  380. }
  381. // else if(!this.userInfo.nickname){
  382. // this.inputShow = true
  383. // this.inputStatus = 'inline'
  384. // this.feild = "nickname"
  385. // this.inputContent = ''
  386. // }
  387. },
  388. confirm() {
  389. const that = this
  390. if (!that.inputContent) {
  391. that.$api.msg('输入不能为空')
  392. return
  393. }
  394. let obj = {}
  395. obj[that.feild] = that.inputContent
  396. that.$api.request('user', 'syncUserInfo', obj).then(res => {
  397. that.userInfo.nickname = that.inputContent
  398. that.inputContent = ''
  399. that.$store.commit('login', that.userInfo)
  400. })
  401. },
  402. cancel() {
  403. this.inputShow = false
  404. this.inputStatus = 'none'
  405. this.genderShow = false
  406. },
  407. myAccount() {
  408. uni.navigateTo({
  409. url: `/pageA/pages/contract`
  410. })
  411. },
  412. logout() {
  413. const that = this
  414. uni.showModal({
  415. title: '询问',
  416. content: '您确定要退出吗?',
  417. cancelText: '取消',
  418. confirmText: '确定',
  419. success: (e) => {
  420. if (e.confirm) {
  421. uni.clearStorageSync();
  422. that.$store.commit('logout')
  423. that.$api.logout()
  424. uni.navigateTo({
  425. url: `/pages/public/login`
  426. })
  427. }
  428. }
  429. })
  430. },
  431. /**
  432. * 统一跳转接口,拦截未登录路由
  433. * navigator标签现在默认没有转场动画,所以用view
  434. */
  435. navTo(url) {
  436. if (!this.hasLogin) {
  437. url = '/pages/public/login';
  438. }
  439. uni.navigateTo({
  440. url
  441. })
  442. },
  443. mycarClick(carNo) {
  444. this.modalName = null
  445. uni.navigateTo({
  446. url: `/pageB/car/mycar_detail?carNo=${carNo}`
  447. })
  448. },
  449. qrClick(userInfo) {
  450. this.modalName = null
  451. uni.navigateTo({
  452. url: `/pages/user/qr`
  453. })
  454. },
  455. scanCode() {
  456. uni.scanCode({
  457. success: function(res) {
  458. uni.navigateTo({
  459. url: res.result
  460. })
  461. }
  462. })
  463. },
  464. hideModal(e) {
  465. this.modalName = null
  466. },
  467. }
  468. }
  469. </script>
  470. <style lang='scss' scoped>
  471. .container {
  472. padding-top: 85px;
  473. background-color: #F5F6FA;
  474. position: relative;
  475. width: 100vw;
  476. height: 100vh;
  477. overflow: hidden;
  478. background: url('~@/static/img/login/bg.png');
  479. background-size: 100% 100%;
  480. margin: 0 auto;
  481. }
  482. .cu-tag.badge {
  483. right: 26rpx;
  484. }
  485. .path {
  486. color: #007aff;
  487. display: inline-block;
  488. text-align: center;
  489. }
  490. .icon {
  491. margin-right: 10rpx;
  492. }
  493. .portrait-box {
  494. margin-top: 20rpx;
  495. }
  496. .qr-wrap {
  497. margin-top: 20upx;
  498. color: #fff;
  499. font-size: 32rpx;
  500. }
  501. .cu-list {
  502. /* height: 483rpx;
  503. overflow-y: scroll; */
  504. margin-top: 42rpx;
  505. margin-bottom: 80rpx;
  506. }
  507. .badge_user {
  508. color: #fff;
  509. background-color: #dc3545;
  510. display: inline-block;
  511. padding: .25em .4em;
  512. font-size: 75%;
  513. font-weight: 700;
  514. line-height: 1;
  515. text-align: center;
  516. white-space: nowrap;
  517. vertical-align: top;
  518. border-radius: 50%;
  519. transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  520. }
  521. @keyframes move_wave {
  522. 0% {
  523. transform: translateX(0) translateZ(0) scaleY(1)
  524. }
  525. 50% {
  526. transform: translateX(-25%) translateZ(0) scaleY(0.55)
  527. }
  528. 100% {
  529. transform: translateX(-50%) translateZ(0) scaleY(1)
  530. }
  531. }
  532. .bg {
  533. position: relative;
  534. height: 300rpx;
  535. /* background: linear-gradient(to bottom, #56ccf2, #2f80ed); */
  536. /*background: linear-gradient(to bottom, #0be9fe, #4bb0fe); */
  537. background: linear-gradient(to bottom, #d5f8ff, #56ccf2);
  538. }
  539. .bg_ware {
  540. position: absolute;
  541. left: 0;
  542. bottom: -2rpx;
  543. width: 100%;
  544. mix-blend-mode: screen;
  545. height: 224rpx;
  546. }
  547. %flex-center {
  548. display: flex;
  549. flex-direction: column;
  550. justify-content: center;
  551. align-items: center;
  552. }
  553. %section {
  554. display: flex;
  555. justify-content: space-around;
  556. align-content: center;
  557. background: #fff;
  558. border-radius: 10upx;
  559. }
  560. .grid-item-box {
  561. flex: 1;
  562. /* position: relative;
  563. */
  564. /* #ifndef APP-NVUE */
  565. display: flex;
  566. /* #endif */
  567. flex-direction: column;
  568. align-items: center;
  569. justify-content: center;
  570. padding: 15px 0;
  571. }
  572. .image {
  573. width: 80rpx;
  574. height: 80rpx;
  575. }
  576. .text {
  577. font-size: 26rpx;
  578. margin-top: 10rpx;
  579. }
  580. .user-section {
  581. height: 520upx;
  582. padding: 100upx 30upx 0;
  583. position: relative;
  584. .bg {
  585. position: absolute;
  586. left: 0;
  587. top: 0;
  588. width: 100%;
  589. height: 100%;
  590. filter: blur(1px);
  591. box-shadow: 0px 1px 8px #ccc;
  592. /* background:linear-gradient(#0eb0c9,#126bae); */
  593. /* opacity: .7; */
  594. }
  595. }
  596. .user-info-box {
  597. height: 180upx;
  598. /* display:flex; */
  599. /* align-items:center; */
  600. text-align: center;
  601. position: relative;
  602. z-index: 1;
  603. .portrait {
  604. width: 130upx;
  605. height: 130upx;
  606. border: 5upx solid #fff;
  607. border-radius: 50%;
  608. }
  609. .username {
  610. font-size: $font-lg + 3upx;
  611. color: #fff;
  612. margin-top: 20upx;
  613. }
  614. }
  615. .vip-card-box {
  616. display: flex;
  617. flex-direction: column;
  618. color: #f7d680;
  619. height: 240upx;
  620. background: linear-gradient(left, rgba(0, 0, 0, .7), rgba(0, 0, 0, .8));
  621. border-radius: 16upx 16upx 0 0;
  622. overflow: hidden;
  623. position: relative;
  624. padding: 20upx 24upx;
  625. .card-bg {
  626. position: absolute;
  627. top: 20upx;
  628. right: 0;
  629. width: 380upx;
  630. height: 260upx;
  631. }
  632. .b-btn {
  633. position: absolute;
  634. right: 20upx;
  635. top: 16upx;
  636. width: 132upx;
  637. height: 40upx;
  638. text-align: center;
  639. line-height: 40upx;
  640. font-size: 22upx;
  641. color: #36343c;
  642. border-radius: 20px;
  643. background: linear-gradient(left, #f9e6af, #ffd465);
  644. z-index: 1;
  645. }
  646. .tit {
  647. font-size: $font-base+2upx;
  648. color: #f7d680;
  649. margin-bottom: 28upx;
  650. .yticon {
  651. color: #f6e5a3;
  652. margin-right: 16upx;
  653. }
  654. }
  655. .e-b {
  656. font-size: $font-sm;
  657. color: #d8cba9;
  658. margin-top: 10upx;
  659. }
  660. }
  661. .cover-container {
  662. padding: 1px 10px ;
  663. padding-bottom: 200upx;
  664. background-color: #F5F6FA;
  665. /* border-radius: 20px; */
  666. margin-top: 60upx;
  667. .arc {
  668. position: absolute;
  669. left: 0;
  670. top: -34upx;
  671. width: 100%;
  672. height: 36upx;
  673. }
  674. }
  675. .tj-sction {
  676. @extend %section;
  677. .tj-item {
  678. @extend %flex-center;
  679. flex-direction: column;
  680. height: 140upx;
  681. font-size: $font-sm;
  682. color: #75787d;
  683. }
  684. .num {
  685. font-size: $font-lg;
  686. color: $font-color-dark;
  687. margin-bottom: 8upx;
  688. }
  689. }
  690. .order-section {
  691. @extend %section;
  692. padding: 28upx 0;
  693. margin-top: 20upx;
  694. .order-item {
  695. @extend %flex-center;
  696. width: 120upx;
  697. height: 120upx;
  698. border-radius: 10upx;
  699. font-size: $font-sm;
  700. color: $font-color-dark;
  701. }
  702. .yticon {
  703. font-size: 48upx;
  704. margin-bottom: 18upx;
  705. color: #fa436a;
  706. }
  707. .icon-shouhoutuikuan {
  708. font-size: 44upx;
  709. }
  710. }
  711. .history-section {
  712. padding: 30upx 0 0;
  713. margin-top: 20upx;
  714. background: #fff;
  715. border-radius: 10upx;
  716. .sec-header {
  717. display: flex;
  718. align-items: center;
  719. font-size: $font-base;
  720. color: $font-color-dark;
  721. line-height: 40upx;
  722. margin-left: 30upx;
  723. .yticon {
  724. font-size: 44upx;
  725. color: #5eba8f;
  726. margin-right: 16upx;
  727. line-height: 40upx;
  728. }
  729. }
  730. .h-list {
  731. white-space: nowrap;
  732. padding: 30upx 30upx 0;
  733. image {
  734. display: inline-block;
  735. width: 160upx;
  736. height: 160upx;
  737. margin-right: 20upx;
  738. border-radius: 10upx;
  739. }
  740. }
  741. }
  742. .grid {
  743. display: flex;
  744. align-items: center;
  745. flex-wrap: wrap;
  746. /* border-top: 2upx solid rgba(172,172,172,.2); */
  747. .grid-item-3 {
  748. box-sizing: border-box;
  749. width: calc(100% / 3);
  750. border-bottom: 2upx solid rgba(172, 172, 172, .2);
  751. border-right: 2upx solid rgba(172, 172, 172, .2);
  752. text-align: center;
  753. padding: 40upx 0;
  754. position: relative;
  755. /* view{
  756. font-size: $font-sm;
  757. margin-top: 16upx;
  758. color: $font-color-dark;
  759. } */
  760. .grid_icon {
  761. font-size: 48upx;
  762. margin-bottom: 18upx;
  763. color: #fa436a;
  764. }
  765. .tip_text {
  766. display: block;
  767. padding: 4upx 8upx;
  768. text-align: center;
  769. border-radius: 36upx;
  770. font-size: 24upx;
  771. background-color: #fa436a;
  772. color: rgba(255, 255, 255, 1);
  773. position: absolute;
  774. right: 6upx;
  775. top: 6upx;
  776. }
  777. }
  778. .grid-item-3:nth-child(3n + 3),
  779. .grid-item-4:nth-child(4n + 4) {
  780. border-right: none;
  781. }
  782. }
  783. .headPortrait {
  784. width: 75px;
  785. height: 75px;
  786. border-radius: 40px;
  787. margin-left: 20px;
  788. border: 2px solid #ffffff;
  789. }
  790. .personal {
  791. margin-top: 10px;
  792. margin-left: 20px;
  793. }
  794. .information {
  795. font-size: 15px;
  796. font-weight: 600;
  797. height: 36px;
  798. }
  799. .indexlow{
  800. /* margin-top: 30px; */
  801. border-radius: 20px;
  802. }
  803. .sign{
  804. width: 18px;
  805. height: 18px;
  806. top: 4px;
  807. margin-right: 6px;
  808. }
  809. </style>