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
c0752f8a
Commit
c0752f8a
authored
Jul 09, 2021
by
张媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
弹幕源码添加
parent
b8e4bded
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
11 deletions
+11
-11
homeGoldIconImg.png
src/asserts/resource/homeGoldIconImg.png
+0
-0
prize.jpg
src/asserts/resource/prize.jpg
+0
-0
prizeItemBg.png
src/asserts/resource/prizeItemBg.png
+0
-0
prizeItemBg.png
src/asserts/test/prizeItemBg.png
+0
-0
carousel.stories.tsx
src/canvasStories/carousel.stories.tsx
+10
-10
goldCoin.stories.tsx
src/canvasStories/goldCoin.stories.tsx
+1
-1
No files found.
src/asserts/homeGoldIconImg.png
→
src/asserts/
resource/
homeGoldIconImg.png
View file @
c0752f8a
File moved
src/asserts/prize.jpg
→
src/asserts/
resource/
prize.jpg
View file @
c0752f8a
File moved
src/asserts/prizeItemBg.png
→
src/asserts/
resource/
prizeItemBg.png
View file @
c0752f8a
File moved
src/asserts/test/prizeItemBg.png
deleted
100644 → 0
View file @
b8e4bded
2.48 KB
src/canvasStories/carousel.stories.tsx
View file @
c0752f8a
...
@@ -12,7 +12,7 @@ import { clearStage } from '../common/createStage';
...
@@ -12,7 +12,7 @@ import { clearStage } from '../common/createStage';
class
carouselItem
extends
window
.
FYGE
.
Container
{
class
carouselItem
extends
window
.
FYGE
.
Container
{
constructor
(
data
)
{
constructor
(
data
)
{
super
();
super
();
let
itemBg
=
window
.
FYGE
.
Sprite
.
fromUrl
(
"
test
/prizeItemBg.png"
);
let
itemBg
=
window
.
FYGE
.
Sprite
.
fromUrl
(
"
resource
/prizeItemBg.png"
);
this
.
addChild
(
itemBg
);
this
.
addChild
(
itemBg
);
let
itemName
=
new
window
.
FYGE
.
TextField
();
let
itemName
=
new
window
.
FYGE
.
TextField
();
itemName
.
text
=
data
.
name
;
itemName
.
text
=
data
.
name
;
...
@@ -88,7 +88,7 @@ Primary.args = {
...
@@ -88,7 +88,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀1"
,
"name"
:
"飞科剃须刀1"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
10000
,
"coins"
:
10000
,
"stock"
:
111111111111
,
"stock"
:
111111111111
,
"channel"
:
0
"channel"
:
0
...
@@ -96,7 +96,7 @@ Primary.args = {
...
@@ -96,7 +96,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀2"
,
"name"
:
"飞科剃须刀2"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
100
,
"coins"
:
100
,
"stock"
:
0
,
"stock"
:
0
,
"channel"
:
0
"channel"
:
0
...
@@ -104,7 +104,7 @@ Primary.args = {
...
@@ -104,7 +104,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀3"
,
"name"
:
"飞科剃须刀3"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
100
,
"coins"
:
100
,
"stock"
:
0
,
"stock"
:
0
,
"channel"
:
0
"channel"
:
0
...
@@ -112,7 +112,7 @@ Primary.args = {
...
@@ -112,7 +112,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀4"
,
"name"
:
"飞科剃须刀4"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
100
,
"coins"
:
100
,
"stock"
:
0
,
"stock"
:
0
,
"channel"
:
2
"channel"
:
2
...
@@ -120,7 +120,7 @@ Primary.args = {
...
@@ -120,7 +120,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀5"
,
"name"
:
"飞科剃须刀5"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
100
,
"coins"
:
100
,
"stock"
:
0
,
"stock"
:
0
,
"channel"
:
2
"channel"
:
2
...
@@ -128,7 +128,7 @@ Primary.args = {
...
@@ -128,7 +128,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀6"
,
"name"
:
"飞科剃须刀6"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
100
,
"coins"
:
100
,
"stock"
:
0
,
"stock"
:
0
,
"channel"
:
1
"channel"
:
1
...
@@ -136,7 +136,7 @@ Primary.args = {
...
@@ -136,7 +136,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀7"
,
"name"
:
"飞科剃须刀7"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
100
,
"coins"
:
100
,
"stock"
:
1
,
"stock"
:
1
,
"channel"
:
0
"channel"
:
0
...
@@ -144,7 +144,7 @@ Primary.args = {
...
@@ -144,7 +144,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀8"
,
"name"
:
"飞科剃须刀8"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
100
,
"coins"
:
100
,
"stock"
:
1
,
"stock"
:
1
,
"channel"
:
2
"channel"
:
2
...
@@ -152,7 +152,7 @@ Primary.args = {
...
@@ -152,7 +152,7 @@ Primary.args = {
{
{
"rule"
:
"ru_1"
,
"rule"
:
"ru_1"
,
"name"
:
"飞科剃须刀0"
,
"name"
:
"飞科剃须刀0"
,
"icon"
:
"prize.jpg"
,
"icon"
:
"
resource/
prize.jpg"
,
"coins"
:
100
,
"coins"
:
100
,
"stock"
:
1
,
"stock"
:
1
,
"channel"
:
2
"channel"
:
2
...
...
src/canvasStories/goldCoin.stories.tsx
View file @
c0752f8a
...
@@ -67,7 +67,7 @@ Primary.args = {
...
@@ -67,7 +67,7 @@ Primary.args = {
label
:
'金币动效'
,
label
:
'金币动效'
,
start
:[
100
,
200
],
start
:[
100
,
200
],
end
:[
600
,
900
],
end
:[
600
,
900
],
imgUrl
:
"homeGoldIconImg.png"
,
imgUrl
:
"
resource/
homeGoldIconImg.png"
,
callBack
:
goldCoinReceiveAniCallback
.
bind
(
this
),
callBack
:
goldCoinReceiveAniCallback
.
bind
(
this
),
isMinus
:
true
,
isMinus
:
true
,
curvature
:
0.2
,
curvature
:
0.2
,
...
...
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