Commit df97e0f6 by FE

remaining number modify

parent 7cac30cd
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -461,7 +461,7 @@ class YearCourse extends Component {
const { history } = this.props
if (getParam('version')) {
let data = {
title: `【仅剩2个名额】我${params.price}元拼了《${params.course_title}》`,
title: `【仅剩${params.number}个名额】我${params.price}元拼了《${params.course_title}》`,
desc: params.course_title,
link: `${API.m}/togroup?id=${oid}`,
imgUrl: params.image_name,
......@@ -798,6 +798,7 @@ class YearCourse extends Component {
item.is_assemble == 1 &&
<a
onClick={() => this.toInviteFriends(item.order_id, {
number: item.number,
course_title: item.course_title,
image_name: item.image_name,
price: 0.01
......@@ -928,6 +929,7 @@ class YearCourse extends Component {
val.type === 2 &&
<a
onClick={() => this.toInviteFriends(val.order_id, {
number: val.number,
course_title: val.course_title,
image_name: val.image_name,
price: val.pdd_price
......
......@@ -68,8 +68,7 @@ class YarnWish extends Component {
const { history } = this.props
if (getParam('version')) {
let data = {
// TODO, 剩余名额临时用假数据
title: `【仅剩2个名额】我${params.price}元拼了《${params.course_title}》`,
title: `【仅剩${params.number}个名额】我${params.price}元拼了《${params.course_title}》`,
desc: params.course_title,
link: `${API.m}/togroup?id=${oid}`,
imgUrl: params.image_name,
......@@ -263,6 +262,7 @@ class YarnWish extends Component {
(item.type === 2 || item.type === 7) &&
<a
onClick={() => this.toInviteFriends(item.order_id, {
number: item.number,
course_title: item.course_title,
image_name: item.image_name,
price: item.type === 2? item.pdd_price : 0.01
......
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