Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
fxPark
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2024-04-12 22:48:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2cb04c8ebea69a8e7d3a23e2e2b1d4939ba39eaa
2cb04c8e
1 parent
63b44255
fix 首页结构整理
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
6 deletions
src/views/fxPark/index.vue
src/views/fxPark/index.vue
View file @
2cb04c8
<!--
* @Date: 2024-04-07 10:15:55
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-04-12 2
1:58:01
* @LastEditTime: 2024-04-12 2
2:28:29
* @FilePath: /fxPark/src/views/fxPark/index.vue
* @Description:
文件描述
* @Description:
首页
-->
<template>
<div class="fxPark-page">
...
...
@@ -15,6 +15,12 @@
<div class="quick-entrance-item" @click="goToPoster">
<van-icon name="chat-o" /> <span>海报列表</span>
</div>
<div class="quick-entrance-item">
<van-icon name="chat-o" /> <span>展览介绍</span>
</div>
<div class="quick-entrance-item">
<van-icon name="chat-o" /> <span>文明校园报名</span>
</div>
</div>
<div class="container" v-for="(item, index) in data_list" :key="index" @click="onChipClick()">
<img :src="item.chip_src" class="img">
...
...
@@ -189,7 +195,7 @@ const handleEnterPress = (evt) => { // 小键盘回车回调
}
const goToPoster = () => { // 海报列表按钮
let index = data.findIndex(item => item.is_light === '1'); // 没有一个点亮
let index = data
_list.value
.findIndex(item => item.is_light === '1'); // 没有一个点亮
if (index === -1) {
showToast('没有点亮的植被,无法生成海报');
return false;
...
...
@@ -219,16 +225,17 @@ const onCloseDanmu = () => { // 弹幕开关
.quick-entrance-wrapper {
position: absolute;
right: 0;
top:
1.5
rem;
top:
0.8
rem;
z-index: 20;
.quick-entrance-item {
color: white;
background-color: green;
border-top-left-radius: 1rem;
border-bottom-left-radius: 1rem;
font-size: 0.
9
rem;
font-size: 0.
85
rem;
padding: 0.5rem;
margin-bottom: 1rem;
margin-bottom: 0.5rem;
letter-spacing: 1px;
}
}
.container {
...
...
Please
register
or
login
to post a comment