index.vue 18 KB

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