准备加等级判断
This commit is contained in:
@@ -59,7 +59,7 @@ Page( {
|
||||
})
|
||||
if(res.data.ttype==0){
|
||||
that.setData({
|
||||
cart_Total:"兑换券"+res.data.ZSubTotal
|
||||
cart_Total:"¥"+res.data.ZSubTotal
|
||||
})
|
||||
}
|
||||
if(res.data.productlist.length>0){
|
||||
@@ -199,8 +199,8 @@ Page( {
|
||||
that.setData({
|
||||
ttype:res.data.ttype,
|
||||
cartproducts:res.data.productlist,
|
||||
cart_Total:(res.data.ttype==1?"¥":"")+res.data.ZSubTotal+(res.data.ttype==0?"积分":"")
|
||||
|
||||
// cart_Total:(res.data.ttype==1?"¥":"")+res.data.ZSubTotal+(res.data.ttype==0?"¥":"")
|
||||
cart_Total:("¥")+res.data.ZSubTotal+(res.data.ttype==0?"¥":"")
|
||||
})
|
||||
if(res.data.productlist.length>0){
|
||||
that.setData({
|
||||
@@ -252,8 +252,8 @@ Page( {
|
||||
that.setData({
|
||||
ttype:res.data.ttype,
|
||||
cartproducts:res.data.productlist,
|
||||
cart_Total:(res.data.ttype==1?"¥":"")+res.data.ZSubTotal+(res.data.ttype==0?"积分":"")
|
||||
|
||||
// cart_Total:(res.data.ttype==1?"¥":"")+res.data.ZSubTotal+(res.data.ttype==0?"":"")
|
||||
cart_Total:("¥")+res.data.ZSubTotal+(res.data.ttype==0?"":"")
|
||||
})
|
||||
if(res.data.productlist.length>0){
|
||||
that.setData({
|
||||
|
||||
Reference in New Issue
Block a user