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-18 13:58:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ed80b2cb801fa0af85207af681b4eb7f54965e14
ed80b2cb
1 parent
1174a2b4
fix 首页新增放大镜提示
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
src/assets/images/index/word.png
src/views/fxPark/index.vue
src/assets/images/index/word.png
0 → 100644
View file @
ed80b2c
15.3 KB
src/views/fxPark/index.vue
View file @
ed80b2c
<!--
* @Date: 2024-04-07 10:15:55
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-04-18
07:00
:44
* @LastEditTime: 2024-04-18
13:55
:44
* @FilePath: /fxPark/src/views/fxPark/index.vue
* @Description: 首页
-->
...
...
@@ -31,7 +31,9 @@
:style="{ zIndex: index + 2 }"
>
<img src="https://cdn.ipadbiz.cn/xfPark/index/bg.1713248259.jpg" class="img" style="z-index: 1;">
<div v-if="all_no_light" id="magnifying-glass-box"></div>
<div v-if="all_no_light" id="magnifying-glass-box">
<div style="position: absolute; left: 0.5rem; bottom: -3rem; background-image: url('https://cdn.ipadbiz.cn/xfPark/index/word.png'); background-size: 80% 80%; width: 12rem; height: 3rem; background-repeat: no-repeat;"></div>
</div>
</div>
<van-action-sheet v-model:show="show_danmu_message" title="留言" :round="false" :close-on-click-overlay="false" :closeable="false">
...
...
@@ -112,7 +114,7 @@ const offset = ref({ x: -10, y: 500 });
const data_list = ref([]);
const all_actived = ref(false); // 全部激活
const all_no_light = ref(
fals
e); // 全部未激活
const all_no_light = ref(
tru
e); // 全部未激活
const space_height = ref('10vh'); // 第一次进入没有导航栏
...
...
@@ -215,7 +217,7 @@ const handleEnterPress = (evt) => { // 小键盘回车回调
const goToPoster = () => { // 海报列表按钮
let index = data_list.value.findIndex(item => item.is_light === '1'); // 没有一个点亮
if (index === -1) {
showToast('
没有点亮的植被,无法生成海报
');
showToast('
您还没点亮植物,获得海报哦
');
return false;
}
let raw_data = data_list.value.filter(item => item.is_light === '1'); // 获取所有已点亮的植被
...
...
Please
register
or
login
to post a comment