Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
community_vote
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hanfeng zhang
community_vote
Commits
d28831c7
Commit
d28831c7
authored
Jun 11, 2021
by
xhx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
我的
parent
664b0ebd
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
110 additions
and
3 deletions
+110
-3
Attend.vue
src/components/mine/Attend.vue
+23
-0
ComeUp.vue
src/components/mine/ComeUp.vue
+0
-0
index.ts
src/router/index.ts
+24
-1
Mine.vue
src/views/Mine.vue
+6
-2
MineEdit.vue
src/views/mine/MineEdit.vue
+6
-0
MyCommunity.vue
src/views/mine/MyCommunity.vue
+6
-0
MyProject.vue
src/views/mine/MyProject.vue
+4
-0
index.vue
src/views/mine/index.vue
+41
-0
No files found.
src/components/mine/Attend.vue
0 → 100644
View file @
d28831c7
<
template
>
<div
class=
"px-6 mt-4"
>
<router-link
class=
"inline-block mb-3 text-white"
:to=
"
{ path: '/MyCommunity', query: { }}">
<card-two></card-two>
</router-link>
<router-link
class=
"inline-block mb-3 text-white"
:to=
"
{ path: '/MyProject', query: { }}">
<card></card>
</router-link>
</div>
</
template
>
<
script
lang=
"ts"
>
import
Vue
from
'vue'
import
Card
from
'@/components/Card.vue'
import
CardTwo
from
'@/components/Card_two.vue'
export
default
Vue
.
extend
({
components
:
{
Card
,
CardTwo
}
})
</
script
>
\ No newline at end of file
src/components/mine/ComeUp.vue
0 → 100644
View file @
d28831c7
src/router/index.ts
View file @
d28831c7
...
...
@@ -62,7 +62,30 @@ export const routes: Array<RouteConfig> = [
meta
:{
text
:
'我的'
,
icon
:
'icon-wode'
}
},
children
:
[
{
path
:
'/Mine'
,
name
:
'Mine'
,
component
:
()
=>
import
(
'@/views/mine/index.vue'
),
},
{
path
:
'/MineEdit'
,
name
:
'MineEdit'
,
component
:
()
=>
import
(
'@/views/mine/MineEdit.vue'
),
},
{
path
:
'/MyCommunity'
,
name
:
'MyCommunity'
,
component
:
()
=>
import
(
'@/views/mine/MyCommunity.vue'
),
},
{
path
:
'/MyProject'
,
name
:
'MyProject'
,
component
:
()
=>
import
(
'@/views/mine/MyProject.vue'
),
},
]
},
]
}
...
...
src/views/Mine.vue
View file @
d28831c7
<
template
>
<div
class=
"flex flex-col"
>
我的
<div
class=
"flex flex-col
mine
"
>
<router-view
/>
</div>
</
template
>
...
...
@@ -19,3 +19,7 @@ export default Vue.extend({
});
</
script
>
<
style
scoped
>
</
style
>
src/views/mine/MineEdit.vue
0 → 100644
View file @
d28831c7
<
template
>
<div
class=
"mine-edit"
>
</div>
</
template
>
\ No newline at end of file
src/views/mine/MyCommunity.vue
0 → 100644
View file @
d28831c7
<
template
>
<div
class=
"my-community"
>
</div>
</
template
>
\ No newline at end of file
src/views/mine/MyProject.vue
0 → 100644
View file @
d28831c7
<
template
>
<div
class=
"my-project"
></div>
</
template
>
\ No newline at end of file
src/views/mine/index.vue
0 → 100644
View file @
d28831c7
<
template
>
<div
class=
"mine"
>
<h5
class=
"my-5 text-lg text-center text-white font-medium"
>
我的提案
</h5>
<div
class=
"tab flex justify-center items-center"
>
<div
class=
"px-3 text-sm"
:class=
"
{ 'active': tab === 1 }" @click="tab = 1">我发起的
</div>
<div
class=
"px-3 text-sm"
:class=
"
{ 'active': tab === 2 }" @click="tab = 2">我参与的
</div>
</div>
<attend
/>
</div>
</
template
>
<
script
lang=
"ts"
>
import
Attend
from
'@/components/mine/Attend.vue'
import
Vue
from
'vue'
export
default
Vue
.
extend
({
components
:
{
Attend
},
data
()
{
return
{
tab
:
1
}
}
})
</
script
>
<
style
scoped
>
.mine
{
background-image
:
url(../../assets/home/banner.png)
;
background-size
:
100%
;
background-position-x
:
50%
;
background-position-y
:
top
;
background-repeat
:
no-repeat
;
}
.active
{
color
:
#FFBB00
}
</
style
>
\ No newline at end of file
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