Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wangjin-front-end
Project
Project
Details
Activity
Releases
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
张媛
wangjin-front-end
Commits
8c35ef43
Commit
8c35ef43
authored
Jul 19, 2021
by
张媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工程目录修改
parent
49b59131
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
27 additions
and
25 deletions
+27
-25
preview.js
.storybook/preview.js
+1
-1
carousel.stories.tsx
src/canvasCom/carouselCom/carousel.stories.tsx
+3
-3
carouselCom.tsx
src/canvasCom/carouselCom/carouselCom.tsx
+1
-1
codeCom.tsx
src/canvasCom/carouselCom/codeCom.tsx
+1
-1
goldCoin.stories.tsx
src/canvasCom/goldCoinCom/goldCoin.stories.tsx
+3
-3
goldCoinCom.tsx
src/canvasCom/goldCoinCom/goldCoinCom.tsx
+1
-1
PolygonSystemCom.tsx
src/canvasCom/polygonSystemCom/PolygonSystemCom.tsx
+1
-1
polygonSystem.stories.tsx
src/canvasCom/polygonSystemCom/polygonSystem.stories.tsx
+3
-3
RichTextCom.tsx
src/canvasCom/richTextCom/RichTextCom.tsx
+1
-1
richText.stories.tsx
src/canvasCom/richTextCom/richText.stories.tsx
+3
-3
TotalCom.stories.tsx
src/docs/TotalCom.stories.tsx
+1
-1
totalCom.less
src/docs/totalCom.less
+3
-1
Danma.stories.tsx
src/reactCom/danma/Danma.stories.tsx
+4
-4
RichText.ts
src/sourceCode/canvas/RichText.ts
+0
-0
carouseComponent.ts
src/sourceCode/canvas/carouseComponent.ts
+0
-0
goldCoinAni.ts
src/sourceCode/canvas/goldCoinAni.ts
+0
-0
polygonAxiosSystem.ts
src/sourceCode/canvas/polygonAxiosSystem.ts
+0
-0
danma.tsx
src/sourceCode/react/danma/danma.tsx
+1
-1
danma.less
src/sourceCode/react/danma/danma.less
+0
-0
danmaCtrl.js
src/sourceCode/react/danma/danmaCtrl.js
+0
-0
danmaItem.jsx
src/sourceCode/react/danma/danmaItem.jsx
+0
-0
danmaItem.less
src/sourceCode/react/danma/danmaItem.less
+0
-0
No files found.
.storybook/preview.js
View file @
8c35ef43
...
...
@@ -4,7 +4,7 @@ import "codemirror/lib/codemirror.js";
import
'codemirror/mode/javascript/javascript'
;
import
'codemirror/mode/css/css'
;
import
'codemirror/theme/dracula.css'
;
import
'codemirror/theme/dracula.css'
;
import
"codemirror/addon/fold/foldcode.js"
;
import
"codemirror/addon/fold/foldgutter.js"
;
...
...
src/canvas
Stories
/carousel.stories.tsx
→
src/canvas
Com/carouselCom
/carousel.stories.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
CarouselCom
}
from
'.
./canvasCom/carouselCom
/carouselCom'
;
import
{
CodeCom
}
from
".
./canvasCom/carouselCom
/codeCom"
import
{
CarouselCom
}
from
'./carouselCom'
;
import
{
CodeCom
}
from
"./codeCom"
import
{
Title
,
Subtitle
,
...
...
@@ -8,7 +8,7 @@ import {
ArgsTable
,
PRIMARY_STORY
,
}
from
'@storybook/addon-docs'
;
import
{
clearStage
}
from
'../common/createStage'
;
import
{
clearStage
}
from
'../
../
common/createStage'
;
import
{
Story
,
Meta
}
from
'@storybook/react/types-6-0'
;
class
carouselItem
extends
window
.
FYGE
.
Container
{
...
...
src/canvasCom/carouselCom/carouselCom.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
CarouselComponent
}
from
"./carouseComponent"
;
import
{
CarouselComponent
}
from
".
./../sourceCode/canvas
/carouseComponent"
;
import
{
useEffect
}
from
'react'
;
import
{
createStage
,
isExistStage
}
from
"../../common/createStage"
interface
TestProps
{
...
...
src/canvasCom/carouselCom/codeCom.tsx
View file @
8c35ef43
...
...
@@ -12,7 +12,7 @@ const CodePanel =(args:Props) => {
<
div
className
=
"
code
"
>
<
CodeMirror
value=
{
args
.
code
}
options
=
{{
mode
:
"
javascript
"
,
mode
:
{
name
:
"
javascript
",
json
:
true
}
,
theme
:"
dracula
",
lineNumbers
:
true
,
lineWrapping
:
false
,
...
...
src/canvas
Stories
/goldCoin.stories.tsx
→
src/canvas
Com/goldCoinCom
/goldCoin.stories.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
GoldCoinCom
}
from
'.
./canvasCom/goldCoinCom
/GoldCoinCom'
;
import
{
CodeCom
}
from
'.
./canvasCom/goldCoinCom
/codeCom'
;
import
{
GoldCoinCom
}
from
'./GoldCoinCom'
;
import
{
CodeCom
}
from
'./codeCom'
;
import
{
Title
,
Subtitle
,
...
...
@@ -8,7 +8,7 @@ import {
ArgsTable
,
PRIMARY_STORY
,
}
from
'@storybook/addon-docs'
;
import
{
clearStage
}
from
'../common/createStage'
;
import
{
clearStage
}
from
'../
../
common/createStage'
;
export
default
{
...
...
src/canvasCom/goldCoinCom/goldCoinCom.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
GoldCoinAni
}
from
"./goldCoinAni"
;
import
{
GoldCoinAni
}
from
".
./../sourceCode/canvas
/goldCoinAni"
;
import
{
createStage
,
isExistStage
}
from
"../../common/createStage"
import
{
useEffect
}
from
'react'
;
interface
TestProps
{
...
...
src/canvasCom/polygonSystemCom/PolygonSystemCom.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
PolygonAxiosSystem
}
from
"./polygonAxiosSystem"
;
import
{
PolygonAxiosSystem
}
from
".
./../sourceCode/canvas
/polygonAxiosSystem"
;
import
{
createStage
,
isExistStage
}
from
"../../common/createStage"
;
import
{
useEffect
}
from
'react'
;
interface
TestProps
{
...
...
src/canvas
Stories
/polygonSystem.stories.tsx
→
src/canvas
Com/polygonSystemCom
/polygonSystem.stories.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
PolygonSystemCom
}
from
'.
./canvasCom/polygonSystemCom
/PolygonSystemCom'
;
import
{
CodeCom
}
from
".
./canvasCom/polygonSystemCom
/codeCom"
import
{
PolygonSystemCom
}
from
'./PolygonSystemCom'
;
import
{
CodeCom
}
from
"./codeCom"
import
{
Title
,
Subtitle
,
...
...
@@ -8,7 +8,7 @@ import {
ArgsTable
,
PRIMARY_STORY
,
}
from
'@storybook/addon-docs'
;
import
{
clearStage
}
from
'../common/createStage'
;
import
{
clearStage
}
from
'../
../
common/createStage'
;
export
default
{
component
:
PolygonSystemCom
,
...
...
src/canvasCom/richTextCom/RichTextCom.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
RichText
}
from
"./RichText"
;
import
{
RichText
}
from
".
./../sourceCode/canvas
/RichText"
;
import
{
createStage
,
isExistStage
}
from
"../../common/createStage"
;
import
{
useEffect
}
from
'react'
;
interface
TestProps
{
...
...
src/canvas
Stories
/richText.stories.tsx
→
src/canvas
Com/richTextCom
/richText.stories.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
RichTextCom
}
from
'.
./canvasCom/richTextCom
/RichTextCom'
;
import
{
CodeCom
}
from
'.
./canvasCom/richTextCom
/codeCom'
;
import
{
RichTextCom
}
from
'./RichTextCom'
;
import
{
CodeCom
}
from
'./codeCom'
;
import
{
Title
,
Subtitle
,
...
...
@@ -8,7 +8,7 @@ import {
ArgsTable
,
PRIMARY_STORY
,
}
from
'@storybook/addon-docs'
;
import
{
clearStage
}
from
'../common/createStage'
;
import
{
clearStage
}
from
'../
../
common/createStage'
;
export
default
{
component
:
RichTextCom
,
title
:
'Canvas组件/丰富文本'
,
...
...
src/docs/TotalCom.stories.tsx
View file @
8c35ef43
...
...
@@ -11,7 +11,7 @@ export default {
component
:
TotalCom
,
title
:
'组件概览'
,
parameters
:{
layout
:
"
left
"
layout
:
"
fullscreen
"
}
};
...
...
src/docs/totalCom.less
View file @
8c35ef43
...
...
@@ -23,4 +23,6 @@ span{
cursor: pointer;
}
}
*{color: #ffffff;}
\ No newline at end of file
h2{
color: #ffffff;
}
\ No newline at end of file
src/react
Stories
/Danma.stories.tsx
→
src/react
Com/danma
/Danma.stories.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
{
Danma
}
from
"../
reactCom
/danma/danma"
;
import
DanmaItem
from
'../
reactCom
/danma/danmaItem'
;
import
{
Danma
}
from
"../
../sourceCode/react
/danma/danma"
;
import
DanmaItem
from
'../
../sourceCode/react
/danma/danmaItem'
;
import
{
Title
,
Subtitle
,
...
...
@@ -8,8 +8,8 @@ import {
ArgsTable
,
PRIMARY_STORY
,
}
from
'@storybook/addon-docs'
;
import
{
CodeCom
}
from
'.
./reactCom/danma
/codeCom'
;
import
{
clearStage
}
from
'../common/createStage'
;
import
{
CodeCom
}
from
'./codeCom'
;
import
{
clearStage
}
from
'../
../
common/createStage'
;
export
default
{
component
:
Danma
,
title
:
'React组件/弹幕'
,
...
...
src/
canvasCom/richTextCom
/RichText.ts
→
src/
sourceCode/canvas
/RichText.ts
View file @
8c35ef43
File moved
src/
canvasCom/carouselCom
/carouseComponent.ts
→
src/
sourceCode/canvas
/carouseComponent.ts
View file @
8c35ef43
File moved
src/
canvasCom/goldCoinCom
/goldCoinAni.ts
→
src/
sourceCode/canvas
/goldCoinAni.ts
View file @
8c35ef43
File moved
src/
canvasCom/polygonSystemCom
/polygonAxiosSystem.ts
→
src/
sourceCode/canvas
/polygonAxiosSystem.ts
View file @
8c35ef43
File moved
src/
reactCom
/danma/danma.tsx
→
src/
sourceCode/react
/danma/danma.tsx
View file @
8c35ef43
import
React
from
'react'
;
import
"./danma.less"
;
import
DanmaCtrl
from
'./danmaCtrl'
;
import
{
clearStage
}
from
"../../common/createStage"
import
{
clearStage
}
from
"../../
../
common/createStage"
export
const
Danma
=
(
data
)
=>
{
clearStage
();
const
Danma
=
DanmaCtrl
(
data
.
DanmaItem
,
data
.
danmaData
,
data
.
speed
,
data
.
width
,
data
.
height
)
...
...
src/
reactCom
/danma/danma.less
→
src/
sourceCode/react
/danma/danma.less
View file @
8c35ef43
File moved
src/
reactCom
/danma/danmaCtrl.js
→
src/
sourceCode/react
/danma/danmaCtrl.js
View file @
8c35ef43
File moved
src/
reactCom
/danma/danmaItem.jsx
→
src/
sourceCode/react
/danma/danmaItem.jsx
View file @
8c35ef43
File moved
src/
reactCom
/danma/danmaItem.less
→
src/
sourceCode/react
/danma/danmaItem.less
View file @
8c35ef43
File moved
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