Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
C
component-lib
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
郭铭瑶
component-lib
Commits
05c3cbad
Commit
05c3cbad
authored
Dec 27, 2021
by
郭铭瑶
🤘
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改a019
parent
df274e39
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
entry.esm.ts
src/entry.esm.ts
+3
-0
entry.ts
src/entry.ts
+3
-0
index.vue
src/lib/A019/index.vue
+4
-1
No files found.
src/entry.esm.ts
View file @
05c3cbad
/**
* 引入所有组件和eventBus并暴露出去
*/
import
{
App
,
Plugin
}
from
'vue'
import
EventBus
from
'./util/event-bus'
import
*
as
componentLib
from
'@/lib/index'
...
...
src/entry.ts
View file @
05c3cbad
/**
* 打包后暴露引用方法供大屏项目用
*/
import
{
components
,
eventBus
}
from
'./entry.esm'
export
default
function
(
url
:
string
)
{
...
...
src/lib/A019/index.vue
View file @
05c3cbad
...
...
@@ -19,7 +19,10 @@
<div
v-for=
"item in list"
:key=
"item.name"
:style=
"
{ flex: item.rate, background: item.color }"
:style=
"
{
flex: item.rate
<
=
0
?
1
:
item
.
rate
,
background:
item
.
color
,
}"
>
<div
:style=
"
{ borderColor: item.color }">
<p>
...
...
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