index.vue 20 KB

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