Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
b5a9865f
Commit
b5a9865f
authored
Jul 25, 2024
by
陈宗胤(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
dd88b05c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
1 deletion
+31
-1
Search.vue
src/components/index/Search.vue
+29
-0
index.vue
src/pages/index/index.vue
+2
-1
No files found.
src/components/index/Search.vue
0 → 100644
View file @
b5a9865f
<
template
>
<view
class=
"container"
></view>
</
template
>
<
script
setup
>
import
{
useCountStore
}
from
'@/store'
;
const
title
=
ref
(
'小程序平台'
);
const
{
countInfo
,
addCount
}
=
useCountStore
();
function
toUIComponentsDoc
()
{
window
.
open
(
'https://wot-design-uni.netlify.app/component/button.html'
);
}
function
onHandleClick
()
{
addCount
();
}
</
script
>
<
style
lang=
"scss"
>
.container
{
.top
{
width
:
100%
;
height
:
440rpx
;
background
:
linear-gradient
(
180deg
,
#fa5151
0%
,
rgba
(
243
,
243
,
243
,
0
)
100%
);
border-radius
:
0rpx
0rpx
0rpx
0rpx
;
}
}
</
style
>
src/pages/index/index.vue
View file @
b5a9865f
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<view
class=
"container"
>
<view
class=
"container"
>
<view
class=
"top"
>
<view
class=
"top"
>
<view>
<view>
<
wd-icon
name=
"thin-arrow-left"
class=
"icon"
></wd-icon
>
<
Search></Search
>
</view>
</view>
</view>
</view>
</view>
</view>
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
<
script
setup
>
<
script
setup
>
import
{
useCountStore
}
from
'@/store'
;
import
{
useCountStore
}
from
'@/store'
;
import
Search
from
'../../components/index/Search.vue'
;
const
title
=
ref
(
'小程序平台'
);
const
title
=
ref
(
'小程序平台'
);
const
{
countInfo
,
addCount
}
=
useCountStore
();
const
{
countInfo
,
addCount
}
=
useCountStore
();
...
...
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