Commit f0d1465b authored by 俞嘉婷's avatar 俞嘉婷

optionInfoList

parent fe0893ce
......@@ -9,7 +9,7 @@ export default [
"code": "123",
"data": {
"leftDrawTimes": 6, // 抽奖次数
"optionList": [
"optionInfoList": [
{
"name": `奖品1`,
"icon": `//yun.duiba.com.cn/polaris/jinmoqiang.9e5bbc004f69ab6a3f34d93daeda028616a9f00d.png`,
......
......@@ -9,7 +9,7 @@ export default [
"message": "message",
"data": {
"actStartTimestamp": Date.now()-42625488.007563084,
"leftGameTimes": 0,
"leftGameTimes": 10,
"rewardDailyFreeGameTimes": 666,
"uid": "00000000000",
"currentTimestamp": Date.now(),
......
......@@ -209,7 +209,7 @@ class Homepage extends React.Component {
};
render() {
const { uid, leftGameTimes, isAgent } = store?.indexData || {}
const { optionList, leftDrawTimes } = store?.drawData || {}
const { optionInfoList, leftDrawTimes } = store?.drawData || {}
return (
<div className="homepage modal_center">
<span className="bg"></span>
......@@ -252,7 +252,7 @@ class Homepage extends React.Component {
speed={1600}
freeMode={true}
>
{optionList?.map((item, index) => (
{optionInfoList?.map((item, index) => (
<SwiperSlide key={index}>
<div className="psample">
<img className="psimg" src={item.icon} />
......
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