index.vue 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682
  1. <template>
  2. <custom-layout class="main">
  3. <el-col :span="24" class="one">
  4. <el-image class="image" :src="chengguo" fit="fill" />
  5. </el-col>
  6. <div class="w_1300">
  7. <div class="two">
  8. <div class="twoSeacher">
  9. <div class="twoLeft">
  10. <span>行业</span>
  11. </div>
  12. <div v-if="!oneShow" class="twoRight">
  13. <div class="label" :class="[item.is_active ? 'show' : '']" v-for="(item, index) in plateList.slice(0, 6)" :key="index" @click="toSelect(item, '1')">
  14. {{ item.title }}
  15. </div>
  16. </div>
  17. <div v-else class="twoRight">
  18. <div class="label" :class="[item.is_active ? 'show' : '']" v-for="(item, index) in plateList" :key="index" @click="toSelect(item, '1')">
  19. {{ item.title }}
  20. </div>
  21. </div>
  22. <div class="button">
  23. <span v-if="!oneShow" @click="oneShow = true">
  24. <el-icon><ArrowDown /></el-icon>
  25. </span>
  26. <span v-else @click="oneShow = false">
  27. <el-icon><ArrowUp /></el-icon>
  28. </span>
  29. </div>
  30. </div>
  31. <div class="twoSeacher">
  32. <div class="twoLeft">
  33. <span>技术领域</span>
  34. </div>
  35. <div v-if="!twoShow" class="twoRight">
  36. <div class="label" :class="[item.is_active ? 'show' : '']" v-for="(item, index) in typeList.slice(0, 10)" :key="index" @click="toSelect(item, '2')">
  37. {{ item.label }}
  38. </div>
  39. </div>
  40. <div v-else class="twoRight">
  41. <div class="label" :class="[item.is_active ? 'show' : '']" v-for="(item, index) in typeList" :key="index" @click="toSelect(item, '2')">
  42. {{ item.label }}
  43. </div>
  44. </div>
  45. <div class="button">
  46. <span v-if="!twoShow" @click="twoShow = true">
  47. <el-icon><ArrowDown /></el-icon>
  48. </span>
  49. <span v-else @click="twoShow = false">
  50. <el-icon><ArrowUp /></el-icon>
  51. </span>
  52. </div>
  53. </div>
  54. <div class="twoSeacher">
  55. <div class="twoLeft">
  56. <span>成熟度</span>
  57. </div>
  58. <div class="twoRight">
  59. <div class="label" :class="[item.is_active ? 'show' : '']" v-for="(item, index) in matureList" :key="index" @click="toSelect(item, '3')">
  60. {{ item.label }}
  61. </div>
  62. </div>
  63. </div>
  64. <div class="twoSeacher">
  65. <div class="twoLeft">
  66. <span>出让方式</span>
  67. </div>
  68. <div class="twoRight">
  69. <div class="label" :class="[item.is_active ? 'show' : '']" v-for="(item, index) in sellList" :key="index" @click="toSelect(item, '4')">
  70. {{ item.label }}
  71. </div>
  72. </div>
  73. </div>
  74. <div class="twoSeacher">
  75. <div class="twoLeft">
  76. <span>价格</span>
  77. </div>
  78. <div class="twoRight">
  79. <div class="label" :class="[item.is_active ? 'show' : '']" v-for="(item, index) in moneyList" :key="index" @click="toSelect(item, '5')">
  80. {{ item.label }}
  81. </div>
  82. </div>
  83. </div>
  84. <div class="twoSeacher border">
  85. <div class="twoLeft">
  86. <span>所在地</span>
  87. </div>
  88. <div class="twoRight">
  89. <div class="label" :class="[item.is_active ? 'show' : '']" v-for="(item, index) in cityList" :key="index" @click="toSelect(item, '6')">
  90. {{ item.name }}
  91. </div>
  92. </div>
  93. </div>
  94. <div class="two_ipunt">
  95. <el-input class="input" clearable size="large" v-model="searchForm.name" placeholder="成果名称" />
  96. <el-input class="input" clearable size="large" v-model="searchForm.tags" placeholder="标签名称" />
  97. <el-input class="input" clearable size="large" v-model="searchForm.source" placeholder="项目来源" />
  98. <el-button class="button" size="large" type="primary" @click="toSearchInfo">检索</el-button>
  99. </div>
  100. </div>
  101. <div class="thr">
  102. <div class="list" v-for="(item, index) in list" :key="index" @click="toView(item)">
  103. <div class="list_1">
  104. <el-image class="image" :src="file[index]" fit="fill" />
  105. <div class="box">
  106. <p class="name textMore">{{ item.name || '暂无' }}</p>
  107. </div>
  108. <div class="list_2" v-if="user && user.id">
  109. <div class="other">
  110. <el-image class="image" :src="one" fit="fill" />
  111. <div class="text textOne">{{ item.field || '暂无' }}</div>
  112. </div>
  113. <div class="other">
  114. <el-image class="image" :src="two" fit="fill" />
  115. <div class="text textOne">{{ item.person || '暂无' }}</div>
  116. </div>
  117. <div class="other">
  118. <el-image class="image" :src="thr" fit="fill" />
  119. <div class="text textOne">{{ item.source || '暂无' }}</div>
  120. </div>
  121. </div>
  122. </div>
  123. </div>
  124. </div>
  125. <div class="four">
  126. <el-pagination background layout="prev, pager, next" :total="total" :page-size="limit" v-model:current-page="currentPage" @current-change="changePage" @size-change="sizeChange" />
  127. </div>
  128. </div>
  129. </custom-layout>
  130. </template>
  131. <script setup>
  132. import { onBeforeRouteLeave } from 'vue-router'
  133. // 图片引入
  134. import chengguo from '/images/chengguo.png'
  135. import bg_1 from '/images/achievement/tec_bg_1.png'
  136. import bg_2 from '/images/achievement/tec_bg_2.png'
  137. import bg_3 from '/images/achievement/tec_bg_3.png'
  138. import bg_4 from '/images/achievement/tec_bg_4.png'
  139. import bg_5 from '/images/achievement/tec_bg_6.png'
  140. import bg_6 from '/images/achievement/tec_bg_8.png'
  141. import bg_7 from '/images/achievement/tec_bg_9.png'
  142. import bg_8 from '/images/achievement/tec_bg_10.png'
  143. import bg_9 from '/images/achievement/tec_bg_7.png'
  144. import one from '/images/achievement/bg-cgyx-list-icon1.png'
  145. import two from '/images/achievement/bg-cgyx-list-icon2.png'
  146. import thr from '/images/achievement/bg-cgyx-list-icon3.png'
  147. import { UserStore } from '@/store/user'
  148. const userStore = UserStore()
  149. const user = computed(() => userStore.user)
  150. const $checkRes = inject('$checkRes')
  151. // 接口
  152. import { AchievementStore } from '@/store/api/platform/achievement'
  153. import { DictDataStore } from '@/store/api/system/dictData'
  154. import { RegionStore } from '@/store/api/system/region'
  155. import { SectorStore } from '@/store/api/platform/sector'
  156. const store = AchievementStore()
  157. const dictDataStore = DictDataStore()
  158. const regionStore = RegionStore()
  159. const sectorStore = SectorStore()
  160. // 路由
  161. const router = useRouter()
  162. const route = useRoute()
  163. // 加载中
  164. const loading = ref(false)
  165. const file = ref([bg_1, bg_2, bg_3, bg_4, bg_5, bg_6, bg_7, bg_8, bg_9, bg_1, bg_2, bg_3])
  166. // 列表
  167. const list = ref([])
  168. let skip = 0
  169. let limit = inject('limit')
  170. const total = ref(0)
  171. // 是否展开
  172. const oneShow = ref(false)
  173. const twoShow = ref(false)
  174. // 字典表
  175. const moneyList = ref([])
  176. const matureList = ref([])
  177. const sellList = ref([])
  178. const cityList = ref([])
  179. const typeList = ref([])
  180. const plateList = ref([])
  181. // 搜索
  182. const searchForm = ref({})
  183. // 查询
  184. const industry = ref([])
  185. const field = ref([])
  186. const mature = ref([])
  187. const sell = ref([])
  188. const money = ref([])
  189. const city = ref([])
  190. // 请求
  191. onMounted(async () => {
  192. loading.value = true
  193. await searchOther()
  194. await search()
  195. router.replace({ name: 'nine' })
  196. loading.value = false
  197. })
  198. const search = async (query = { skip, limit }) => {
  199. skip = query.skip
  200. limit = query.limit
  201. const info = {
  202. skip: query.skip,
  203. limit: query.limit,
  204. status: '1',
  205. is_use: '0',
  206. ...searchForm.value
  207. }
  208. if (route.query.type) {
  209. info.field = route.query.type
  210. for (const val of typeList.value) {
  211. if (route.query.type == val.value) val.is_active = true
  212. if (val.id == '-1') val.is_active = false
  213. }
  214. }
  215. const res = await store.list(info)
  216. if (res.errcode == '0') {
  217. list.value = res.data
  218. total.value = res.total
  219. }
  220. }
  221. const searchOther = async () => {
  222. let result
  223. // 技术领域
  224. result = await dictDataStore.query({ code: 'field', is_use: '0' })
  225. if ($checkRes(result)) typeList.value = result.data
  226. // 成熟度
  227. result = await dictDataStore.query({ code: 'mature', is_use: '0' })
  228. if ($checkRes(result)) matureList.value = result.data
  229. // 出让方式
  230. result = await dictDataStore.query({ code: 'sell', is_use: '0' })
  231. if ($checkRes(result)) sellList.value = result.data
  232. // 价格
  233. result = await dictDataStore.query({ code: 'money', is_use: '0' })
  234. if ($checkRes(result)) moneyList.value = result.data
  235. // 处理数据
  236. for (const val of moneyList.value) {
  237. if (val.value == '0') val.is_active = true
  238. }
  239. matureList.value.unshift({ id: '-1', is_active: true, value: '-1', label: '不限' })
  240. sellList.value.unshift({ id: '-1', is_active: true, value: '-1', label: '不限' })
  241. typeList.value.unshift({ id: '-1', is_active: true, value: '-1', label: '不限' })
  242. // 地区
  243. result = await regionStore.list({ level: 'city', parent_code: 22 })
  244. if (result.errcode == '0') cityList.value = result.data
  245. cityList.value.unshift({ id: '-1', is_active: true, code: '-1', name: '不限' })
  246. // 行业板块
  247. result = await sectorStore.query({ is_use: '0' })
  248. if (result.errcode == '0') plateList.value = result.data
  249. plateList.value.unshift({ id: '-1', is_active: true, title: '不限' })
  250. }
  251. // 搜索
  252. const toSearchInfo = async () => {
  253. await search({ skip, limit })
  254. }
  255. // 查看详情
  256. const toView = async (item) => {
  257. if (user.value.id) {
  258. router.push({ path: '/achievement/detail', query: { id: item.id || item._id } })
  259. } else ElMessage({ message: '未登录!', type: 'error' })
  260. }
  261. const currentPage = ref(1)
  262. // 分页
  263. const changePage = (page = currentPage.value) => {
  264. search({ skip: (page - 1) * limit, limit: limit })
  265. }
  266. const sizeChange = (limits) => {
  267. limit = limits
  268. currentPage.value = 1
  269. search({ skip: 0, limit: limit })
  270. }
  271. // 筛选条件
  272. const toSearchFind = async () => {
  273. if (industry.value && industry.value.length > 0) {
  274. searchForm.value.industry = industry.value.map((i) => {
  275. return i.title
  276. })
  277. } else delete searchForm.value.industry
  278. if (field.value && field.value.length > 0) {
  279. searchForm.value.field = field.value.map((i) => {
  280. return i.label
  281. })
  282. } else delete searchForm.value.field
  283. if (mature.value && mature.value.length > 0) {
  284. searchForm.value.mature = mature.value.map((i) => {
  285. return i.value
  286. })
  287. } else delete searchForm.value.mature
  288. if (sell.value && sell.value.length > 0) {
  289. searchForm.value.sell = sell.value.map((i) => {
  290. return i.value
  291. })
  292. } else delete searchForm.value.sell
  293. if (money.value && money.value.length > 0) {
  294. searchForm.value.money = money.value.map((i) => {
  295. return i.value
  296. })
  297. } else delete searchForm.value.money
  298. if (city.value && city.value.length > 0) {
  299. searchForm.value.area = city.value.map((i) => {
  300. return i.name
  301. })
  302. } else delete searchForm.value.area
  303. await search({ skip, limit })
  304. }
  305. const toSelect = async (data, type) => {
  306. if (data.is_active) {
  307. toDel(data, type)
  308. } else {
  309. if (data.id != '-1') {
  310. if (type == '1') {
  311. for (const val of plateList.value) {
  312. if (data.id == val.id) val.is_active = true
  313. if (val.id == '-1') val.is_active = false
  314. }
  315. const res = industry.value.find((i) => i.id == data.id)
  316. if (!res) industry.value.push(data)
  317. } else if (type == '2') {
  318. for (const val of typeList.value) {
  319. if (data.id == val.id) val.is_active = true
  320. if (val.id == '-1') val.is_active = false
  321. }
  322. const res = field.value.find((i) => i.id == data.id)
  323. if (!res) field.value.push(data)
  324. } else if (type == '3') {
  325. for (const val of matureList.value) {
  326. if (data.id == val.id) val.is_active = true
  327. if (val.id == '-1') val.is_active = false
  328. }
  329. const res = mature.value.find((i) => i.id == data.id)
  330. if (!res) mature.value.push(data)
  331. } else if (type == '4') {
  332. for (const val of sellList.value) {
  333. if (data.id == val.id) val.is_active = true
  334. if (val.id == '-1') val.is_active = false
  335. }
  336. const res = sell.value.find((i) => i.id == data.id)
  337. if (!res) sell.value.push(data)
  338. } else if (type == '5') {
  339. if (data.value != '0') {
  340. for (const val of moneyList.value) {
  341. if (data.id == val.id) val.is_active = true
  342. if (val.value == '0') val.is_active = false
  343. }
  344. const res = money.value.find((i) => i.id == data.id)
  345. if (!res) money.value.push(data)
  346. } else {
  347. for (const val of moneyList.value) {
  348. if (val.value == '0') val.is_active = true
  349. else val.is_active = false
  350. }
  351. money.value = []
  352. }
  353. } else {
  354. for (const val of cityList.value) {
  355. if (data.id == val.id) val.is_active = true
  356. if (val.id == '-1') val.is_active = false
  357. }
  358. const res = city.value.find((i) => i.id == data.id)
  359. if (!res) city.value.push(data)
  360. }
  361. } else {
  362. if (type == '1') {
  363. for (const val of plateList.value) {
  364. if (val.id == '-1') val.is_active = true
  365. else val.is_active = false
  366. }
  367. industry.value = []
  368. } else if (type == '2') {
  369. for (const val of typeList.value) {
  370. if (val.id == '-1') val.is_active = true
  371. else val.is_active = false
  372. }
  373. field.value = []
  374. } else if (type == '3') {
  375. for (const val of matureList.value) {
  376. if (val.id == '-1') val.is_active = true
  377. else val.is_active = false
  378. }
  379. mature.value = []
  380. } else if (type == '4') {
  381. for (const val of sellList.value) {
  382. if (val.id == '-1') val.is_active = true
  383. else val.is_active = false
  384. }
  385. sell.value = []
  386. } else if (type == '5') {
  387. for (const val of moneyList.value) {
  388. if (val.value == '0') val.is_active = true
  389. else val.is_active = false
  390. }
  391. money.value = []
  392. } else {
  393. for (const val of cityList.value) {
  394. if (val.id == '-1') val.is_active = true
  395. else val.is_active = false
  396. }
  397. city.value = []
  398. }
  399. }
  400. }
  401. await toSearchFind()
  402. }
  403. const toDel = async (data, type) => {
  404. if (type == '1') {
  405. for (const val of plateList.value) {
  406. if (data.id == val.id) val.is_active = false
  407. }
  408. industry.value = industry.value.filter((f) => f.id != data.id)
  409. if (industry.value.length == 0) {
  410. for (const val of plateList.value) {
  411. if (val.id == '-1') val.is_active = true
  412. }
  413. }
  414. } else if (type == '2') {
  415. for (const val of typeList.value) {
  416. if (data.id == val.id) val.is_active = false
  417. }
  418. field.value = field.value.filter((f) => f.id != data.id)
  419. if (field.value.length == 0) {
  420. for (const val of typeList.value) {
  421. if (val.id == '-1') val.is_active = true
  422. }
  423. }
  424. } else if (type == '3') {
  425. for (const val of matureList.value) {
  426. if (data.id == val.id) val.is_active = false
  427. }
  428. mature.value = mature.value.filter((f) => f.id != data.id)
  429. if (mature.value.length == 0) {
  430. for (const val of matureList.value) {
  431. if (val.id == '-1') val.is_active = true
  432. }
  433. }
  434. } else if (type == '4') {
  435. for (const val of sellList.value) {
  436. if (data.id == val.id) val.is_active = false
  437. }
  438. sell.value = sell.value.filter((f) => f.id != data.id)
  439. if (sell.value.length == 0) {
  440. for (const val of sellList.value) {
  441. if (val.id == '-1') val.is_active = true
  442. }
  443. }
  444. } else if (type == '5') {
  445. for (const val of moneyList.value) {
  446. if (data.id == val.id) val.is_active = false
  447. }
  448. money.value = money.value.filter((f) => f.id != data.id)
  449. if (money.value.length == 0) {
  450. for (const val of moneyList.value) {
  451. if (val.value == '0') val.is_active = true
  452. }
  453. }
  454. } else {
  455. for (const val of cityList.value) {
  456. if (data.id == val.id) val.is_active = false
  457. }
  458. city.value = city.value.filter((f) => f.id != data.id)
  459. if (city.value.length == 0) {
  460. for (const val of cityList.value) {
  461. if (val.id == '-1') val.is_active = true
  462. }
  463. }
  464. }
  465. await toSearchFind()
  466. }
  467. const scrollTop = ref(0)
  468. onActivated(() => {
  469. // 配置参数依赖于浏览器
  470. document.documentElement.scrollTop = scrollTop.value
  471. })
  472. onBeforeRouteLeave((to, from, next) => {
  473. scrollTop.value = document.documentElement.scrollTop || document.body.scrollTop
  474. next()
  475. })
  476. </script>
  477. <style scoped lang="scss">
  478. .main {
  479. .one {
  480. .image {
  481. width: 100%;
  482. height: 350px;
  483. }
  484. }
  485. .active {
  486. .active_1 {
  487. display: inline-flex;
  488. background: #f5f7f9;
  489. border-radius: 2px;
  490. min-height: 28px;
  491. line-height: 28px;
  492. margin: 0 10px 0 0;
  493. position: relative;
  494. background-color: #fff;
  495. padding: 0 10px;
  496. .active_left {
  497. flex: 0 0 auto;
  498. font-family: PingFangSC-Regular;
  499. color: #525a68;
  500. line-height: 36px;
  501. }
  502. .active_right {
  503. font-family: PingFangSC-Regular;
  504. color: rgba(0, 0, 0, 0.85);
  505. line-height: 28px;
  506. padding-right: 4px;
  507. display: flex;
  508. flex-wrap: wrap;
  509. overflow: hidden;
  510. .active_label {
  511. overflow: hidden;
  512. display: inline-block;
  513. margin-right: 10px;
  514. margin-top: 3px;
  515. margin-bottom: 3px;
  516. padding: 10px;
  517. display: flex;
  518. align-items: center;
  519. flex: none;
  520. box-sizing: border-box;
  521. max-width: 100%;
  522. height: 30px;
  523. background: #f5f5f5;
  524. border: 1px solid #f0f0f0;
  525. border-radius: 2px;
  526. cursor: default;
  527. }
  528. }
  529. }
  530. }
  531. .two {
  532. margin: 10px 0;
  533. background-color: $global-color-fff;
  534. .twoSeacher {
  535. display: flex;
  536. justify-content: center;
  537. align-items: stretch;
  538. position: relative;
  539. border: solid 1px #e5e5e5;
  540. border-bottom: 0;
  541. font-size: $global-font-size-18;
  542. color: #666;
  543. min-height: 60px;
  544. overflow: hidden;
  545. .twoLeft {
  546. display: flex;
  547. justify-content: center;
  548. align-items: center;
  549. flex-shrink: 0;
  550. width: 110px;
  551. text-align: center;
  552. color: #000;
  553. font-weight: bold;
  554. background-color: #fafafa;
  555. }
  556. .twoRight {
  557. display: flex;
  558. flex-wrap: wrap;
  559. align-items: center;
  560. padding: 12px;
  561. flex: 1;
  562. border-left: solid 1px #e5e5e5;
  563. background-color: #fff;
  564. .label {
  565. margin-right: 3px;
  566. color: #313131;
  567. margin-bottom: 10px;
  568. padding: 8px 10px;
  569. border-radius: 3px;
  570. background-color: #fff;
  571. border: solid 1px transparent;
  572. cursor: pointer;
  573. }
  574. .show {
  575. color: #0a58c2;
  576. border: solid 1px #006dd2;
  577. }
  578. .label:hover {
  579. color: $global-color-107;
  580. }
  581. }
  582. .button {
  583. display: flex;
  584. align-items: center;
  585. margin: 0 5px 0 0;
  586. }
  587. }
  588. .border {
  589. border: solid 1px #e5e5e5;
  590. border-bottom: 1 !important;
  591. }
  592. .two_ipunt {
  593. display: flex;
  594. align-items: center;
  595. justify-content: space-between;
  596. margin: 10px 0;
  597. .input {
  598. margin: 0 5px 0 0;
  599. }
  600. .button {
  601. margin: 0 0 0 5px;
  602. }
  603. }
  604. }
  605. .thr {
  606. margin: 10px 0;
  607. display: flex;
  608. flex-wrap: wrap;
  609. align-items: center;
  610. .list {
  611. margin-right: 10px;
  612. margin-bottom: 15px;
  613. padding-top: 3px;
  614. width: 317px;
  615. height: 325px;
  616. background-color: #fff;
  617. box-shadow: 0 2px 5px 0 rgba(159, 158, 158, 0.3);
  618. .list_1 {
  619. position: relative;
  620. .image {
  621. height: 100%;
  622. width: 100%;
  623. }
  624. .box {
  625. display: flex !important;
  626. align-items: center;
  627. position: absolute;
  628. top: 45px;
  629. left: 0;
  630. padding: 15px 10px;
  631. width: 100%;
  632. height: 82px;
  633. background-color: rgba(0, 25, 79, 0.5);
  634. font-size: $global-font-size-18;
  635. line-height: 24px;
  636. color: #fff;
  637. }
  638. }
  639. .list_2 {
  640. margin: 10px 13px 0;
  641. .other {
  642. display: flex;
  643. align-items: center;
  644. margin: 0 0 5px 0;
  645. .image {
  646. width: 25px;
  647. height: 25px;
  648. margin: 0 5px 0 0;
  649. }
  650. .text {
  651. max-width: 260px;
  652. font-size: $global-font-size-16;
  653. line-height: 32px;
  654. color: #404040;
  655. }
  656. }
  657. }
  658. }
  659. .list:nth-child(4n) {
  660. margin-right: 0;
  661. }
  662. .list:hover {
  663. box-shadow: 0 2px 5px 0 rgba(159, 158, 158, 0.8);
  664. }
  665. }
  666. .four {
  667. display: flex;
  668. justify-content: center;
  669. margin: 20px 0;
  670. }
  671. }
  672. </style>