|
|
@@ -125,12 +125,12 @@
|
|
|
class='item acea-row row-between-wrapper'>
|
|
|
<view>快递费用</view>
|
|
|
<view v-if='!item.freightFee || item.freightFee == 0' class="noCoupon">免运费</view>
|
|
|
- <view v-else class='money'>¥{{item.freightFee || 0}}</view>
|
|
|
+ <view v-else class='money'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(item.freightFee || 0)}}</view>
|
|
|
</view>
|
|
|
<view v-show="item.svipDiscountPrice != 0&&orderInfoVo.type!=2"
|
|
|
class='item acea-row row-between-wrapper'>
|
|
|
<view>会员优惠</view>
|
|
|
- <view class='money'>-¥{{item.svipDiscountPrice || 0}}</view>
|
|
|
+ <view class='money'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(item.svipDiscountPrice || 0)}}</view>
|
|
|
</view>
|
|
|
<view v-if="isProductType" class='item acea-row row-between-wrapper'>
|
|
|
<view>店铺优惠</view>
|
|
|
@@ -138,7 +138,7 @@
|
|
|
@tap='couponTap(item.merCouponUserList,item.merId, index)'>
|
|
|
<view class='discount acea-row row-between-wrapper'>
|
|
|
<text
|
|
|
- class="couponTitle line1">{{item.couponFee==0?`有${item.merCouponUserList.length}张优惠券可选`:`-¥${item.couponFee}`}}</text>
|
|
|
+ class="couponTitle line1">{{item.couponFee==0?`有${item.merCouponUserList.length}张优惠券可选`:`-${$store.getters.priceUnit}${rmbToLgnsHandle(item.couponFee)}`}}</text>
|
|
|
<text class='iconfont text-bbb icon-ic_rightarrow ml-4'></text>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -159,20 +159,20 @@
|
|
|
<view v-show="secondType !== ProductTypeEnum.Integral" class='moneyList borRadius14'>
|
|
|
<view class='item acea-row row-between-wrapper'>
|
|
|
<view>商品总价</view>
|
|
|
- <view class='money'>¥{{orderInfoVo.proTotalFee || 0}}</view>
|
|
|
+ <view class='money'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.proTotalFee || 0)}}</view>
|
|
|
</view>
|
|
|
<view class='item acea-row row-between-wrapper' v-if="parseInt(orderInfoVo.freightFee) > 0">
|
|
|
<view>运费:</view>
|
|
|
- <view class='money'>+¥{{orderInfoVo.freightFee || 0}}</view>
|
|
|
+ <view class='money'>+{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.freightFee || 0)}}</view>
|
|
|
</view>
|
|
|
<view v-show="orderInfoVo.svipDiscountPrice != 0 &&orderInfoVo.type!=2"
|
|
|
class='item acea-row row-between-wrapper'>
|
|
|
<view>会员优惠</view>
|
|
|
- <view class='money'>-¥{{orderInfoVo.svipDiscountPrice || 0}}</view>
|
|
|
+ <view class='money'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.svipDiscountPrice || 0)}}</view>
|
|
|
</view>
|
|
|
<view class='item acea-row row-between-wrapper' v-if="parseInt(merCouponFee) > 0 && isProductType">
|
|
|
<view>店铺优惠</view>
|
|
|
- <view class='money'>-¥{{merCouponFee}}</view>
|
|
|
+ <view class='money'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(merCouponFee)}}</view>
|
|
|
</view>
|
|
|
<view v-if="isProductType" class='item acea-row row-between-wrapper'>
|
|
|
<view>平台优惠</view>
|
|
|
@@ -180,7 +180,7 @@
|
|
|
class='discount acea-row row-between-wrapper'
|
|
|
@tap='couponTap(orderInfoVo.platCouponUserList,0)'>
|
|
|
<text
|
|
|
- class="couponTitle line1">{{platCouponFee==0?`有${orderInfoVo.platCouponUserList.length}张优惠券可选`:`-¥${platCouponFee}`}}</text>
|
|
|
+ class="couponTitle line1">{{platCouponFee==0?`有${orderInfoVo.platCouponUserList.length}张优惠券可选`:`-${$store.getters.priceUnit}${rmbToLgnsHandle(platCouponFee)}`}}</text>
|
|
|
<text class='text-bbb iconfont icon-ic_rightarrow ml-4'></text>
|
|
|
</view>
|
|
|
<view v-else class="noCoupon">暂无优惠券</view>
|
|
|
@@ -202,7 +202,7 @@
|
|
|
|
|
|
<view class='item acea-row row-between-wrapper' v-if="Number(orderInfoVo.deductionPrice) > 0">
|
|
|
<view>抵扣金额</view>
|
|
|
- <view class='money'>-¥{{orderInfoVo.deductionPrice || 0}}</view>
|
|
|
+ <view class='money'>-{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.deductionPrice || 0)}}</view>
|
|
|
</view>
|
|
|
|
|
|
</view>
|
|
|
@@ -214,7 +214,7 @@
|
|
|
<PointsPrice v-if="orderInfoVo.secondType === ProductTypeEnum.Integral" :pointsPrice="orderInfoVo"
|
|
|
:pointsGoodsStyle="hotPointsStyle"></PointsPrice>
|
|
|
<!-- 其他价格 -->
|
|
|
- <text v-else class='price_color f-s-38 regular line-heightOne'>¥{{orderInfoVo.payFee || 0}}</text>
|
|
|
+ <text v-else class='price_color f-s-38 regular line-heightOne'>{{$store.getters.priceUnit}}{{rmbToLgnsHandle(orderInfoVo.payFee || 0)}}</text>
|
|
|
</view>
|
|
|
<view class='settlement' style='z-index:100' @tap="SubOrder">
|
|
|
{{secondType === ProductTypeEnum.Integral?"确认兑换":"立即下单"}}
|
|
|
@@ -284,6 +284,9 @@
|
|
|
ProductMarketingTypeEnum
|
|
|
} from "../../../enums/productEnums";
|
|
|
import orderPay from "@/mixins/OrderPay.js";
|
|
|
+ import {
|
|
|
+ rmbToLgns
|
|
|
+ } from '@/utils/index.js'
|
|
|
let app = getApp();
|
|
|
/**
|
|
|
* 积分商品推荐样式
|
|
|
@@ -423,6 +426,9 @@
|
|
|
this.textareaStatus = true;
|
|
|
},
|
|
|
methods: {
|
|
|
+ rmbToLgnsHandle(rmb){
|
|
|
+ return rmbToLgns(rmb)
|
|
|
+ },
|
|
|
//滚动
|
|
|
touchStart() {
|
|
|
// #ifdef MP || APP
|