Commit fe5b2eda authored by wildfirecode13's avatar wildfirecode13

1

parent d111bab4
This diff is collapsed.
'use strict';
import React, { Component } from 'react';
import resList from '../../resconfig/resList'; //import API from '../../api';
import './main.less';
import Select from '../../components/select/select.jsx';
import { getSVGA, loadSVGA } from '../../svga.js';
class Main extends Component {
constructor(props) {
super(props);
this.state = {
resList: resList,
};
console.log('main constructor', props);
}
componentDidMount() {
// const url = 'https://yun.duiba.com.cn/aurora/assets/dffd145ab76b633d180db947d813ec0fd4fd602f.svga'; // loadSVGA(url); //
// getSVGA(url, '.svga-placeholder');
if (this.props.data) {
}
}
getElement() {}
render() {
const { guide } = this.state;
return (
<div className="main " uuid="7d70e354-c6e9-47c8-a482-4101c0a75401">
{false && <div className="svga-placeholder" uuid="c718b8c3-43da-43d0-8422-91459c8f29a9" />}
<img
className="main_bg "
uuid="122bc8da-cec5-4044-93ea-d998cc08bac3"
src={this.state.resList['2e7a6b79-7bb1-4997-861d-e079aa4ad1a8'].url}
/>
{false && (
<div className="main_guide1 " uuid="f6b7ef96-d25e-4889-9489-9db8418203d5">
<img uuid="0cee1480-587c-4b8b-8e39-5921f24b8e18" />
<div uuid="f303b985-9d70-4b2c-958d-9e0ac7c0c850">
<img uuid="a215905f-bfcb-4169-91f6-39f1e00b07e7" />
<span uuid="05a474b7-cf01-4512-9a36-10892d426003">
亲爱的朋友,欢迎来到e趣小镇,我是您的小镇管家小e! 首先赠送你10000欢趣豆 下面跟着我一起了解e趣小镇吧!
</span>
</div>
</div>
)}
{false && (
<img
className="main_guide2 "
uuid="9d824876-91f3-4c75-9ef3-cb92284f79a7"
src={this.state.resList['72d109c4-9799-4900-8758-99b507366007'].url}
/>
)}
{false && (
<img
className="main_guide3 "
uuid="d0f0eccb-269e-46eb-b0e3-b87d90eb0d7c"
src={this.state.resList['213be104-04d9-41c7-bfdb-2b457c162d84'].url}
/>
)}
{guide && (
<img
className="main_guide4 "
uuid="09e35495-0b40-479b-b618-936953cd4cdc"
src={this.state.resList['632edd4c-7875-4ec2-8592-16584b2247eb'].url}
/>
)}
{false && (
<img
className="main_guide5 "
uuid="764d1a9a-7d72-47dd-ab92-3cba1d381e6e"
src={this.state.resList['aa6fa348-12df-4a78-90b9-8204c0d1faf7'].url}
/>
)}
{false && (
<img
className="main_guide6 "
uuid="45839b03-22eb-4290-8f6a-c1911b3d74fb"
src={this.state.resList['7e94a414-4046-4479-a11b-f9c5356ec4e3'].url}
/>
)}
{false && (
<img
className="main_guide7 "
uuid="1efa84e0-f5e6-4bdf-aab8-5f7488502391"
src={this.state.resList['ea2becb6-0e9d-48a6-9a8e-a00ffaf316e5'].url}
/>
)}
{false && (
<img
className="main_guide8 "
uuid="cabf6418-85dd-429e-a018-99d0ebfe724c"
src={this.state.resList['9955baa7-3554-4e96-b487-86a9bd3481b2'].url}
/>
)}
{false && (
<img
className="main_guide9 "
uuid="257ed10a-e663-4eae-a9b9-76cdaa5a330f"
src={this.state.resList['0a28b718-6599-45d6-b3d4-98c65c67a2e9'].url}
/>
)}
<img
className="main_skip "
uuid="40faf764-6304-462f-b91b-53c5aaf04321"
src={this.state.resList['889d6f1e-3707-42b5-a7f2-891643888ce7'].url}
/>
</div>
);
}
}
export default Main;
.main {
width: 752px;
height: 1666px;
position: absolute;
.svga-placeholder {
}
.main_bg {
width: 750px;
height: 1624px;
position: absolute;
}
.main_guide1 {
width: 752px;
height: 1666px;
position: absolute;
.noclassname {
}
.noclassname {
.noclassname {
}
.noclassname {
}
}
}
.main_guide2 {
width: 750px;
height: 1624px;
position: absolute;
}
.main_guide3 {
width: 750px;
height: 1624px;
position: absolute;
}
.main_guide4 {
width: 750px;
height: 1624px;
position: absolute;
}
.main_guide5 {
width: 750px;
height: 1624px;
position: absolute;
}
.main_guide6 {
width: 750px;
height: 1624px;
position: absolute;
}
.main_guide7 {
width: 750px;
height: 1624px;
position: absolute;
}
.main_guide8 {
width: 750px;
height: 1624px;
position: absolute;
}
.main_guide9 {
width: 750px;
height: 1624px;
position: absolute;
}
.main_skip {
width: 107px;
height: 35px;
left: 321px;
top: 1394px;
position: absolute;
}
}
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
top: 183px; top: 183px;
position: absolute; position: absolute;
font-size: 26px; font-size: 26px;
color: rgba(83, 83, 83, 1); color: #535353;
} }
.rule_close { .rule_close {
width: 48px; width: 48px;
......
const resList = { const resList = {
"486d644d-196a-4d71-99fe-bbaf06ecacbf":{"name":"loading_bg","ext":".png","uuid":"486d644d-196a-4d71-99fe-bbaf06ecacbf","url":"https://yun.duiba.com.cn/spark/assets/4a232be651feab99b4fba76a9a8359a19eb46219.png"},"042d5356-2585-46db-889d-664a8100598e":{"name":"loading_front","ext":".png","uuid":"042d5356-2585-46db-889d-664a8100598e","url":"https://yun.duiba.com.cn/spark/assets/da77308a053bd24455373152d12640cdd56215c8.png"},"97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad":{"name":"loading_progress","ext":".png","uuid":"97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad","url":"https://yun.duiba.com.cn/spark/assets/be3668797d9e5bbce50bc3c2a905dbe7d65dc8f0.png"},"c2df1a83-e9ea-4627-b376-1ac7f3e87b5c":{"name":"loading_icon","ext":".png","uuid":"c2df1a83-e9ea-4627-b376-1ac7f3e87b5c","url":"https://yun.duiba.com.cn/spark/assets/3e280b88318ca603cfd973f81b2238628e543931.png"},"8872d3a6-1d19-4a83-a07d-ae084b8a1392":{"name":"select_role1","ext":".png","uuid":"8872d3a6-1d19-4a83-a07d-ae084b8a1392","url":"https://yun.duiba.com.cn/spark/assets/a472b8e4620d270846a408f395c3e1730ab1702b.png"},"61eeafb1-d01e-4f8c-b7a8-5ee9432efb9b":{"name":"select_role2","ext":".png","uuid":"61eeafb1-d01e-4f8c-b7a8-5ee9432efb9b","url":"https://yun.duiba.com.cn/spark/assets/4e7e7d6d84a2b0697386d9d6ebaaa254bafbfce6.png"},"9da0a542-17dc-4c4c-bcc3-2ee8fba66ffa":{"name":"select_role3","ext":".png","uuid":"9da0a542-17dc-4c4c-bcc3-2ee8fba66ffa","url":"https://yun.duiba.com.cn/spark/assets/19c3952050d8203f91b483682ab749593888f23a.png"},"710e2c56-2ed1-4b25-a5c7-787edde76ded":{"name":"select_bg","ext":".png","uuid":"710e2c56-2ed1-4b25-a5c7-787edde76ded","url":"https://yun.duiba.com.cn/spark/assets/8dae232af6bfbd024c22c0a87ccedbe0bc074dbf.png"},"2f3d6f0d-0695-4acf-ae87-4e6743772531":{"name":"select_btn","ext":".png","uuid":"2f3d6f0d-0695-4acf-ae87-4e6743772531","url":"https://yun.duiba.com.cn/spark/assets/f1497e894283a475a51ba7091153098473de0c18.png"},"fa7ec292-bf36-4ca1-bf04-2e2360176044":{"name":"select_btnDisabled","ext":".png","uuid":"fa7ec292-bf36-4ca1-bf04-2e2360176044","url":"https://yun.duiba.com.cn/spark/assets/14dcb4053590c85443fe791b45962d8bbec976aa.png"},"5b40f5cf-2a46-4a68-9a79-40c8179ce379":{"name":"select_right","ext":".png","uuid":"5b40f5cf-2a46-4a68-9a79-40c8179ce379","url":"https://yun.duiba.com.cn/spark/assets/f8db480155fc2b5f83131906e3b2e9652f3f86cf.png"},"a4412ebd-65be-4908-8894-b0aea8cbd4cf":{"name":"select_left","ext":".png","uuid":"a4412ebd-65be-4908-8894-b0aea8cbd4cf","url":"https://yun.duiba.com.cn/spark/assets/968a38a8592e2235d32cbaff6d2771131cc128b6.png"},"2e7a6b79-7bb1-4997-861d-e079aa4ad1a8":{"ext":".jpg","url":"https://yun.duiba.com.cn/spark/assets/cda7473e061e594e0056d2a32d8b33eb4cdd4d07.jpg","uuid":"2e7a6b79-7bb1-4997-861d-e079aa4ad1a8","name":"main_bg"},"757ae62a-5b3f-46be-981d-52450f1982ed":{"name":"main_guide1_bg2","ext":".png","uuid":"757ae62a-5b3f-46be-981d-52450f1982ed","url":"https://yun.duiba.com.cn/spark/assets/e2a684ec52090c679fc0036c4a0f652627319acb.png"},"fa7ff91c-079e-4da1-b556-0e2a1b1aa0b6":{"name":"main_guide1_bg1","ext":".png","uuid":"fa7ff91c-079e-4da1-b556-0e2a1b1aa0b6","url":"https://yun.duiba.com.cn/spark/assets/7c5df4363359c155b916f9b6a3307eca43444623.png"},"72d109c4-9799-4900-8758-99b507366007":{"name":"main_guide2","ext":".png","uuid":"72d109c4-9799-4900-8758-99b507366007","url":"https://yun.duiba.com.cn/spark/assets/e6db61fa3f4c604261ddba2f5cafc1419c67384b.png"},"213be104-04d9-41c7-bfdb-2b457c162d84":{"name":"main_guide3","ext":".png","uuid":"213be104-04d9-41c7-bfdb-2b457c162d84","url":"https://yun.duiba.com.cn/spark/assets/55c4497b2f5233b0987bb6599fe4078d691116fb.png"},"632edd4c-7875-4ec2-8592-16584b2247eb":{"name":"main_guide4","ext":".png","uuid":"632edd4c-7875-4ec2-8592-16584b2247eb","url":"https://yun.duiba.com.cn/spark/assets/123e23b93a29d12a4c559bcd483ac2f795acdadd.png"},"aa6fa348-12df-4a78-90b9-8204c0d1faf7":{"name":"main_guide5","ext":".png","uuid":"aa6fa348-12df-4a78-90b9-8204c0d1faf7","url":"https://yun.duiba.com.cn/spark/assets/b2fab192ce7b68368f5c48948d22b61855ce2d49.png"},"7e94a414-4046-4479-a11b-f9c5356ec4e3":{"name":"main_guide6","ext":".png","uuid":"7e94a414-4046-4479-a11b-f9c5356ec4e3","url":"https://yun.duiba.com.cn/spark/assets/4e5a87639122a6b63193300b892cb0e5cfedd505.png"},"ea2becb6-0e9d-48a6-9a8e-a00ffaf316e5":{"name":"main_guide7","ext":".png","uuid":"ea2becb6-0e9d-48a6-9a8e-a00ffaf316e5","url":"https://yun.duiba.com.cn/spark/assets/b0442dcdbf56c9e969d1143a358a3ba5684230ad.png"},"9955baa7-3554-4e96-b487-86a9bd3481b2":{"name":"main_guide8","ext":".png","uuid":"9955baa7-3554-4e96-b487-86a9bd3481b2","url":"https://yun.duiba.com.cn/spark/assets/0ce1a06259f441d03b89542082424efc48317127.png"},"0a28b718-6599-45d6-b3d4-98c65c67a2e9":{"name":"main_guide9","ext":".png","uuid":"0a28b718-6599-45d6-b3d4-98c65c67a2e9","url":"https://yun.duiba.com.cn/spark/assets/201d659e069cfcd91b94d0d471a669c5bc69d240.png"},"889d6f1e-3707-42b5-a7f2-891643888ce7":{"name":"main_skip","ext":".png","uuid":"889d6f1e-3707-42b5-a7f2-891643888ce7","url":"https://yun.duiba.com.cn/spark/assets/59baa937ed198c85f628e514881fea915ec5a34b.png"},"8fbd72d3-7dcf-40b4-a22d-0ec8499725f8":{"name":"rule_bg","ext":".png","uuid":"8fbd72d3-7dcf-40b4-a22d-0ec8499725f8","url":"https://yun.duiba.com.cn/spark/assets/a6ebd6e0af2de30b88b0e7d130f438253ffca63c.png"},"3814359c-5889-4ffa-8b76-bc52f58ebd5d":{"name":"rule_close","ext":".png","uuid":"3814359c-5889-4ffa-8b76-bc52f58ebd5d","url":"https://yun.duiba.com.cn/spark/assets/db4f882c6a63825fa80eeacdfda7cad42b48dc6e.png"}, "486d644d-196a-4d71-99fe-bbaf06ecacbf":{"name":"loading_bg","ext":".png","uuid":"486d644d-196a-4d71-99fe-bbaf06ecacbf","url":"https://yun.duiba.com.cn/spark/assets/4a232be651feab99b4fba76a9a8359a19eb46219.png"},"042d5356-2585-46db-889d-664a8100598e":{"name":"loading_front","ext":".png","uuid":"042d5356-2585-46db-889d-664a8100598e","url":"https://yun.duiba.com.cn/spark/assets/da77308a053bd24455373152d12640cdd56215c8.png"},"97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad":{"name":"loading_progress","ext":".png","uuid":"97cb2a19-7bb9-4b41-ad0d-2b0f757b97ad","url":"https://yun.duiba.com.cn/spark/assets/be3668797d9e5bbce50bc3c2a905dbe7d65dc8f0.png"},"c2df1a83-e9ea-4627-b376-1ac7f3e87b5c":{"name":"loading_icon","ext":".png","uuid":"c2df1a83-e9ea-4627-b376-1ac7f3e87b5c","url":"https://yun.duiba.com.cn/spark/assets/3e280b88318ca603cfd973f81b2238628e543931.png"},"8872d3a6-1d19-4a83-a07d-ae084b8a1392":{"name":"select_role1","ext":".png","uuid":"8872d3a6-1d19-4a83-a07d-ae084b8a1392","url":"https://yun.duiba.com.cn/spark/assets/a472b8e4620d270846a408f395c3e1730ab1702b.png"},"61eeafb1-d01e-4f8c-b7a8-5ee9432efb9b":{"name":"select_role2","ext":".png","uuid":"61eeafb1-d01e-4f8c-b7a8-5ee9432efb9b","url":"https://yun.duiba.com.cn/spark/assets/4e7e7d6d84a2b0697386d9d6ebaaa254bafbfce6.png"},"9da0a542-17dc-4c4c-bcc3-2ee8fba66ffa":{"name":"select_role3","ext":".png","uuid":"9da0a542-17dc-4c4c-bcc3-2ee8fba66ffa","url":"https://yun.duiba.com.cn/spark/assets/19c3952050d8203f91b483682ab749593888f23a.png"},"710e2c56-2ed1-4b25-a5c7-787edde76ded":{"name":"select_bg","ext":".png","uuid":"710e2c56-2ed1-4b25-a5c7-787edde76ded","url":"https://yun.duiba.com.cn/spark/assets/8dae232af6bfbd024c22c0a87ccedbe0bc074dbf.png"},"2f3d6f0d-0695-4acf-ae87-4e6743772531":{"name":"select_btn","ext":".png","uuid":"2f3d6f0d-0695-4acf-ae87-4e6743772531","url":"https://yun.duiba.com.cn/spark/assets/f1497e894283a475a51ba7091153098473de0c18.png"},"fa7ec292-bf36-4ca1-bf04-2e2360176044":{"name":"select_btnDisabled","ext":".png","uuid":"fa7ec292-bf36-4ca1-bf04-2e2360176044","url":"https://yun.duiba.com.cn/spark/assets/14dcb4053590c85443fe791b45962d8bbec976aa.png"},"5b40f5cf-2a46-4a68-9a79-40c8179ce379":{"name":"select_right","ext":".png","uuid":"5b40f5cf-2a46-4a68-9a79-40c8179ce379","url":"https://yun.duiba.com.cn/spark/assets/f8db480155fc2b5f83131906e3b2e9652f3f86cf.png"},"a4412ebd-65be-4908-8894-b0aea8cbd4cf":{"name":"select_left","ext":".png","uuid":"a4412ebd-65be-4908-8894-b0aea8cbd4cf","url":"https://yun.duiba.com.cn/spark/assets/968a38a8592e2235d32cbaff6d2771131cc128b6.png"},"757ae62a-5b3f-46be-981d-52450f1982ed":{"name":"main_guide1_bg2","ext":".png","uuid":"757ae62a-5b3f-46be-981d-52450f1982ed","url":"https://yun.duiba.com.cn/spark/assets/e2a684ec52090c679fc0036c4a0f652627319acb.png"},"fa7ff91c-079e-4da1-b556-0e2a1b1aa0b6":{"name":"main_guide1_bg1","ext":".png","uuid":"fa7ff91c-079e-4da1-b556-0e2a1b1aa0b6","url":"https://yun.duiba.com.cn/spark/assets/7c5df4363359c155b916f9b6a3307eca43444623.png"},"8fbd72d3-7dcf-40b4-a22d-0ec8499725f8":{"name":"rule_bg","ext":".png","uuid":"8fbd72d3-7dcf-40b4-a22d-0ec8499725f8","url":"https://yun.duiba.com.cn/spark/assets/a6ebd6e0af2de30b88b0e7d130f438253ffca63c.png"},"3814359c-5889-4ffa-8b76-bc52f58ebd5d":{"name":"rule_close","ext":".png","uuid":"3814359c-5889-4ffa-8b76-bc52f58ebd5d","url":"https://yun.duiba.com.cn/spark/assets/db4f882c6a63825fa80eeacdfda7cad42b48dc6e.png"},
} }
export default resList; export default resList;
\ No newline at end of file
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