Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
angel-angel-mini-game
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
杜洋
angel-angel-mini-game
Commits
5f8720de
Commit
5f8720de
authored
Feb 02, 2026
by
Hantao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(开始页面): 添加完成按钮图片并在进度完成时切换
当进度图片数量达到5时,将开始按钮替换为完成按钮图片
parent
9f5c3d25
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
index.vue
src/pages/start/index.vue
+3
-2
finishBtn.webp
src/static/start/finishBtn.webp
+0
-0
No files found.
src/pages/start/index.vue
View file @
5f8720de
...
@@ -22,9 +22,10 @@ const ASSETS = {
...
@@ -22,9 +22,10 @@ const ASSETS = {
badge3
:
'/static/start/badge3.webp'
,
badge3
:
'/static/start/badge3.webp'
,
badge4
:
'/static/start/badge4.webp'
,
badge4
:
'/static/start/badge4.webp'
,
badge5
:
'/static/start/badge5.webp'
,
badge5
:
'/static/start/badge5.webp'
,
finishBtn
:
'/static/start/finishBtn.webp'
,
};
};
const
progressImgs
=
ref
(
0
);
const
progressImgs
=
ref
(
5
);
const
getProgressImage
=
()
=>
{
const
getProgressImage
=
()
=>
{
switch
(
progressImgs
.
value
)
{
switch
(
progressImgs
.
value
)
{
...
@@ -128,7 +129,7 @@ const closeSidebar = () => {
...
@@ -128,7 +129,7 @@ const closeSidebar = () => {
<!-- 按钮区域 -->
<!-- 按钮区域 -->
<view
class=
"btn-group"
>
<view
class=
"btn-group"
>
<view
class=
"btn-item"
@
click=
"handleStart"
>
<view
class=
"btn-item"
@
click=
"handleStart"
>
<image
class=
"btn-img start-btn"
:src=
"ASSETS.startBtn"
mode=
"widthFix"
/>
<image
class=
"btn-img start-btn"
:src=
"
progressImgs === 5 ? ASSETS.finishBtn :
ASSETS.startBtn"
mode=
"widthFix"
/>
</view>
</view>
<view
class=
"btn-item"
@
click=
"handleRestart"
>
<view
class=
"btn-item"
@
click=
"handleRestart"
>
...
...
src/static/start/finishBtn.webp
0 → 100644
View file @
5f8720de
File added
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment