index.vue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802
  1. <template>
  2. <view class="work-container">
  3. <view style="work-banner">
  4. <image :src="loadImgSrc('work-banner.png')" style="width: 100%;height:43vh"></image>
  5. <view style="float: left;top: 100px;margin-left: 20px;">{{nickName}}:欢迎登录</view>
  6. </view>
  7. <view class="grid-body">
  8. <view class="Grid">
  9. <view class="Grid-Item" v-for="item in List" :key="item.id" @click="navClick(item.id)"
  10. hover-class="click-hover" hover-start-time="50" hover-stay-time="50"
  11. v-if="userRole.includes(item.title)">
  12. <image class="icon-item" :src="loadImgSrc('mygc.png')" v-if="item.title == '民用工程'"></image>
  13. <image class="icon-item" :src="loadImgSrc('gygc.png')" v-if="item.title == '工业工程'"></image>
  14. <image class="icon-item" :src="loadImgSrc('szgc.png')" v-if="item.title == '市政工程'"></image>
  15. <image class="icon-item" :src="loadImgSrc('wxzy.png')" v-if="item.title == '危险作业工程'"></image>
  16. <image class="icon-item" :src="loadImgSrc('dggc.png')" v-if="item.title == '顶管工程'"></image>
  17. <image class="icon-item" :src="loadImgSrc('jjgc.png')" v-if="item.title == '基建工程'"></image>
  18. <image class="icon-item" :src="loadImgSrc('open_bolt.png')" v-if="item.title == '开栓'"></image>
  19. <view class="GStitle">{{ item.title }}</view>
  20. </view>
  21. </view>
  22. <view v-if="showPopup" class="popup">
  23. <view class="content">
  24. <view class="line1 top40">
  25. <view style="width: 61rpx;
  26. color: #CEB98D;
  27. height: 61rpx;
  28. display: flex;
  29. justify-content: center;
  30. align-items: center;
  31. border: 3px solid #CEB98D;
  32. border-radius: 50%; margin-right: 20rpx;">旧</view>
  33. <view>旧改工程</view>
  34. </view>
  35. <view class="line2 btn-grp">
  36. <view class="btn-grp-item" v-for="(item, index) in OldProjectList" :key="index"
  37. @click="OldProject(item)">
  38. <image :src="loadImgSrc('sn.png')" class="line2-btn-big" v-if="item.dictLabel == '室内工程'">
  39. </image>
  40. <image :src="loadImgSrc('ty.png')" class="line2-btn-big" v-if="item.dictLabel == '庭院工程'">
  41. </image>
  42. <image :src="loadImgSrc('jk.png')" class="line2-btn-big" v-if="item.dictLabel == '架空'">
  43. </image>
  44. <image :src="loadImgSrc('dt.png')" class="line2-btn-big" v-if="item.dictLabel == '底腿'">
  45. </image>
  46. <image :src="loadImgSrc('gd.png')" class="line2-btn-big" v-if="item.dictLabel == '管道施工记录'">
  47. </image>
  48. {{item.dictLabel}}
  49. </view>
  50. </view>
  51. <view class="line1">
  52. <view style="width: 61rpx;
  53. color: #85c9c2;
  54. height: 61rpx;
  55. display: flex;
  56. justify-content: center;
  57. align-items: center;
  58. border: 3px solid #85c9c2;
  59. border-radius: 50%; margin-right: 20rpx;">新</view>
  60. <view>新建工程</view>
  61. </view>
  62. <view class="line2 btn-grp">
  63. <view class="btn-grp-item" v-for="(item, index) in NewProjectList" :key="index"
  64. @click="NewProject(item)">
  65. <image :src="loadImgSrc('sn2.png')" class="line2-btn-big" v-if="item.dictLabel == '室内工程'">
  66. </image>
  67. <image :src="loadImgSrc('ty2.png')" class="line2-btn-big" v-if="item.dictLabel == '庭院工程'">
  68. </image>
  69. <image :src="loadImgSrc('jk2.png')" class="line2-btn-big" v-if="item.dictLabel == '架空'">
  70. </image>
  71. <image :src="loadImgSrc('dt2.png')" class="line2-btn-big" v-if="item.dictLabel == '底腿'">
  72. </image>
  73. <image :src="loadImgSrc('gd2.png')" class="line2-btn-big" v-if="item.dictLabel == '管道施工记录'">
  74. </image>
  75. {{item.dictLabel}}
  76. </view>
  77. </view>
  78. </view>
  79. <!-- <view class="btn-group">
  80. <view class="btn_position">
  81. <view class="cancel" @click="showMinYong">取消</view>
  82. </view>
  83. </view> -->
  84. </view>
  85. <view v-if="showPopup" class="mask" @click="showMinYong"></view>
  86. </view>
  87. <view class="share">
  88. <view :class="{'share-box': shareState}" @click="handleHiddenShare">
  89. </view>
  90. <view class="share-item" :class="{'share-show': shareState}">
  91. <view class="share-to">
  92. <text>请选择</text>
  93. </view>
  94. <scroll-view scroll-y="true" class="scroll-Y">
  95. <view class="content">
  96. <view class="block" v-for="(item, index) in typeList" :key="index" @click="showTypeSheet(item)">
  97. <!-- <image :src="item.image" mode="aspectFill"></image> -->
  98. <text>{{item.dictLabel}}</text>
  99. </view>
  100. </view>
  101. </scroll-view>
  102. <view class="cancel" @click.stop="handleHiddenShare">
  103. <text>取消</text>
  104. </view>
  105. </view>
  106. </view>
  107. </view>
  108. </view>
  109. </template>
  110. <script>
  111. import {
  112. getDicts
  113. } from "@/api/system/dict/data";
  114. import {
  115. getUserRole
  116. } from '@/utils/auth';
  117. import user from '@/store/modules/user'
  118. export default {
  119. data() {
  120. return {
  121. nickName: user.state.nickName,
  122. userRole: getUserRole(),
  123. showPopup: false,
  124. shareState: false,
  125. array: [],
  126. projectType: '', //工程类型
  127. OldProjectList: '', //旧改工程
  128. NewProjectList: '', //民用工程
  129. typeList: '', //二次弹窗数据
  130. enginType: '',
  131. enginClassification: '', // 旧改节点 数据字典
  132. enginClassValue: '', //二次节点 数据字典
  133. current: 0,
  134. swiperDotIndex: 0,
  135. List: [{
  136. id: 1,
  137. img: '/static/logo.png',
  138. title: '民用工程'
  139. },
  140. {
  141. id: 2,
  142. img: '/static/logo.png',
  143. title: '工业工程'
  144. },
  145. {
  146. id: 3,
  147. img: '/static/logo.png',
  148. title: '市政工程'
  149. },
  150. {
  151. id: 4,
  152. img: '/static/logo.png',
  153. title: '危险作业工程'
  154. },
  155. {
  156. id: 5,
  157. img: '/static/logo.png',
  158. title: '顶管工程'
  159. },
  160. {
  161. id: 6,
  162. img: '/static/logo.png',
  163. title: '基建工程'
  164. },
  165. {
  166. id: 7,
  167. img: '/static/logo.png',
  168. title: '开栓'
  169. },
  170. ]
  171. }
  172. },
  173. methods: {
  174. navClick(newId) {
  175. if (newId == 1) {
  176. this.showMinYong()
  177. } else if (newId == 2) {
  178. this.showGongYe();
  179. } else if (newId == 3) {
  180. this.municipalProjectClick();
  181. } else if (newId == 4) {
  182. this.showDangerous();
  183. } else if (newId == 5) {
  184. this.showTopPipe();
  185. } else if (newId == 6) {
  186. this.showInfrastructureDialog();
  187. } else if (newId == 7) {
  188. this.showOpenBolt();
  189. }
  190. },
  191. // 显示二次弹窗
  192. handleShowSheet() {
  193. this.shareState = true;
  194. },
  195. // 隐藏二次弹窗
  196. handleHiddenShare() {
  197. this.shareState = false;
  198. },
  199. showMinYong() {
  200. this.projectType = 'MinYong';
  201. getDicts("old_renovation").then(response => {
  202. this.OldProjectList = response.data;
  203. });
  204. getDicts("new_built").then(response => {
  205. this.NewProjectList = response.data;
  206. });
  207. this.showPopup = !this.showPopup;
  208. },
  209. //市政工程-首页-点击事件
  210. municipalProjectClick() {
  211. let obj = {
  212. value: '市政工程'
  213. };
  214. uni.navigateTo({
  215. url: '/pages/municipal/municipal?params=' + encodeURIComponent(JSON
  216. .stringify(obj))
  217. });
  218. },
  219. NewProject(e) {
  220. this.enginType = 'new_built'; //写死
  221. this.enginClassification = e.dictValue;
  222. this.enginClassValue = e.dictLabel; //(拆旧管等 字典值)
  223. this.typeList = ''; //置空
  224. if (e.dictValue == 'indoor_engin') {
  225. //新建室内
  226. getDicts("new_built_indoor_engin").then(response => {
  227. this.typeList = response.data;
  228. });
  229. this.handleShowSheet();
  230. } else if (e.dictValue == 'courtyard') {
  231. //新建庭院
  232. getDicts("new_built_courtyard").then(response => {
  233. this.typeList = response.data;
  234. });
  235. this.handleShowSheet();
  236. } else if (e.dictValue == 'overhead') {
  237. //新建架空
  238. getDicts("new_built_overhead").then(response => {
  239. this.typeList = response.data;
  240. });
  241. this.handleShowSheet();
  242. } else if (e.dictValue == 'bottom_leg') {
  243. //新建底腿
  244. const obj = {
  245. enginClassValue: this.enginClassValue, //(拆旧管等 字典值)
  246. enginType: this.enginType, //旧改 还是新建 写死
  247. enginClassification: this.enginClassification //室内 庭院 架空
  248. };
  249. uni.navigateTo({
  250. url: '/pages/bottom_leg/bottom_leg?params=' + encodeURIComponent(JSON
  251. .stringify(
  252. obj))
  253. })
  254. } else if (e.dictValue == 'construction_records') {
  255. //新建管道施工记录
  256. const obj = {
  257. enginClassValue: this.enginClassValue, //(拆旧管等 字典值)
  258. enginType: this.enginType, //旧改 还是新建 写死
  259. enginClassification: this.enginClassification //室内 庭院 架空
  260. };
  261. uni.navigateTo({
  262. url: '/pages/piping_record/piping_record?params=' + encodeURIComponent(JSON
  263. .stringify(
  264. obj))
  265. })
  266. }
  267. },
  268. OldProject(e) {
  269. this.enginType = 'old_renovation'; //写死
  270. this.enginClassification = e.dictValue;
  271. this.enginClassValue = e.dictLabel; //(拆旧管等 字典值)
  272. this.typeList = ''; //置空
  273. if (e.dictValue == 'indoor_engin') {
  274. //旧改室内
  275. getDicts("old_renovation_indoor_engin").then(response => {
  276. this.typeList = response.data;
  277. });
  278. this.handleShowSheet();
  279. } else if (e.dictValue == 'courtyard') {
  280. //旧改庭院
  281. getDicts("old_renovation_courtyard").then(response => {
  282. this.typeList = response.data;
  283. });
  284. this.handleShowSheet();
  285. } else if (e.dictValue == 'overhead') {
  286. //旧改架空
  287. getDicts("old_renovation_overhead").then(response => {
  288. this.typeList = response.data;
  289. });
  290. this.handleShowSheet();
  291. } else if (e.dictValue == 'bottom_leg') {
  292. //旧改底腿
  293. const obj = {
  294. enginClassValue: this.enginClassValue, //(拆旧管等 字典值)
  295. enginType: this.enginType, //旧改 还是新建 写死
  296. enginClassification: this.enginClassification //室内 庭院 架空
  297. };
  298. uni.navigateTo({
  299. url: '/pages/bottom_leg/bottom_leg?params=' + encodeURIComponent(JSON
  300. .stringify(
  301. obj))
  302. })
  303. } else if (e.dictValue == 'construction_records') {
  304. //旧改管道施工记录
  305. const obj = {
  306. enginClassValue: this.enginClassValue, //(拆旧管等 字典值)
  307. enginType: this.enginType, //旧改 还是新建 写死
  308. enginClassification: this.enginClassification //室内 庭院 架空
  309. };
  310. uni.navigateTo({
  311. url: '/pages/piping_record/piping_record?params=' + encodeURIComponent(JSON
  312. .stringify(
  313. obj))
  314. })
  315. }
  316. },
  317. //二次弹窗 选择类型
  318. showTypeSheet(item) {
  319. if (this.projectType == 'MinYong') {
  320. //this.showPopup = !this.showPopup; //隐藏第一次弹窗
  321. this.enginClassValue = item.dictValue; //二次节点赋值
  322. const obj = {
  323. enginClassValue: this.enginClassValue, //(拆旧管等 字典值)
  324. enginType: this.enginType, //旧改 还是新建 写死
  325. enginClassification: this.enginClassification //室内 庭院 架空
  326. };
  327. //this.handleHiddenShare();
  328. // 室内
  329. if (this.enginClassification == 'indoor_engin') {
  330. uni.navigateTo({
  331. url: '/pages/oldrenovation/indoor/indoor?params=' + encodeURIComponent(JSON.stringify(
  332. obj))
  333. })
  334. }
  335. // 庭院
  336. else if (this.enginClassification == 'courtyard') {
  337. if (this.enginClassValue == '下沟') {
  338. uni.navigateTo({
  339. url: '/pages/oldrenovation/courtyard/courtyard?params=' + encodeURIComponent(
  340. JSON
  341. .stringify(
  342. obj))
  343. })
  344. } else {
  345. uni.navigateTo({
  346. url: '/pages/oldrenovation/courtyard/newcourtyard?params=' + encodeURIComponent(
  347. JSON
  348. .stringify(
  349. obj))
  350. })
  351. }
  352. } else if (this.enginClassification == 'overhead') { //架空
  353. if (this.enginClassValue == '全貌照片') {
  354. uni.navigateTo({
  355. url: '/pages/oldrenovation/overhead/newoverhead?params=' + encodeURIComponent(JSON
  356. .stringify(
  357. obj))
  358. })
  359. } else {
  360. uni.navigateTo({
  361. url: '/pages/oldrenovation/overhead/overhead?params=' + encodeURIComponent(JSON
  362. .stringify(
  363. obj))
  364. })
  365. }
  366. }
  367. } else if (this.projectType == 'GongYe') {
  368. let obj = {
  369. value: item.dictValue
  370. };
  371. //this.handleHiddenShare();
  372. uni.navigateTo({
  373. url: '/pages/enginproject/enginproject?params=' + encodeURIComponent(JSON
  374. .stringify(
  375. obj))
  376. })
  377. } else if (this.projectType == 'JiJian') {
  378. let obj = {
  379. value: item.dictValue
  380. };
  381. //this.handleHiddenShare();
  382. uni.navigateTo({
  383. url: '/pages/infrastructure/infrastructure?params=' + encodeURIComponent(JSON
  384. .stringify(
  385. obj))
  386. })
  387. } else if (this.projectType == 'DingGuan') {
  388. let obj = {
  389. value: item.dictValue
  390. };
  391. //this.handleHiddenShare();
  392. uni.navigateTo({
  393. url: '/pages/TopPipeWork/TopPipeWork?params=' + encodeURIComponent(JSON
  394. .stringify(
  395. obj))
  396. })
  397. }
  398. },
  399. showGongYe() {
  400. this.projectType = 'GongYe';
  401. //工业工程
  402. getDicts("engin_classification").then(response => {
  403. this.typeList = response.data;
  404. });
  405. this.handleShowSheet();
  406. },
  407. showTopPipe() {
  408. this.projectType = 'DingGuan';
  409. getDicts("pipe_jack").then(response => {
  410. this.typeList = response.data;
  411. });
  412. this.handleShowSheet();
  413. },
  414. showInfrastructureDialog() {
  415. this.projectType = 'JiJian';
  416. //基建工程
  417. getDicts("engineering_infrastructure").then(response => {
  418. this.typeList = response.data;
  419. });
  420. this.handleShowSheet();
  421. },
  422. showDangerous() {
  423. uni.navigateTo({
  424. url: '/pages/dangerous/dangerous'
  425. })
  426. },
  427. showOpenBolt() {
  428. uni.navigateTo({
  429. url: '/pages/open_bolt/open_bolt'
  430. })
  431. }
  432. }
  433. }
  434. </script>
  435. <style lang="scss">
  436. /* #ifndef APP-NVUE */
  437. page {
  438. display: flex;
  439. flex-direction: column;
  440. box-sizing: border-box;
  441. background-color: #fff;
  442. min-height: 100%;
  443. height: auto;
  444. }
  445. view {
  446. font-size: 14px;
  447. line-height: inherit;
  448. }
  449. .work-container {
  450. display: flex;
  451. flex-direction: column;
  452. }
  453. /* #endif */
  454. .text {
  455. text-align: center;
  456. font-size: 26rpx;
  457. margin-top: 10rpx;
  458. }
  459. .grid-item-box {
  460. flex: 1;
  461. /* #ifndef APP-NVUE */
  462. display: flex;
  463. /* #endif */
  464. flex-direction: column;
  465. align-items: center;
  466. justify-content: center;
  467. padding: 15px 0;
  468. }
  469. .uni-margin-wrap {
  470. width: 690rpx;
  471. width: 100%;
  472. ;
  473. }
  474. .swiper {
  475. height: 300rpx;
  476. }
  477. .swiper-box {
  478. height: 150px;
  479. }
  480. .swiper-item {
  481. /* #ifndef APP-NVUE */
  482. display: flex;
  483. /* #endif */
  484. flex-direction: column;
  485. justify-content: center;
  486. align-items: center;
  487. color: #fff;
  488. height: 300rpx;
  489. line-height: 300rpx;
  490. }
  491. @media screen and (min-width: 500px) {
  492. .uni-swiper-dot-box {
  493. width: 400px;
  494. /* #ifndef APP-NVUE */
  495. margin: 0 auto;
  496. /* #endif */
  497. margin-top: 8px;
  498. }
  499. .image {
  500. width: 100%;
  501. }
  502. }
  503. // 弹窗效果
  504. .popup {
  505. position: fixed;
  506. bottom: 0;
  507. left: 0;
  508. width: 100%;
  509. background-color: #fff;
  510. // padding: 20rpx;
  511. box-sizing: border-box;
  512. z-index: 999;
  513. border-top-left-radius: 40rpx;
  514. border-top-right-radius: 40rpx;
  515. }
  516. // 遮罩层
  517. .mask {
  518. position: fixed;
  519. top: 0;
  520. left: 0;
  521. width: 100%;
  522. height: 100%;
  523. background-color: rgba(0, 0, 0, 0.5);
  524. z-index: 888;
  525. }
  526. // 弹窗内容
  527. .content {
  528. .top40 {
  529. margin-top: 30rpx;
  530. }
  531. .line1 {
  532. text-align: center;
  533. display: flex;
  534. justify-content: start;
  535. align-items: center;
  536. padding: 20rpx;
  537. }
  538. .btn-grp {
  539. display: flex;
  540. .btn-grp-item {
  541. width: 33%;
  542. display: flex;
  543. flex-direction: column;
  544. align-items: center;
  545. text-align: center;
  546. .line2-btn-big {
  547. width: 90rpx;
  548. height: 90rpx;
  549. margin-bottom: 10rpx;
  550. }
  551. }
  552. }
  553. .line2 {
  554. padding: 20rpx;
  555. // border-bottom: 1px solid black;
  556. view {
  557. margin-bottom: 10rpx;
  558. }
  559. }
  560. }
  561. // 按钮样式
  562. .btn-group {
  563. box-shadow: 0px -2px 6px rgba(0, 0, 0, 0.5);
  564. /* 示例阴影参数,根据需要进行调整 */
  565. .btn_position {
  566. display: flex;
  567. width: 100%;
  568. .cancel {
  569. width: 50%;
  570. text-align: center;
  571. padding: 20rpx 0;
  572. color: #519fe7;
  573. }
  574. .submit {
  575. width: 50%;
  576. background-color: #519fe7;
  577. text-align: center;
  578. padding: 20rpx 0;
  579. color: #fff;
  580. }
  581. }
  582. }
  583. .share {
  584. width: 100%;
  585. height: 100%;
  586. }
  587. .share-box {
  588. width: 100%;
  589. height: 100%;
  590. position: fixed;
  591. top: 0rpx;
  592. left: 0rpx;
  593. bottom: 0rpx;
  594. right: 0rpx;
  595. background-color: rgba(0, 0, 0, 0.4);
  596. transition: .3s;
  597. z-index: 999;
  598. }
  599. // 进入分享动画
  600. .share-show {
  601. transition: all 0.3s ease;
  602. transform: translateY(0%) !important;
  603. }
  604. .scroll-Y {
  605. height: 350rpx;
  606. }
  607. // 离开分享动画
  608. .share-item {
  609. position: fixed;
  610. left: 0;
  611. bottom: 0;
  612. width: 100%;
  613. height: auto;
  614. background-color: #FFFFFF;
  615. transition: all 0.3s ease;
  616. transform: translateY(100%);
  617. z-index: 1999;
  618. border-top-left-radius: 40rpx;
  619. border-top-right-radius: 40rpx;
  620. .share-to {
  621. width: 100%;
  622. height: 3rem;
  623. display: flex;
  624. justify-content: center;
  625. align-items: center;
  626. &::after {
  627. content: '';
  628. width: 240rpx;
  629. height: 0rpx;
  630. border-top: 1px solid #E4E7ED;
  631. -webkit-transform: scaleY(0.5);
  632. transform: scaleY(0.5);
  633. margin-left: 30rpx;
  634. }
  635. &::before {
  636. content: '';
  637. width: 240rpx;
  638. height: 0rpx;
  639. border-top: 1px solid #E4E7ED;
  640. -webkit-transform: scaleY(0.5);
  641. transform: scaleY(0.5);
  642. margin-right: 30rpx;
  643. }
  644. }
  645. .content {
  646. width: 100%;
  647. height: 50%;
  648. display: flex;
  649. flex-wrap: wrap;
  650. .block {
  651. width: 100%;
  652. display: flex;
  653. flex-direction: column;
  654. justify-content: center;
  655. align-items: center;
  656. height: 80rpx;
  657. text {
  658. margin-top: 16rpx;
  659. font-size: 28rpx;
  660. color: #606266;
  661. }
  662. }
  663. }
  664. .cancel {
  665. width: 100%;
  666. height: 3rem;
  667. display: flex;
  668. justify-content: center;
  669. align-items: center;
  670. border-top: 1rpx solid #E4E7ED;
  671. }
  672. }
  673. /*********************九宫格********************* */
  674. .Grid {
  675. display: flex;
  676. flex-wrap: wrap;
  677. justify-content: space-between;
  678. align-content: space-between;
  679. // background: #f7f7f7;
  680. padding: 10rpx 0;
  681. .Grid-Item {
  682. width: 50%;
  683. // height: 100px;
  684. text-align: center;
  685. // border: 1rpx solid #ff0000;
  686. box-sizing: border-box;
  687. .icon-item {
  688. width: 220rpx;
  689. height: 220rpx;
  690. }
  691. .GSimg {
  692. width: 96rpx;
  693. height: 96rpx;
  694. margin-top: 42rpx;
  695. margin-left: 75rpx;
  696. .Image {
  697. width: 96rpx;
  698. height: 96rpx;
  699. }
  700. }
  701. .GStitle {
  702. width: 100%;
  703. color: #516d97;
  704. font-size: 28rpx;
  705. text-align: center;
  706. margin-top: -30rpx;
  707. margin-bottom: 30rpx;
  708. }
  709. }
  710. }
  711. .click-hover {
  712. background-color: #d0d0d0;
  713. }
  714. </style>