准备加等级判断
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({
|
||||
|
||||
@@ -7,8 +7,8 @@
|
||||
<view class="rname">
|
||||
<view class="prodName" bindtap="gotodetail" data-id="{{item.prodid}}">{{item.prodName}} {{item.selcolor}}
|
||||
</view>
|
||||
<view class="je">单价:<text>{{ttype==0?"兑换券":"¥"}}{{item.prodPrice}}</text> 小计:
|
||||
<text>{{ttype==0?"兑换券":"¥"}}{{item.SubTotal}}</text>
|
||||
<view class="je">单价:<text>{{ttype==0?"金额":"¥"}}{{item.prodPrice}}</text> 小计:
|
||||
<text>{{ttype==0?"金额":"¥"}}{{item.SubTotal}}</text>
|
||||
</view>
|
||||
<view class="tnum">
|
||||
<view class="input_del" bindtap="updatenum" data-id="2:{{item.id}}:{{index}}"></view>
|
||||
|
||||
Reference in New Issue
Block a user