Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
OKR
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
OKR
Commits
e6a72f23
Commit
e6a72f23
authored
Jul 22, 2021
by
Zhang Xiaojie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
createteam界面
parent
1bc3f8b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
36 additions
and
2 deletions
+36
-2
teambtn.vue
src/components/Team/teambtn.vue
+32
-0
tailwind.config.js
tailwind.config.js
+4
-2
No files found.
src/components/Team/teambtn.vue
0 → 100644
View file @
e6a72f23
<
template
>
<div
class=
"teambtn"
>
<button
class=
" w-full bg-myblue rounded-3xl text-center h-10 text-white block "
@
click=
"handleClick"
>
{{
title
}}
</button>
</div>
</
template
>
<
script
lang=
"ts"
>
import
Vue
from
'vue'
;
export
default
Vue
.
extend
({
name
:
'teambtn'
,
props
:{
title
:{
type
:
String
,
default
:
'确定'
}
},
methods
:{
handleClick
(){
console
.
log
(
'被点击了'
);
}
}
});
</
script
>
<
style
lang=
"less"
>
</
style
>
tailwind.config.js
View file @
e6a72f23
...
...
@@ -94,6 +94,7 @@ module.exports = {
backgroundColor
:
theme
=>
({
...
theme
(
'colors'
),
'mygray'
:
'#F6F7F8'
,
'myblue'
:
'#32B2F7'
}),
backgroundImage
:
{
none
:
'none'
,
...
...
@@ -711,8 +712,9 @@ module.exports = {
},
textColor
:
(
theme
)
=>
theme
(
'colors'
),
textColor
:{
'mygray'
:
'#8A97A5'
,
'darkgray'
:
'#24374E'
'mygray'
:
'#8A97A5'
,
'darkgray'
:
'#24374E'
,
'white'
:
'#FFFFFF'
,
},
textOpacity
:
(
theme
)
=>
theme
(
'opacity'
),
transformOrigin
:
{
...
...
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