index.vue 19 KB

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