user.vue 18 KB

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