zhangle 5 месяцев назад
Родитель
Сommit
71c9a0709f
1 измененных файлов с 14 добавлено и 8 удалено
  1. 14 8
      crmeb_src/mer_uniapp/pages/order_addcart/order_addcart.vue

+ 14 - 8
crmeb_src/mer_uniapp/pages/order_addcart/order_addcart.vue

@@ -168,15 +168,15 @@
 					<view>
 					<view>
 						<text class="all_text">合计:</text>
 						<text class="all_text">合计:</text>
 						<text class='price-color'>
 						<text class='price-color'>
-							<text class="symbol">¥</text>
+							<text class="symbol">sL</text>
 							<text
 							<text
-								class="all_money semiBold">{{calculatePriceData.totalPrice?calculatePriceData.totalPrice:0}}</text>
+								class="all_money semiBold">{{rmbToLgnsHandle(calculatePriceData.totalPrice?calculatePriceData.totalPrice:0)}}</text>
 						</text>
 						</text>
 					</view>
 					</view>
 					<view class="acea-row row-middle" @click="popupChange()"
 					<view class="acea-row row-middle" @click="popupChange()"
 						v-show="calculatePriceData.totalCouponPrice>0">
 						v-show="calculatePriceData.totalCouponPrice>0">
 						<text
 						<text
-							class="youhui">优惠:¥{{calculatePriceData.totalCouponPrice?calculatePriceData.totalCouponPrice:0}}</text>
+							class="youhui">优惠:sL{{rmbToLgnsHandle(calculatePriceData.totalCouponPrice?calculatePriceData.totalCouponPrice:0)}}</text>
 						<text class="mingxi price-color">优惠明细</text>
 						<text class="mingxi price-color">优惠明细</text>
 						<text class="iconfont icon-ic_downarrow f-s-24"></text>
 						<text class="iconfont icon-ic_downarrow f-s-24"></text>
 						<!-- <text class="iconfont icon-ic_uparrow"></text> -->
 						<!-- <text class="iconfont icon-ic_uparrow"></text> -->
@@ -231,23 +231,23 @@
 					<block v-if="calculatePriceData.proTotalPrice>0 && calculatePriceData.totalCouponPrice!=0">
 					<block v-if="calculatePriceData.proTotalPrice>0 && calculatePriceData.totalCouponPrice!=0">
 						<view class="_cell acea-row row-between-wrapper">
 						<view class="_cell acea-row row-between-wrapper">
 							<text class="_label">商品总价:</text>
 							<text class="_label">商品总价:</text>
-							<text class="_count">¥{{calculatePriceData.proTotalPrice}}</text>
+							<text class="_count">sL{{rmbToLgnsHandle(calculatePriceData.proTotalPrice)}}</text>
 						</view>
 						</view>
 						<view class="_cell acea-row row-between-wrapper">
 						<view class="_cell acea-row row-between-wrapper">
 							<text class="_label">会员优惠:</text>
 							<text class="_label">会员优惠:</text>
-							<text class="_count">-¥{{calculatePriceData.svipDiscountPrice}}</text>
+							<text class="_count">-sL{{rmbToLgnsHandle(calculatePriceData.svipDiscountPrice)}}</text>
 						</view>
 						</view>
 						<view class="_cell acea-row row-between-wrapper">
 						<view class="_cell acea-row row-between-wrapper">
 							<text class="_label">店铺优惠:</text>
 							<text class="_label">店铺优惠:</text>
-							<text class="_count">-¥{{calculatePriceData.merCouponPrice}}</text>
+							<text class="_count">-sL{{rmbToLgnsHandle(calculatePriceData.merCouponPrice)}}</text>
 						</view>
 						</view>
 						<view class="_cell acea-row row-between-wrapper">
 						<view class="_cell acea-row row-between-wrapper">
 							<text class="_label">平台优惠:</text>
 							<text class="_label">平台优惠:</text>
-							<text class="_count">-¥{{calculatePriceData.platCouponPrice}}</text>
+							<text class="_count">-sL{{rmbToLgnsHandle(calculatePriceData.platCouponPrice)}}</text>
 						</view>
 						</view>
 						<view class="_cell_all acea-row row-between-wrapper">
 						<view class="_cell_all acea-row row-between-wrapper">
 							<text class="_label">共优惠:</text>
 							<text class="_label">共优惠:</text>
-							<text class="_count">-¥{{calculatePriceData.totalCouponPrice}}</text>
+							<text class="_count">-sL{{rmbToLgnsHandle(calculatePriceData.totalCouponPrice)}}</text>
 						</view>
 						</view>
 					</block>
 					</block>
 					<!-- #ifdef MP-->
 					<!-- #ifdef MP-->
@@ -309,6 +309,9 @@
 	import {
 	import {
 		Debounce
 		Debounce
 	} from '@/utils/validate.js'
 	} from '@/utils/validate.js'
+	import {
+		rmbToLgns
+	} from '@/utils/index.js'
 	let app = getApp();
 	let app = getApp();
 	export default {
 	export default {
 		mixins: [productAttr],
 		mixins: [productAttr],
@@ -437,6 +440,9 @@
 			uni.$emit('scroll');
 			uni.$emit('scroll');
 		},
 		},
 		methods: {
 		methods: {
+			rmbToLgnsHandle(rmb){
+				return rmbToLgns(rmb)
+			},
 			//首次进入加载的接口
 			//首次进入加载的接口
 			getIndex() {
 			getIndex() {
 				this.hotPage = 1;
 				this.hotPage = 1;