Commit 599a3d32 authored by 吴志俊's avatar 吴志俊

first

parents
.DS_Store
node_modules
/dist
# local env files
.env.local
.env.*.local
# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
import MD from 'spark-utils/out/md/index.js';
let appId = CFG.appID;
const dcm = '202.' + CFG.projectId + '.0.0';
const domain = '//embedlog.duiba.com.cn';
let MDList = [
{
ele: `.test-md1`,
data: {
dpm: `${appId}.110.5.1`,
dcm,
domain,
appId
},
once: false
}
];
export default () =>
MD({
show: MDList, // 曝光
click: MDList // 点击
});
export const join = {
"success": true,
"data": {
message: "参与成功"
}
};
export * from './rule';
import { Random } from 'mockjs';
export const rule = {
"success": true,
"data": `活动规则: ${Random.cparagraph(20, 40)}`
};
import Mock from 'mockjs';
import proxy from './proxy';
Object.keys(proxy).map(method => {
Object.keys(proxy[method]).map(URI => {
let data = proxy[method][URI];
Mock.mock(new RegExp(URI), method, opt => {
console.log(`%c[mock] 链接:${opt.url} 类型:${method} 参数:${method === 'post' && JSON.stringify(opt.body) || ''}`, "color: rgb(63, 172, 203)", data);
return data
});
})
})
\ No newline at end of file
import * as common from './common';
import * as collect_0722 from './collect_0722';
let projectId = window.CFG.projectId || '';
export default {
get: {
[`/projectx/${projectId}/projectRule.query`]: common.rule
},
post: {
[`/projectx/${projectId}/join.do`]: collect_0722.join
}
};
\ No newline at end of file
{
"name": "sparkproject-1608532529744",
"version": "1.0.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
"@babel/runtime": {
"version": "7.12.5",
"resolved": "http://npm.dui88.com:80/@babel%2fruntime/-/runtime-7.12.5.tgz",
"integrity": "sha1-QQ5+SHRB4bNgwpvnFdhw2bmFiC4=",
"requires": {
"regenerator-runtime": "^0.13.4"
}
},
"@spark/api-base": {
"version": "1.0.25",
"resolved": "http://npm.dui88.com:80/@spark%2fapi-base/-/api-base-1.0.25.tgz",
"integrity": "sha512-1AD6V/6TkN7mOFeALULVDQxhufU9+FTf2pSpa+5sjBvjHJz2eULWgzz12amxgJqpWEnOk3rcEJeOH3QPCqDBBw==",
"requires": {
"@spark/utils": "^1.0.22",
"@types/react": "^16.9.56",
"add": "^2.0.6",
"crypto-js": "^4.0.0",
"spark-wrapper-fyge": "^1.0.4",
"yarn": "^1.22.10"
}
},
"@spark/projectx": {
"version": "1.0.6",
"resolved": "http://npm.dui88.com:80/@spark%2fprojectx/-/projectx-1.0.6.tgz",
"integrity": "sha512-T8p/MnO2dcaL5V1muC2IM5+Qu/MsSv5EK3aIsb4IUh7Q1FlxLeVmaFLjihFIe0g+7sDdQZMQIuwKluGgxiETjg==",
"requires": {
"@types/react": "^16.9.56",
"spark-wrapper-fyge": "^1.0.4"
}
},
"@spark/utils": {
"version": "1.0.30",
"resolved": "http://npm.dui88.com:80/@spark%2futils/-/utils-1.0.30.tgz",
"integrity": "sha512-gS5wyIIIbDQw4I+pLB2KMMF9Gvdo2Gz/BCfpw3LoJUVfuEkhJdqtej/9xF+XozcU2YML7bWGRNAYf8CJLZxwgQ==",
"requires": {
"@types/crypto-js": "^4.0.1",
"@types/react": "^16.9.56",
"crypto-js": "^4.0.0",
"html2canvas": "^1.0.0-rc.7",
"spark-wrapper-fyge": "^1.0.4"
}
},
"@types/crypto-js": {
"version": "4.0.1",
"resolved": "http://npm.dui88.com:80/@types%2fcrypto-js/-/crypto-js-4.0.1.tgz",
"integrity": "sha1-OkvSRRiw5sWUDaTiZZ7rLvCAaWM="
},
"@types/json-schema": {
"version": "7.0.6",
"resolved": "http://npm.dui88.com:80/@types%2fjson-schema/-/json-schema-7.0.6.tgz",
"integrity": "sha1-9MfsQ+gbMZqYFRFQMXCfJph4kfA="
},
"@types/prop-types": {
"version": "15.7.3",
"resolved": "http://npm.dui88.com:80/@types%2fprop-types/-/prop-types-15.7.3.tgz",
"integrity": "sha1-KrDV2i5YFflLC51LldHl8kOrLKc="
},
"@types/react": {
"version": "16.14.2",
"resolved": "http://npm.dui88.com:80/@types%2freact/-/react-16.14.2.tgz",
"integrity": "sha1-hdzAlH0GRTSZI8BMzvYBihq3U4w=",
"requires": {
"@types/prop-types": "*",
"csstype": "^3.0.2"
}
},
"add": {
"version": "2.0.6",
"resolved": "http://npm.dui88.com:80/add/-/add-2.0.6.tgz",
"integrity": "sha1-JI8Kn25aUo7yKV2+7DBTITCuIjU="
},
"ajv": {
"version": "6.12.6",
"resolved": "http://npm.dui88.com:80/ajv/-/ajv-6.12.6.tgz",
"integrity": "sha1-uvWmLoArB9l3A0WG+MO69a3ybfQ=",
"requires": {
"fast-deep-equal": "^3.1.1",
"fast-json-stable-stringify": "^2.0.0",
"json-schema-traverse": "^0.4.1",
"uri-js": "^4.2.2"
}
},
"ajv-errors": {
"version": "1.0.1",
"resolved": "http://npm.dui88.com:80/ajv-errors/-/ajv-errors-1.0.1.tgz",
"integrity": "sha1-81mGrOuRr63sQQL72FAUlQzvpk0="
},
"ajv-keywords": {
"version": "3.5.2",
"resolved": "http://npm.dui88.com:80/ajv-keywords/-/ajv-keywords-3.5.2.tgz",
"integrity": "sha1-MfKdpatuANHC0yms97WSlhTVAU0="
},
"ansi-styles": {
"version": "3.2.1",
"resolved": "http://npm.dui88.com:80/ansi-styles/-/ansi-styles-3.2.1.tgz",
"integrity": "sha1-QfuyAkPlCxK+DwS43tvwdSDOhB0=",
"requires": {
"color-convert": "^1.9.0"
}
},
"argparse": {
"version": "1.0.10",
"resolved": "http://npm.dui88.com:80/argparse/-/argparse-1.0.10.tgz",
"integrity": "sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=",
"requires": {
"sprintf-js": "~1.0.2"
}
},
"axios": {
"version": "0.19.2",
"resolved": "http://npm.dui88.com:80/axios/-/axios-0.19.2.tgz",
"integrity": "sha1-PqNsXYgY0NX4qKl6bTa4bNwAyyc=",
"requires": {
"follow-redirects": "1.5.10"
}
},
"base64-arraybuffer": {
"version": "0.2.0",
"resolved": "http://npm.dui88.com:80/base64-arraybuffer/-/base64-arraybuffer-0.2.0.tgz",
"integrity": "sha1-S5RPrAGRqlkHr+LYyZnMxXzoD0U="
},
"big.js": {
"version": "5.2.2",
"resolved": "http://npm.dui88.com:80/big.js/-/big.js-5.2.2.tgz",
"integrity": "sha1-ZfCvOC9Xi83HQr2cKB6cstd2gyg="
},
"caller-callsite": {
"version": "2.0.0",
"resolved": "http://npm.dui88.com:80/caller-callsite/-/caller-callsite-2.0.0.tgz",
"integrity": "sha1-hH4PzgoiN1CpoCfFSzNzGtMVQTQ=",
"requires": {
"callsites": "^2.0.0"
}
},
"caller-path": {
"version": "2.0.0",
"resolved": "http://npm.dui88.com:80/caller-path/-/caller-path-2.0.0.tgz",
"integrity": "sha1-Ro+DBE42mrIBD6xfBs7uFbsssfQ=",
"requires": {
"caller-callsite": "^2.0.0"
}
},
"callsites": {
"version": "2.0.0",
"resolved": "http://npm.dui88.com:80/callsites/-/callsites-2.0.0.tgz",
"integrity": "sha1-BuuE8A7qQT2oav/vrL/7Ngk7PFA="
},
"camelcase": {
"version": "5.3.1",
"resolved": "http://npm.dui88.com:80/camelcase/-/camelcase-5.3.1.tgz",
"integrity": "sha1-48mzFWnhBoEd8kL3FXJaH0xJQyA="
},
"chalk": {
"version": "2.4.2",
"resolved": "http://npm.dui88.com:80/chalk/-/chalk-2.4.2.tgz",
"integrity": "sha1-zUJUFnelQzPPVBpJEIwUMrRMlCQ=",
"requires": {
"ansi-styles": "^3.2.1",
"escape-string-regexp": "^1.0.5",
"supports-color": "^5.3.0"
},
"dependencies": {
"supports-color": {
"version": "5.5.0",
"resolved": "http://npm.dui88.com:80/supports-color/-/supports-color-5.5.0.tgz",
"integrity": "sha1-4uaaRKyHcveKHsCzW2id9lMO/I8=",
"requires": {
"has-flag": "^3.0.0"
}
}
}
},
"classnames": {
"version": "2.2.6",
"resolved": "http://npm.dui88.com:80/classnames/-/classnames-2.2.6.tgz",
"integrity": "sha1-Q5Nb/90pHzJtrQogUwmzjQD2UM4="
},
"color-convert": {
"version": "1.9.3",
"resolved": "http://npm.dui88.com:80/color-convert/-/color-convert-1.9.3.tgz",
"integrity": "sha1-u3GFBpDh8TZWfeYp0tVHHe2kweg=",
"requires": {
"color-name": "1.1.3"
}
},
"color-name": {
"version": "1.1.3",
"resolved": "http://npm.dui88.com:80/color-name/-/color-name-1.1.3.tgz",
"integrity": "sha1-p9BVi9icQveV3UIyj3QIMcpTvCU="
},
"commander": {
"version": "6.2.1",
"resolved": "http://npm.dui88.com:80/commander/-/commander-6.2.1.tgz",
"integrity": "sha1-B5LraC37wyWZm7K4T93duhEKxzw=",
"dev": true
},
"cosmiconfig": {
"version": "5.2.1",
"resolved": "http://npm.dui88.com:80/cosmiconfig/-/cosmiconfig-5.2.1.tgz",
"integrity": "sha1-BA9yaAnFked6F8CjYmykW08Wixo=",
"requires": {
"import-fresh": "^2.0.0",
"is-directory": "^0.3.1",
"js-yaml": "^3.13.1",
"parse-json": "^4.0.0"
}
},
"crypto-js": {
"version": "4.0.0",
"resolved": "http://npm.dui88.com:80/crypto-js/-/crypto-js-4.0.0.tgz",
"integrity": "sha1-KQSrJnep0EKFai6i74DekuSjbcw="
},
"css-line-break": {
"version": "1.1.1",
"resolved": "http://npm.dui88.com:80/css-line-break/-/css-line-break-1.1.1.tgz",
"integrity": "sha1-1em90peEAJnrBQPHMQ/TSSegJu8=",
"requires": {
"base64-arraybuffer": "^0.2.0"
}
},
"css-loader": {
"version": "3.6.0",
"resolved": "http://npm.dui88.com:80/css-loader/-/css-loader-3.6.0.tgz",
"integrity": "sha1-Lkssfm4tJ/jI8o9hv/zS5ske9kU=",
"requires": {
"camelcase": "^5.3.1",
"cssesc": "^3.0.0",
"icss-utils": "^4.1.1",
"loader-utils": "^1.2.3",
"normalize-path": "^3.0.0",
"postcss": "^7.0.32",
"postcss-modules-extract-imports": "^2.0.0",
"postcss-modules-local-by-default": "^3.0.2",
"postcss-modules-scope": "^2.2.0",
"postcss-modules-values": "^3.0.0",
"postcss-value-parser": "^4.1.0",
"schema-utils": "^2.7.0",
"semver": "^6.3.0"
}
},
"cssesc": {
"version": "3.0.0",
"resolved": "http://npm.dui88.com:80/cssesc/-/cssesc-3.0.0.tgz",
"integrity": "sha1-N3QZGZA7hoVl4cCep0dEXNGJg+4="
},
"csstype": {
"version": "3.0.5",
"resolved": "http://npm.dui88.com:80/csstype/-/csstype-3.0.5.tgz",
"integrity": "sha1-f97GoopnrhhkfFFmip/5W7L6e7g="
},
"debug": {
"version": "3.1.0",
"resolved": "http://npm.dui88.com:80/debug/-/debug-3.1.0.tgz",
"integrity": "sha1-W7WgZyYotkFJVmuhaBnmFRjGcmE=",
"requires": {
"ms": "2.0.0"
}
},
"dom-helpers": {
"version": "5.2.0",
"resolved": "http://npm.dui88.com:80/dom-helpers/-/dom-helpers-5.2.0.tgz",
"integrity": "sha1-V/0FTF+PNMUqPu/9t+fpPNNX2Vs=",
"requires": {
"@babel/runtime": "^7.8.7",
"csstype": "^3.0.2"
}
},
"duiba-utils": {
"version": "1.0.4",
"resolved": "http://npm.dui88.com:80/duiba-utils/-/duiba-utils-1.0.4.tgz",
"integrity": "sha512-l3l5qW1I+qJfBiJ5Fttyl7VRyd1Q0m0K9ujoCg0mteFsVAqjCqwDwipj+ABeemOoR1QvVA3F/Aqi9az9pmYuSg=="
},
"emojis-list": {
"version": "3.0.0",
"resolved": "http://npm.dui88.com:80/emojis-list/-/emojis-list-3.0.0.tgz",
"integrity": "sha1-VXBmIEatKeLpFucariYKvf9Pang="
},
"error-ex": {
"version": "1.3.2",
"resolved": "http://npm.dui88.com:80/error-ex/-/error-ex-1.3.2.tgz",
"integrity": "sha1-tKxAZIEH/c3PriQvQovqihTU8b8=",
"requires": {
"is-arrayish": "^0.2.1"
}
},
"escape-string-regexp": {
"version": "1.0.5",
"resolved": "http://npm.dui88.com:80/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz",
"integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ="
},
"esprima": {
"version": "4.0.1",
"resolved": "http://npm.dui88.com:80/esprima/-/esprima-4.0.1.tgz",
"integrity": "sha1-E7BM2z5sXRnfkatph6hpVhmwqnE="
},
"fast-deep-equal": {
"version": "3.1.3",
"resolved": "http://npm.dui88.com:80/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz",
"integrity": "sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU="
},
"fast-json-stable-stringify": {
"version": "2.1.0",
"resolved": "http://npm.dui88.com:80/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz",
"integrity": "sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM="
},
"follow-redirects": {
"version": "1.5.10",
"resolved": "http://npm.dui88.com:80/follow-redirects/-/follow-redirects-1.5.10.tgz",
"integrity": "sha1-e3qfmuov3/NnhqlP9kPtB/T/Xio=",
"requires": {
"debug": "=3.1.0"
}
},
"fyge": {
"version": "2.0.13",
"resolved": "http://npm.dui88.com:80/fyge/-/fyge-2.0.13.tgz",
"integrity": "sha512-zfsZ7W3SkZpYyfQNMtx8EghyLRs6ZmductNmbOfot3vKhFpYMyPjgXuO2YLwcgITSwnqtXzFRh381T1pZSc4CQ==",
"requires": {
"duiba-utils": "^1.0.0"
}
},
"fyge-tbmini": {
"version": "1.4.8",
"resolved": "http://npm.dui88.com:80/fyge-tbmini/-/fyge-tbmini-1.4.8.tgz",
"integrity": "sha1-4qC9decrE6N7dWJPcB3BYJ7b7G8="
},
"hammerjs": {
"version": "2.0.8",
"resolved": "http://npm.dui88.com:80/hammerjs/-/hammerjs-2.0.8.tgz",
"integrity": "sha1-BO93hiz/K7edMPdpIJWTAiK/YPE="
},
"has-flag": {
"version": "3.0.0",
"resolved": "http://npm.dui88.com:80/has-flag/-/has-flag-3.0.0.tgz",
"integrity": "sha1-tdRU3CGZriJWmfNGfloH87lVuv0="
},
"hoist-non-react-statics": {
"version": "3.3.2",
"resolved": "http://npm.dui88.com:80/hoist-non-react-statics/-/hoist-non-react-statics-3.3.2.tgz",
"integrity": "sha1-7OCsr3HWLClpwuxZ/v9CpLGoW0U=",
"requires": {
"react-is": "^16.7.0"
}
},
"html2canvas": {
"version": "1.0.0-rc.7",
"resolved": "http://npm.dui88.com:80/html2canvas/-/html2canvas-1.0.0-rc.7.tgz",
"integrity": "sha1-cMFZzg5jlUqRFpUxiU0IrVYnrJg=",
"requires": {
"css-line-break": "1.1.1"
}
},
"icss-utils": {
"version": "4.1.1",
"resolved": "http://npm.dui88.com:80/icss-utils/-/icss-utils-4.1.1.tgz",
"integrity": "sha1-IRcLU3ie4nRHwvR91oMIFAP5pGc=",
"requires": {
"postcss": "^7.0.14"
}
},
"import-cwd": {
"version": "2.1.0",
"resolved": "http://npm.dui88.com:80/import-cwd/-/import-cwd-2.1.0.tgz",
"integrity": "sha1-qmzzbnInYShcs3HsZRn1PiQ1sKk=",
"requires": {
"import-from": "^2.1.0"
}
},
"import-fresh": {
"version": "2.0.0",
"resolved": "http://npm.dui88.com:80/import-fresh/-/import-fresh-2.0.0.tgz",
"integrity": "sha1-2BNVwVYS04bGH53dOSLUMEgipUY=",
"requires": {
"caller-path": "^2.0.0",
"resolve-from": "^3.0.0"
}
},
"import-from": {
"version": "2.1.0",
"resolved": "http://npm.dui88.com:80/import-from/-/import-from-2.1.0.tgz",
"integrity": "sha1-M1238qev/VOqpHHUuAId7ja387E=",
"requires": {
"resolve-from": "^3.0.0"
}
},
"indexes-of": {
"version": "1.0.1",
"resolved": "http://npm.dui88.com:80/indexes-of/-/indexes-of-1.0.1.tgz",
"integrity": "sha1-8w9xbI4r00bHtn0985FVZqfAVgc="
},
"intersection-observer": {
"version": "0.11.0",
"resolved": "http://npm.dui88.com:80/intersection-observer/-/intersection-observer-0.11.0.tgz",
"integrity": "sha1-9OoGcHAyb2g5PuFhzAospMAEDG8="
},
"invariant": {
"version": "2.2.4",
"resolved": "http://npm.dui88.com:80/invariant/-/invariant-2.2.4.tgz",
"integrity": "sha1-YQ88ksk1nOHbYW5TgAjSP/NRWOY=",
"requires": {
"loose-envify": "^1.0.0"
}
},
"is-arrayish": {
"version": "0.2.1",
"resolved": "http://npm.dui88.com:80/is-arrayish/-/is-arrayish-0.2.1.tgz",
"integrity": "sha1-d8mYQFJ6qOyxqLppe4BkWnqSap0="
},
"is-directory": {
"version": "0.3.1",
"resolved": "http://npm.dui88.com:80/is-directory/-/is-directory-0.3.1.tgz",
"integrity": "sha1-YTObbyR1/Hcv2cnYP1yFddwVSuE="
},
"js-tokens": {
"version": "4.0.0",
"resolved": "http://npm.dui88.com:80/js-tokens/-/js-tokens-4.0.0.tgz",
"integrity": "sha1-GSA/tZmR35jjoocFDUZHzerzJJk="
},
"js-yaml": {
"version": "3.14.1",
"resolved": "http://npm.dui88.com:80/js-yaml/-/js-yaml-3.14.1.tgz",
"integrity": "sha1-2ugS/bOCX6MGYJqHFzg8UMNqBTc=",
"requires": {
"argparse": "^1.0.7",
"esprima": "^4.0.0"
}
},
"json-parse-better-errors": {
"version": "1.0.2",
"resolved": "http://npm.dui88.com:80/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz",
"integrity": "sha1-u4Z8+zRQ5pEHwTHRxRS6s9yLyqk="
},
"json-schema-traverse": {
"version": "0.4.1",
"resolved": "http://npm.dui88.com:80/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz",
"integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA="
},
"json5": {
"version": "1.0.1",
"resolved": "http://npm.dui88.com:80/json5/-/json5-1.0.1.tgz",
"integrity": "sha1-d5+wAYYE+oVOrL9iUhgNg1Q+Pb4=",
"requires": {
"minimist": "^1.2.0"
}
},
"loader-utils": {
"version": "1.4.0",
"resolved": "http://npm.dui88.com:80/loader-utils/-/loader-utils-1.4.0.tgz",
"integrity": "sha1-xXm140yzSxp07cbB+za/o3HVphM=",
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^1.0.1"
}
},
"loose-envify": {
"version": "1.4.0",
"resolved": "http://npm.dui88.com:80/loose-envify/-/loose-envify-1.4.0.tgz",
"integrity": "sha1-ce5R+nvkyuwaY4OffmgtgTLTDK8=",
"requires": {
"js-tokens": "^3.0.0 || ^4.0.0"
}
},
"minimist": {
"version": "1.2.5",
"resolved": "http://npm.dui88.com:80/minimist/-/minimist-1.2.5.tgz",
"integrity": "sha1-Z9ZgFLZqaoqqDAg8X9WN9OTpdgI="
},
"mockjs": {
"version": "1.1.0",
"resolved": "http://npm.dui88.com:80/mockjs/-/mockjs-1.1.0.tgz",
"integrity": "sha1-5qDDeOkZBtuv8gkRzAJzs8fXWwY=",
"dev": true,
"requires": {
"commander": "*"
}
},
"ms": {
"version": "2.0.0",
"resolved": "http://npm.dui88.com:80/ms/-/ms-2.0.0.tgz",
"integrity": "sha1-VgiurfwAvmwpAd9fmGF4jeDVl8g="
},
"normalize-path": {
"version": "3.0.0",
"resolved": "http://npm.dui88.com:80/normalize-path/-/normalize-path-3.0.0.tgz",
"integrity": "sha1-Dc1p/yOhybEf0JeDFmRKA4ghamU="
},
"object-assign": {
"version": "4.1.1",
"resolved": "http://npm.dui88.com:80/object-assign/-/object-assign-4.1.1.tgz",
"integrity": "sha1-IQmtx5ZYh8/AXLvUQsrIv7s2CGM="
},
"parse-json": {
"version": "4.0.0",
"resolved": "http://npm.dui88.com:80/parse-json/-/parse-json-4.0.0.tgz",
"integrity": "sha1-vjX1Qlvh9/bHRxhPmKeIy5lHfuA=",
"requires": {
"error-ex": "^1.3.1",
"json-parse-better-errors": "^1.0.1"
}
},
"postcss": {
"version": "7.0.35",
"resolved": "http://npm.dui88.com:80/postcss/-/postcss-7.0.35.tgz",
"integrity": "sha1-0r4AuZj38hHYonaXQHny6SuXDiQ=",
"requires": {
"chalk": "^2.4.2",
"source-map": "^0.6.1",
"supports-color": "^6.1.0"
}
},
"postcss-load-config": {
"version": "2.1.2",
"resolved": "http://npm.dui88.com:80/postcss-load-config/-/postcss-load-config-2.1.2.tgz",
"integrity": "sha1-xepQTyxK7zPHNZo03jVzdyrXUCo=",
"requires": {
"cosmiconfig": "^5.0.0",
"import-cwd": "^2.0.0"
}
},
"postcss-loader": {
"version": "3.0.0",
"resolved": "http://npm.dui88.com:80/postcss-loader/-/postcss-loader-3.0.0.tgz",
"integrity": "sha1-a5eUPkfHLYRfqeA/Jzdz1OjdbC0=",
"requires": {
"loader-utils": "^1.1.0",
"postcss": "^7.0.0",
"postcss-load-config": "^2.0.0",
"schema-utils": "^1.0.0"
},
"dependencies": {
"schema-utils": {
"version": "1.0.0",
"resolved": "http://npm.dui88.com:80/schema-utils/-/schema-utils-1.0.0.tgz",
"integrity": "sha1-C3mpMgTXtgDUsoUNH2bCo0lRx3A=",
"requires": {
"ajv": "^6.1.0",
"ajv-errors": "^1.0.0",
"ajv-keywords": "^3.1.0"
}
}
}
},
"postcss-modules-extract-imports": {
"version": "2.0.0",
"resolved": "http://npm.dui88.com:80/postcss-modules-extract-imports/-/postcss-modules-extract-imports-2.0.0.tgz",
"integrity": "sha1-gYcZoa4doyX5gyRGsBE27rSTzX4=",
"requires": {
"postcss": "^7.0.5"
}
},
"postcss-modules-local-by-default": {
"version": "3.0.3",
"resolved": "http://npm.dui88.com:80/postcss-modules-local-by-default/-/postcss-modules-local-by-default-3.0.3.tgz",
"integrity": "sha1-uxTgzHgnnVBNvcv9fgyiiZP/u7A=",
"requires": {
"icss-utils": "^4.1.1",
"postcss": "^7.0.32",
"postcss-selector-parser": "^6.0.2",
"postcss-value-parser": "^4.1.0"
}
},
"postcss-modules-scope": {
"version": "2.2.0",
"resolved": "http://npm.dui88.com:80/postcss-modules-scope/-/postcss-modules-scope-2.2.0.tgz",
"integrity": "sha1-OFyuATzHdD9afXYC0Qc6iequYu4=",
"requires": {
"postcss": "^7.0.6",
"postcss-selector-parser": "^6.0.0"
}
},
"postcss-modules-values": {
"version": "3.0.0",
"resolved": "http://npm.dui88.com:80/postcss-modules-values/-/postcss-modules-values-3.0.0.tgz",
"integrity": "sha1-W1AA1uuuKbQlUwG0o6VFdEI+fxA=",
"requires": {
"icss-utils": "^4.0.0",
"postcss": "^7.0.6"
}
},
"postcss-selector-parser": {
"version": "6.0.4",
"resolved": "http://npm.dui88.com:80/postcss-selector-parser/-/postcss-selector-parser-6.0.4.tgz",
"integrity": "sha1-VgdaE4CgRgTDiwY+p3Z6Epr1wrM=",
"requires": {
"cssesc": "^3.0.0",
"indexes-of": "^1.0.1",
"uniq": "^1.0.1",
"util-deprecate": "^1.0.2"
}
},
"postcss-value-parser": {
"version": "4.1.0",
"resolved": "http://npm.dui88.com:80/postcss-value-parser/-/postcss-value-parser-4.1.0.tgz",
"integrity": "sha1-RD9qIM7WSBor2k+oUypuVdeJoss="
},
"prettier": {
"version": "2.2.1",
"resolved": "http://npm.dui88.com:80/prettier/-/prettier-2.2.1.tgz",
"integrity": "sha1-eVoaeN1S8HPaDNQrIfnJE4GSP/U="
},
"prop-types": {
"version": "15.7.2",
"resolved": "http://npm.dui88.com:80/prop-types/-/prop-types-15.7.2.tgz",
"integrity": "sha1-UsQedbjIfnK52TYOAga5ncv/psU=",
"requires": {
"loose-envify": "^1.4.0",
"object-assign": "^4.1.1",
"react-is": "^16.8.1"
}
},
"punycode": {
"version": "2.1.1",
"resolved": "http://npm.dui88.com:80/punycode/-/punycode-2.1.1.tgz",
"integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew="
},
"qs": {
"version": "6.9.4",
"resolved": "http://npm.dui88.com:80/qs/-/qs-6.9.4.tgz",
"integrity": "sha1-kJCykNH5FyjTwi5UhDykSupatoc="
},
"react": {
"version": "16.14.0",
"resolved": "http://npm.dui88.com:80/react/-/react-16.14.0.tgz",
"integrity": "sha1-lNd23dCqo32j7aj8W2sYpMmjEU0=",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"prop-types": "^15.6.2"
}
},
"react-dom": {
"version": "16.14.0",
"resolved": "http://npm.dui88.com:80/react-dom/-/react-dom-16.14.0.tgz",
"integrity": "sha1-etg47Cmnd/s8dcOhkPZhz5Kri4k=",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1",
"prop-types": "^15.6.2",
"scheduler": "^0.19.1"
}
},
"react-is": {
"version": "16.13.1",
"resolved": "http://npm.dui88.com:80/react-is/-/react-is-16.13.1.tgz",
"integrity": "sha1-eJcppNw23imZ3BVt1sHZwYzqVqQ="
},
"react-lifecycles-compat": {
"version": "3.0.4",
"resolved": "http://npm.dui88.com:80/react-lifecycles-compat/-/react-lifecycles-compat-3.0.4.tgz",
"integrity": "sha1-TxonOv38jzSIqMUWv9p4+HI1I2I="
},
"react-redux": {
"version": "5.1.2",
"resolved": "http://npm.dui88.com:80/react-redux/-/react-redux-5.1.2.tgz",
"integrity": "sha1-sZz54h1pRCJye/eY6TSpFsQID1c=",
"requires": {
"@babel/runtime": "^7.1.2",
"hoist-non-react-statics": "^3.3.0",
"invariant": "^2.2.4",
"loose-envify": "^1.1.0",
"prop-types": "^15.6.1",
"react-is": "^16.6.0",
"react-lifecycles-compat": "^3.0.0"
}
},
"react-transition-group": {
"version": "4.4.1",
"resolved": "http://npm.dui88.com:80/react-transition-group/-/react-transition-group-4.4.1.tgz",
"integrity": "sha1-Y4aPkyWjjqXulTXYKDJ/hXczRck=",
"requires": {
"@babel/runtime": "^7.5.5",
"dom-helpers": "^5.0.1",
"loose-envify": "^1.4.0",
"prop-types": "^15.6.2"
}
},
"redux": {
"version": "4.0.5",
"resolved": "http://npm.dui88.com:80/redux/-/redux-4.0.5.tgz",
"integrity": "sha1-TbXeWBbheJHeioDEJCMtBvBR2T8=",
"requires": {
"loose-envify": "^1.4.0",
"symbol-observable": "^1.2.0"
}
},
"redux-thunk": {
"version": "2.3.0",
"resolved": "http://npm.dui88.com:80/redux-thunk/-/redux-thunk-2.3.0.tgz",
"integrity": "sha1-UcLBmhhe1Rh6qpotCLZm0NZGdiI="
},
"regenerator-runtime": {
"version": "0.13.7",
"resolved": "http://npm.dui88.com:80/regenerator-runtime/-/regenerator-runtime-0.13.7.tgz",
"integrity": "sha1-ysLazIoepnX+qrrriugziYrkb1U="
},
"resolve-from": {
"version": "3.0.0",
"resolved": "http://npm.dui88.com:80/resolve-from/-/resolve-from-3.0.0.tgz",
"integrity": "sha1-six699nWiBvItuZTM17rywoYh0g="
},
"scheduler": {
"version": "0.19.1",
"resolved": "http://npm.dui88.com:80/scheduler/-/scheduler-0.19.1.tgz",
"integrity": "sha1-Tz4u0sGn1laB9MhU+oxaHMtA8ZY=",
"requires": {
"loose-envify": "^1.1.0",
"object-assign": "^4.1.1"
}
},
"schema-utils": {
"version": "2.7.1",
"resolved": "http://npm.dui88.com:80/schema-utils/-/schema-utils-2.7.1.tgz",
"integrity": "sha1-HKTzLRskxZDCA7jnpQvw6kzTlNc=",
"requires": {
"@types/json-schema": "^7.0.5",
"ajv": "^6.12.4",
"ajv-keywords": "^3.5.2"
}
},
"semver": {
"version": "6.3.0",
"resolved": "http://npm.dui88.com:80/semver/-/semver-6.3.0.tgz",
"integrity": "sha1-7gpkyK9ejO6mdoexM3YeG+y9HT0="
},
"source-map": {
"version": "0.6.1",
"resolved": "http://npm.dui88.com:80/source-map/-/source-map-0.6.1.tgz",
"integrity": "sha1-dHIq8y6WFOnCh6jQu95IteLxomM="
},
"spark-design": {
"version": "0.2.0",
"resolved": "http://npm.dui88.com:80/spark-design/-/spark-design-0.2.0.tgz",
"integrity": "sha512-GdSpB9nW+bQmxYTXGlqy7X0CIynmH9UHBpJjutjJcT+vE3QgTNauunbOvYPbJiSo+c241vcvL0cn+NPeSdBzyQ==",
"requires": {
"classnames": "^2.2.6",
"hammerjs": "^2.0.8",
"react-transition-group": "^4.4.1"
}
},
"spark-utils": {
"version": "0.0.12",
"resolved": "http://npm.dui88.com:80/spark-utils/-/spark-utils-0.0.12.tgz",
"integrity": "sha512-30/JxohR2DlgT0cyBWvt+3w2Zz9JLHh8uMQd2q/Ufjhtb+QXHT0x0meuwUh7s6pHwHovI+ZqzepCcKs2OxR7LA==",
"requires": {
"intersection-observer": "^0.11.0",
"spark-wrapper-fyge": "^1.0.2"
}
},
"spark-wrapper-fyge": {
"version": "1.0.24",
"resolved": "http://npm.dui88.com:80/spark-wrapper-fyge/-/spark-wrapper-fyge-1.0.24.tgz",
"integrity": "sha512-1nI6oh4+G1vdKR+pwRqJ2vYAzc5SZAI8RIVzmec3n70Vu9XdBvVi6HoKOff6KIaeg5ETlHZn5afzTOcRE7O1Cw==",
"requires": {
"fyge": "^2.0.13"
}
},
"sprintf-js": {
"version": "1.0.3",
"resolved": "http://npm.dui88.com:80/sprintf-js/-/sprintf-js-1.0.3.tgz",
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw="
},
"style-loader": {
"version": "1.3.0",
"resolved": "http://npm.dui88.com:80/style-loader/-/style-loader-1.3.0.tgz",
"integrity": "sha1-gotKOzt+eqWEfOe66eh0USEUJJ4=",
"requires": {
"loader-utils": "^2.0.0",
"schema-utils": "^2.7.0"
},
"dependencies": {
"json5": {
"version": "2.1.3",
"resolved": "http://npm.dui88.com:80/json5/-/json5-2.1.3.tgz",
"integrity": "sha1-ybD3+pIzv+WAf+ZvzzpWF+1ZfUM=",
"requires": {
"minimist": "^1.2.5"
}
},
"loader-utils": {
"version": "2.0.0",
"resolved": "http://npm.dui88.com:80/loader-utils/-/loader-utils-2.0.0.tgz",
"integrity": "sha1-5MrOW4FtQloWa18JfhDNErNgZLA=",
"requires": {
"big.js": "^5.2.2",
"emojis-list": "^3.0.0",
"json5": "^2.1.2"
}
}
}
},
"supports-color": {
"version": "6.1.0",
"resolved": "http://npm.dui88.com:80/supports-color/-/supports-color-6.1.0.tgz",
"integrity": "sha1-B2Srxpxj1ayELdSGfo0CXogN+PM=",
"requires": {
"has-flag": "^3.0.0"
}
},
"svgaplayerweb": {
"version": "2.3.1",
"resolved": "http://npm.dui88.com:80/svgaplayerweb/-/svgaplayerweb-2.3.1.tgz",
"integrity": "sha1-Au3BavFiCvn1dKU254E/wlE55Hs="
},
"symbol-observable": {
"version": "1.2.0",
"resolved": "http://npm.dui88.com:80/symbol-observable/-/symbol-observable-1.2.0.tgz",
"integrity": "sha1-wiaIrtTqs83C3+rLtWFmBWCgCAQ="
},
"uniq": {
"version": "1.0.1",
"resolved": "http://npm.dui88.com:80/uniq/-/uniq-1.0.1.tgz",
"integrity": "sha1-sxxa6CVIRKOoKBVBzisEuGWnNP8="
},
"uri-js": {
"version": "4.4.0",
"resolved": "http://npm.dui88.com:80/uri-js/-/uri-js-4.4.0.tgz",
"integrity": "sha1-qnFCYd55PoqCNHp7zJznTobyhgI=",
"requires": {
"punycode": "^2.1.0"
}
},
"util-deprecate": {
"version": "1.0.2",
"resolved": "http://npm.dui88.com:80/util-deprecate/-/util-deprecate-1.0.2.tgz",
"integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8="
},
"yarn": {
"version": "1.22.10",
"resolved": "http://npm.dui88.com:80/yarn/-/yarn-1.22.10.tgz",
"integrity": "sha1-yZ2qBiV8gPj6LD8UkHJOOUwmsYw="
}
}
}
{
"name": "sparkproject-1608532529744",
"version": "1.0.0",
"private": true,
"scripts": {
"dev": "spark dev --type h5",
"prod": "spark build --type h5 --env prod",
"tb": "spark build --type taobao"
},
"dependencies": {
"@spark/api-base": "^1.0.11",
"@spark/projectx": "^1.0.3",
"axios": "^0.19.2",
"css-loader": "^3.6.0",
"duiba-utils": "^1.0.2",
"fyge-tbmini": "^1.3.1",
"postcss-loader": "^3.0.0",
"prettier": "^2.0.5",
"qs": "^6.9.4",
"react": "^16.4.1",
"react-dom": "^16.4.1",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-thunk": "^2.3.0",
"spark-design": "^0.2.0",
"spark-utils": "^0.0.12",
"style-loader": "^1.2.1",
"svgaplayerweb": "^2.3.1"
},
"devDependencies": {
"mockjs": "^1.1.0"
}
}
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="theme-color" content="#000000">
<title>React App</title>
<script src="getTokenKey" id="scriptkey"></script>
<script id="scriptjs" src="//yun.duiba.com.cn/js-libs/px-token/0.0.4/px-token.min.js"></script>
<script src="//yun.duiba.com.cn/js-libs/rem/1.1.0/rem.min.js"></script>
<script src="//yun.duiba.com.cn/h5/lib/zepto.min.js"></script>
<script>
function getApp() {
return {
cloud: {},
cloudName: "clientTemplate2C",
requestType: "mock"
}
}
var CFG = CFG || {};
CFG.projectId = location.pathname.split('/')[2] || '1';
function getUrlParam(name) {
const search = window.location.search;
const matched = search
.slice(1)
.match(new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i'));
return search.length ? matched && matched[2] : null;
}
CFG.appID = '${APPID}';
if (!getUrlParam("appID")) {
// alert("【警告】检测到活动url中没有appID参数\n缺少该参数会导致埋点、分享、app信息获取错误。")
}
</script>
</head>
<body>
<noscript>
You need to enable JavaScript to run this app.
</noscript>
<div id="root"></div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
\ No newline at end of file
module.exports = {
OUTPUT_DIR: "dist",
SOURCE_DIR: "src",
TEMP_DIR: "./.temp",
ENTRY: "src/app.jsx",
TEMPLATE: "./public/index.html",
MOCK_STATUS: true
};
import {
svga
} from './source.js';
const SVGA = require('svgaplayerweb')
var svgaParser = new SVGA.Parser();
//加载过存下来
const svgaMap = new Map()
/**
* 快速加载svga资源,但不装载
* @param name 资源name
*/
export const loadSVGA = (name) => {
if (!svgaMap[name]) {
svgaMap[name] = new Promise((resolve, reject) => {
console.log(svga[name]);
// svgaParser.load(svga[name], (videoItem) => {
// svgaMap[name] = videoItem
// resolve(videoItem)
// }, (err) => {
// reject(err)
// })
svgaParser.load('./svga/panda1.svga', (videoItem) => {
svgaMap[name] = videoItem
resolve(videoItem)
}, (err) => {
reject(err)
})
})
}
return svgaMap[name]
}
/**
* 快速装载一个svga动画
* @param name 资源name
* @param className 挂载元素的class name
* @param frame 从第几帧开始。默认0帧
* @param callback 回调
* @param loops 播放次数。默认为空,循环播放。
* @param clearsAfterStop
*/
export const getSVGA = async (name, className, frame = 0, callback, play = true, loops, clearsAfterStop) => {
const videoItem = await loadSVGA(name)
var svga = new SVGA.Player(className);
if (loops)
svga.loops = loops;
svga.clearsAfterStop = false
if (clearsAfterStop)
svga.clearsAfterStop = clearsAfterStop;
svga.setVideoItem(videoItem);
svga.stepToFrame(frame, play)
svga.onFinished(() => {
if (typeof callback == "function") {
callback()
}
})
return svga
}
\ No newline at end of file
const path='http://localhost:8088/'
export const svga = {
// "panda1":`${path}svga/panda1.svga`,
"panda1":`./svga/panda1.svga`,
// "panda2":'panda2.svga',
// "faguang":'https://yun.duiba.com.cn/spark/assets/1c66c49ab93a93c74e243a2e9b39c0f0b707db20.svga',
// "jindou":'https://yun.duiba.com.cn/spark/assets/6922315371e552ebc17c984f76a5a842184ef64f.svga',
// "kuangche":'https://yun.duiba.com.cn/spark/assets/4f86cf37d5db980895726bc01cdb0f74214479c3.svga',
// "panda1":'https://yun.duiba.com.cn/spark/assets/21886b0b9cf419b75ae24602d8b14af7e0053a0e.svga',
// "panda2":'https://yun.duiba.com.cn/spark/assets/20c1a5c1ff25bb82fb071947f8a8e3564c6e6df7.svga',
// "faguang":'https://yun.duiba.com.cn/spark/assets/1c66c49ab93a93c74e243a2e9b39c0f0b707db20.svga',
// "jindou":'https://yun.duiba.com.cn/spark/assets/6922315371e552ebc17c984f76a5a842184ef64f.svga',
// "kuangche":'https://yun.duiba.com.cn/spark/assets/4f86cf37d5db980895726bc01cdb0f74214479c3.svga',
}
\ No newline at end of file
let projectId = 67372
let domain = `https://docs.dui88.com/mock/115`
const apiCfg = {
getRule: `${domain}/projectx/${projectId}/projectRule.query`,
// getHomeInfo: `/projectx/${projectId}/pinganGame/homeInfo.do`,
getHomeInfo: `${domain}/projectx/${projectId}/pinganGame/homeInfo.do`,
getGroupState: `${domain}/projectx/${projectId}/pinganGame/groupState.do`,
getCreateItem: `${domain}/projectx/${projectId}/pinganAssist/createItem.do`,
getPrizeInfo: `${domain}/projectx/${projectId}/pinganGame/prizeInfo.do`,
createGroup: {
uri: `${domain}/projectx/${projectId}/pinganGame/createGroup.do`,
method: 'post',
},
joinGroup: {
uri: `${domain}/projectx/${projectId}/pinganGame/joinGroup.do`,
method: 'post',
},
takePrize: {
uri: `${domain}/projectx/${projectId}/pinganGame/takePrize.do`,
method: 'post',
},
doAssist: {
uri: `${domain}/projectx/${projectId}/pinganAssist/doAssist.do`,
method: 'post',
},
}
export default apiCfg;
import apiCfg from './apicfg';
import {getPxToken} from "@spark/projectx";
import {callApi} from '@spark/api-base'
import {isFromShare, newUser} from 'duiba-utils';
let mergeData = {
user_type: newUser ? '0' : '1',
is_from_share: isFromShare ? '0' : '1',
}
const apiList = {
...apiCfg
}
const API = generateAPI(apiList);
export default API;
function getRequestParams(value) {
if (typeof value === 'string') {
return {
uri: value,
method: 'get'
}
} else if (typeof value === 'object') {
const {uri, method = 'post', headers, withToken, secret, secretKey} = value;
return {
uri,
method,
headers,
withToken,
secret,
secretKey,
}
} else {
console.error('getRequestParams: 传参有误');
}
}
function generateAPI(apiList) {
const api = {};
for (let key in apiList) {
let value = apiList[key];
const {method, uri, headers: mHeaders, withToken, secret, secretKey} = getRequestParams(value);
api[key] = async (params = {}, headers) => {
let token;
if (withToken) {
const {type, payload} = await getPxToken();
switch (type) {
case 'success':
token = payload.token;
break;
case 'failed':
location.reload();
break;
}
}
let mergedHeaders = {...mHeaders, ...headers}
if (withToken && token) {
params.token = token;
}
params = {...params, ...mergeData};
const result = await callApi(uri, params, method, mergedHeaders, false, secret, secretKey);
if (result.type === 'success') {
return result.payload;
}
throw new Error(result.payload);
}
}
return api;
}
import React, { Component } from "react";
import ReactDOM from "react-dom";
import "./app.less";
import 'spark-design/dist/index.css'
import { MOCK_STATUS } from '../sparkrc';
MOCK_STATUS && (require('../mock/index'));
import MD from '../MD';
MD();
//此处为spark-cli动态生成
import resList from './resconfig/resList';
import Pagezu_dui_ye_cheng_wei_dui_chang from "./pages/Pagezu_dui_ye_cheng_wei_dui_chang/Pagezu_dui_ye_cheng_wei_dui_chang.jsx";
import Pageyao_qing_ru_dui_fen_xiang_luo from "./pages/Pageyao_qing_ru_dui_fen_xiang_luo/Pageyao_qing_ru_dui_fen_xiang_luo.jsx";
import Pagezhu_li_pkzhu_li_fen from "./pages/Pagezhu_li_pkzhu_li_fen/Pagezhu_li_pkzhu_li_fen.jsx";
import Dig from "./pages/dig/dig.jsx";
import API from './api';
import { getModalHoc } from "spark-design";
import Rule from "./components/comhuo_dong_gui_ze_dan_chuang/comhuo_dong_gui_ze_dan_chuang.jsx";
const RuleModal = getModalHoc(Rule);
import Prize from "./components/Comwo_de_jiang_pin_ye_mian/Comwo_de_jiang_pin_ye_mian.jsx";
const PrizeModal = getModalHoc(Prize);
import Full from "./components/Comman_yuan_dan_chuang/Comman_yuan_dan_chuang.jsx";
const FullModal = getModalHoc(Full);
import More from "./components/Comru_dui_dan_chuang_cheng_gong_ru/Comru_dui_dan_chuang_cheng_gong_ru.jsx";
const MoreModal = getModalHoc(More);
import GetBean from "./components/Comru_dui_dan_chuang_zu_dui_cheng/Comru_dui_dan_chuang_zu_dui_cheng.jsx";
const GetBeanModal = getModalHoc(GetBean);
import Gone from "./components/Comru_dui_dan_chuang_dui_wu_bu/Comru_dui_dan_chuang_dui_wu_bu.jsx";
const GoneModal = getModalHoc(Gone);
import Already from "./components/Comru_dui_dan_chuang_ben_ren_ru_12/Comru_dui_dan_chuang_ben_ren_ru_12.jsx";
const AlreadyModal = getModalHoc(Already);
import Self from "./components/Comru_dui_dan_chuang_ben_ren_ru_15/Comru_dui_dan_chuang_ben_ren_ru_15.jsx";
const SelfModal = getModalHoc(Self);
import Success from "./components/Comzhu_li_dan_chuang_zhu_li_cheng/Comzhu_li_dan_chuang_zhu_li_cheng.jsx";
const SuccessModal = getModalHoc(Success);
import Done from "./components/Comzhu_li_dan_chuang_chong_fu_zhu/Comzhu_li_dan_chuang_chong_fu_zhu.jsx";
const DoneModal = getModalHoc(Done);
import Self_ from "./components/Comzhu_li_dan_chuang_wei_zi_ji/Comzhu_li_dan_chuang_wei_zi_ji.jsx";
const Self_Modal = getModalHoc(Self_);
import End from "./components/Comzhu_li_dan_chuang_ben_chang_huo/Comzhu_li_dan_chuang_ben_chang_huo.jsx";
const EndModal = getModalHoc(End);
import Profile from './components/profile/profile.jsx'
const MODAL_MAP = {
rule: RuleModal,
prize: PrizeModal,
full: FullModal,
more: MoreModal,
getBean: GetBeanModal,
gone: GoneModal,
already: AlreadyModal,
self: SelfModal,
success: SuccessModal,
done: DoneModal,
self_: Self_Modal,
end: EndModal,
}
const DATA_MAP = {
rule: '',
prize: '',
}
// const shared = Math.random() * 2
const shared = 0
class App extends Component {
constructor(props) {
super(props)
this.state = {
modalState: '',
resList: resList,
// current: shared ? 'main' : 'sub',
current: 'main',
}
}
async componentDidMount () {
let data = ''
// data = await API.getRule()
data = `await API.getRule()` + `活动规则`.repeat(Math.random() * 20)
DATA_MAP.rule = data
// data = await API.getHomeInfo()
DATA_MAP.prize = [
{ name: '我的奖品', code: '奖品编码:20202', info: '该权益已过期,请联系客服', status: 'fetch', src: '' },
{ name: '我的品', code: '奖品编码:20202', info: '该过期,请联系客服', status: 'fail', src: '' },
{ name: '我的奖品', code: '奖品20202', info: '该权期,请联系客服', status: 'invalid', src: '' },
{ name: '我奖品', code: '奖品编码:20202', info: '该,请联系客服', status: 'fetch', src: '' },
{ name: '我奖品', code: '奖品编码:20202', info: '该,请联系客服', status: 'fetch', src: '' },
{ name: '我奖品', code: '奖品编码:20202', info: '该,请联系客服', status: 'fetch', src: '' },
{ name: '我奖品', code: '奖品编码:20202', info: '该,请联系客服', status: 'fetch', src: '' },
{ name: '我奖品', code: '奖品编码:20202', info: '该,请联系客服', status: 'fetch', src: '' },
{ name: '我奖品', code: '奖品编码:20202', info: '该,请联系客服', status: 'fetch', src: '' },
]
console.log(data)
}
render () {
return (
<div>
{/* <Profile srcs={[
this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,
this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,
this.state.resList['0b0d3caa-d1ff-409d-a409-08bff66418a0'].url,
this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,
this.state.resList['0b0d3caa-d1ff-409d-a409-08bff66418a0'].url,
]}
></Profile>
<Profile srcs={[this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url]} hasText='true'></Profile>
<Profile srcs={[this.state.resList['dafd85f3-e303-4fd6-aa34-067c09c3f72e'].url]} hasText='true'></Profile> */}
{ this.switcher(this.state.current)}
{
this.state.modalState && (
<section className="modal-bg">
{this.getModal(this.state.modalState)}
</section>
)
}
</div >
);
}
switcher = (url) => {
switch (url) {
case 'main':
return <Pagezu_dui_ye_cheng_wei_dui_chang modal={this.openModal} go={this.go}></Pagezu_dui_ye_cheng_wei_dui_chang>
case 'sub':
return <Pageyao_qing_ru_dui_fen_xiang_luo modal={this.openModal} go={this.go}></Pageyao_qing_ru_dui_fen_xiang_luo>
case 'dig':
return <Dig modal={this.openModal} go={this.go}></Dig>
case 'help':
return <Pagezhu_li_pkzhu_li_fen modal={this.openModal} go={this.go}></Pagezhu_li_pkzhu_li_fen>
default:
break;
}
}
go = (url) => {
this.closeModal()
console.log(url);
this.setState({ current: url })
}
getModal = (str) => {
const Modal = str ? MODAL_MAP[str] : null
return <Modal closeModal={this.closeModal} data={DATA_MAP[str]} go={this.go}></Modal>
}
openModal = (str) => {
this.setState({ modalState: str })
}
closeModal = () => {
this.setState({ modalState: '' })
}
}
ReactDOM.render(<App />, document.getElementById("root"));
* {
margin: 0;
padding: 0;
}
html,
body {
font-size: 24px;
width: 100%;
height: 100%;
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comhuo_dong_gui_ze_dan_chuang.less';
class Comhuo_dong_gui_ze_dan_chuang extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="huo_dong_gui_ze_dan_chuang ">
<img className="dan_chuang_25 " src={this.state.resList['22eb6446-239b-4994-8698-b85904466b78'].url} />
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<span className="tu_ceng_1huo_dong_gui_ze ">
{this.props.data}
</span>
</div>
);
}
}
export default Comhuo_dong_gui_ze_dan_chuang;
.huo_dong_gui_ze_dan_chuang {
width: 95px;
height: 95px;
opacity: 1;
left: 83px;
top: 398px;
position: absolute;
transform-origin: 0px 0px 0px;
.dan_chuang_25 {
width: 641px;
height: 701px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 8px;
left: 535px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.tu_ceng_1huo_dong_gui_ze {
width: 437px;
height: 392px;
opacity: 1;
left: 71px;
top: 192px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comman_yuan_dan_chuang.less';
class Comman_yuan_dan_chuang extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="man_yuan_dan_chuang ">
<img
className="que_ren_dui_huan_dan_chuang_24 "
src={this.state.resList['62339462-0562-48dc-ad2e-6a185c687b73'].url}
/>
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<span className="ni_lai_wan_liao_gai_dui_wu ">你来晚了,该队伍以满员 自己发起组队成团获更多奖励</span>
</div>
);
}
}
export default Comman_yuan_dan_chuang;
.man_yuan_dan_chuang {
width: 641px;
height: 577px;
opacity: 1;
left: 83px;
top: 450px;
position: absolute;
transform-origin: 0px 0px 0px;
.que_ren_dui_huan_dan_chuang_24 {
width: 641px;
height: 577px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 8px;
left: 535px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ni_lai_wan_liao_gai_dui_wu {
width: 506px;
height: 97px;
opacity: 1;
left: 43px;
top: 200px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comru_dui_dan_chuang_ben_ren_ru_12.less';
class Comru_dui_dan_chuang_ben_ren_ru_12 extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="ru_dui_dan_chuang_ben_ren_ru_12 ">
<img
className="que_ren_dui_huan_dan_chuang_14 "
src={this.state.resList['4884e0f6-58c3-4c08-8b23-9cbea1097d29'].url}
/>
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<img className="an_niu_13 " src={this.state.resList['51136539-0107-42ed-9eab-3631d229370e'].url} />
<span className="ni_yi_jing_zai_dui_wu_zhong ">你已经在队伍中了 不要急 成团就能领金豆哦</span>
</div>
);
}
}
export default Comru_dui_dan_chuang_ben_ren_ru_12;
.ru_dui_dan_chuang_ben_ren_ru_12 {
width: 641px;
height: 577px;
opacity: 1;
left: 83px;
top: 450px;
position: absolute;
transform-origin: 0px 0px 0px;
.que_ren_dui_huan_dan_chuang_14 {
width: 641px;
height: 577px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_13 {
width: 316px;
height: 78px;
opacity: 1;
left: 138px;
top: 407px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 10px;
left: 535px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ni_yi_jing_zai_dui_wu_zhong {
width: 315px;
height: 157px;
opacity: 1;
left: 137px;
top: 171px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comru_dui_dan_chuang_ben_ren_ru_15.less';
class Comru_dui_dan_chuang_ben_ren_ru_15 extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="ru_dui_dan_chuang_ben_ren_ru_15 ">
<img
className="que_ren_dui_huan_dan_chuang_17 "
src={this.state.resList['6d84db49-288f-48ae-9c77-e3c7d6727c30'].url}
/>
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<img className="an_niu_16 " src={this.state.resList['51136539-0107-42ed-9eab-3631d229370e'].url} />
<span className="gui_ren_duo_wang_shi_zhe_bu ">贵人多忘事 这不是你的队伍么 去养成神兽,奖励多多呢</span>
</div>
);
}
}
export default Comru_dui_dan_chuang_ben_ren_ru_15;
.ru_dui_dan_chuang_ben_ren_ru_15 {
width: 641px;
height: 580px;
opacity: 1;
left: 83px;
top: 450px;
position: absolute;
transform-origin: 0px 0px 0px;
.que_ren_dui_huan_dan_chuang_17 {
width: 641px;
height: 580px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_16 {
width: 316px;
height: 78px;
opacity: 1;
left: 138px;
top: 407px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 10px;
left: 535px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.gui_ren_duo_wang_shi_zhe_bu {
width: 432px;
height: 159px;
opacity: 1;
left: 78px;
top: 171px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comru_dui_dan_chuang_cheng_gong_ru.less';
class Comru_dui_dan_chuang_cheng_gong_ru extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="ru_dui_dan_chuang_cheng_gong_ru ">
<img className="dan_chuang_23 " src={this.state.resList['a3d0f917-e54b-41e4-b4ca-6c41d7745829'].url} />
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<img className="an_niu_22 " src={this.state.resList['da96b20a-ad15-4cc5-b232-2b7124e86f72'].url} />
<span className="gong_xi_ni_cheng_gong_jia_ru ">恭喜你 成功加入该队伍 还差一人就能分金豆啦!</span>
</div>
);
}
}
export default Comru_dui_dan_chuang_cheng_gong_ru;
.ru_dui_dan_chuang_cheng_gong_ru {
width: 749px;
height: 760px;
opacity: 1;
left: 1px;
top: 299px;
position: absolute;
transform-origin: 0px 0px 0px;
.dan_chuang_23 {
width: 749px;
height: 760px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_22 {
width: 316px;
height: 78px;
opacity: 1;
left: 220px;
top: 558px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 158px;
left: 616px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.gong_xi_ni_cheng_gong_jia_ru {
width: 410px;
height: 157px;
opacity: 1;
left: 175px;
top: 322px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comru_dui_dan_chuang_dui_wu_bu.less';
class Comru_dui_dan_chuang_dui_wu_bu extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="ru_dui_dan_chuang_dui_wu_bu ">
<img
className="que_ren_dui_huan_dan_chuang_19 "
src={this.state.resList['a809d1c3-6cb3-453f-9426-52b47ded2c38'].url}
/>
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<img className="an_niu_18 " src={this.state.resList['51136539-0107-42ed-9eab-3631d229370e'].url} />
<span className="hao_yi_han_gai_dui_wu_yi ">好遗憾 该队伍已经不存在了 加入当天队伍才能分金豆哦</span>
</div>
);
}
}
export default Comru_dui_dan_chuang_dui_wu_bu;
.ru_dui_dan_chuang_dui_wu_bu {
width: 641px;
height: 578px;
opacity: 1;
left: 83px;
top: 450px;
position: absolute;
transform-origin: 0px 0px 0px;
.que_ren_dui_huan_dan_chuang_19 {
width: 641px;
height: 578px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_18 {
width: 316px;
height: 78px;
opacity: 1;
left: 138px;
top: 407px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 10px;
left: 535px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.hao_yi_han_gai_dui_wu_yi {
width: 474px;
height: 157px;
opacity: 1;
left: 57px;
top: 171px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comru_dui_dan_chuang_zu_dui_cheng.less';
class Comru_dui_dan_chuang_zu_dui_cheng extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="ru_dui_dan_chuang_zu_dui_cheng ">
<img className="zu_101321 " src={this.state.resList['0155bd45-7f45-4b4a-a524-056bcdb2ca0b'].url} />
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<img className="an_niu_20 " src={this.state.resList['22f576bc-4e89-4cb5-bd1c-a9a4a4a25f3f'].url} />
<span className="ni_men_guo_yu_you_xiu_yi ">你们过于优秀 已经组队成功啦! 去领取你的专属奖励吧</span>
</div>
);
}
}
export default Comru_dui_dan_chuang_zu_dui_cheng;
.ru_dui_dan_chuang_zu_dui_cheng {
width: 749px;
height: 760px;
opacity: 1;
left: 1px;
top: 299px;
position: absolute;
transform-origin: 0px 0px 0px;
.zu_101321 {
width: 749px;
height: 760px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_20 {
width: 316px;
height: 78px;
opacity: 1;
left: 220px;
top: 558px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 158px;
left: 616px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ni_men_guo_yu_you_xiu_yi {
width: 393px;
height: 157px;
opacity: 1;
left: 180px;
top: 322px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comwa_dou_jie_suan_ye.less';
class Comwa_dou_jie_suan_ye extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="wa_dou_jie_suan_ye ">
<img className="dan_chuang_57 " src={this.state.resList['fa7fd217-5bf0-4d71-8c5d-2df608ac8d89'].url} />
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<img className="wen_zi_nei_rong_55 " src={this.state.resList['2a971ea4-c0cd-4127-88e8-73dfb8c7ba57'].url} />
<img className="an_niu_56 " src={this.state.resList['0c995cbb-2c6b-48c5-b2f9-475b310124b6'].url} onClick={() => this.props.go()} />
<div className="qing_tong ">
<img className="duo_bian_xing_54 " src={this.state.resList['87cf61ce-63a7-42e1-93ad-8aecb76da722'].url} />
<img className="duo_bian_xing_53 " src={this.state.resList['35f0798c-9eef-4ec7-91e5-2890d770d9f7'].url} />
<img className="ti_huan_52 " src={this.props.srcs[1]} />
<img className="duo_bian_xing_51 " src={this.state.resList['d2643774-202e-490a-af46-c846d7309d46'].url} />
<span>{this.props.data[1]}金豆</span>
</div>
<div className="huang_jin ">
<img className="duo_bian_xing_50 " src={this.state.resList['069df023-2a16-4171-9f35-636c2fe5209b'].url} />
<img className="duo_bian_xing_49 " src={this.state.resList['dcb2512c-4d17-4da2-a878-b3f37709f81e'].url} />
<img className="ti_huan_48 " src={this.props.srcs[0]} />
<img className="duo_bian_xing_47 " src={this.state.resList['73e13b6f-8f09-4737-83a5-5dbb784b2c37'].url} />
<span>{this.props.data[0]}金豆</span>
</div>
<div className="wang_zhe ">
<img className="duo_bian_xing_46 " src={this.state.resList['3a210a3f-cbdb-45fd-b0f7-9a05f285592b'].url} />
<img className="duo_bian_xing_45 " src={this.state.resList['ee026a95-0203-4bfb-bb51-64396ca8e75d'].url} />
<img className="ti_huan_44 " src={this.props.srcs[2]} />
<img className="duo_bian_xing_43 " src={this.state.resList['034cfa42-6515-40b1-9a5a-d30f3f4cf82c'].url} />
<span>{this.props.data[2]}金豆</span>
</div>
</div>
);
}
}
export default Comwa_dou_jie_suan_ye;
.wa_dou_jie_suan_ye {
width: 750px;
height: 815px;
opacity: 1;
top: 283px;
position: absolute;
transform-origin: 0px 0px 0px;
.dan_chuang_57 {
width: 750px;
height: 815px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_56 {
width: 316px;
height: 78px;
opacity: 1;
left: 221px;
top: 644px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 125px;
left: 616px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.wen_zi_nei_rong_55 {
width: 448px;
height: 540px;
opacity: 1;
left: 151px;
top: 232px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.qing_tong {
width: 171px;
// height: 156px;
height: 200px;
opacity: 1;
left: 110px;
top: 353px;
position: absolute;
transform-origin: 0px 0px 0px;
span {
position: absolute;
bottom: 0;
color: #764b3b;
font-weight: bold;
margin-left: 40px;
}
.duo_bian_xing_54 {
width: 171px;
height: 156px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.duo_bian_xing_53 {
width: 111px;
height: 127px;
opacity: 1;
left: 30px;
top: 14px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ti_huan_52 {
width: 115px;
height: 115px;
opacity: 1;
left: 28px;
top: 17px;
position: absolute;
transform-origin: 0px 0px 0px;
clip-path: polygon(50% 0%, 100% 28%, 100% 75%, 50% 110%, 0% 80%, 0% 28%);
}
.duo_bian_xing_51 {
width: 123px;
height: 40px;
opacity: 1;
left: 24px;
top: 115px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
.huang_jin {
width: 171px;
// height: 155px;
height: 200px;
opacity: 1;
left: 294px;
top: 354px;
position: absolute;
transform-origin: 0px 0px 0px;
span {
position: absolute;
bottom: 0;
color: #764b3b;
font-weight: bold;
margin-left: 40px;
}
.duo_bian_xing_50 {
width: 171px;
height: 155px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.duo_bian_xing_49 {
width: 112px;
height: 126px;
opacity: 1;
left: 29px;
top: 14px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ti_huan_48 {
width: 115px;
height: 115px;
opacity: 1;
left: 28px;
top: 15px;
position: absolute;
transform-origin: 0px 0px 0px;
clip-path: polygon(50% 0%, 100% 28%, 100% 75%, 50% 110%, 0% 80%, 0% 28%);
}
.duo_bian_xing_47 {
width: 123px;
height: 40px;
opacity: 1;
left: 24px;
top: 114px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
.wang_zhe {
width: 171px;
// height: 155px;
height: 200px;
opacity: 1;
left: 478px;
top: 353px;
position: absolute;
transform-origin: 0px 0px 0px;
span {
position: absolute;
bottom: 0;
color: #764b3b;
font-weight: bold;
margin-left: 40px;
}
.duo_bian_xing_46 {
width: 171px;
height: 155px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.duo_bian_xing_45 {
width: 111px;
height: 126px;
opacity: 1;
left: 29px;
top: 14px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ti_huan_44 {
width: 115px;
height: 115px;
opacity: 1;
left: 26px;
top: 18px;
position: absolute;
transform-origin: 0px 0px 0px;
clip-path: polygon(50% 0%, 100% 28%, 100% 75%, 50% 110%, 0% 80%, 0% 28%);
}
.duo_bian_xing_43 {
width: 124px;
height: 40px;
opacity: 1;
left: 23px;
top: 115px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comwo_de_jiang_pin_ye_mian.less';
class Comwo_de_jiang_pin_ye_mian extends Component {
constructor(props) {
super(props);
this.state = { resList: resList, };
this.getStatus = {
fetch: this.state.resList['02716110-98a2-4bc1-a324-2f10de3c2947'].url,
owned: this.state.resList['156b8635-62bf-4c0d-9612-bc4b718cdc49'].url,
refetch: this.state.resList['c8327309-6fe3-4768-8c26-9c19cb548c5f'].url,
fail: this.state.resList['d1f458a4-fa80-41e8-89f4-018a43820767'].url,
invalid: this.state.resList['1f060e09-bf30-4ae2-b7e5-4a8f2be2f82b'].url,
}
}
render () {
return (
<div className="wo_de_jiang_pin_ye_mian ">
<img className="bei_jing_yuan_su " src={this.state.resList['f34aeb89-a630-4bc0-93ae-3374615e95ae'].url} />
<span className="wo_de_jiang_pin ">我的奖品</span>
<div className="prizes">
{this.getPrizes()}
</div>
<img className="fan_hui " src={this.state.resList['d7237c7b-dd19-4ea3-b4e7-619423891dd8'].url} onClick={() => this.props.closeModal()} />
</div>
);
}
getPrizes = () => {
let array = []
this.props.data.forEach((i, index) => {
array.push(<div className="prize" key={i.status + index}>
{/* <img src={i.src} /> */}
<img src={this.state.resList['9e849edf-d4c5-4a78-98cf-694b88084376'].url} />
<div className="info">
<div>{i.name}</div>
<div>{i.code}</div>
<div>{i.info}</div>
</div>
<img src={this.getStatus[i.status]} />
</div>)
})
return array
}
}
export default Comwo_de_jiang_pin_ye_mian;
.wo_de_jiang_pin_ye_mian {
width: 747px;
height: 1146px;
opacity: 1;
left: 2px;
top: 478px;
position: absolute;
transform-origin: 0px 0px 0px;
.bei_jing_yuan_su {
width: 747px;
height: 1146px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.wo_de_jiang_pin {
width: 157px;
height: 35px;
opacity: 1;
left: 296px;
top: 163px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
.prizes{
width: 700px;
height: 850px;
overflow: scroll;
opacity: 1;
left: 30px;
top: 240px;
position: absolute;
transform-origin: 0px 0px 0px;
.prize{
margin:0 30px 30px 30px;
display: flex;
align-items: center;
}
.info{
flex:1;
margin:0 15px;
max-width: 350px;
}
img:first-child{
width: 125px;
height: 125px;
}
img:last-child{
width: 156px;
height: 71px;
}
}
.wen_zi_nei_rong_30 {
width: 325px;
height: 654px;
opacity: 1;
left: 192px;
top: 253px;
position: absolute;
transform-origin: 0px 0px 0px;
.wo_de_jiang_pin_wo_de_jiang_42 {
width: 314px;
height: 24px;
opacity: 1;
left: 1px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(115, 71, 55, 1);
}
.qing_yu_2020nian_41 {
width: 325px;
height: 21px;
opacity: 1;
top: 67px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
.jiang_pin_bian_ma_20240 {
width: 304px;
height: 21px;
opacity: 1;
left: 1px;
top: 38px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
.wo_de_jiang_pin_wo_de_jiang_39 {
width: 314px;
height: 24px;
opacity: 1;
left: 1px;
top: 150px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(115, 71, 55, 1);
}
.jiang_pin_bian_ma_20238 {
width: 304px;
height: 21px;
opacity: 1;
left: 1px;
top: 191px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
.wo_de_jiang_pin_wo_de_jiang_37 {
width: 314px;
height: 24px;
opacity: 1;
left: 1px;
top: 280px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(115, 71, 55, 1);
}
.qing_yu_2020nian_36 {
width: 325px;
height: 21px;
opacity: 1;
top: 347px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
.jiang_pin_bian_ma_20235 {
width: 304px;
height: 21px;
opacity: 1;
left: 1px;
top: 318px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
.wo_de_jiang_pin_wo_de_jiang_34 {
width: 314px;
height: 24px;
opacity: 1;
left: 1px;
top: 424px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(115, 71, 55, 1);
}
.gai_quan_yi_yi_guo_qi_qing {
width: 312px;
height: 22px;
opacity: 1;
top: 491px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
.jiang_pin_bian_ma_20233 {
width: 304px;
height: 21px;
opacity: 1;
left: 1px;
top: 462px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
.wo_de_jiang_pin_wo_de_jiang_32 {
width: 314px;
height: 24px;
opacity: 1;
left: 1px;
top: 566px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(115, 71, 55, 1);
}
.jiang_pin_yi_guo_qi_shi_xiao {
width: 157px;
height: 21px;
opacity: 1;
left: 1px;
top: 633px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
.jiang_pin_bian_ma_20231 {
width: 304px;
height: 21px;
opacity: 1;
left: 1px;
top: 604px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 22px;
color: rgba(115, 71, 55, 1);
}
}
.jiang_pin_qu {
width: 120px;
height: 686px;
opacity: 1;
left: 56px;
top: 234px;
position: absolute;
transform-origin: 0px 0px 0px;
.ju_xing_6097 {
width: 120px;
height: 120px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
background-color: rgba(255, 255, 255, 1);
}
.ju_xing_29 {
width: 120px;
height: 120px;
opacity: 1;
top: 139px;
position: absolute;
transform-origin: 0px 0px 0px;
background-color: rgba(255, 255, 255, 1);
}
.ju_xing_28 {
width: 120px;
height: 120px;
opacity: 1;
top: 280px;
position: absolute;
transform-origin: 0px 0px 0px;
background-color: rgba(255, 255, 255, 1);
}
.ju_xing_27 {
width: 120px;
height: 120px;
opacity: 1;
top: 424px;
position: absolute;
transform-origin: 0px 0px 0px;
background-color: rgba(255, 255, 255, 1);
}
.ju_xing_26 {
width: 120px;
height: 120px;
opacity: 1;
top: 566px;
position: absolute;
transform-origin: 0px 0px 0px;
background-color: rgba(255, 255, 255, 1);
}
}
.qu_shi_yong {
width: 156px;
height: 71px;
opacity: 1;
left: 538px;
top: 397px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.chong_xin_ling_qu {
width: 156px;
height: 71px;
opacity: 1;
left: 538px;
top: 538px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ling_qu_shi_bai {
width: 154px;
height: 70px;
opacity: 1;
left: 539px;
top: 681px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.yi_shi_xiao {
width: 154px;
height: 70px;
opacity: 1;
left: 539px;
top: 824px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.li_ji_ling_qu {
width: 156px;
height: 71px;
opacity: 1;
left: 538px;
top: 258px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.fan_hui {
width: 68px;
height: 22px;
opacity: 1;
left: 30px;
top: 176px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comzhu_li_dan_chuang_ben_chang_huo.less';
class Comzhu_li_dan_chuang_ben_chang_huo extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="zhu_li_dan_chuang_ben_chang_huo ">
<img
className="que_ren_dui_huan_dan_chuang_3 "
src={this.state.resList['4e45f812-a758-421e-920f-25277b900537'].url}
/>
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<img className="an_niu_2 " src={this.state.resList['51136539-0107-42ed-9eab-3631d229370e'].url} onClick={() => console.log(1)} />
<span className="ben_chang_huo_dong_yi_jie_shu ">本场活动已结束 去养成神兽,奖励多多呢</span>
</div>
);
}
}
export default Comzhu_li_dan_chuang_ben_chang_huo;
.zhu_li_dan_chuang_ben_chang_huo {
width: 641px;
height: 576px;
opacity: 1;
left: 83px;
top: 450px;
position: absolute;
transform-origin: 0px 0px 0px;
.que_ren_dui_huan_dan_chuang_3 {
width: 641px;
height: 576px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_2 {
width: 316px;
height: 78px;
opacity: 1;
left: 138px;
top: 407px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 10px;
left: 535px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ben_chang_huo_dong_yi_jie_shu {
width: 432px;
height: 98px;
opacity: 1;
left: 78px;
top: 202px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
.ju_xing_4471 {
width: 42px;
height: 46px;
opacity: 1;
left: 155px;
top: 196px;
position: absolute;
transform-origin: 0px 0px 0px;
background-color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comzhu_li_dan_chuang_chong_fu_zhu.less';
class Comzhu_li_dan_chuang_chong_fu_zhu extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="zhu_li_dan_chuang_chong_fu_zhu ">
<img
className="que_ren_dui_huan_dan_chuang_11 "
src={this.state.resList['e4f7b188-a4d9-478a-8ff9-51360cea6d24'].url}
/>
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.go('main')} />
<img className="an_niu_10 " src={this.state.resList['51136539-0107-42ed-9eab-3631d229370e'].url} onClick={() => console.log(1)} />
<span className="jin_tian_yi_wei_hao_you_zhu " >今天已为好友助力 不能重复助力哦</span>
</div>
);
}
}
export default Comzhu_li_dan_chuang_chong_fu_zhu;
.zhu_li_dan_chuang_chong_fu_zhu {
width: 641px;
height: 579px;
opacity: 1;
left: 83px;
top: 450px;
position: absolute;
transform-origin: 0px 0px 0px;
.que_ren_dui_huan_dan_chuang_11 {
width: 641px;
height: 579px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_10 {
width: 316px;
height: 78px;
opacity: 1;
left: 138px;
top: 407px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 10px;
left: 535px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.jin_tian_yi_wei_hao_you_zhu {
width: 311px;
height: 96px;
opacity: 1;
left: 138px;
top: 202px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comzhu_li_dan_chuang_dang_ju_you.less';
class Comzhu_li_dan_chuang_dang_ju_you extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render() {
return (
<div className="zhu_li_dan_chuang_dang_ju_you ">
<img
className="que_ren_dui_huan_dan_chuang_5 "
src={this.state.resList['729b9b89-928c-4ddc-9b11-1c43e72790d8'].url}
/>
<img className="an_niu_4 " src={this.state.resList['978d4c36-16ec-4bf6-9669-82696a097bc9'].url} />
<span className="hao_you_ben_ju_you_xi_yi ">好友本局游戏已结束 一起参与获得挖金豆拿黄金吧</span>
</div>
);
}
}
export default Comzhu_li_dan_chuang_dang_ju_you;
.zhu_li_dan_chuang_dang_ju_you {
width: 641px;
height: 578px;
opacity: 1;
left: 83px;
top: 450px;
position: absolute;
transform-origin: 0px 0px 0px;
.que_ren_dui_huan_dan_chuang_5 {
width: 641px;
height: 578px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_4 {
width: 316px;
height: 78px;
opacity: 1;
left: 138px;
top: 407px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.hao_you_ben_ju_you_xi_yi {
width: 512px;
height: 96px;
opacity: 1;
left: 39px;
top: 202px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comzhu_li_dan_chuang_wei_zi_ji.less';
class Comzhu_li_dan_chuang_wei_zi_ji extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="zhu_li_dan_chuang_wei_zi_ji ">
<img
className="que_ren_dui_huan_dan_chuang_7 "
src={this.state.resList['ff0719ee-3bee-4527-9223-68b241370ec6'].url}
/>
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.go('main')} />
<img className="an_niu_6 " src={this.state.resList['7f61f798-7bf9-41e6-817f-99b6f6054177'].url} onClick={() => this.props.go('main')} />
<span className="bu_ke_yi_wei_zi_ji_dui ">不可以为自己队伍助力哦</span>
</div>
);
}
}
export default Comzhu_li_dan_chuang_wei_zi_ji;
.zhu_li_dan_chuang_wei_zi_ji {
width: 641px;
height: 472px;
opacity: 1;
left: 83px;
top: 450px;
position: absolute;
transform-origin: 0px 0px 0px;
.que_ren_dui_huan_dan_chuang_7 {
width: 641px;
height: 472px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_6 {
width: 316px;
height: 78px;
opacity: 1;
left: 138px;
top: 322px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 10px;
left: 535px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.bu_ke_yi_wei_zi_ji_dui {
width: 433px;
height: 35px;
opacity: 1;
left: 78px;
top: 201px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import './comzhu_li_dan_chuang_zhu_li_cheng.less';
class Comzhu_li_dan_chuang_zhu_li_cheng extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="zhu_li_dan_chuang_zhu_li_cheng ">
<img className="zu_10139 " src={this.state.resList['b3233f64-6e3b-4638-9b81-eb8e6c489f62'].url} />
<img className="close" src={this.state.resList['43856136-a5ec-42c9-8d2a-94d75fded18f'].url} onClick={() => this.props.closeModal()} />
<img className="an_niu_8 " src={this.state.resList['978d4c36-16ec-4bf6-9669-82696a097bc9'].url} onClick={() => this.props.go('main')} />
<span className="gong_xi_ni_zhu_li_cheng_gong " >恭喜你助力成功 一起参与获得挖金豆拿黄金吧</span>
</div>
);
}
}
export default Comzhu_li_dan_chuang_zhu_li_cheng;
.zhu_li_dan_chuang_zhu_li_cheng {
width: 749px;
height: 760px;
opacity: 1;
left: 1px;
top: 299px;
position: absolute;
transform-origin: 0px 0px 0px;
.zu_10139 {
width: 749px;
height: 760px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_8 {
width: 316px;
height: 78px;
opacity: 1;
left: 220px;
top: 558px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.close {
width: 95px;
height: 95px;
top: 158px;
left: 616px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.gong_xi_ni_zhu_li_cheng_gong {
width: 512px;
height: 96px;
opacity: 1;
left: 121px;
top: 353px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 36px;
color: rgba(115, 71, 55, 1);
}
}
'use strict';
import React, { Component } from 'react';
import './profile.less';
class Profile extends Component {
constructor(props) {
super(props);
}
render () {
return (
<div className={`_profile ${this.props.className}`}>
<div className="imgs">
{this.pic(this.props.srcs[0])}
{this.getRes()}
</div>
{this.props.hasText ? <span className="info">助力好友:{this.props.srcs.length - 1}</span> : ''}
</div>
);
}
getRes=()=>{
let array = []
for (let i = 1; i < Math.min(this.props.srcs.length,4); i++) {
const e = this.props.srcs[i]
array.push(this.pic(e,1,(i-1)*25+50))
}
return array
}
pic = (src, width = 2, left) => {
return (<div className={width == 1 ? 'sub' : 'main'} key={src.substr(0, 5)} style={{
border: `${width}px solid white`,
backgroundImage: `url(${src})`,
left:`${left}%`,
}} >
</div>)
}
}
export default Profile;
\ No newline at end of file
._profile {
display: flex;
flex-direction: column;
align-items: center;
.imgs {
position: relative;
width: 100px;
height: 100px;
.main {
width: 88px;
height: 88px;
border-radius: 44px;
background-size: 100% 100%;
}
.sub {
position: absolute;
bottom: 0;
width: 32px;
height: 32px;
border-radius: 16px;
background-size: 100% 100%;
}
.sub:last-child:before {
content: '···';
color: white;
background-color: rgba(0, 0, 0, 0.5);
border-radius: 50%;
width: 100%;
position: absolute;
text-align: center;
font-weight: bold;
}
}
.info {
color: white;
text-shadow: 0 2px 0 #9f5e28, 2px 0 0 #9f5e28, 0 -2px 0 #9f5e28,
-2px 0 0 #9f5e28;
font-weight: bold;
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
//import API from '../../api';
import { getModalHoc } from "spark-design";
import gain from "../../components/Comwa_dou_jie_suan_ye/Comwa_dou_jie_suan_ye.jsx";
const GainModal = getModalHoc(gain);
import { getSVGA } from '../../SVGA/index.js';
import './dig.less';
class Dig extends Component {
constructor(props) {
super(props);
this.state = {
resList: resList,
modal: false,
// pandaAni1 :'',
// pandaAni2 : '',
// pandaAni3 : '',
// kuangcheAni : '',
// faguangAni :'',
// jindouAni : '',
};
this.time = '99:99'
this.data = [123,213,312]
}
componentDidMount(){
this.playSvga()
}
render () {
return (
<div className="home ">
<img className="sky " src={this.state.resList['fa6e1de5-578a-4947-8eb8-6577eeed2436'].url} />
<img className="bg " src={this.state.resList['fdb33f6c-95dd-4319-a8b4-92681b6d5a98'].url} />
<img className="fw " src={this.state.resList['56976260-fcc4-49c4-b4d2-ed9833b8b128'].url} />
<img className="earth " src={this.state.resList['536c1bda-87f3-4559-a649-1198e1cf4978'].url} />
<img className="car" src={this.state.resList['4999062e-817a-493d-bcf3-0e63a31f5c3a'].url} />
<img className="light" src={this.state.resList['6cd37293-1eca-47c6-8e98-45fdeca4dacf'].url} />
<img className="carMark" src={this.state.resList['8616d3e7-89cc-47c6-96f7-67aa75e04c93'].url} />
<img className="carMark" src={this.state.resList['f09b9a4d-17f7-457e-839e-f2dc5ce46198'].url} />
<img className="timer" src={this.state.resList['95cd1f99-4ed2-4b57-9c31-f061018afa7e'].url} onClick={this.gain} />
<span className="time">{this.time}</span>
<img className="stone " src={this.state.resList['1142ca7b-6920-47f1-b4a4-30ae85db147c'].url} />
<img className="cactus " src={this.state.resList['17b6ba20-9de4-44a5-a642-01bb306b279d'].url} />
<img className="cloud " src={this.state.resList['ba1d0dcd-a87e-4cc4-8bed-43b330f913cf'].url} />
<div className="btnShell" onClick={() => { console.log(1); }}>
<img className="btn " src={this.state.resList['11b74972-220a-4d70-a46d-12ce437cdb4e'].url} />
</div>
<img className="title " src={this.state.resList['f00e7c09-13f3-45af-814e-b8687aa421f6'].url} />
<img className="rule " src={this.state.resList['f12ea74f-0281-4045-9c3f-74a1a75c3a2e'].url} onClick={() => { this.props.modal('rule') }} />
<img className="record " src={this.state.resList['0023f7d8-5251-4ee9-9157-e97bac2f12b7'].url} onClick={() => { this.props.modal('prize') }} />
<img className="logo " src={this.state.resList['f695edaf-f06c-4c1b-a503-cbfe02a8e5c2'].url} />
<div className="kuang" style={{ backgroundImage: `url(${this.state.resList['d5d649e2-a4eb-4f90-a5f8-102aef0da67f'].url})` }}>
<div className="main">已挖<span className="bean"><img src={this.state.resList['df043cce-f329-472c-8ddc-fa491c0138c3'].url} />{this.time}</span>金豆</div>
<div className="sub">当前速度可挖{this.time}金豆</div>
</div>
<div className="speed" onClick={() => { console.log(1); }}>
<img className="speedUp" src={this.state.resList['05686032-6679-4978-aeda-af5583cc83c9'].url} />
</div>
<img className="draftTime" src={this.state.resList['f0fd2033-9859-4488-8604-c54969cba789'].url} />
<div className="per" dangerouslySetInnerHTML={{__html:`每分钟<br/>挖${this.time.substr(0,2)}颗豆`}}></div>
<img className="circle" src={this.state.resList['99c10125-0d70-4eed-8004-5432a53b78bd'].url} />
<div className="draft">
<img className="draft_" src={this.state.resList['decaa54b-b5c1-4ce7-9f42-07587f7cf04e'].url} />
</div>
{this.state.modal ? <GainModal closeModal={this.closeModal} data={this.data} go={() => this.props.go('main')}
srcs={[
this.state.resList['fd5e81a5-e880-4b17-b3d2-0f342d2c1e9e'].url,
this.state.resList['0b0d3caa-d1ff-409d-a409-08bff66418a0'].url,
this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,
]}></GainModal> : <></>}
<div className="panda0"></div>
<div className="panda1"></div>
<div className="panda2"></div>
<div className="kuangche"></div>
<div className="faguang"></div>
<div className="jindou"></div>
</div>
);
}
async playSvga() {
/**
* 快速装载一个svga动画
* @param name 资源name
* @param className 挂载元素的class name
* @param frame 从第几帧开始。默认0帧
* @param callback 回调
* @param loops 播放次数。默认为空,循环播放。
* @param clearsAfterStop
*/
this.pandaAni1 = await getSVGA("panda1", ".panda0", 0, null)
this.pandaAni2 = await getSVGA("panda1", ".panda1", 0, null)
// this.pandaAni3 = await getSVGA("panda2", ".panda2", 0, null)
// this.kuangcheAni = await getSVGA("kuangche", ".kuangche", 0, null)
// this.faguangAni = await getSVGA("faguang", ".faguang", 0, null)
// this.jindouAni = await getSVGA("jindou", ".jindou", 0, null)
}
gain = async () => {
this.setState({ modal: true })
}
closeModal = () => {
this.setState({ modal: false })
}
}
export default Dig;
\ No newline at end of file
.home {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
left: 0px;
top: 0px;
.panda0 {
width: 250px;
height: 295px;
position: absolute;
top: 780px;
left: 55px;
}
.panda1 {
width: 250px;
height: 295px;
position: absolute;
top: 800px;
left: 155px;
}
.panda2 {
width: 250px;
height: 295px;
position: absolute;
top: 766px;
left: 465px;
}
// .kuangche {
// width: 750px;
// height: 1624px;
// position: absolute;
// top: 0;
// left: 0;
// }
// .jindou {
// width: 203px;
// height: 251px;
// left: -28px;
// bottom: -26px;
// position: absolute;
// }
// .faguang {
// width: 170px;
// height: 152px;
// position: absolute;
// top: 10px;
// left: 40px;
// }
.sky {
width: 750px;
height: 1118px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.bg {
width: 750px;
height: 397px;
opacity: 1;
top: 550px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.timer {
width: 253px;
height: 58px;
opacity: 1;
top: 600px;
left: 255px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.circle {
width: 152px;
height: 154px;
opacity: 1;
top: 670px;
left: 30px;
position: absolute;
animation: 2s linear 0s infinite normal roll;
}
@keyframes roll {
from {
transform: rotate(0deg);
}
to {
transform: rotate(360deg);
}
}
.draftTime {
width: 152px;
height: 154px;
opacity: 1;
top: 670px;
left: 30px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.per {
width: 150px;
top: 720px;
left: 30px;
position: absolute;
color: white;
text-align: center;
font-weight: bold;
}
.draft {
width: 41px;
height: 32px;
opacity: 1;
top: 690px;
left: 90px;
position: absolute;
}
.draft_ {
width: 41px;
height: 32px;
transform: translate(-100%, -100%);
animation-name: swing;
animation-duration: 500ms;
animation-direction: alternate;
animation-iteration-count: infinite;
}
@keyframes swing {
from {
transform: rotate(0deg);
}
to {
transform: rotate(30deg);
}
}
.kuang {
width: 550px;
height: 152px;
opacity: 1;
top: 670px;
left: 100px;
position: absolute;
transform-origin: 0px 0px 0px;
background-size: 100% 100%;
display: flex;
justify-content: center;
align-items: center;
flex-direction: column;
.main {
font-size: 0.3rem;
color: #ad5600;
font-weight: 540;
margin: -0.05rem 0 0.05rem 0;
.bean {
font-size: 0.4rem;
font-weight: bold;
img {
margin-bottom: -0.1rem;
width: 52px;
height: 41px;
}
}
}
.sub {
font-size: 0.1rem;
color: #ad5600;
}
}
.speed {
width: 165px;
height: 165px;
opacity: 1;
top: 745px;
right: -45px;
position: absolute;
}
.speedUp {
transform-origin: 0px 0px 0px;
transform: translate(-50%, -50%);
animation: 0.5s linear 0s infinite alternate bigger;
}
@keyframes bigger {
from {
width: 155px;
height: 155px;
}
to {
width: 185px;
height: 185px;
}
}
.time {
color: red;
font-weight: bold;
font-size: 0.1rem;
opacity: 1;
top: 612px;
left: 418px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.earth {
width: 750px;
height: 1624px;
opacity: 1;
// top: 688px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.car {
width: 131px;
height: 95px;
opacity: 0;
top: 830px;
left: 330px;
position: absolute;
transform-origin: 0px 0px 0px;
animation: move 3s infinite linear normal;
// animation: move 2s 1s infinite linear normal;
}
// .car:before {
// animation: move_ 1s ease 0s infinite;
// }
// @keyframes move_ {
// 0%,
// 33% {
// opacity: 0;
// }
// }
@keyframes move {
0%,
33% {
opacity: 0;
}
44.2% {
top: 854px;
left: 354px;
opacity: 1;
}
100% {
top: 950px;
left: 450px;
opacity: 1;
}
}
.light {
width: 319px;
height: 183px;
opacity: 1;
top: 690px;
left: 220px;
position: absolute;
transform-origin: 0px 0px 0px;
animation: blink 3s infinite linear normal;
// animation: Blink 3s infinite linear normal;
}
// @w: 220px;
// @h: 690px;
// @x: 24px;
// @y: 24px;
// .loop (@n, @index: 0) when (@n*@index <= 100) {
// @keyframeSel: percentage(@n*@index/100);
// @{keyframeSel}{
// top:@h+@index*@y;
// left:@w+@index*@x;
// .show(@index)
// }
// .loop(@n, (@index + 1));
// }
// .show(@index)when(mod(@index,2)=1){
// opacity: 1;
// }
// .show(@index)when(mod(@index,2)=0){
// opacity: 0;
// }
// @keyframes Blink {
// .loop(20);
// }
@keyframes blink {
0%,
33% {
opacity: 0;
}
44.2% {
top: 714px;
left: 244px;
opacity: 0.5;
}
55.4% {
top: 738px;
left: 268px;
opacity: 0;
}
66.6% {
top: 762px;
left: 292px;
opacity: 0.5;
}
77.8% {
top: 786px;
left: 316px;
opacity: 0;
}
100% {
top: 810px;
left: 340px;
opacity: 0.5;
}
}
.carMark {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.stone {
width: 750px;
height: 385px;
opacity: 1;
top: 723px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.cactus {
width: 750px;
height: 565px;
opacity: 1;
top: 815px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.cloud {
width: 750px;
height: 319px;
opacity: 0.9490196078431372;
top: 252px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.fw {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.btnShell {
width: 581px;
height: 150px;
opacity: 1;
left: 89px;
top: 1266px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.btn {
width: 581px;
height: 150px;
animation: 1.2s linear 0s infinite normal bubble;
}
@keyframes bubble {
30% {
transform: scale(1);
}
45% {
transform: scale(1.15);
}
60% {
transform: scale(1);
}
75% {
transform: scale(1.07);
}
100% {
transform: scale(1);
}
}
.title {
width: 495px;
height: 320px;
opacity: 1;
left: 131px;
top: 280px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.rule {
width: 138px;
height: 64px;
opacity: 1;
top: 275px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.record {
width: 143px;
height: 64px;
opacity: 1;
left: 607px;
top: 275px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.logo {
width: 671px;
height: 41px;
opacity: 1;
left: 43px;
top: 219px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
//import API from '../../api';
import './pagegua_pei_1.less';
class Pagegua_pei_1 extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render() {
return (
<div className="gua_pei_1 ">
<div className="ju_xing_3015 " />
<img className="tu_ceng_2746 " />
<img
className="ju_zhong_xiang_dui_gua_pei_can "
src={this.state.resList['eb1eb203-0d09-4006-86ab-bb57b94baaae'].url}
/>
<img className="tu_ceng_1448 " src={this.state.resList['4217fbf5-ca7a-4d81-8d44-2bcd14a1bd1a'].url} />
<img className="tu_ceng_1206 " src={this.state.resList['e3d2e3c3-ece0-48fb-91d4-f89e009c780b'].url} />
</div>
);
}
}
export default Pagegua_pei_1;
.gua_pei_1 {
width: 752px;
height: 1626px;
opacity: 1;
left: -1px;
top: -1px;
position: absolute;
transform-origin: 0px 0px 0px;
.ju_xing_3015 {
width: 752px;
height: 100px;
opacity: 0.6;
top: 1438px;
position: absolute;
transform-origin: 0px 0px 0px;
background-color: rgba(0, 0, 0, 1);
}
.tu_ceng_2746 {
width: 0px;
height: 0px;
opacity: 1;
left: 1px;
top: 1px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ju_zhong_xiang_dui_gua_pei_can {
width: 750px;
height: 1624px;
opacity: 0.47843137254901963;
left: 1px;
top: 1px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.tu_ceng_1448 {
width: 752px;
height: 1626px;
opacity: 0.6;
position: absolute;
transform-origin: 0px 0px 0px;
}
.tu_ceng_1206 {
width: 752px;
height: 1626px;
opacity: 0.6;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
//import API from '../../api';
import './pagelogo58.less';
class Pagelogo58 extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render() {
return <img className="logo58 " src={this.state.resList['b527619d-6923-4f9a-ab5a-23e3672c691c'].url} />;
}
}
export default Pagelogo58;
.logo58 {
width: 671px;
height: 41px;
opacity: 1;
left: 43px;
top: 219px;
position: absolute;
transform-origin: 0px 0px 0px;
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import API from '../../api';
import './pageyao_qing_ru_dui_fen_xiang_luo.less';
class Pageyao_qing_ru_dui_fen_xiang_luo extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="yao_qing_ru_dui_fen_xiang_luo ">
<img className="bei_jing_78 " src={this.state.resList['18cae90b-0241-442b-81dc-ce9003f6eae3'].url} />
<img className="guang_77 " src={this.state.resList['1797082f-b2d3-4afc-909e-584f5a019bd5'].url} />
<img className="an_niu_76 " src={this.state.resList['83b8b08e-3209-4f84-9edf-b98fab1aa4a7'].url} onClick={() => this.join()} />
<img className="biao_ti_75 " src={this.state.resList['075220b6-5a2b-4498-9fe1-46905ceb3f3f'].url} />
<img className="qi_pao_74 " src={this.state.resList['167b407a-4815-4559-b319-03403ef81dd2'].url} />
<img className="logo73 " src={this.state.resList['b527619d-6923-4f9a-ab5a-23e3672c691c'].url} />
</div>
);
}
join = async () => {
const map = ['full', 'more', 'getBean', 'gone', 'already', 'self']
let data = await API.joinGroup()
data = ~~(Math.random() * 6)
console.log(data);
this.props.modal(map[data])
}
}
export default Pageyao_qing_ru_dui_fen_xiang_luo;
.yao_qing_ru_dui_fen_xiang_luo {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
.bei_jing_78 {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.guang_77 {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_76 {
width: 441px;
height: 149px;
opacity: 1;
left: 155px;
top: 1225px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.biao_ti_75 {
width: 537px;
height: 296px;
opacity: 1;
left: 105px;
top: 352px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.qi_pao_74 {
width: 480px;
height: 114px;
opacity: 1;
left: 91px;
top: 801px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.logo73 {
width: 671px;
height: 41px;
opacity: 1;
left: 43px;
top: 219px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
import API from '../../api';
import './pagezhu_li_pkzhu_li_fen.less';
class Pagezhu_li_pkzhu_li_fen extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="zhu_li_pkzhu_li_fen ">
<img className="bei_jing_72 " src={this.state.resList['18cae90b-0241-442b-81dc-ce9003f6eae3'].url} />
<img className="guang_71 " src={this.state.resList['13771043-8130-48ee-bcc6-9c79275384f5'].url} />
<img className="an_niu_70 " src={this.state.resList['c4113565-a061-4120-bc33-96cc7c5ce66e'].url} onClick={() => this.help()} />
<img className="biao_ti_69 " src={this.state.resList['075220b6-5a2b-4498-9fe1-46905ceb3f3f'].url} />
<img className="qi_pao_68 " src={this.state.resList['4cad75ea-238b-44e6-b198-fad65db70830'].url} />
<img className="logo67 " src={this.state.resList['b527619d-6923-4f9a-ab5a-23e3672c691c'].url} />
</div>
);
}
help = async () => {
const map = ['success', 'done', 'self_', 'end']
let data = await API.joinGroup()
data = ~~(Math.random() * 4)
console.log(data);
this.props.modal(map[data])
}
}
export default Pagezhu_li_pkzhu_li_fen;
.zhu_li_pkzhu_li_fen {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
.bei_jing_72 {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.guang_71 {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_70 {
width: 441px;
height: 149px;
opacity: 1;
left: 155px;
top: 1225px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.biao_ti_69 {
width: 537px;
height: 296px;
opacity: 1;
left: 105px;
top: 352px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.qi_pao_68 {
width: 476px;
height: 114px;
opacity: 1;
left: 92px;
top: 801px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.logo67 {
width: 671px;
height: 41px;
opacity: 1;
left: 43px;
top: 219px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
//import API from '../../api';
import './pagezu_dui_ye.less';
class Pagezu_dui_ye extends Component {
constructor(props) {
super(props);
this.state = { resList: resList, };
}
render () {
return (
<div className="zu_dui_ye ">
<img className="bei_jing_66 " src={this.state.resList['f9855d13-2af3-49ca-94ed-52d800c865e6'].url} />
<img className="guang_65 " src={this.state.resList['eb4018e6-4891-47a2-a508-8c54c6c6c4d9'].url} />
<img className="an_niu_qu_pkqiang_jin " src={this.state.resList['2de1fce8-edfe-4dc4-a330-602eeb123bef'].url} onClick={() => this.props.go()} />
<span className="ben_chang_zui_duo_ke_wa_164 ">本场最多可挖1000金豆</span>
<img className="biao_ti_63 " src={this.state.resList['b38b4cc6-1478-48a0-9ce4-b82a5533463a'].url} />
{/* <img
className="huo_dong_jie_zhi_shi_jian_62 "
src={this.state.resList['557e90cc-7d05-46af-9a24-e504501e63ae'].url}
/> */}
<img className="huo_dong_gui_ze_tp61 " src={this.state.resList['02e80b50-c8dd-4f53-827f-44ae97f02784'].url} onClick={() => this.props.modal('rule')} />
<img className="wo_de_jiang_pin_tp60 " src={this.state.resList['8b3e303d-bc52-43fc-ad13-d010c9e4aee2'].url} onClick={() => this.props.modal('prize')} />
<img className="logo59 " src={this.state.resList['b527619d-6923-4f9a-ab5a-23e3672c691c'].url} />
</div>
);
}
}
export default Pagezu_dui_ye;
.zu_dui_ye {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
.bei_jing_66 {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.guang_65 {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_qu_pkqiang_jin {
width: 448px;
height: 150px;
opacity: 1;
left: 192px;
top: 1266px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ben_chang_zui_duo_ke_wa_164 {
width: 266px;
height: 23px;
opacity: 1;
left: 241px;
top: 647px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(231, 62, 38, 1);
}
.biao_ti_63 {
width: 537px;
height: 296px;
opacity: 1;
left: 105px;
top: 272px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.huo_dong_jie_zhi_shi_jian_62 {
width: 413px;
height: 42px;
opacity: 1;
left: 165px;
top: 573px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.huo_dong_gui_ze_tp61 {
width: 138px;
height: 64px;
opacity: 1;
top: 276px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.wo_de_jiang_pin_tp60 {
width: 143px;
height: 64px;
opacity: 1;
left: 607px;
top: 276px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.logo59 {
width: 671px;
height: 41px;
opacity: 1;
left: 43px;
top: 219px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList';
//import API from '../../api';
import './pagezu_dui_ye_cheng_wei_dui_chang.less';
import Profile from "../../components/profile/profile.jsx";
class Pagezu_dui_ye_cheng_wei_dui_chang extends Component {
constructor(props) {
super(props);
this.state = { resList: resList };
}
render () {
return (
<div className="zu_dui_ye_cheng_wei_dui_chang ">
<img className="yuan_su " src={this.state.resList['b2b271ba-acf1-44c9-9f83-5ca199752088'].url} />
<div className="ren_wu_tou_xiang ">
<img className="tuo_yuan_89 " src={this.state.resList['9e849edf-d4c5-4a78-98cf-694b88084376'].url} />
{/* <img className="tu_ceng_1194kao " src={this.state.resList['facfc90d-6bcb-4456-9dd4-b4904bca9c92'].url} /> */}
<img className="tuo_yuan_88 " src={this.state.resList['849e7812-d74d-46b0-a2d5-0e98d42501ec'].url} />
{/* <img className="jie_ping_20201 " src={this.state.resList['fd5e81a5-e880-4b17-b3d2-0f342d2c1e9e'].url} /> */}
<img className="tou_xiang " src={this.state.resList['dafd85f3-e303-4fd6-aa34-067c09c3f72e'].url} />
</div>
<img className="guang_87 " src={this.state.resList['e905bee2-cf7c-4a59-9358-0421e5c83684'].url} />
<img className="an_niu_86 " src={this.state.resList['fa3027da-2312-4269-8988-d41296992a87'].url} onClick={() => this.props.go('sub')} />
{/* <img
className="an_niu_zai_yao_qing_1ren "
src={this.state.resList['3a9712d5-96d6-4b2d-a229-487578a16a8c'].url}
/> */}
<span className="dui_chang_ke_huo_de_geng_duo ">队长可获得更多金豆</span>
<img className="biao_ti_85 " src={this.state.resList['37296b29-94c7-4500-a929-69e7a105bca1'].url} />
<img
className="huo_dong_jie_zhi_shi_jian_84 "
src={this.state.resList['557e90cc-7d05-46af-9a24-e504501e63ae'].url}
/>
<img className="huo_dong_gui_ze_tp83 " src={this.state.resList['02e80b50-c8dd-4f53-827f-44ae97f02784'].url} onClick={() => this.props.modal('rule')} />
<img className="wo_de_jiang_pin_tp82 " src={this.state.resList['8b3e303d-bc52-43fc-ad13-d010c9e4aee2'].url} onClick={() => this.props.modal('prize')} />
<img className="tuo_yuan_81 " src={this.state.resList['d8aac164-01e4-4e25-b013-a672363a0857'].url} />
<img className="logo80 " src={this.state.resList['b527619d-6923-4f9a-ab5a-23e3672c691c'].url} />
{/* <span className="ben_chang_zui_duo_ke_wa_179 ">本场最多可挖1000金豆</span> */}
<Profile className="profile" hasText='true' srcs={[
this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,
this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,
this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,
this.state.resList['0b0d3caa-d1ff-409d-a409-08bff66418a0'].url,
this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,
this.state.resList['0b0d3caa-d1ff-409d-a409-08bff66418a0'].url,
]}></Profile>
<Profile className="profile_" srcs={[this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,]} hasText='true'></Profile>
<Profile className="profile__" srcs={[this.state.resList['f0deb9c5-04a1-4311-bdad-93060e1ddad3'].url,]} hasText='true'></Profile>
</div>
);
}
}
export default Pagezu_dui_ye_cheng_wei_dui_chang;
.zu_dui_ye_cheng_wei_dui_chang {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
.yuan_su {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ren_wu_tou_xiang {
width: 563px;
height: 182px;
opacity: 1;
left: 91px;
top: 868px;
position: absolute;
transform-origin: 0px 0px 0px;
.tuo_yuan_89 {
width: 83px;
height: 82px;
opacity: 1;
left: 3px;
top: 3px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.tu_ceng_1194kao {
width: 89px;
height: 89px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.tuo_yuan_88 {
width: 83px;
height: 81px;
opacity: 1;
left: 112px;
top: 58px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.jie_ping_20201 {
width: 129px;
height: 128px;
opacity: 1;
left: 79px;
top: 54px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.tou_xiang {
width: 88px;
height: 88px;
opacity: 1;
left: 475px;
position: absolute;
transform-origin: 0px 0px 0px;
}
}
.guang_87 {
width: 750px;
height: 1624px;
opacity: 1;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_86 {
width: 441px;
height: 150px;
opacity: 1;
left: 155px;
top: 1272px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.an_niu_zai_yao_qing_1ren {
width: 550px;
height: 150px;
opacity: 1;
left: 104px;
top: 1266px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.dui_chang_ke_huo_de_geng_duo {
width: 217px;
height: 23px;
opacity: 1;
left: 266px;
top: 1243px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(231, 62, 38, 1);
}
.biao_ti_85 {
width: 537px;
height: 296px;
opacity: 1;
left: 105px;
top: 270px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.huo_dong_jie_zhi_shi_jian_84 {
width: 413px;
height: 42px;
opacity: 1;
left: 165px;
top: 573px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.huo_dong_gui_ze_tp83 {
width: 138px;
height: 64px;
opacity: 1;
top: 276px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.wo_de_jiang_pin_tp82 {
width: 143px;
height: 64px;
opacity: 1;
left: 607px;
top: 276px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.tuo_yuan_81 {
width: 88px;
height: 88px;
opacity: 1;
left: 200px;
top: 922px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.logo80 {
width: 671px;
height: 41px;
opacity: 1;
left: 43px;
top: 219px;
position: absolute;
transform-origin: 0px 0px 0px;
}
.ben_chang_zui_duo_ke_wa_179 {
width: 266px;
height: 23px;
opacity: 1;
left: 241px;
top: 647px;
position: absolute;
transform-origin: 0px 0px 0px;
font-size: 24px;
color: rgba(231, 62, 38, 1);
}
.profile {
position: absolute;
top: 860px;
left: 90px;
}
.profile_ {
position: absolute;
top: 920px;
left: 190px;
}
.profile__ {
position: absolute;
top: 865px;
left: 555px;
}
}
/**
* 目前没有用到
* @param {*} resList
* @param {*} uuid
*/
const getSrcByUuid = (resList, uuid) => {
resList = resList || [];
for (let i = 0; i < resList.length; i++) {
if (resList[i].uuid == uuid) {
return resList[i].url
}
}
}
module.exports = {
getSrcByUuid
}
\ No newline at end of file
const resList = {
'b2b271ba-acf1-44c9-9f83-5ca199752088': {
name: '元素',
ext: '.png',
uuid: 'b2b271ba-acf1-44c9-9f83-5ca199752088',
url: '//yun.duiba.com.cn/spark/assets/374c22686b187b13d3ae1d929c08d6913f376384.png',
},
'9e849edf-d4c5-4a78-98cf-694b88084376': {
name: '椭圆89',
ext: '.png',
uuid: '9e849edf-d4c5-4a78-98cf-694b88084376',
url: '//yun.duiba.com.cn/spark/assets/8c2bcded01159d478b133b91c13292d18ea1039f.png',
},
'facfc90d-6bcb-4456-9dd4-b4904bca9c92': {
name: '图层1194拷',
ext: '.png',
uuid: 'facfc90d-6bcb-4456-9dd4-b4904bca9c92',
url: '//yun.duiba.com.cn/spark/assets/d871261c9f786619aa39dc36f65a0db26ed60925.png',
},
'849e7812-d74d-46b0-a2d5-0e98d42501ec': {
name: '椭圆88',
ext: '.png',
uuid: '849e7812-d74d-46b0-a2d5-0e98d42501ec',
url: '//yun.duiba.com.cn/spark/assets/40b8b654c129bfe7164dbad6850162df55bc377d.png',
},
'fd5e81a5-e880-4b17-b3d2-0f342d2c1e9e': {
name: '截屏20201',
ext: '.png',
uuid: 'fd5e81a5-e880-4b17-b3d2-0f342d2c1e9e',
url: '//yun.duiba.com.cn/spark/assets/587880c7866b390896c878178a39d42dfa0a458f.png',
},
'dafd85f3-e303-4fd6-aa34-067c09c3f72e': {
name: '头像',
ext: '.png',
uuid: 'dafd85f3-e303-4fd6-aa34-067c09c3f72e',
url: '//yun.duiba.com.cn/spark/assets/23aca55d8b8c01614a30cb02aa12a4065fddd302.png',
},
'e905bee2-cf7c-4a59-9358-0421e5c83684': {
name: '光87',
ext: '.png',
uuid: 'e905bee2-cf7c-4a59-9358-0421e5c83684',
url: '//yun.duiba.com.cn/spark/assets/534edf033cb04cbe1b96457ec605a5f04e985486.png',
},
'fa3027da-2312-4269-8988-d41296992a87': {
name: '按钮86',
ext: '.png',
uuid: 'fa3027da-2312-4269-8988-d41296992a87',
url: '//yun.duiba.com.cn/spark/assets/4942c30575ccdbd8cfe1b0c72f09513ac271379a.png',
},
'3a9712d5-96d6-4b2d-a229-487578a16a8c': {
name: '按钮再邀请1人',
ext: '.png',
uuid: '3a9712d5-96d6-4b2d-a229-487578a16a8c',
url: '//yun.duiba.com.cn/spark/assets/0075959d998776722c97a96fc2f621345cc64b17.png',
},
'37296b29-94c7-4500-a929-69e7a105bca1': {
name: '标题85',
ext: '.png',
uuid: '37296b29-94c7-4500-a929-69e7a105bca1',
url: '//yun.duiba.com.cn/spark/assets/0c9f64b9394c2e3e2c6dab3fa424e977813501e7.png',
},
'557e90cc-7d05-46af-9a24-e504501e63ae': {
name: '活动截止时间84',
ext: '.png',
uuid: '557e90cc-7d05-46af-9a24-e504501e63ae',
url: '//yun.duiba.com.cn/spark/assets/6ac192e6a2477b99cac68a2ca060966b8553d4a8.png',
},
'02e80b50-c8dd-4f53-827f-44ae97f02784': {
name: '活动规则tp83',
ext: '.png',
uuid: '02e80b50-c8dd-4f53-827f-44ae97f02784',
url: '//yun.duiba.com.cn/spark/assets/4a4b75a97fe50986f646f0cea69464dec3368ef0.png',
},
'8b3e303d-bc52-43fc-ad13-d010c9e4aee2': {
name: '我的奖品tp82',
ext: '.png',
uuid: '8b3e303d-bc52-43fc-ad13-d010c9e4aee2',
url: '//yun.duiba.com.cn/spark/assets/889e0aacd7fb8106ea72d42297722f6fe2fec126.png',
},
'd8aac164-01e4-4e25-b013-a672363a0857': {
name: '椭圆81',
ext: '.png',
uuid: 'd8aac164-01e4-4e25-b013-a672363a0857',
url: '//yun.duiba.com.cn/spark/assets/fb879c76ca9e931f2c8e80f6de38ea0ec390d651.png',
},
'b527619d-6923-4f9a-ab5a-23e3672c691c': {
name: 'logo80',
ext: '.png',
uuid: 'b527619d-6923-4f9a-ab5a-23e3672c691c',
url: '//yun.duiba.com.cn/spark/assets/4dbe68dc7061bd7bc01c8b128a036a9011745a6c.png',
},
'18cae90b-0241-442b-81dc-ce9003f6eae3': {
name: '背景78',
ext: '.png',
uuid: '18cae90b-0241-442b-81dc-ce9003f6eae3',
url: '//yun.duiba.com.cn/spark/assets/90c54ad3ae24ba0e3627137c80cc57af626df76e.png',
},
'1797082f-b2d3-4afc-909e-584f5a019bd5': {
name: '光77',
ext: '.png',
uuid: '1797082f-b2d3-4afc-909e-584f5a019bd5',
url: '//yun.duiba.com.cn/spark/assets/0612f9f7921cb6b2b7cb785a4c6d30d89b116188.png',
},
'83b8b08e-3209-4f84-9edf-b98fab1aa4a7': {
name: '按钮76',
ext: '.png',
uuid: '83b8b08e-3209-4f84-9edf-b98fab1aa4a7',
url: '//yun.duiba.com.cn/spark/assets/dcfe71ebc426414b47daeddacfb78e32f53ac7d0.png',
},
'075220b6-5a2b-4498-9fe1-46905ceb3f3f': {
name: '标题75',
ext: '.png',
uuid: '075220b6-5a2b-4498-9fe1-46905ceb3f3f',
url: '//yun.duiba.com.cn/spark/assets/29f4466e3f35f939f5c61ae77f2f2714062b2b9d.png',
},
'167b407a-4815-4559-b319-03403ef81dd2': {
name: '气泡74',
ext: '.png',
uuid: '167b407a-4815-4559-b319-03403ef81dd2',
url: '//yun.duiba.com.cn/spark/assets/1111e1df25b2d4045629eed7ddde0fae8a9457f8.png',
},
'13771043-8130-48ee-bcc6-9c79275384f5': {
name: '光71',
ext: '.png',
uuid: '13771043-8130-48ee-bcc6-9c79275384f5',
url: '//yun.duiba.com.cn/spark/assets/52060f5dac01e05bef9f97b40cc4dc7380f30887.png',
},
'c4113565-a061-4120-bc33-96cc7c5ce66e': {
name: '按钮70',
ext: '.png',
uuid: 'c4113565-a061-4120-bc33-96cc7c5ce66e',
url: '//yun.duiba.com.cn/spark/assets/c969b614ab6cee1defb3fe352efe29cac529063b.png',
},
'4cad75ea-238b-44e6-b198-fad65db70830': {
name: '气泡68',
ext: '.png',
uuid: '4cad75ea-238b-44e6-b198-fad65db70830',
url: '//yun.duiba.com.cn/spark/assets/c9de40f56752cb432e7c860c71c063284272af10.png',
},
'f9855d13-2af3-49ca-94ed-52d800c865e6': {
name: '背景66',
ext: '.png',
uuid: 'f9855d13-2af3-49ca-94ed-52d800c865e6',
url: '//yun.duiba.com.cn/spark/assets/22ca251da50e8c92b2edbe4789e4f6565883228a.png',
},
'eb4018e6-4891-47a2-a508-8c54c6c6c4d9': {
name: '光65',
ext: '.png',
uuid: 'eb4018e6-4891-47a2-a508-8c54c6c6c4d9',
url: '//yun.duiba.com.cn/spark/assets/bc4dd29f46b05911a90c1685c573696718d43257.png',
},
'2de1fce8-edfe-4dc4-a330-602eeb123bef': {
name: '按钮去PK抢金',
ext: '.png',
uuid: '2de1fce8-edfe-4dc4-a330-602eeb123bef',
url: '//yun.duiba.com.cn/spark/assets/8f99862cde32b7f47547a82934d95645c456981b.png',
},
'b38b4cc6-1478-48a0-9ce4-b82a5533463a': {
name: '标题63',
ext: '.png',
uuid: 'b38b4cc6-1478-48a0-9ce4-b82a5533463a',
url: '//yun.duiba.com.cn/spark/assets/ea76bfa35f57dff98e6e31b0fb68a7d25fa627c3.png',
},
'fa7fd217-5bf0-4d71-8c5d-2df608ac8d89': {
name: '弹窗57',
ext: '.png',
uuid: 'fa7fd217-5bf0-4d71-8c5d-2df608ac8d89',
url: '//yun.duiba.com.cn/spark/assets/031bcd9e68aee532d7fa1d159ffdd4aa96a04875.png',
},
'0c995cbb-2c6b-48c5-b2f9-475b310124b6': {
name: '按钮56',
ext: '.png',
uuid: '0c995cbb-2c6b-48c5-b2f9-475b310124b6',
url: '//yun.duiba.com.cn/spark/assets/277cf34b546bd2f6b8029111b0c19c2bdb6c44cf.png',
},
'af362781-2a40-4831-b57b-eee0391c48db': {
name: '文字内容55',
ext: '.png',
uuid: 'af362781-2a40-4831-b57b-eee0391c48db',
url: '//yun.duiba.com.cn/spark/assets/2e8e8a474144039727a895972a55bc996abea882.png',
},
'87cf61ce-63a7-42e1-93ad-8aecb76da722': {
name: '多边形54',
ext: '.png',
uuid: '87cf61ce-63a7-42e1-93ad-8aecb76da722',
url: '//yun.duiba.com.cn/spark/assets/802fb04ee15d0119eab19f9cf30315f76c01e495.png',
},
'35f0798c-9eef-4ec7-91e5-2890d770d9f7': {
name: '多边形53',
ext: '.png',
uuid: '35f0798c-9eef-4ec7-91e5-2890d770d9f7',
url: '//yun.duiba.com.cn/spark/assets/6901d0dc3ec76a6b650fbcef59eac3add04dc7fb.png',
},
'0b0d3caa-d1ff-409d-a409-08bff66418a0': {
name: '替换52',
ext: '.png',
uuid: '0b0d3caa-d1ff-409d-a409-08bff66418a0',
url: '//yun.duiba.com.cn/spark/assets/d54fd4af07b226aa29a0bf426ab8c933a8944141.png',
},
'd2643774-202e-490a-af46-c846d7309d46': {
name: '多边形51',
ext: '.png',
uuid: 'd2643774-202e-490a-af46-c846d7309d46',
url: '//yun.duiba.com.cn/spark/assets/98f5237c796fa63cdc82dad3a352e676a54ddeb6.png',
},
'069df023-2a16-4171-9f35-636c2fe5209b': {
name: '多边形50',
ext: '.png',
uuid: '069df023-2a16-4171-9f35-636c2fe5209b',
url: '//yun.duiba.com.cn/spark/assets/aff9681737cbd4eac1645694bae5cf9b3f3a384a.png',
},
'dcb2512c-4d17-4da2-a878-b3f37709f81e': {
name: '多边形49',
ext: '.png',
uuid: 'dcb2512c-4d17-4da2-a878-b3f37709f81e',
url: '//yun.duiba.com.cn/spark/assets/58153cbf378f9f81812c9df274d206898b434963.png',
},
'73e13b6f-8f09-4737-83a5-5dbb784b2c37': {
name: '多边形47',
ext: '.png',
uuid: '73e13b6f-8f09-4737-83a5-5dbb784b2c37',
url: '//yun.duiba.com.cn/spark/assets/fcd74cd41f3bbf0d7e50a495b77467ab24723ce5.png',
},
'3a210a3f-cbdb-45fd-b0f7-9a05f285592b': {
name: '多边形46',
ext: '.png',
uuid: '3a210a3f-cbdb-45fd-b0f7-9a05f285592b',
url: '//yun.duiba.com.cn/spark/assets/522302a30e0a52c54924900dbfaca63d81424947.png',
},
'ee026a95-0203-4bfb-bb51-64396ca8e75d': {
name: '多边形45',
ext: '.png',
uuid: 'ee026a95-0203-4bfb-bb51-64396ca8e75d',
url: '//yun.duiba.com.cn/spark/assets/0d00e688ef1072b57b9b82f76ef73db69dca23a6.png',
},
'f0deb9c5-04a1-4311-bdad-93060e1ddad3': {
name: '替换44',
ext: '.png',
uuid: 'f0deb9c5-04a1-4311-bdad-93060e1ddad3',
url: '//yun.duiba.com.cn/spark/assets/e54b4f031052f076eb096920c387b6edb0e10303.png',
},
'034cfa42-6515-40b1-9a5a-d30f3f4cf82c': {
name: '多边形43',
ext: '.png',
uuid: '034cfa42-6515-40b1-9a5a-d30f3f4cf82c',
url: '//yun.duiba.com.cn/spark/assets/060ec7b3ee500d9de6f37461204d55fc56442de4.png',
},
'f34aeb89-a630-4bc0-93ae-3374615e95ae': {
name: '背景元素',
ext: '.png',
uuid: 'f34aeb89-a630-4bc0-93ae-3374615e95ae',
url: '//yun.duiba.com.cn/spark/assets/07f978c95d379be5c32c5e75c10d609cb94610cc.png',
},
'156b8635-62bf-4c0d-9612-bc4b718cdc49': {
name: '去使用',
ext: '.png',
uuid: '156b8635-62bf-4c0d-9612-bc4b718cdc49',
url: '//yun.duiba.com.cn/spark/assets/39265b6e24a8331b73756db494fa40988be034e0.png',
},
'c8327309-6fe3-4768-8c26-9c19cb548c5f': {
name: '重新领取',
ext: '.png',
uuid: 'c8327309-6fe3-4768-8c26-9c19cb548c5f',
url: '//yun.duiba.com.cn/spark/assets/33b6f5e4c106efa88a54c245071f0dd4d8541b75.png',
},
'd1f458a4-fa80-41e8-89f4-018a43820767': {
name: '领取失败',
ext: '.png',
uuid: 'd1f458a4-fa80-41e8-89f4-018a43820767',
url: '//yun.duiba.com.cn/spark/assets/480ad885f1d433b310206c47145f78f4d6d83886.png',
},
'1f060e09-bf30-4ae2-b7e5-4a8f2be2f82b': {
name: '已失效',
ext: '.png',
uuid: '1f060e09-bf30-4ae2-b7e5-4a8f2be2f82b',
url: '//yun.duiba.com.cn/spark/assets/89fdd16decf023dee55549d19ccde2a9287c1bb5.png',
},
'02716110-98a2-4bc1-a324-2f10de3c2947': {
name: '立即领取',
ext: '.png',
uuid: '02716110-98a2-4bc1-a324-2f10de3c2947',
url: '//yun.duiba.com.cn/spark/assets/6165a01a869ed362ec95e6f529e820b2fbe0c350.png',
},
'd7237c7b-dd19-4ea3-b4e7-619423891dd8': {
name: '返回',
ext: '.png',
uuid: 'd7237c7b-dd19-4ea3-b4e7-619423891dd8',
url: '//yun.duiba.com.cn/spark/assets/f43ce4251eebe9ea079dd5b2f1d5b6f4c146dfc6.png',
},
'22eb6446-239b-4994-8698-b85904466b78': {
name: '弹窗25',
ext: '.png',
uuid: '22eb6446-239b-4994-8698-b85904466b78',
url: '//yun.duiba.com.cn/spark/assets/e7c0aa883842a5e1a0c1e42d3371f7184add3376.png',
},
'62339462-0562-48dc-ad2e-6a185c687b73': {
name: '确认兑换弹窗24',
ext: '.png',
uuid: '62339462-0562-48dc-ad2e-6a185c687b73',
url: '//yun.duiba.com.cn/spark/assets/e4a1df2cf65b4436cda7583ea7dcb47c3c406932.png',
},
'a3d0f917-e54b-41e4-b4ca-6c41d7745829': {
name: '弹窗23',
ext: '.png',
uuid: 'a3d0f917-e54b-41e4-b4ca-6c41d7745829',
url: '//yun.duiba.com.cn/spark/assets/ca4d9c365d88bcf29c58eeb763603b580a2dca32.png',
},
'da96b20a-ad15-4cc5-b232-2b7124e86f72': {
name: '按钮22',
ext: '.png',
uuid: 'da96b20a-ad15-4cc5-b232-2b7124e86f72',
url: '//yun.duiba.com.cn/spark/assets/af66ed2dba071b3bc87e928fa788b62d871203e0.png',
},
'0155bd45-7f45-4b4a-a524-056bcdb2ca0b': {
name: '组101321',
ext: '.png',
uuid: '0155bd45-7f45-4b4a-a524-056bcdb2ca0b',
url: '//yun.duiba.com.cn/spark/assets/798b983732cbd61d9e018c94317dc185caa7ecd2.png',
},
'22f576bc-4e89-4cb5-bd1c-a9a4a4a25f3f': {
name: '按钮20',
ext: '.png',
uuid: '22f576bc-4e89-4cb5-bd1c-a9a4a4a25f3f',
url: '//yun.duiba.com.cn/spark/assets/bf92bb1e268cabf01fad0c82271f64561d5e9acd.png',
},
'a809d1c3-6cb3-453f-9426-52b47ded2c38': {
name: '确认兑换弹窗19',
ext: '.png',
uuid: 'a809d1c3-6cb3-453f-9426-52b47ded2c38',
url: '//yun.duiba.com.cn/spark/assets/d4d8e7ec06f10ccb1107506c28804e33cfb012ad.png',
},
'51136539-0107-42ed-9eab-3631d229370e': {
name: '按钮18',
ext: '.png',
uuid: '51136539-0107-42ed-9eab-3631d229370e',
url: '//yun.duiba.com.cn/spark/assets/8c99d702516b22a199aa475dc4e70bad926b9e0d.png',
},
'6d84db49-288f-48ae-9c77-e3c7d6727c30': {
name: '确认兑换弹窗17',
ext: '.png',
uuid: '6d84db49-288f-48ae-9c77-e3c7d6727c30',
url: '//yun.duiba.com.cn/spark/assets/52c28fc2805cc902cad25b0c0ce092dbba933407.png',
},
'4884e0f6-58c3-4c08-8b23-9cbea1097d29': {
name: '确认兑换弹窗14',
ext: '.png',
uuid: '4884e0f6-58c3-4c08-8b23-9cbea1097d29',
url: '//yun.duiba.com.cn/spark/assets/bd8df5525a94861964b30196ae63a356007e485e.png',
},
'e4f7b188-a4d9-478a-8ff9-51360cea6d24': {
name: '确认兑换弹窗11',
ext: '.png',
uuid: 'e4f7b188-a4d9-478a-8ff9-51360cea6d24',
url: '//yun.duiba.com.cn/spark/assets/bfc13c9b83be3fa9fcb2d64dbb1b0d802388cac3.png',
},
'b3233f64-6e3b-4638-9b81-eb8e6c489f62': {
name: '组10139',
ext: '.png',
uuid: 'b3233f64-6e3b-4638-9b81-eb8e6c489f62',
url: '//yun.duiba.com.cn/spark/assets/2ff8b5f18ec10899088b752429184640cac8fc1d.png',
},
'978d4c36-16ec-4bf6-9669-82696a097bc9': {
name: '按钮8',
ext: '.png',
uuid: '978d4c36-16ec-4bf6-9669-82696a097bc9',
url: '//yun.duiba.com.cn/spark/assets/f86cc71a60aa3327db2db539e159f9f0ebbc01a9.png',
},
'ff0719ee-3bee-4527-9223-68b241370ec6': {
name: '确认兑换弹窗7',
ext: '.png',
uuid: 'ff0719ee-3bee-4527-9223-68b241370ec6',
url: '//yun.duiba.com.cn/spark/assets/0f61454ac1ca6538ec5a486fe42e33793ae65861.png',
},
'7f61f798-7bf9-41e6-817f-99b6f6054177': {
name: '按钮6',
ext: '.png',
uuid: '7f61f798-7bf9-41e6-817f-99b6f6054177',
url: '//yun.duiba.com.cn/spark/assets/6149810c63a10098f66b1a0c305c2c9ae96d65b6.png',
},
'729b9b89-928c-4ddc-9b11-1c43e72790d8': {
name: '确认兑换弹窗5',
ext: '.png',
uuid: '729b9b89-928c-4ddc-9b11-1c43e72790d8',
url: '//yun.duiba.com.cn/spark/assets/2c431cfa3664f49693f2ce195d6e52929b6350a1.png',
},
'4e45f812-a758-421e-920f-25277b900537': {
name: '确认兑换弹窗3',
ext: '.png',
uuid: '4e45f812-a758-421e-920f-25277b900537',
url: '//yun.duiba.com.cn/spark/assets/96da072153e60b2332a08ea27b466dcc65b7bc64.png',
},
'eb1eb203-0d09-4006-86ab-bb57b94baaae': {
name: '居中相对适配参',
ext: '.png',
uuid: 'eb1eb203-0d09-4006-86ab-bb57b94baaae',
url: '//yun.duiba.com.cn/spark/assets/fa567abdaa2bc2966e7140414b0162d12ad6c224.png',
},
'4217fbf5-ca7a-4d81-8d44-2bcd14a1bd1a': {
name: '图层1448',
ext: '.png',
uuid: '4217fbf5-ca7a-4d81-8d44-2bcd14a1bd1a',
url: '//yun.duiba.com.cn/spark/assets/0ff1c4d93e4b5fc8570f52f78f14ac3090f5829f.png',
},
'e3d2e3c3-ece0-48fb-91d4-f89e009c780b': {
name: '图层1206',
ext: '.png',
uuid: 'e3d2e3c3-ece0-48fb-91d4-f89e009c780b',
url: '//yun.duiba.com.cn/spark/assets/73ec021acae4339561f6d6c718bd531eb987be90.png',
},
'fa6e1de5-578a-4947-8eb8-6577eeed2436': {
name: 'sky',
ext: '.png',
uuid: 'fa6e1de5-578a-4947-8eb8-6577eeed2436',
url: '//yun.duiba.com.cn/spark/assets/5a9f585016732a15fc592b7f6ed00edaaf6dd6ac.png'
},
'fdb33f6c-95dd-4319-a8b4-92681b6d5a98': {
name: 'bg',
ext: '.png',
uuid: 'fdb33f6c-95dd-4319-a8b4-92681b6d5a98',
url: '//yun.duiba.com.cn/spark/assets/9cd87d4424144c0142c29b934961e1ce3be65144.png'
},
'cdbd4968-caaf-4361-9d45-7cd79816d732': {
name: 'earth',
ext: '.png',
uuid: 'cdbd4968-caaf-4361-9d45-7cd79816d732',
url: '//yun.duiba.com.cn/spark/assets/c5b1483507bfb5d03ba32b26aaada9682e1f9789.png'
},
'1142ca7b-6920-47f1-b4a4-30ae85db147c': {
name: 'stone',
ext: '.png',
uuid: '1142ca7b-6920-47f1-b4a4-30ae85db147c',
url: '//yun.duiba.com.cn/spark/assets/014f613857d8bac5c6011d9adf9eab29b75b3a9d.png'
},
'17b6ba20-9de4-44a5-a642-01bb306b279d': {
name: 'cactus',
ext: '.png',
uuid: '17b6ba20-9de4-44a5-a642-01bb306b279d',
url: '//yun.duiba.com.cn/spark/assets/03753ee18d943a78516370e6364087a82451a6a0.png'
},
'ba1d0dcd-a87e-4cc4-8bed-43b330f913cf': {
name: 'cloud',
ext: '.png',
uuid: 'ba1d0dcd-a87e-4cc4-8bed-43b330f913cf',
url: '//yun.duiba.com.cn/spark/assets/deedc46b86b8ce4f56a08bf710930de3e2e4ea6e.png'
},
'56976260-fcc4-49c4-b4d2-ed9833b8b128': {
name: 'fw',
ext: '.png',
uuid: '56976260-fcc4-49c4-b4d2-ed9833b8b128',
url: '//yun.duiba.com.cn/spark/assets/207b6ff73d06a80c3bd1b2b393109cefe92225de.png'
},
'11b74972-220a-4d70-a46d-12ce437cdb4e': {
name: 'btn',
ext: '.png',
uuid: '11b74972-220a-4d70-a46d-12ce437cdb4e',
url: '//yun.duiba.com.cn/spark/assets/d145b1de697c89999c7779c05441152bd8f06c32.png'
},
'f00e7c09-13f3-45af-814e-b8687aa421f6': {
name: 'title',
ext: '.png',
uuid: 'f00e7c09-13f3-45af-814e-b8687aa421f6',
url: '//yun.duiba.com.cn/spark/assets/a5cd737c5d5acff6613251ce3712dbb3586d716d.png'
},
'f12ea74f-0281-4045-9c3f-74a1a75c3a2e': {
name: 'rule',
ext: '.png',
uuid: 'f12ea74f-0281-4045-9c3f-74a1a75c3a2e',
url: '//yun.duiba.com.cn/spark/assets/4a4b75a97fe50986f646f0cea69464dec3368ef0.png'
},
'0023f7d8-5251-4ee9-9157-e97bac2f12b7': {
name: 'record',
ext: '.png',
uuid: '0023f7d8-5251-4ee9-9157-e97bac2f12b7',
url: '//yun.duiba.com.cn/spark/assets/889e0aacd7fb8106ea72d42297722f6fe2fec126.png'
},
'f695edaf-f06c-4c1b-a503-cbfe02a8e5c2': {
name: 'logo',
ext: '.png',
uuid: 'f695edaf-f06c-4c1b-a503-cbfe02a8e5c2',
url: '//yun.duiba.com.cn/spark/assets/4dbe68dc7061bd7bc01c8b128a036a9011745a6c.png'
},
'ce2b0e2e-18cc-41c2-ba99-0d5d5cf730d4': {
name: 'djs',
ext: '.png',
uuid: 'ce2b0e2e-18cc-41c2-ba99-0d5d5cf730d4',
url: '//yun.duiba.com.cn/spark/assets/12ed5b4d59a90412e457daaab62ff384f112ae68.png'
},
'd5d649e2-a4eb-4f90-a5f8-102aef0da67f': {
name: 'kuang',
ext: '.png',
uuid: 'd5d649e2-a4eb-4f90-a5f8-102aef0da67f',
url: '//yun.duiba.com.cn/spark/assets/66a7629cd2a68ca74926d1d88ab2bd74cfa29305.png'
},
'05686032-6679-4978-aeda-af5583cc83c9': {
name: 'jsBtn',
ext: '.png',
uuid: '05686032-6679-4978-aeda-af5583cc83c9',
url: '//yun.duiba.com.cn/spark/assets/441ce6d17994e7b92e4655116c77ef7ee0464ea5.png'
},
'376de044-abaf-456d-a801-15b65ac7c6f5': {
name: 'text',
ext: '.png',
uuid: '376de044-abaf-456d-a801-15b65ac7c6f5',
url: '//yun.duiba.com.cn/spark/assets/0549d990e79a46f31cbf24a8fa1a51884a68b000.png'
},
'6c1d8c69-4bb4-4e03-9247-744ea64da13a': {
name: 'gif',
ext: '.png',
uuid: '6c1d8c69-4bb4-4e03-9247-744ea64da13a',
url: '//yun.duiba.com.cn/spark/assets/454c3a8792c1e6a20e7302bde8d4a5f247fc5239.png'
},
'df043cce-f329-472c-8ddc-fa491c0138c3': {
name: 'bean',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/d47634d9bf7b70b4f0262fb460b5f95e8c496e84.png',
uuid: 'df043cce-f329-472c-8ddc-fa491c0138c3'
},
'99c10125-0d70-4eed-8004-5432a53b78bd': {
name: 'circle',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/168d416c407eaa9534f782a06a10524e37148a5c.png',
uuid: '99c10125-0d70-4eed-8004-5432a53b78bd'
},
'decaa54b-b5c1-4ce7-9f42-07587f7cf04e': {
name: 'draft',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/920ae266a86b7da77f616495d1929ebabd334ab9.png',
uuid: 'decaa54b-b5c1-4ce7-9f42-07587f7cf04e'
},
'95cd1f99-4ed2-4b57-9c31-f061018afa7e': {
name: 'timer',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/9fc66be425c5e1781b16eed5766e638abca1e211.png',
uuid: '95cd1f99-4ed2-4b57-9c31-f061018afa7e'
},
'43856136-a5ec-42c9-8d2a-94d75fded18f': {
name: 'close',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/378bde04ec2b4a8bd5ff56dbb59a3fd3472114d7.png',
uuid: '43856136-a5ec-42c9-8d2a-94d75fded18f'
},
'536c1bda-87f3-4559-a649-1198e1cf4978': {
name: '地base',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/0cea1cc3a1221b4e83325f766e670ea779a4fec0.png',
uuid: '536c1bda-87f3-4559-a649-1198e1cf4978'
},
'6cd37293-1eca-47c6-8e98-45fdeca4dacf': {
name: 'light',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/b5ab114c323fb76994bda935804cc0e71e6da52a.png',
uuid: '6cd37293-1eca-47c6-8e98-45fdeca4dacf'
},
'4999062e-817a-493d-bcf3-0e63a31f5c3a': {
name: '矿车',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/c8ea08bb45e8f9c5dc5b30548e9f9f7c0ba7a5ae.png',
uuid: '4999062e-817a-493d-bcf3-0e63a31f5c3a'
},
'8616d3e7-89cc-47c6-96f7-67aa75e04c93': {
name: 'carMark',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/d808e872f35592cfe874463c992ee1f6a5d8b936.png',
uuid: '8616d3e7-89cc-47c6-96f7-67aa75e04c93'
},
'f09b9a4d-17f7-457e-839e-f2dc5ce46198': {
name: 'carMark2',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/c3897972aeee75e236ae301a0d7e7524e29fc0bf.png',
uuid: 'f09b9a4d-17f7-457e-839e-f2dc5ce46198'
},
'2a971ea4-c0cd-4127-88e8-73dfb8c7ba57': {
name: 'text',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/15e90c25dc69093970627019ad3d36194e3f17eb.png',
uuid: '2a971ea4-c0cd-4127-88e8-73dfb8c7ba57'
},
'f0fd2033-9859-4488-8604-c54969cba789': {
name: 'cir',
ext: '.png',
url: '//yun.duiba.com.cn/spark/assets/9b37711630c4f953dd30532e01272985017ea021.png',
uuid: 'f0fd2033-9859-4488-8604-c54969cba789'
},
};
export default resList;
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