Commit c0752f8a authored by 张媛's avatar 张媛

弹幕源码添加

parent b8e4bded
......@@ -12,7 +12,7 @@ import { clearStage } from '../common/createStage';
class carouselItem extends window.FYGE.Container {
constructor(data) {
super();
let itemBg = window.FYGE.Sprite.fromUrl("test/prizeItemBg.png");
let itemBg = window.FYGE.Sprite.fromUrl("resource/prizeItemBg.png");
this.addChild(itemBg);
let itemName = new window.FYGE.TextField();
itemName.text = data.name;
......@@ -88,7 +88,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀1",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 10000,
"stock": 111111111111,
"channel":0
......@@ -96,7 +96,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀2",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 100,
"stock": 0,
"channel":0
......@@ -104,7 +104,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀3",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 100,
"stock": 0,
"channel":0
......@@ -112,7 +112,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀4",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 100,
"stock": 0,
"channel":2
......@@ -120,7 +120,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀5",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 100,
"stock": 0,
"channel":2
......@@ -128,7 +128,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀6",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 100,
"stock": 0,
"channel":1
......@@ -136,7 +136,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀7",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 100,
"stock": 1,
"channel":0
......@@ -144,7 +144,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀8",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 100,
"stock": 1,
"channel":2
......@@ -152,7 +152,7 @@ Primary.args = {
{
"rule": "ru_1",
"name": "飞科剃须刀0",
"icon": "prize.jpg",
"icon": "resource/prize.jpg",
"coins": 100,
"stock": 1,
"channel":2
......
......@@ -67,7 +67,7 @@ Primary.args = {
label: '金币动效',
start:[100, 200],
end:[600, 900],
imgUrl:"homeGoldIconImg.png",
imgUrl:"resource/homeGoldIconImg.png",
callBack: goldCoinReceiveAniCallback.bind(this),
isMinus:true,
curvature:0.2,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment