Showing
2 changed files
with
6 additions
and
4 deletions
src/assets/images/index/word.png
0 → 100644
15.3 KB
| 1 | <!-- | 1 | <!-- |
| 2 | * @Date: 2024-04-07 10:15:55 | 2 | * @Date: 2024-04-07 10:15:55 |
| 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com | 3 | * @LastEditors: hookehuyr hookehuyr@gmail.com |
| 4 | - * @LastEditTime: 2024-04-18 07:00:44 | 4 | + * @LastEditTime: 2024-04-18 13:55:44 |
| 5 | * @FilePath: /fxPark/src/views/fxPark/index.vue | 5 | * @FilePath: /fxPark/src/views/fxPark/index.vue |
| 6 | * @Description: 首页 | 6 | * @Description: 首页 |
| 7 | --> | 7 | --> |
| ... | @@ -31,7 +31,9 @@ | ... | @@ -31,7 +31,9 @@ |
| 31 | :style="{ zIndex: index + 2 }" | 31 | :style="{ zIndex: index + 2 }" |
| 32 | > | 32 | > |
| 33 | <img src="https://cdn.ipadbiz.cn/xfPark/index/bg.1713248259.jpg" class="img" style="z-index: 1;"> | 33 | <img src="https://cdn.ipadbiz.cn/xfPark/index/bg.1713248259.jpg" class="img" style="z-index: 1;"> |
| 34 | - <div v-if="all_no_light" id="magnifying-glass-box"></div> | 34 | + <div v-if="all_no_light" id="magnifying-glass-box"> |
| 35 | + <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> | ||
| 36 | + </div> | ||
| 35 | </div> | 37 | </div> |
| 36 | 38 | ||
| 37 | <van-action-sheet v-model:show="show_danmu_message" title="留言" :round="false" :close-on-click-overlay="false" :closeable="false"> | 39 | <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 }); | ... | @@ -112,7 +114,7 @@ const offset = ref({ x: -10, y: 500 }); |
| 112 | 114 | ||
| 113 | const data_list = ref([]); | 115 | const data_list = ref([]); |
| 114 | const all_actived = ref(false); // 全部激活 | 116 | const all_actived = ref(false); // 全部激活 |
| 115 | -const all_no_light = ref(false); // 全部未激活 | 117 | +const all_no_light = ref(true); // 全部未激活 |
| 116 | 118 | ||
| 117 | const space_height = ref('10vh'); // 第一次进入没有导航栏 | 119 | const space_height = ref('10vh'); // 第一次进入没有导航栏 |
| 118 | 120 | ||
| ... | @@ -215,7 +217,7 @@ const handleEnterPress = (evt) => { // 小键盘回车回调 | ... | @@ -215,7 +217,7 @@ const handleEnterPress = (evt) => { // 小键盘回车回调 |
| 215 | const goToPoster = () => { // 海报列表按钮 | 217 | const goToPoster = () => { // 海报列表按钮 |
| 216 | let index = data_list.value.findIndex(item => item.is_light === '1'); // 没有一个点亮 | 218 | let index = data_list.value.findIndex(item => item.is_light === '1'); // 没有一个点亮 |
| 217 | if (index === -1) { | 219 | if (index === -1) { |
| 218 | - showToast('没有点亮的植被,无法生成海报'); | 220 | + showToast('您还没点亮植物,获得海报哦'); |
| 219 | return false; | 221 | return false; |
| 220 | } | 222 | } |
| 221 | let raw_data = data_list.value.filter(item => item.is_light === '1'); // 获取所有已点亮的植被 | 223 | let raw_data = data_list.value.filter(item => item.is_light === '1'); // 获取所有已点亮的植被 | ... | ... |
-
Please register or login to post a comment