Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mr-julyedu
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
baiguangyao
mr-julyedu
Commits
d1ac18b5
Commit
d1ac18b5
authored
Jun 08, 2022
by
dazhou
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
拼团成功页显示的课程价格改为拼团价
parent
c83d1539
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
build/mrstaticjs/togroup.666cdc19.chunk.js.map
+2
-2
No files found.
build/mrstaticjs/togroup.666cdc19.chunk.js.map
View file @
d1ac18b5
{"version":3,"sources":["components/detail/group/togroup.js"],"names":["ToGroup","connect","state","user","props","invitedFriends","pdd_price","number","data","browser","isWeixin","share","setState","wxShare","title","course_title","desc","link","window","location","href","imgUrl","image_name","info","toCourseDetail","id","history","push","handleToGroup","isBuy","hasError","redirectURI","includes","index","lastIndexOf","substr","assign","encodeURIComponent","from","modal","course_id","group","pdd_order_id","pddOrderId","groupon_member","person_num","is_success","http","get","API","getParam","then","res","errno","course_info","course_list","countdown","is_buy","date","end_time","day","hours","minutes","seconds","setInterval","parseInt","padStart","msg","this","simpledescription","price0","price1","Info","className","onClick","cart","toHref","transparent","visible","footer","text","onPress","img","toDetail","GorupContent","userInfo","length","course","slice","map","item","weekInfo","key","Component","tip","btn","dec","groupTip","ary","num","justify","Math","random","src","avatar","alt","user_type","flag","forEach","uid","to"],"mappings":"iVAUMA,EADLC,aAAQ,SAACC,GAAD,MAAY,CAAEC,KAAMD,EAAMC,Q,qDAEjC,WAAYC,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,a","file":"mrstaticjs/togroup.666cdc19.chunk.js","sourcesContent":["/* eslint-disable eqeqeq, jsx-a11y/anchor-is-valid, no-script-url */\nimport React, { Component } from \"react\"\nimport \"./togroup.scss\"\nimport { HeaderBar, VList } from \"../../../common\"\nimport { getParam, http, browser, wxShare } from \"src/utils\"\nimport { connect } from \"react-redux\"\nimport { Link } from \"react-router-dom\"\nimport { WingBlank, WhiteSpace, Flex, Toast, Modal } from \"antd-mobile\"\n\n@connect((state) => ({ user: state.user }))\nclass ToGroup extends Component {\n constructor(props) {\n super(props)\n this.state = {\n data: {},\n share: false,\n pdd_price: 0,\n groupon_member: [],\n person_num: 0, // 共多少人成团\n is_success: false, // 是否拼团成功\n number: 0, // 差几人成团\n isBuy: false,\n modal: false,\n pddOrderId: \"\",\n }\n }\n\n invitedFriends = () => {\n const { pdd_price, number, data } = this.state\n if (browser.isWeixin) {\n let share = this.state.share\n this.setState({\n share: !share,\n })\n wxShare({\n title: `【仅剩${number}个名额】我${pdd_price}元拼了《${data.course_title}》`,\n desc: data.course_title,\n link: window.location.href + \"&is_originator=1\",\n imgUrl: data.image_name,\n })\n } else {\n Toast.info(\"请在微信中使用分享功能!\", 2)\n }\n }\n\n componentDidMount() {\n http.get(`${API[\"base-api\"]}/pdd/info/${getParam(\"id\")}`).then((res) => {\n if (res.data.errno !== 0) {\n Toast.info(res.data.msg, 2)\n return\n }\n this.setState({\n data: res.data.data.course_info,\n pdd_price: res.data.data.pdd_price,\n groupon_member: res.data.data.groupon_member,\n is_success: res.data.data.is_success,\n person_num: res.data.data.person_num,\n course_list: res.data.data.course_list,\n number: res.data.data.number,\n pddOrderId: res.data.data.pdd_order_id,\n countdown: \"\",\n isBuy: res.data.data.is_buy,\n })\n\n if (res.data.data.is_success === 0) {\n let date = res.data.data.end_time * 1000,\n day = 0,\n hours = 0,\n minutes = 0,\n seconds = 0\n setInterval(() => {\n date -= 1000\n if (res.data.data.end_time > 86400) {\n day = `${parseInt(date / (3600000 * 24))}`.padStart(2, 0)\n hours = `${parseInt(\n (date - day * 3600000 * 24) / 3600000\n )}`.padStart(2, 0)\n minutes = `${parseInt(\n (date - day * 3600000 * 24 - hours * 3600000) / 60000\n )}`.padStart(2, 0)\n this.setState({\n countdown: `${day}天${hours}时${minutes}分`,\n })\n } else {\n hours = `${parseInt(date / (60 * 60 * 1000))}`.padStart(2, 0)\n minutes = `${parseInt((date - hours * 3600000) / 60000)}`.padStart(\n 2,\n 0\n )\n seconds = `${parseInt(\n (date - hours * 3600000 - minutes * 60000) / 1000\n )}`.padStart(2, 0)\n this.setState({\n countdown: `${hours}:${minutes}:${seconds}`,\n })\n }\n }, 1000)\n }\n })\n }\n\n toCourseDetail = (id) => {\n const { history } = this.props\n history.push(`/detail?id=${id}`, { href: \"/classify\" })\n return false\n }\n\n handleToGroup = () => {\n const { isBuy = false, data = {} } = this.state\n const { user, history, location } = this.props\n if (user.hasError) {\n if (browser.isWeixin) {\n let redirectURI = window.location.href\n if (\n redirectURI.includes(\"code=\") &&\n redirectURI.includes(\"state=STATE\")\n ) {\n let index = redirectURI.lastIndexOf(\"code=\")\n redirectURI = redirectURI.substr(0, index - 1)\n }\n window.location.assign(\n `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=${encodeURIComponent(\n redirectURI\n )}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`\n )\n } else {\n history.push(\"/passport\", { from: location })\n }\n return\n }\n\n if (!isBuy) {\n history.push(`/order?id=${data.course_id}`, {\n group: 1,\n pdd_order_id: this.state.pddOrderId,\n })\n } else {\n this.setState({\n modal: true,\n })\n }\n }\n\n render() {\n const {\n data: { course_id, course_title, simpledescription, price0, price1, pdd_price },\n is_success,\n course_list,\n } = this.state\n const Info = (\n <div className=\"info\">\n <p className=\"title\" onClick={() => this.toCourseDetail(course_id)}>\n {course_title}\n </p>\n <p className=\"contact text-overflow-2\">{simpledescription}</p>\n <div className=\"des\">\n <p className=\"course-price\">\n <span className=\"new\">¥{pdd_price}</span>\n <span className=\"old\">¥{price0}</span>\n </p>\n </div>\n </div>\n )\n return (\n <div className=\"to-group-box\">\n <HeaderBar title=\"拼团\" cart={false} toHref={\"/\"}></HeaderBar>\n <Modal\n transparent\n visible={this.state.modal}\n title=\"提示\"\n footer={[\n {\n text: \"确定\",\n onPress: () => {\n this.setState({\n modal: false,\n })\n this.props.history.push(\"/\")\n },\n },\n ]}\n >\n <p>您已经购买过该课程~</p>\n </Modal>\n {!is_success && (\n <VList\n img={this.state.data.image_name}\n id={this.state.data.course_id}\n info={Info}\n toDetail={this.toCourseDetail}\n />\n )}\n\n <GorupContent\n data={this.state}\n invitedFriends={this.invitedFriends}\n handleToGroup={this.handleToGroup}\n userInfo={this.props.user}\n />\n\n <WhiteSpace></WhiteSpace>\n <div className=\"group-course\">\n <div className=\"top-title\">\n <span>本周特惠</span>\n {/* <Link to={`/preferential`} className=\"more\">\n 更多<i className=\"iconfont iconiconfront-70\"></i>\n </Link> */}\n </div>\n {course_list &&\n course_list.length > 0 &&\n course_list[0].course &&\n course_list[0].course.length > 0 &&\n course_list[0].course.slice(0, 4).map((item) => {\n let weekInfo = (\n <div className=\"info\">\n <p\n className=\"title\"\n onClick={() => this.toCourseDetail(item.course_id)}\n >\n {/* <Link to={`/detail?id=${item.course_id}`}> */}\n {item.course_title}\n {/* </Link> */}\n </p>\n <p className=\"contact text-overflow-2\">\n {item.simpledescription}\n </p>\n <div className=\"des\">\n <p className=\"course-price\">\n <span className=\"new\">¥{item.pdd_price}</span>\n <span className=\"old\">¥{item.price0}</span>\n </p>\n </div>\n </div>\n )\n return (\n <VList\n img={item.image_name}\n key={item.course_id}\n id={item.course_id}\n info={weekInfo}\n toDetail={this.toCourseDetail}\n />\n )\n })}\n </div>\n </div>\n )\n }\n}\n\nfunction GorupContent(props) {\n let tip, btn, dec, groupTip\n const {\n pdd_price,\n data,\n groupon_member,\n is_success,\n person_num,\n share,\n number,\n countdown,\n } = props.data\n const { userInfo } = props\n let ary = [],\n num = number\n\n while (num != 0) {\n ary.push(num)\n num--\n }\n groupTip = (\n <div className=\"group-user-list\">\n <Flex justify=\"center\" className=\"imgList\">\n {groupon_member.map((item) => {\n return (\n <div className=\"imgContainer\" key={Math.random()}>\n <img className=\"imgname\" src={item.avatar} alt=\"\" />\n {item.user_type === 1 ? (\n <div className=\"leaderFlag\">\n <span>团长</span>\n </div>\n ) : null}\n </div>\n )\n })}\n {ary.map((item) => {\n return (\n <div className=\"imgContainer\" key={Math.random()}>\n <div className=\"imgname\">\n <i className=\"iconfont iconwode-xianxing no-body\"></i>\n </div>\n </div>\n )\n })}\n </Flex>\n </div>\n )\n\n if (groupon_member && groupon_member.length > 0) {\n let flag = false\n !userInfo.hasError &&\n groupon_member.forEach((item) => {\n if (item.uid == userInfo.data.uid) {\n flag = true\n }\n })\n if (flag) {\n tip = <p className=\"tip\">{`拼团省¥${round(data.price1 - pdd_price, 2)}元`}</p>\n btn = (\n <span className=\"group-btn\" onClick={props.invitedFriends}>\n 邀请好友参团 {countdown} 后结束\n </span>\n )\n dec = <p className=\"dec\">分享到3个群后,成团率高达98%</p>\n } else {\n if (getParam(\"is_originator\") == 1) {\n tip = <p className=\"tip\">{`拼团省¥${round(data.price1 - pdd_price, 2)}元`}</p>\n btn = (\n <a\n href=\"javascript:;\"\n className=\"group-btn\"\n onClick={props.handleToGroup}\n >\n 一键参团\n </a>\n )\n } else {\n tip = <p className=\"tip\">{`拼团省¥${round(data.price1 - pdd_price, 2)}元`}</p>\n btn = (\n <span className=\"group-btn\" onClick={props.invitedFriends}>\n 邀请好友参团 {countdown} 后结束\n </span>\n )\n dec = <p className=\"dec\">分享到3个群后,成团率高达98%</p>\n }\n }\n }\n\n if (is_success === 1) {\n tip = <p className=\"success\">拼团成功</p>\n btn = (\n <Link to={`/detail?id=${data.course_id}`} className=\"tostudy\">\n 去学习\n </Link>\n )\n }\n return (\n <div className=\"gorup-content\">\n {share ? (\n <div className=\"groupSuccessMbc\" onClick={props.invitedFriends}>\n <div className=\"tipContent\">\n {`还差${number}人,分享到3个群,成团率高达98%`}\n </div>\n <div className=\"tipArrow\">\n <i className=\"iconfont iconyindao\"></i>\n </div>\n </div>\n ) : null}\n\n {tip}\n <WingBlank>{groupTip}</WingBlank>\n <WingBlank>{btn}</WingBlank>\n {dec}\n {!is_success && (\n <div className=\"group-dec\">\n <span>\n <i className=\"iconfont iconiconfront-1\"></i>\n ·好友参团 ·人满成交 ·人不满退款\n </span>\n <span className=\"allNum\">{`累计${person_num}人成团`}</span>\n </div>\n )}\n </div>\n )\n}\n\nexport default ToGroup\n"],"sourceRoot":""}
{"version":3,"sources":["components/detail/group/togroup.js"],"names":["ToGroup","connect","state","user","props","invitedFriends","pdd_price","number","data","browser","isWeixin","share","setState","wxShare","title","course_title","desc","link","window","location","href","imgUrl","image_name","info","toCourseDetail","id","history","push","handleToGroup","isBuy","hasError","redirectURI","includes","index","lastIndexOf","substr","assign","encodeURIComponent","from","modal","course_id","group","pdd_order_id","pddOrderId","groupon_member","person_num","is_success","http","get","API","getParam","then","res","errno","course_info","course_list","countdown","is_buy","date","end_time","day","hours","minutes","seconds","setInterval","parseInt","padStart","msg","this","simpledescription","price0","price1","Info","className","onClick","cart","toHref","transparent","visible","footer","text","onPress","img","toDetail","GorupContent","userInfo","length","course","slice","map","item","weekInfo","key","Component","tip","btn","dec","groupTip","ary","num","justify","Math","random","src","avatar","alt","user_type","flag","forEach","uid","to"],"mappings":"iVAUMA,EADLC,aAAQ,SAACC,GAAD,MAAY,CAAEC,KAAMD,EAAMC,Q,qDAEjC,WAAYC,GAAQ,IAAD,8BACjB,cAAMA,IAeRC,eAAiB,WAAO,IAAD,EACe,EAAKH,MAAjCI,EADa,EACbA,UAAWC,EADE,EACFA,OAAQC,EADN,EACMA,KAC3B,GAAIC,IAAQC,SAAU,CACpB,IAAIC,EAAQ,EAAKT,MAAMS,MACvB,EAAKC,SAAS,CACZD,OAAQA,IAEVE,YAAQ,CACNC,MAAM,qBAAD,OAA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,GACFb,EAAM,uBAAGrB,UAAU,OAAb,kCAA2BjE,EAAK+D,OAASjE,EAAzC,WACNyF,EACE,0BAAMtB,UAAU,YAAYC,QAAStE,EAAMC,gBAA3C,wCACUmD,EADV,uBAIFwC,EAAM,uBAAGvB,UAAU,OAAb,iFAE2B,GAA7BvB,YAAS,kBACX4C,EAAM,uBAAGrB,UAAU,OAAb,kCAA2BjE,EAAK+D,OAASjE,EAAzC,WACNyF,EACE,uBACE3E,KAAK,eACLqD,UAAU,YACVC,QAAStE,EAAMwB,eAHjB,8BASFkE,EAAM,uBAAGrB,UAAU,OAAb,kCAA2BjE,EAAK+D,OAASjE,EAAzC,WACNyF,EACE,0BAAMtB,UAAU,YAAYC,QAAStE,EAAMC,gBAA3C,wCACUmD,EADV,uBAIFwC,EAAM,uBAAGvB,UAAU,OAAb,iFAaZ,OARmB,IAAf3B,IACFgD,EAAM,uBAAGrB,UAAU,WAAb,4BACNsB,EACE,kBAAC,IAAD,CAAMe,GAAE,qBAAgBtG,EAAKgC,WAAaiC,UAAU,WAApD,uBAMF,yBAAKA,UAAU,iBACZ9D,EACC,yBAAK8D,UAAU,kBAAkBC,QAAStE,EAAMC,gBAC9C,yBAAKoE,UAAU,cAAf,sBACQlE,EADR,uFAGA,yBAAKkE,UAAU,YACb,uBAAGA,UAAU,0BAGf,KAEHqB,EACD,2BAAYG,GACZ,2BAAYF,GACXC,GACClD,GACA,yBAAK2B,UAAU,aACb,8BACE,uBAAGA,UAAU,6BADf,gGAIA,0BAAMA,UAAU,UAAhB,sBAA+B5B,EAA/B,yBAOK7C,a","file":"mrstaticjs/togroup.666cdc19.chunk.js","sourcesContent":["/* eslint-disable eqeqeq, jsx-a11y/anchor-is-valid, no-script-url */\nimport React, { Component } from \"react\"\nimport \"./togroup.scss\"\nimport { HeaderBar, VList } from \"../../../common\"\nimport { getParam, http, browser, wxShare } from \"src/utils\"\nimport { connect } from \"react-redux\"\nimport { Link } from \"react-router-dom\"\nimport { WingBlank, WhiteSpace, Flex, Toast, Modal } from \"antd-mobile\"\n\n@connect((state) => ({ user: state.user }))\nclass ToGroup extends Component {\n constructor(props) {\n super(props)\n this.state = {\n data: {},\n share: false,\n pdd_price: 0,\n groupon_member: [],\n person_num: 0, // 共多少人成团\n is_success: false, // 是否拼团成功\n number: 0, // 差几人成团\n isBuy: false,\n modal: false,\n pddOrderId: \"\",\n }\n }\n\n invitedFriends = () => {\n const { pdd_price, number, data } = this.state\n if (browser.isWeixin) {\n let share = this.state.share\n this.setState({\n share: !share,\n })\n wxShare({\n title: `【仅剩${number}个名额】我${pdd_price}元拼了《${data.course_title}》`,\n desc: data.course_title,\n link: window.location.href + \"&is_originator=1\",\n imgUrl: data.image_name,\n })\n } else {\n Toast.info(\"请在微信中使用分享功能!\", 2)\n }\n }\n\n componentDidMount() {\n http.get(`${API[\"base-api\"]}/pdd/info/${getParam(\"id\")}`).then((res) => {\n if (res.data.errno !== 0) {\n Toast.info(res.data.msg, 2)\n return\n }\n this.setState({\n data: res.data.data.course_info,\n pdd_price: res.data.data.pdd_price,\n groupon_member: res.data.data.groupon_member,\n is_success: res.data.data.is_success,\n person_num: res.data.data.person_num,\n course_list: res.data.data.course_list,\n number: res.data.data.number,\n pddOrderId: res.data.data.pdd_order_id,\n countdown: \"\",\n isBuy: res.data.data.is_buy,\n })\n\n if (res.data.data.is_success === 0) {\n let date = res.data.data.end_time * 1000,\n day = 0,\n hours = 0,\n minutes = 0,\n seconds = 0\n setInterval(() => {\n date -= 1000\n if (res.data.data.end_time > 86400) {\n day = `${parseInt(date / (3600000 * 24))}`.padStart(2, 0)\n hours = `${parseInt(\n (date - day * 3600000 * 24) / 3600000\n )}`.padStart(2, 0)\n minutes = `${parseInt(\n (date - day * 3600000 * 24 - hours * 3600000) / 60000\n )}`.padStart(2, 0)\n this.setState({\n countdown: `${day}天${hours}时${minutes}分`,\n })\n } else {\n hours = `${parseInt(date / (60 * 60 * 1000))}`.padStart(2, 0)\n minutes = `${parseInt((date - hours * 3600000) / 60000)}`.padStart(\n 2,\n 0\n )\n seconds = `${parseInt(\n (date - hours * 3600000 - minutes * 60000) / 1000\n )}`.padStart(2, 0)\n this.setState({\n countdown: `${hours}:${minutes}:${seconds}`,\n })\n }\n }, 1000)\n }\n })\n }\n\n toCourseDetail = (id) => {\n const { history } = this.props\n history.push(`/detail?id=${id}`, { href: \"/classify\" })\n return false\n }\n\n handleToGroup = () => {\n const { isBuy = false, data = {} } = this.state\n const { user, history, location } = this.props\n if (user.hasError) {\n if (browser.isWeixin) {\n let redirectURI = window.location.href\n if (\n redirectURI.includes(\"code=\") &&\n redirectURI.includes(\"state=STATE\")\n ) {\n let index = redirectURI.lastIndexOf(\"code=\")\n redirectURI = redirectURI.substr(0, index - 1)\n }\n window.location.assign(\n `https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx23dac6775ac82877&redirect_uri=${encodeURIComponent(\n redirectURI\n )}&response_type=code&scope=snsapi_userinfo&state=STATE#wechat_redirect`\n )\n } else {\n history.push(\"/passport\", { from: location })\n }\n return\n }\n\n if (!isBuy) {\n history.push(`/order?id=${data.course_id}`, {\n group: 1,\n pdd_order_id: this.state.pddOrderId,\n })\n } else {\n this.setState({\n modal: true,\n })\n }\n }\n\n render() {\n const {\n data: { course_id, course_title, simpledescription, price0, price1 },\n is_success,\n course_list,\n } = this.state\n const Info = (\n <div className=\"info\">\n <p className=\"title\" onClick={() => this.toCourseDetail(course_id)}>\n {course_title}\n </p>\n <p className=\"contact text-overflow-2\">{simpledescription}</p>\n <div className=\"des\">\n <p className=\"course-price\">\n <span className=\"new\">¥{price1}</span>\n <span className=\"old\">¥{price0}</span>\n </p>\n </div>\n </div>\n )\n return (\n <div className=\"to-group-box\">\n <HeaderBar title=\"拼团\" cart={false} toHref={\"/\"}></HeaderBar>\n <Modal\n transparent\n visible={this.state.modal}\n title=\"提示\"\n footer={[\n {\n text: \"确定\",\n onPress: () => {\n this.setState({\n modal: false,\n })\n this.props.history.push(\"/\")\n },\n },\n ]}\n >\n <p>您已经购买过该课程~</p>\n </Modal>\n {!is_success && (\n <VList\n img={this.state.data.image_name}\n id={this.state.data.course_id}\n info={Info}\n toDetail={this.toCourseDetail}\n />\n )}\n\n <GorupContent\n data={this.state}\n invitedFriends={this.invitedFriends}\n handleToGroup={this.handleToGroup}\n userInfo={this.props.user}\n />\n\n <WhiteSpace></WhiteSpace>\n <div className=\"group-course\">\n <div className=\"top-title\">\n <span>本周特惠</span>\n {/* <Link to={`/preferential`} className=\"more\">\n 更多<i className=\"iconfont iconiconfront-70\"></i>\n </Link> */}\n </div>\n {course_list &&\n course_list.length > 0 &&\n course_list[0].course &&\n course_list[0].course.length > 0 &&\n course_list[0].course.slice(0, 4).map((item) => {\n let weekInfo = (\n <div className=\"info\">\n <p\n className=\"title\"\n onClick={() => this.toCourseDetail(item.course_id)}\n >\n {/* <Link to={`/detail?id=${item.course_id}`}> */}\n {item.course_title}\n {/* </Link> */}\n </p>\n <p className=\"contact text-overflow-2\">\n {item.simpledescription}\n </p>\n <div className=\"des\">\n <p className=\"course-price\">\n <span className=\"new\">¥{item.price1}</span>\n <span className=\"old\">¥{item.price0}</span>\n </p>\n </div>\n </div>\n )\n return (\n <VList\n img={item.image_name}\n key={item.course_id}\n id={item.course_id}\n info={weekInfo}\n toDetail={this.toCourseDetail}\n />\n )\n })}\n </div>\n </div>\n )\n }\n}\n\nfunction GorupContent(props) {\n let tip, btn, dec, groupTip\n const {\n pdd_price,\n data,\n groupon_member,\n is_success,\n person_num,\n share,\n number,\n countdown,\n } = props.data\n const { userInfo } = props\n let ary = [],\n num = number\n\n while (num != 0) {\n ary.push(num)\n num--\n }\n groupTip = (\n <div className=\"group-user-list\">\n <Flex justify=\"center\" className=\"imgList\">\n {groupon_member.map((item) => {\n return (\n <div className=\"imgContainer\" key={Math.random()}>\n <img className=\"imgname\" src={item.avatar} alt=\"\" />\n {item.user_type === 1 ? (\n <div className=\"leaderFlag\">\n <span>团长</span>\n </div>\n ) : null}\n </div>\n )\n })}\n {ary.map((item) => {\n return (\n <div className=\"imgContainer\" key={Math.random()}>\n <div className=\"imgname\">\n <i className=\"iconfont iconwode-xianxing no-body\"></i>\n </div>\n </div>\n )\n })}\n </Flex>\n </div>\n )\n\n if (groupon_member && groupon_member.length > 0) {\n let flag = false\n !userInfo.hasError &&\n groupon_member.forEach((item) => {\n if (item.uid == userInfo.data.uid) {\n flag = true\n }\n })\n if (flag) {\n tip = <p className=\"tip\">{`拼团省¥${round(data.price1 - pdd_price, 2)}元`}</p>\n btn = (\n <span className=\"group-btn\" onClick={props.invitedFriends}>\n 邀请好友参团 {countdown} 后结束\n </span>\n )\n dec = <p className=\"dec\">分享到3个群后,成团率高达98%</p>\n } else {\n if (getParam(\"is_originator\") == 1) {\n tip = <p className=\"tip\">{`拼团省¥${round(data.price1 - pdd_price, 2)}元`}</p>\n btn = (\n <a\n href=\"javascript:;\"\n className=\"group-btn\"\n onClick={props.handleToGroup}\n >\n 一键参团\n </a>\n )\n } else {\n tip = <p className=\"tip\">{`拼团省¥${round(data.price1 - pdd_price, 2)}元`}</p>\n btn = (\n <span className=\"group-btn\" onClick={props.invitedFriends}>\n 邀请好友参团 {countdown} 后结束\n </span>\n )\n dec = <p className=\"dec\">分享到3个群后,成团率高达98%</p>\n }\n }\n }\n\n if (is_success === 1) {\n tip = <p className=\"success\">拼团成功</p>\n btn = (\n <Link to={`/detail?id=${data.course_id}`} className=\"tostudy\">\n 去学习\n </Link>\n )\n }\n return (\n <div className=\"gorup-content\">\n {share ? (\n <div className=\"groupSuccessMbc\" onClick={props.invitedFriends}>\n <div className=\"tipContent\">\n {`还差${number}人,分享到3个群,成团率高达98%`}\n </div>\n <div className=\"tipArrow\">\n <i className=\"iconfont iconyindao\"></i>\n </div>\n </div>\n ) : null}\n\n {tip}\n <WingBlank>{groupTip}</WingBlank>\n <WingBlank>{btn}</WingBlank>\n {dec}\n {!is_success && (\n <div className=\"group-dec\">\n <span>\n <i className=\"iconfont iconiconfront-1\"></i>\n ·好友参团 ·人满成交 ·人不满退款\n </span>\n <span className=\"allNum\">{`累计${person_num}人成团`}</span>\n </div>\n )}\n </div>\n )\n}\n\nexport default ToGroup\n"],"sourceRoot":""}
\ No newline at end of file
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment