Commit 4ea4ef61 authored by 沈良进's avatar 沈良进

save

parent 6e5ea802
...@@ -9,9 +9,9 @@ ...@@ -9,9 +9,9 @@
<text class="small"></text> <text class="small"></text>
<text>{{ goodprice }}</text> <text>{{ goodprice }}</text>
</view> </view>
<view class="price" :style="{ color: mc }"> <view class="origin" v-if="g.original_price && g.original_price != goodprice">
<text class="small"></text> <text class="small"></text>
<text>{{ goodprice }}</text> <text>{{ g.original_price.toFixed(2) }}</text>
</view> </view>
<view class="amount">{{g.form_id ==1?'余位':'库存'}} {{ goodamount }} {{ g.unit }}</view> <view class="amount">{{g.form_id ==1?'余位':'库存'}} {{ goodamount }} {{ g.unit }}</view>
<view class="sku">{{ skuObj ? '已选择' : '选择' }} {{ sku }}</view> <view class="sku">{{ skuObj ? '已选择' : '选择' }} {{ sku }}</view>
...@@ -495,6 +495,13 @@ ...@@ -495,6 +495,13 @@
</script> </script>
<style> <style>
.origin {
font-family: "oswald";
font-size: 14px;
color: #999;
text-decoration: line-through;
margin-left: 10rpx;
}
.goodsku { .goodsku {
position: relative; position: relative;
padding: 10px; padding: 10px;
......
...@@ -9,6 +9,10 @@ ...@@ -9,6 +9,10 @@
<text class="small"></text> <text class="small"></text>
<text>{{ goodprice }}</text> <text>{{ goodprice }}</text>
</view> </view>
<view class="origin" v-if="g.original_price && g.original_price != goodprice">
<text class="small"></text>
<text>{{ g.original_price.toFixed(2) }}</text>
</view>
<view class="amount amount2">可报名额 {{ goodamount }}</view> <view class="amount amount2">可报名额 {{ goodamount }}</view>
<view class="sku_close"> <view class="sku_close">
<u-icon name="cross" color="#9F9F9F" @click="cloGood()" size="40" /> <u-icon name="cross" color="#9F9F9F" @click="cloGood()" size="40" />
...@@ -554,6 +558,13 @@ ...@@ -554,6 +558,13 @@
</script> </script>
<style> <style>
.origin {
font-family: "oswald";
font-size: 14px;
color: #999;
text-decoration: line-through;
margin-left: 10rpx;
}
.amount2 { .amount2 {
margin-top: 40rpx; margin-top: 40rpx;
} }
......
...@@ -186,8 +186,8 @@ ...@@ -186,8 +186,8 @@
<text class="numfont22" v-if="g.form_id!=1&&g.edu_data.BookPrice"> <text class="numfont22" v-if="g.form_id!=1&&g.edu_data.BookPrice">
{{ g.price_min == g.price_max ? parseFloat(g.price_min)+parseFloat(g.edu_data.BookPrice) : g.price_min + '-' + g.price_max }} {{ g.price_min == g.price_max ? parseFloat(g.price_min)+parseFloat(g.edu_data.BookPrice) : g.price_min + '-' + g.price_max }}
</text> </text>
<text class="origin"> <text class="origin" v-if="g.original_price">
{{ g.original_price}} {{ g.original_price.toFixed(2)}}
</text> </text>
<!-- <text class="numfont" v-if="g.form_id==1"> <!-- <text class="numfont" v-if="g.form_id==1">
{{ g.price_min }} {{ g.price_min }}
......
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